KR-102961659-B1 - Data processing method, device, apparatus, computer-readable storage medium, and computer program product
Abstract
As a data processing method, device, apparatus, computer-readable storage medium, and computer program product; the data processing method comprises the steps of: receiving a data element through at least two network channels - the data element includes a delivery order -; if the received n-th data element is a data element to be determined, acquiring a subsequent data element of the received n-th data element based on the delivery order - the state of the data element to be determined is an incomplete state, the delivery type of the data element to be determined is a discardable type, the state is determined based on whether the entire data of the data element has been received, and the delivery type is determined based on two pieces of information, namely the degree of dependence on other data elements during post-processing and the degree of influence on the post-processing result -; and if the subsequent data element includes a target data element, determining that the delivery result of the n-th data element is discarded - the state of the target data element is a complete state, the target data element and the n-th data element have the same data type, and the target data element is an independent data element -.
Inventors
- 천, 자펑
- 장, 룽웨이
- 류, 훙하오
- 한, 루이
Assignees
- 텐센트 테크놀로지(센젠) 컴퍼니 리미티드
Dates
- Publication Date
- 20260508
- Application Date
- 20220916
- Priority Date
- 20211117
Claims (18)
- As a data processing method, the above method is executed by a receiving device, and the data processing method is, A step of receiving data elements transmitted by a transmitting device through at least two network channels - said data elements include a delivery order - ; If the received n-th data element is the data element to be determined, a step of obtaining a subsequent data element of the received n-th data element based on the delivery order - the state of the data element to be determined is an incomplete state, and the delivery type of the data element to be determined is a discardable type, the state is determined based on whether all data of the data element has been received, and the delivery type is determined based on two pieces of information, namely the degree of dependence on other data elements during post-processing and the degree of influence on the post-processing result, and n is a positive integer - ; and A data processing method characterized by including the step of determining that the delivery result of the n-th data element is discarded when the above-mentioned subsequent data element includes a target data element— wherein the state of the above-mentioned target data element is a complete state, the above-mentioned target data element and the n-th data element have the same data type, the above-mentioned target data element is an independent data element, the data type is determined based on the operation of the data element, and the degree of dependence of the independent data element on other data elements during post-processing is smaller than a specified degree.
- In paragraph 1, Based on the above delivery order, after obtaining a subsequent data element of the received n-th data element, the data processing method, A step of determining that the state of the n+1th data element is the complete state when all data of the n+1th data element in the above subsequent data element is received; and A data processing method characterized by further including the step of determining that a subsequent data element includes the target data element when the n+1th data element in the complete state satisfies the first condition, wherein satisfying the first condition includes having the same data type as the nth data element and belonging to the independent data element.
- In paragraph 2, After the state of the n+1th data element is determined to be the complete state, the data processing method, If the n+1th data element in the complete state satisfies the second condition, or if the n+1th data element in the complete state satisfies the third condition, a step of obtaining the state of the n+2th data element in the subsequent data element - satisfying the second condition includes having a different data type from the nth data element and belonging to the independent data element; satisfying the third condition includes having the same data type as the nth data element and belonging to the associated data element; and the degree of dependence of the associated data element on other data elements during post-processing is greater than or equal to the specified degree - ; and A data processing method characterized by further including the step of determining that a subsequent data element includes the target data element when the state of the n+2th data element is the complete state and the n+2th data element satisfies the first condition.
- In paragraph 1, Based on the above delivery order, after obtaining a subsequent data element of the received n-th data element, the data processing method, A data processing method characterized by further including the step of, when the n+1th data element in the above subsequent data element is the data element to be determined, acquiring the data element after the n+1th data element in the delivery order, and determining the delivery result of the nth data element and the n+1th data element based on the acquired data element.
- In paragraph 1, Based on the above delivery order, after obtaining a subsequent data element of the received n-th data element, the data processing method, A data processing method characterized by further including a step of determining that the delivery result of the nth data element is waiting for data reception when the above subsequent data element does not include the above target data element.
- In paragraph 1, After receiving data elements transmitted by a transmitting device through at least two network channels, the data processing method comprises: A data processing method characterized by further including the step of determining that, when the received n-th data element is a waiting data element, the delivery result of the n-th data element is waiting for data reception, wherein the state of the waiting data element is the incomplete state and the delivery type of the waiting data element is a non-discardable type.
- In any one of paragraphs 1 through 6, A data processing method characterized in that the above data element includes video frame data, the video frame data includes intra-predicted frame data and inter-predicted frame data, the intra-predicted frame data is the independent data element, the delivery type of the intra-predicted frame data is a non-discardable type, the intra-predicted frame data renders a frame image based on its own data during post-processing, the inter-predicted frame data is an associated data element, the delivery type of the inter-predicted frame data is the discardable type, the inter-predicted frame data renders a frame image based on its own data and the intra-predicted frame data during post-processing, and the intra-predicted frame data and the inter-predicted frame data have the same data type.
- In Paragraph 7, A data processing method characterized in that the above data element further includes audio frame data, the audio frame data is the independent data element, the delivery type of the audio frame data is the non-discardable type, and the audio frame data and the video frame data have different data types.
- In any one of paragraphs 1 through 6, After receiving data elements transmitted by a transmitting device through at least two network channels, the data processing method comprises: If the received data element and the most recently delivered data element are adjacent to each other in the delivery order, the received data element is determined as the data element in the first data element set, and from the second data element set, at least one data element adjacent to the received data element in the delivery order is obtained, and the at least one data element adjacent to each other is determined as the data element in the first data element set; and If the received data element and the most recently delivered data element are not adjacent to each other in the delivery order, the method further includes the step of determining the received data element as the data element in the second set of data elements; Based on the above delivery order, the step of obtaining a subsequent data element of the received n-th data element is, A data processing method characterized by further including the step of obtaining the subsequent data element of the received nth data element from the first data element set and the second data element set based on the above delivery order.
- As a data transmission method, the method is executed by a transmitting device, and the data transmission method is, A step of transmitting data elements to a receiving device through at least two network channels - said data elements include a delivery order - ; In the process of transmitting the above data element, a step of obtaining the delivery type of the n-th data element in response to a switching command - the switching command is for switching the network channel transmitting the n-th data element, and the delivery type is determined based on two pieces of information, namely the degree of dependence on other data elements during post-processing and the degree of influence on the post-processing result, where n is a positive integer - ; and A data transmission method characterized by including the step of canceling the transmission of the nth data element to the receiving device when the delivery type of the nth data element is a discardable type and a subsequent data element includes a target data element, wherein the subsequent data element is a data element that has already been transmitted and whose delivery order is after the nth data element, the state of the target data element is a complete state, the target data element and the nth data element have the same data type, the target data element is an independent data element, the state is determined based on whether the receiving device has received all the data of the data element, the data type is determined based on the operation of the data element, and the degree of dependence of the independent data element on other data elements during post-processing is smaller than a specified degree.
- In Paragraph 10, After obtaining the delivery type of the nth data element, the data transmission method is, If the delivery type of the n-th data element is a non-discardable type, a step of obtaining the state of the n-th data element; and A data transmission method characterized by further including the step of transmitting untransmitted data corresponding to the nth data element to the receiving device through the network channel after switching when the state of the nth data element is incomplete.
- In Paragraph 10, After obtaining the delivery type of the nth data element, the data transmission method is, If the delivery type of the n-th data element is a discardable type, the step of selecting a data element to be processed from unsent data elements after the n-th data element in the delivery order - wherein the data element to be processed and the n-th data element have the same data type, and the data element to be processed is closest to the n-th data element in the delivery order - ; A step of processing the data element to be processed based on the independent data element to obtain the data element to be transmitted; and A data transmission method characterized by further including the step of transmitting the data element to be transmitted to the receiving device.
- As a first data processing device, the first data processing device is, A data receiving module configured to receive data elements transmitted by a transmitting device through at least two network channels - said data elements include a delivery order - ; and A delivery processing module configured to acquire subsequent data elements of the received n-th data element based on the delivery order when the received n-th data element is the data element to be determined—the state of the data element to be determined is an incomplete state, the delivery type of the data element to be determined is a discardable type, the state is determined based on whether all data of the data element has been received, and the delivery type is determined based on two pieces of information, namely the degree of dependence on other data elements during post-processing and the degree of influence on the post-processing result, wherein n is a positive integer—including; A first data processing device characterized in that the delivery processing module is also configured such that when the subsequent data element includes the target data element, the delivery result of the nth data element is determined to be discarded, the state of the target data element is a complete state, the target data element and the nth data element have the same data type, the target data element is an independent data element, the data type is determined based on the operation of the data element, and the degree of dependence of the independent data element on other data elements during post-processing is smaller than a specified degree.
- As a second data processing device, the second data processing device is, A data transmission module configured to transmit data elements to a receiving device via at least two network channels - said data elements include a delivery order - ; A channel switching module configured to obtain the delivery type of the n-th data element in response to a switching command during the transmission process of the above data element—the switching command is for switching the network channel transmitting the n-th data element, and the delivery type is determined based on two pieces of information, namely the degree of dependence on other data elements during post-processing and the degree of influence on the post-processing result, where n is a positive integer—; and A second data processing device characterized by comprising: a switching processing module configured to cancel the transmission of the nth data element to the receiving device when the delivery type of the nth data element is a discardable type and a subsequent data element includes a target data element; wherein the subsequent data element is a data element that has already been transmitted and whose delivery order is after the nth data element, the state of the target data element is a complete state, the target data element and the nth data element have the same data type, the target data element is an independent data element, the state is determined based on whether the receiving device has received all the data of the data element, the data type is determined based on the operation of the data element, and the degree of dependence of the independent data element on other data elements during post-processing is smaller than a specified degree.
- As a receiving device for data processing, the receiving device is, A first memory for storing computer-executable instructions; and A receiving device characterized by including a first processor for implementing a data processing method according to any one of claims 1 to 6 when executing a computer-executable instruction stored in the first memory.
- As a transmitting device for data processing, the transmitting device is, A second memory for storing computer-executable instructions; and A transmitting device characterized by including a second processor for implementing a method according to any one of claims 10 to 12 when executing a computer-executable instruction stored in the second memory.
- As a computer-readable storage medium, A computer-readable storage medium characterized by storing computer-executable instructions, wherein the computer-executable instructions are for implementing a data processing method according to any one of claims 1 to 6 when executed by a first processor; or, wherein the computer-executable instructions are for implementing a method according to any one of claims 10 to 12 when executed by a second processor.
- As a computer program stored on a computer-readable storage medium, A computer program stored in a computer-readable storage medium, comprising a computer program or computer-executable instructions, wherein when the computer program or computer-executable instructions are executed by a first processor, a data processing method according to any one of claims 1 to 6 is implemented; or, when the computer program or computer-executable instructions are executed by a second processor, a method according to any one of claims 10 to 12 is implemented.
Description
Data processing method, device, apparatus, computer-readable storage medium, and computer program product Cross-reference regarding related applications This application is based on a Chinese patent application with application number 202111360129.X and a filing date of November 17, 2021, and claims priority to said Chinese patent application, all contents of said Chinese patent application are incorporated into this application by reference. The present application relates to data processing technology in the field of computer applications, and in particular to data processing methods, devices, apparatuses, computer-readable storage media, and computer program products. With the rapid development of computer communication technology, the demand for data transmission is increasing; to improve data transmission efficiency and stability, data transmission can be performed using a multi-network channel method. Generally, when performing data transmission using a multi-network channel method, there are often cases where the network channel does not satisfy transmission demand (e.g., the network channel is interrupted). In such cases, the transmitting end must check whether all data elements transmitted in the network channel have been received by the receiving end and retransmit them, and the receiving end must wait until the remaining data that has not been received for the data elements is received; as a result, the time cost of transmitting data elements is relatively high in the multi-network channel transmission process, which affects the data processing efficiency of the multi-network channel transmission. FIG. 1 is an example diagram of the architecture of a data processing system provided in an embodiment of the present application. FIG. 2 is an example diagram of the configuration structure of the terminal in FIG. 1 provided in an embodiment of the present application. FIG. 3 is an example diagram of the configuration structure of the server in FIG. 1 provided in an embodiment of the present application. FIG. 4 is a flowchart 1 of a data processing method provided in an embodiment of the present application. FIG. 5 is an exemplary diagram showing the switching of an exemplary multi-network channel provided in an embodiment of the present application. FIG. 6a is an interaction diagram of an exemplary data processing method provided in an embodiment of the present application. FIG. 6b is a system architecture diagram in which an exemplary cloud game provided in an embodiment of the present application is applied. FIG. 6c is an exemplary communication model architecture diagram provided in an embodiment of the present application. FIG. 6d is a flowchart 2 of a data processing method provided in an embodiment of the present application. FIG. 6e is a flowchart 3 of the data processing method provided in an embodiment of the present application. FIG. 6f is a flowchart 4 of the data processing method provided in an embodiment of the present application. FIG. 7 is an exemplary diagram of storage of an exemplary received data element provided in an embodiment of the present application. FIG. 8 is an example diagram of a cloud game application scenario provided in an embodiment of the present application. FIG. 9 is an exemplary flowchart of data processing provided in an embodiment of the present application. FIG. 10 is an exemplary flowchart of data processing provided in an embodiment of the present application. To further highlight the purpose, technical solution, and advantages of the present application, the present application is described in further detail below in conjunction with the drawings. The described embodiments are not to be construed as a limitation to the present application, and all other embodiments obtained by a person skilled in the art without requiring creative labor are all within the scope of protection of the present application. In the description below, "some embodiments" are referred to, which describe a subset of all possible embodiments; however, it should be understood that "some embodiments" may be the same subset or different subsets of all possible embodiments and may be combined with one another where there is no conflict. In the description below, the terms “First/Second/Third” mentioned are merely for distinguishing similar objects and do not imply a specific order of arrangement of the objects. It is understood that, where permitted, “First/Second/Third” may be interchangeable with a specified order or sequence, allowing the embodiments of the present application described herein to be carried out in an order other than that shown or described herein. Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as generally understood by a person skilled in the art to which this application is applied. The terms used in the embodiments of this application are intended only to explain the purpose of the embo