Communication method and device
By dynamically selecting the compression rate, the timeliness problem caused by the queue length and the data distortion caused by the fixed compression rate are solved, and the quality of data transmission is improved.
Patent Information
- Application Number
- CN202310367121.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-04
- Publication Date
- 2024-10-15
AI Technical Summary
During the data transmission process, the timeliness of communication equipment is difficult to guarantee due to the long queue length, and the fixed compression rate may cause data distortion and affect the user experience.
By dynamically selecting an appropriate compression rate based on the received information and target data volume, the data is compressed and transmitted to ensure the timeliness of data transmission and reduce distortion.
It improves the quality of data transmission, ensures the timeliness of data during transmission, reduces information distortion, and improves user experience.
Smart Images

Figure CN118784591A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art
[0002] In data transmission scenarios, communication devices (such as terminal devices) may encounter the following two problems when transmitting data based on limited transmission resources:
[0003] Problem 1: When the length of the queue for storing data to be transmitted in the communication device is long, the timeliness of data transmission is difficult to guarantee.
[0004] Problem 2: When a communication device compresses data in a queue at a fixed compression rate, data distortion may occur, resulting in a poor user experience.
[0005] To address the above issues, there are currently several solutions available.
[0006] The first solution is that the communication device trains a compression parameter prediction model based on historical data during the transmission process, and predicts the compression parameters required for data transmission through the compression parameter prediction model. After that, the communication device compresses and transmits the data to be transmitted in the queue according to the predicted compression parameters. However, this solution has the problem of poor generalization when the statistical characteristics of the data change. Moreover, when the user's data transmission behavior changes, the compression parameter prediction model needs to be retrained, resulting in a high training cost for the compression parameter prediction model.
[0007] The second solution is that the communication device selects a portion of the data in the queue and does not transmit it according to the queue length threshold, which can effectively ensure the timeliness of data transmission. However, this solution takes less consideration of the information distortion problem, and may cause more serious distortion during the data transmission process, resulting in a poor user experience.
[0008] Obviously, the above traditional solutions may reduce the data transmission quality. Summary of the invention
[0009] The embodiments of the present application provide a communication method and device for effectively improving the quality of data transmission.
[0010] In the first aspect, an embodiment of the present application provides a communication method, which can be executed by a first communication device or a component (such as a chip system or circuit, etc.) that can support the first communication device to implement the functions required by the method. Optionally, taking the first communication device executing the communication method as an example, in the method, when the first communication device receives the first information from the second communication device, the first communication device can determine the target compression rate corresponding to the first queue at the first time based on the first information and the first data volume of the target data stored in the first queue at the first time. After that, the first communication device can compress the target data in the first queue using the target compression rate when the first time arrives, and can send the compressed target data to the second communication device. Among them, the first information is used to indicate at least one candidate compression rate, and the target compression rate is included in the at least one candidate compression rate.
[0011] In the above design, after obtaining the first information from the second communication device, the first communication device can more accurately select the corresponding target compression rate to perform targeted compression on the target data in the first queue at different times (such as the first time) according to the data volume of the target data stored in the first queue at different times (such as the first time). In this way, the first communication device can dynamically select the corresponding target compression rate according to the data volume of the target data stored in the first queue at different times, and can make the selection of the target compression rate more targeted and flexible, and more in line with the actual storage situation of the target data in the first queue, which helps to ensure that the target data in the first queue can be transmitted more efficiently and accurately, thereby ensuring that the timeliness of the target data during the transmission process is relatively high, and ensuring that the distortion of the target data during the transmission process is relatively small, thereby effectively improving the data transmission quality.
[0012] In one possible design, the first information is also used to indicate the data volume range corresponding to each candidate compression rate; the following possible examples introduce the process of the first communication device determining the target compression rate corresponding to the first queue at the first time based on the first information and the first data volume of the target data stored in the first queue at the first time.
[0013] In one example, when the first data volume is within a first data volume range, the first communication device may select a first candidate compression rate corresponding to the first data volume range as a target compression rate.
[0014] In another example, when the first data volume is within the second data volume range, the first communication device may select a second candidate compression ratio corresponding to the second data volume range as the target compression ratio, wherein any value within the second data volume range is greater than any value within the first data volume range, and the first candidate compression ratio is greater than the second candidate compression ratio.
[0015] In the above design, the first communication device can accurately select the corresponding target compression rate according to the data volume of the target data stored in the first queue at the first time, that is, select the target compression rate that matches the actual storage situation of the target data of the first queue at the first time, so that the first communication device can select a more appropriate target compression rate to compress the target data, and can make the compression transmission method of the target data in the first queue at the first time more in line with the actual storage situation of the target data in the first queue at the first time.
[0016] In one possible design, the method further includes:
[0017] The first communication device may send second information to the second communication device, wherein the second information is used to determine the first information.
[0018] In the above design, in order to facilitate the second communication device to accurately determine the first information, and in order to facilitate the first communication device to timely and effectively select a suitable compression method (such as a suitable target compression rate) to compress the target data when the target data in the transmission queue needs to be transmitted at a certain time, the first communication device can send corresponding second information to the second communication device.
[0019] In one possible design, the second information includes at least one of the following:
[0020] Source coding usage, source distortion importance coefficient, source type corresponding to target data stored in the first queue, average data arrival rate of the first queue in a preset time period, mean number of sources corresponding to the first queue in a preset time period, arrival time of each target data stored in the first queue in a preset time period, number of sources corresponding to each target data stored in the first queue in a preset time period, or compression function;
[0021] The information source distortion importance coefficient is used to characterize the importance of the information source distortion, and the preset time period is before the first time.
[0022] In the above design, the first communication device can send part or all of the content included in the second information to the second communication device according to its actual situation (such as its own data processing capability).
[0023] In one possible design, the average data arrival rate of the first queue within a preset time period is determined based on the number of arrival times of multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data.
[0024] In the above design, by selecting the arrival time of multiple target data stored in the first queue within a preset time period (such as a historical period) to calculate the average data arrival rate, the calculation result can reflect the arrival status of the target data stored in the first queue.
[0025] In the second aspect, an embodiment of the present application provides a communication method, which can be executed by a second communication device or a component (such as a chip system or circuit, etc.) that can support the second communication device to implement the functions required by the method. Optionally, taking the second communication device executing the communication method as an example, in this method, after the second communication device generates the first information, it can send the first information to the first communication device, and then the second communication device can receive compressed target data from the first communication device. Among them, the first information is used to indicate at least one candidate compression rate, and the compressed target data is compressed by the first communication device using the target compression rate corresponding to the first time, and the target compression rate is included in at least one candidate compression rate.
[0026] In the above design, the second communication device sends the first information to the first communication device, and the first information is used to indicate a candidate compression rate, so that the first communication device can timely combine the first information, accurately select the target compression rate corresponding to the first time to compress the target data in the queue and transmit it to the second communication device. In this way, the design can realize that the first communication device dynamically selects the corresponding target compression rate according to the data volume of the target data stored in the first queue at different times, and can make the selection of the target compression rate more targeted and flexible, and more in line with the actual storage situation of the target data in the first queue, so as to ensure that the timeliness of the target data during the transmission process is relatively high, and can ensure that the distortion of the target data during the transmission process is relatively small, thereby effectively improving the data transmission quality.
[0027] In one possible design, the second communication device generates first information, including:
[0028] When the second communication device receives the second information from the first communication device, the first information can be generated according to the second information.
[0029] In the above design, after receiving the second information from the first communication device, the second communication device can combine the second information to accurately determine the first information, so that the first communication device can subsequently select an appropriate compression method (such as an appropriate target compression rate) to compress the target data in the queue when it needs to transmit the target data in the queue at a certain time.
[0030] In one possible design, the second information includes at least one of the following: a source coding usage, a source distortion importance coefficient, a source type corresponding to a source contained in the target data stored in the first queue, an average data arrival rate of the first queue in a preset time period, an average number of sources corresponding to the first queue in a preset time period, an arrival time of each target data stored in the first queue in a preset time period, a number of sources contained in each target data stored in the first queue in a preset time period, or a compression function;
[0031] The information source distortion importance coefficient is used to characterize the importance of the information source distortion, and the preset time period is before the first time.
[0032] In the above design, the first communication device can send part or all of the content included in the second information to the second communication device according to its actual situation. Optionally, when the first communication device sends part of the content included in the second information to the second communication device, the remaining content included in the second information is determined by the second communication device.
[0033] In one possible design, the average data arrival rate of the first queue within a preset time period is determined based on the number of arrival times of multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data.
[0034] In the above design, by selecting the arrival time of multiple target data stored in the first queue within a preset time period (such as a historical period) to calculate the average data arrival rate, the calculation result can reflect the arrival status of the target data stored in the first queue.
[0035] In a possible design, the first information is further used to indicate a data volume range corresponding to each candidate compression ratio;
[0036] The second communication device generates first information according to the second information, including:
[0037] First, the second communication device may generate an objective function for determining variable values according to the second information, and then the second communication device may determine, by random search, at least one variable value combination corresponding to the minimum function value of the objective function.
[0038] Among them, any variable value combination includes a candidate compression rate and at least one data volume critical value corresponding to the candidate compression rate; and the at least one data volume critical value corresponding to any candidate compression rate is used to indicate the data volume range corresponding to the candidate compression rate.
[0039] In the above design, the second communication device can accurately construct an objective function for determining the variable value by combining the second information, and adopt a random search method to accurately calculate the candidate compression rate corresponding to the minimum function value of the objective function and the critical value of the data volume corresponding to the candidate compression rate.
[0040] In a third aspect, an embodiment of the present application provides a possible communication device, and optionally, the communication device may be a first communication device (such as a terminal device) or a second communication device (such as a data center device), or may also be a chip set in the first communication device or the second communication device. In an example, when the communication device is used to implement the function of the first communication device in the communication method embodiment provided by the present application, the beneficial effects can be referred to the description of the first aspect, and will not be repeated here. The communication device has the function of implementing the behavior in the method example of the first aspect above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In a possible design, the communication device includes: a transceiver module and a processing module. The transceiver module is used to receive first information from the second communication device, wherein the first information is used to indicate at least one candidate compression rate. The processing module is used to determine the target compression rate corresponding to the first queue at the first time according to the first information and the first data volume of the target data stored in the first queue at the first time, wherein the target compression rate is included in at least one candidate compression rate. The processing module is also used to compress the target data in the first queue using the target compression rate when the first time arrives. The transceiver module is also used to send the compressed target data to the second communication device. These modules can perform any corresponding function in the design of the first aspect described above, and refer to the detailed description of the corresponding function of the first communication device in the method example, which will not be repeated here.
[0041] In another example, when the communication device is used to implement the function of the second communication device in the communication method embodiment provided by the present application, the beneficial effects can be referred to the description of the second aspect, which will not be repeated here. The communication device has the function of implementing the behavior in the method example of the second aspect above. The function can be implemented by hardware, or it can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes: a transceiver module and a processing module. The processing module is used to generate first information, wherein the first information is used to indicate at least one candidate compression rate. The transceiver module is used to send the first information to the first communication device. The transceiver module is also used to receive compressed target data from the first communication device, wherein the compressed target data is compressed by the first communication device using the target compression rate corresponding to the first time, and the target compression rate is included in at least one candidate compression rate. These modules can perform the corresponding functions in any possible implementation design of the second aspect above, and specifically refer to the detailed description of the corresponding functions of the second communication device in the method example, which will not be repeated here.
[0042] In a fourth aspect, an embodiment of the present application provides a possible communication device, which may be a communication device (such as a first communication device or a second communication device) required for executing the communication method provided in the embodiment of the present application, or may be a device including a communication device required for executing the communication method provided in the embodiment of the present application, or may be a device having the functions required to implement the communication method, and the communication device may include a transceiver and a processor. Optionally, the communication device also includes a memory. The memory is used to store computer programs or instructions, and the processor is coupled to the memory and the transceiver. When the processor executes the computer program or instruction, the communication device executes any possible method in the design of the first aspect or any possible method in the design of the second aspect.
[0043] In a fifth aspect, an embodiment of the present application provides a communication system, wherein the communication system includes a first communication device and a second communication device. The first communication device is used to implement a method in any possible design of the first aspect, and the second communication device is used to implement a method in any possible design of the second aspect.
[0044] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are run on a computer, the computer executes a method in any possible design of the first aspect or a method in any possible design of the second aspect.
[0045] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a computer, the computer executes a method in any possible design of the first aspect or a method in any possible design of the second aspect.
[0046] In an eighth aspect, an embodiment of the present application further provides a chip, which is coupled to a memory, and is used to read a computer program stored in the memory to execute a method in any possible design of the first aspect or a method in any possible design of the second aspect.
[0047] In a ninth aspect, an embodiment of the present application further provides a chip system, which includes a processor for supporting a computer device to implement any possible method in the design of the first aspect or any possible method in the design of the second aspect. In one possible design, the chip system also includes a memory, which is used to store programs and data necessary for the computer device. The chip system can be composed of chips, or it can include chips and other discrete devices.
[0048] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1a A possible communication system architecture diagram provided by an embodiment of the present application is exemplarily shown;
[0050] Figure 1b Another possible communication system architecture diagram provided by an embodiment of the present application is exemplarily shown;
[0051] Figure 2 A schematic diagram exemplarily illustrates a flow chart of a communication method provided in an embodiment of the present application;
[0052] Figure 3 A flowchart showing another communication method provided by an embodiment of the present application is exemplified;
[0053] Figure 4 A flowchart showing another communication method provided by an embodiment of the present application is exemplified;
[0054] Figure 5 A flowchart showing another communication method provided by an embodiment of the present application is exemplified;
[0055] Figure 6 A schematic diagram showing a possible structure of a communication device provided in an embodiment of the present application is exemplified;
[0056] Figure 7 A schematic diagram of the structure of a possible communication device provided in an embodiment of the present application is exemplified. DETAILED DESCRIPTION
[0057] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0058] The following is an introduction to possible communication system architectures applicable to the communication method provided in this application. It should be noted that these introductions are for the convenience of understanding by those skilled in the art and do not limit the scope of protection claimed in this application.
[0059] Figure 1a The following is a schematic diagram of a possible communication system architecture applicable to the embodiments of the present application. Figure 1a As shown, the communication system architecture includes a data center device 100 and a communication node (ie Figure 1a 1). Exemplarily, the communication node 1 is configured with multiple queues (such as queue 1, queue 2, ..., queue n), wherein each queue is used to store corresponding data to be transmitted (such as pictures, files, videos or music, etc.).
[0060] Among them, the data center device 100 has the functions of data processing and data forwarding, and is a device that can provide data connectivity services. Moreover, since the data center device 100 can respond to the request of the communication node (for example, the communication node requests the parameters required for data transmission from the data center device 100) and process it. Generally speaking, the data center device 100 needs to have the ability to undertake services and guarantee services. Exemplarily, the data center device 100 can be a service device with data processing functions, a remote sensor or a monitoring system, etc.
[0061] The communication node can be used as a sender of data to be transmitted, and is used to request parameters required for data transmission (such as the compression rate required for data transmission) from the data center device 100, or to transmit the corresponding data to be transmitted to the data center device 100. Optionally, the communication node can be a terminal device, a radio access network (RAN) device, or a mobile application part (MAP), etc.
[0062] Exemplarily, the terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a vehicle-mounted terminal device, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, or a wearable terminal device, etc.
[0063] Optionally, the terminal device may also be referred to as a terminal, user equipment (UE), access terminal equipment, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal equipment, mobile equipment, UE terminal equipment, terminal equipment, wireless communication equipment, UE agent or UE device, etc. In the present application, the terminal device may be fixed or mobile, and the present application does not limit this.
[0064] Exemplarily, RAN equipment may include but is not limited to: evolved base stations (such as NodeB or eNB or e-NodeB) in long term evolution (LTE) communication systems, base stations (such as gNodeB or gNB) or transmission receiving points (TRP) in fifth generation (5G) new radio (NR) communication systems, base stations of subsequent evolution of 3GPP, access nodes in wireless-fidelity (WiFi) systems, wireless relay nodes or wireless backhaul nodes, etc.
[0065] Figure 1b Another possible communication system architecture diagram applicable to the embodiment of the present application is exemplarily shown. Figure 1bAs shown, the communication system architecture includes a data center device 100 and multiple communication nodes (such as communication node 1, communication node 2, ..., communication node n). Exemplarily, each communication node may be configured with one or more queues. For example, taking each communication node as an example, the queue configured in each communication node is used to store corresponding data to be transmitted (such as pictures, images, files, videos or music, etc.).
[0066] Optional, Figure 1b For details about the data center equipment 100 in the communication system architecture shown in FIG. Figure 1a The relevant description of the data center equipment 100 in the illustrated communication system architecture will not be repeated here.
[0067] Optional, Figure 1b For the relevant contents about the communication nodes in the communication system architecture shown in the figure, please refer to the above Figure 1a The relevant description of the communication nodes in the illustrated communication system architecture will not be repeated here.
[0068] It should be noted that Figure 1a or Figure 1b The communication system architecture shown can be applicable to various communication systems, for example, a 4G communication system or a 5G (or new radio (NR)) communication system, and of course, a future communication system. The communication system and business scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. It is known to those skilled in the art that with the evolution of the communication network architecture and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0069] As described in the background art, the existing solution has the problem of low transmission quality during data transmission. In view of this, the present application provides a communication method to effectively improve the data transmission quality.
[0070] The following is based on Figure 1a or Figure 1b The communication system architecture shown in the figure provides a detailed introduction to the specific implementation of the communication method in the embodiment of the present application.
[0071] Figure 2 The following is a flow chart showing a communication method provided by an embodiment of the present application. Figure 1a or Figure 1b The communication system architecture shown in FIG. 1 is a schematic diagram of a communication system architecture. The method flow may be implemented by data interaction between the first communication device and the second communication device. Optionally, the first communication device may be Figure 1a or Figure 1b The communication node (such as a terminal device or a base station, etc.) shown in the figure or a component (such as a chip or an integrated circuit) that can support the communication node to implement the functions required by the method. The second communication device may be Figure 1a or Figure 1b The data center device shown in the figure or a component (such as a chip or integrated circuit) that can support the data center device to implement the functions required by the method. In order to facilitate the introduction of the technical solution provided by the embodiment of the present application, the following is an example of the process of implementing the communication method by data interaction between the first communication device and the second communication device. Figure 2 As shown, the method includes:
[0072] Step 201: The second communication device generates first information.
[0073] Optionally, the first information may be used to indicate at least one candidate compression ratio.
[0074] Exemplarily, the first information may include at least one candidate compression rate or a compression function after substituting at least one candidate compression rate.
[0075] Optionally, before generating the first information, the second communication device may first obtain the second information from the first communication device. Then, the second communication device may generate the first information according to the second information.
[0076] In one example, the first communication device may actively send the second information to the second communication device. In another example, the second communication device may send a data acquisition request to the first communication device, the data acquisition request being used to request acquisition of the second information. Optionally, the second information is used by the second communication device to determine the first information.
[0077] Exemplarily, the second information may include at least one of the following: a usage amount of source coding, a source distortion importance coefficient, a source type corresponding to the target data stored in the first queue, an average data arrival rate of the first queue (i.e., a queue configured in the first communication device) within a preset time period (such as a certain historical time period), a mean value of the number of sources corresponding to the first queue within the preset time period, an arrival time of each target data stored in the first queue within the preset time period, a number of sources corresponding to each target data stored in the first queue within the preset time period, or a compression function;
[0078] Among them, the source distortion importance coefficient is used to characterize the importance of the source distortion. The preset time period is before the first time. The average arrival rate of the data of the first queue within the preset time period can be determined according to the number of arrival times of the multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data. The source type is used to indicate which distribution (such as Gaussian distribution, Bernoulli distribution, uniform distribution or polynomial distribution, etc.) the source contained in the target data stored in the first queue conforms to. For example, taking the target data as a picture, the pixels contained in the picture can be understood as a random variable or a source. When the pixels (or random variables) contained in the picture have Gaussian distribution characteristics, the pixels contained in the picture conform to Gaussian distribution; when the pixels (or random variables) contained in the picture have Bernoulli distribution characteristics, the pixels contained in the picture conform to Bernoulli distribution. Exemplarily, the source type may include but is not limited to Gaussian source, Bernoulli source, uniform source or polynomial source, etc.
[0079] Optionally, the first information may also be used to indicate a data volume range corresponding to each candidate compression ratio. Exemplarily, the first information may also include a data volume range corresponding to at least one candidate compression ratio. The following describes the implementation process of the second communication device generating the first information according to the second information.
[0080] In a possible implementation, after acquiring the second information, the second communication device may construct an objective function for determining the variable value through the second information. Then, the second communication device may calculate at least one variable value combination corresponding to the minimum function value of the objective function in a random search manner. Among them, any variable value combination includes a candidate compression rate and at least one data volume critical value corresponding to the candidate compression rate, and the at least one data volume critical value corresponding to any candidate compression rate is used to indicate the data volume range corresponding to the candidate compression rate.
[0081] For example, the objective function satisfies the following form:
[0082]
[0083] Among them, θ * It is used to represent the variable value combination corresponding to the minimum function value of the objective function, Δ θ is used to represent the delay, η is used to represent the source distortion importance coefficient, D(μ θ (N(t))) is used to represent the rate-distortion function associated with the source type corresponding to the first queue, μ θ (N(t)) is used to represent the compression function.
[0084] Optional, delay Δ θ Satisfy the following form:
[0085]
[0086] Among them, π θ,i Numerical solution π for the system steady-state distribution of the first queue θ For example, the numerical solution of the steady-state distribution of the queue system is π θ Satisfy the following form:
[0087] π θ =p0P θ N
[0088] Where p0 = [100…], N is used to represent a constant, for example, N is 2000, P θ It is used to represent the transfer matrix. For example, the transfer matrix P θ Satisfy the following form:
[0089]
[0090] Among them, λ is used to represent the average data arrival rate of the first queue within the preset time period, μ θ (·) is used to represent the compression function.
[0091] Step 202: The second communication device sends first information to the first communication device. The first communication device receives the first information.
[0092] In one example, when the first communication device has the ability to construct a compression function, the first information includes at least one candidate compression ratio. In another example, when the first communication device does not have the ability to construct a compression function, the first information includes a compression function after substituting at least one candidate compression ratio.
[0093] Step 203: The first communication device determines a target compression rate corresponding to the first queue at the first time according to the first information and the first data volume of the target data stored in the first queue at the first time, wherein the target compression rate is included in at least one candidate compression rate.
[0094] Optionally, the first queue is any one of one or more queues of the first communication device.
[0095] Exemplarily, the implementation process of the first communication device determining the target compression rate corresponding to the first queue at the first time is introduced below through the following possible examples.
[0096] Example 1: When the first data volume is within a first data volume range, the first communication device may select a first candidate compression rate corresponding to the first data volume range as a target compression rate.
[0097] Example 2: When the first data volume is within the second data volume range, the first communication device may select a second candidate compression rate corresponding to the second data volume range as the target compression rate.
[0098] Among them, any value within the second data volume range is greater than any value within the first data volume range, and the first candidate compression ratio is greater than the second candidate compression ratio.
[0099] In one example, the first communication device may also determine the target compression rate corresponding to the first queue at the second time based on the first information and the second data volume of the target data stored in the first queue at the second time. The second time is after the first time. Optionally, the implementation method of the first communication device determining the target compression rate corresponding to the first queue at the second time can refer to the implementation method of the first communication device determining the target compression rate corresponding to the first queue at the first time, which is not repeated here.
[0100] For example, the variable value combination that makes the objective function take the minimum function value is The first queue is queue 1, the first time is t1, the second time is t2, and the target data is a picture. Used as a way to distinguish candidate compression ratios The critical value of data volume, Used to indicate the first candidate compression ratio, Used to indicate the data volume range corresponding to the first candidate compression ratio. Used to represent the second candidate compression ratio, It is used to indicate the data volume range corresponding to the second candidate compression ratio. Optionally, in one example, when at time t1, the data amount n of the picture stored in queue 1 is within the data amount range When the first communication device can select a candidate compression rate As the target compression rate for compressing the pictures in queue 1 at time t1. In another example, when at time t1, the data amount n of the pictures stored in queue 1 is within the data amount range When the first communication device can select a candidate compression rate As the target compression rate for compressing the pictures in queue 1 at time t1. In another example, when at time t2, the data amount n of the pictures stored in queue 1 is within the data amount range When the first communication device can select a candidate compression rate As the target compression rate for compressing the pictures in queue 1 at time t2. In another example, when at time t2, the data amount n of the pictures stored in queue 1 is within the data amount range When the first communication device can select a candidate compression rate As the target compression rate for the pictures in compression queue 1 at time t2.
[0101] Step 204: When the first time arrives, the first communication device compresses the target data in the first queue using the target compression rate.
[0102] Step 205: The first communication device sends the compressed target data to the second communication device. The second communication device receives the compressed target data.
[0103] Optionally, after the first communication device determines the target compression rate corresponding to the first queue at the first time, it can use the target compression rate to compress the target data stored in the first queue at the first time, and can send the compressed target data to the second communication device at the first time.
[0104] For example, the source coding usage is m, the first queue is queue 1, the first time is t1, and the target data is a picture. In one example, when the first communication device selects the compression rate according to the data volume n of the picture stored in queue 1 at time t1, When compressing the pictures in queue 1 at time t1, the first communication device may use a compression rate of Each picture stored in queue 1 is compressed and transmitted. For example, for each picture stored in queue 1, the first communication device may use a compression rate of Each pixel (which can be understood as a signal source) contained in the picture is compressed and transmitted. In other words, the first communication device can transmit each pixel (which can be understood as a signal source) contained in the picture. In another example, when the first communication device selects the compression rate according to the data amount n of the picture stored in the queue 1 at time t1, When compressing the pictures in queue 1 at time t1, the first communication device may use a compression rate of Each picture stored in queue 1 is compressed and transmitted. For example, for each picture stored in queue 1, the first communication device may use a compression rate of Each pixel (which can be understood as a signal source) contained in the picture is compressed and transmitted. In other words, the first communication device can transmit each pixel (which can be understood as a signal source) contained in the picture. bits.
[0105] It can be seen from the above steps 201 to 205 that after the first communication device obtains the first information from the second communication device, it can more accurately select the corresponding target compression rate to perform targeted compression on the target data in the first queue at different times according to the data volume of the target data stored in the first queue at different times. In this way, the first communication device can dynamically select the corresponding target compression rate according to the data volume of the target data stored in the first queue at different times, and can make the selection of the target compression rate more targeted and flexible, and more in line with the actual storage situation of the target data in the first queue, which helps to ensure that the target data in the first queue can be transmitted more efficiently and accurately, thereby ensuring that the timeliness of the target data during the transmission process is relatively high, and ensuring that the distortion of the target data during the transmission process is relatively small, thereby effectively improving the data transmission quality.
[0106] Based on the above Figure 2 The technical solution of the communication method shown in the figure is as follows Figures 3 to 5 The specific example shown above Figure 2 In the following example, the first communication device is a terminal device a and a terminal device b, and the second communication device is a data center device.
[0107] Figure 3 The following is a flow chart showing another communication method provided by an embodiment of the present application. Figure 1a or Figure 1b The communication system architecture shown in FIG. Figure 3 The application scenario of the communication method shown is: both terminal device a and terminal device b have strong data processing capabilities, that is, terminal device a and terminal device b can respectively determine the amount of source coding used, the source distortion importance coefficient, the source type corresponding to the target data stored in the first queue, the average data arrival rate of the first queue in a preset time period, the average number of sources corresponding to the first queue in a preset time period, and the compression function. Figure 3 As shown, the specific process of the method may include:
[0108] Step 301: Terminal device a and terminal device b send third information to data center device respectively. Data center device receives third information from terminal device a and terminal device b respectively.
[0109] Among them, the third information may include the source coding usage, the source distortion importance coefficient, the source type corresponding to the target data stored in the first queue, the average data arrival rate of the first queue within the preset time period, the mean number of sources corresponding to the first queue within the preset time period, and the compression function.
[0110] Exemplarily, taking the case where queue a is configured in terminal device a and queue b is configured in terminal device b, when terminal device a has strong data processing capabilities, terminal device a can determine the source type corresponding to the target data stored in queue a, the source coding usage is m, and can evaluate the source distortion importance coefficient η.
[0111] In addition, terminal device a can also calculate the mean number of information sources corresponding to queue a based on the number of information sources corresponding to each target data stored in queue a during a certain historical period. For example, during a certain historical period, the number of information sources corresponding to the n target data stored in queue a is {k1, k2, …, kn}, then terminal device a can calculate the mean number of information sources corresponding to queue a
[0112] Furthermore, terminal device a can also calculate the average arrival rate of data corresponding to queue a according to the time when each target data stored in queue a arrives at queue a during the historical period. For example, during a certain historical period, the arrival times of n target data stored in queue a are {t1, t2, …, tn}, then terminal device a can calculate the average arrival rate of data corresponding to queue a
[0113] In addition, the terminal device a may also construct a compression function, for example, the constructed compression function satisfies the following form:
[0114]
[0115] Among them, μ is used to represent the average data transmission rate, μ is determined by the data center device according to the channel transmission capacity between the data center device and the terminal device a, the amount of source coding used, and the average number of sources corresponding to queue a, N(t) is used to represent the amount of target data stored in queue a at time t, θ1 and θ2 are used to represent the candidate compression rates respectively, and θ0 is used to represent the data volume critical value corresponding to the candidate compression rates θ1 and θ2.
[0116] Then, terminal device a can send the source type corresponding to the target data stored in queue a, the source coding usage m, the source distortion importance coefficient η, the mean number of sources corresponding to queue a u, the average data arrival rate λ corresponding to queue a, and the constructed compression function to the data center device.
[0117] Optionally, when the terminal device b has a stronger data processing capability, the implementation method of the terminal device b determining the third information can refer to the implementation method of the terminal device a determining the third information mentioned above, which will not be repeated here.
[0118] Step 302: The data center device constructs an objective function for determining variable values corresponding to terminal device a based on the third information from terminal device a, calculates the variable value combination corresponding to the minimum function value of the objective function by random search, and generates the first information corresponding to terminal device a based on the variable value combination.
[0119] Optionally, the data center device may first evaluate the channel transmission capability c between the data center device and the terminal device a a (bit / s), and the delay corresponding to terminal device a can be determined based on the average arrival rate λ of the data corresponding to queue a from terminal device a and the compression function Optionally, the data center equipment can also be based on the channel transmission capacity c a , the amount of source coding used m and the average number of sources corresponding to queue a of terminal device a, calculate the average data transmission rate (For example, the unit is tasks / s). For example, assuming that the candidate compression rate is β, that is, each source only transmits m*β bits, then the average data transmission rate is (For example, the unit is tasks / s).
[0120] Furthermore, the data center device can select the distortion-rate function corresponding to the source type according to the source type corresponding to the target data stored in the queue a from the terminal device a, and determine the average distortion function D corresponding to the terminal device a according to the distortion-rate function corresponding to the source type and the mean value u of the number of sources corresponding to the queue a from the terminal device a. a (μ θ (N(t))). Optional, average distortion function D a (μ θ (N(t))) satisfies the following form:
[0121] Among them, π θ,i Numerical solution π for the system steady-state distribution of the first queue θ The value of the i-th element in D′(μ θ (N(t))) is used to represent the distortion-rate function corresponding to the source type corresponding to the target data stored in the first queue.
[0122] For example, taking the case where the distribution of the information source contained in the target data stored in queue a of terminal device a conforms to the Gaussian distribution, the distortion-rate function corresponding to the information source type corresponding to the target data stored in queue a satisfies the following form:
[0123]
[0124] Among them, σ is used to represent the variance of the source distribution contained in the target data stored in the queue a of the terminal device a, u is used to represent the mean number of sources corresponding to the queue a of the terminal device a, and c a Used to indicate the channel transmission capacity between data center equipment and terminal equipment a.
[0125] Afterwards, the data center equipment can calculate the delay corresponding to the terminal device a. Average distortion function D corresponding to terminal device a a (μ θ (N(t))) and the source distortion importance coefficient η corresponding to the terminal device a, construct an objective function S1 for determining the variable value corresponding to the terminal device a. Exemplarily, the objective function S1 may satisfy the following form:
[0126]
[0127] Then, the data center equipment solves the objective function S1 in a random search manner to determine the variable value combination that makes the objective function S1 take the minimum function value, that is, to solve the optimal parameter θ a * . Optionally, the optimal parameter θ a * The data center device may include multiple candidate compression rates and data volume thresholds for distinguishing the multiple candidate compression rates. Finally, the data center device may generate the first information corresponding to the terminal device a according to the corresponding variable value combination when the objective function S1 takes the minimum function value. Exemplarily, the first information corresponding to the terminal device a may include multiple candidate compression rates for the terminal device a. and a data volume critical value for distinguishing the multiple candidate compression rates in,
[0128] Step 303: The data center device constructs an objective function for determining variable values corresponding to terminal device b based on the third information from terminal device b, calculates the variable value combination corresponding to the minimum function value of the objective function by random search, and generates the first information corresponding to terminal device b based on the variable value combination.
[0129] Optionally, the data center device may first evaluate the channel transmission capability c between the data center device and the terminal device b. b (bit / s), and the delay corresponding to terminal device b can be determined based on the average arrival rate λ of the data corresponding to queue b from terminal device b and the compression function Optionally, the data center equipment can also be based on the channel transmission capacity c b, the amount of source coding used m and the average number of sources corresponding to the queue b of the terminal device b, and calculate the average data transmission rate For example, assuming that the candidate compression rate is β, that is, each source transmits only m*β bits, the average data transmission rate is
[0130] Furthermore, the data center device can select the distortion-rate function corresponding to the source type according to the source type corresponding to the target data stored in the queue b from the terminal device b, and determine the average distortion function D corresponding to the terminal device b according to the distortion-rate function corresponding to the source type and the mean value u of the number of sources corresponding to the queue b from the terminal device b. b (μ θ (N(t))). Optional, average distortion function D b (μ θ (N(t))) satisfies the following form:
[0131] Among them, π θ,i Numerical solution π for the system steady-state distribution of the first queue θ The value of the i-th element in D′(μ θ (N(t))) is used to represent the distortion-rate function corresponding to the source type corresponding to the target data stored in the first queue.
[0132] For example, taking the case where the distribution of the information sources contained in the target data stored in queue b of terminal device b conforms to the Gaussian distribution, the distortion-rate function corresponding to the information source type corresponding to the target data stored in queue b satisfies the following form:
[0133]
[0134] Among them, σ is used to represent the variance of the source distribution contained in the target data stored in the queue b of the terminal device b, u is used to represent the mean number of sources corresponding to the queue b of the terminal device b, and c b Used to indicate the channel transmission capacity between data center equipment and terminal equipment b.
[0135] Afterwards, the data center equipment can calculate the latency of the terminal device b. The average distortion function D corresponding to terminal device b b (μ θ (N(t))) and the source distortion importance coefficient η corresponding to the terminal device b, construct an objective function S2 for determining the variable value corresponding to the terminal device b. Exemplarily, the objective function S2 may satisfy the following form:
[0136]
[0137] Then, the data center equipment solves the objective function S2 in a random search manner to determine the variable value combination that makes the objective function S2 take the minimum function value, that is, to solve the optimal parameter θ b * . Optionally, the optimal parameter θ b * The data center device may include multiple candidate compression rates and data volume critical values for distinguishing the corresponding multiple candidate compression rates. Finally, the data center device may generate the first information corresponding to the terminal device b according to the corresponding variable value combination when the objective function S2 takes the minimum function value. For example, the first information corresponding to the terminal device b may include multiple candidate compression rates for the terminal device b. and a data volume critical value for distinguishing the multiple candidate compression rates in,
[0138] Step 304: The data center device sends the first information corresponding to each terminal device a and the terminal device b. The terminal device a and the terminal device b receive the first information corresponding to each terminal device a and the terminal device b.
[0139] For example, in one example, after determining the first information corresponding to terminal device a, the data center device may send the first information corresponding to terminal device a to terminal device a. Optionally, the first information corresponding to terminal device a may be used to indicate one or more candidate compression rates, and the first information corresponding to terminal device a may also be used to indicate the data volume range corresponding to each candidate compression rate. For example, the first information corresponding to terminal device a may include multiple candidate compression rates. and the data volume threshold used to distinguish multiple candidate compression ratios
[0140] In another example, after determining the first information corresponding to terminal device b, the data center device may send the first information corresponding to terminal device b to terminal device b. Optionally, the first information corresponding to terminal device b may be used to indicate one or more candidate compression rates, and the first information corresponding to terminal device b may also be used to indicate the data volume range corresponding to each candidate compression rate. For example, the first information corresponding to terminal device b may include multiple candidate compression rates. and the data volume threshold used to distinguish multiple candidate compression ratios
[0141] Step 305: Terminal device a determines the target compression rate corresponding to queue a at the first time according to the first information and the data volume of the target data stored in queue a at the first time.
[0142] Optionally, in one example, taking the first time as an example, the terminal device a may first detect or count the amount of target data stored in the queue a at the first time as n. a , then the terminal device a can store the target data n in the first time queue a a Data volume threshold For comparison. a Less than or equal to When the terminal device a can As the target compression rate of the target data in the first compression queue a. a Greater than When the terminal device a can As the target compression rate of the target data in the first compression queue a.
[0143] In another example, taking the second time as an example, the terminal device a may first detect or count the amount of target data stored in the queue a at the second time as n. a , then the terminal device a can store the target data amount n in the second time queue a a Data volume threshold For comparison. a Less than or equal to When the terminal device a can As the target compression rate of the target data in the compression queue a at the second time. a Greater than When the terminal device a can As the target compression rate of the target data in the compression queue a at the second time.
[0144] Step 306: Terminal device a compresses the target data in queue a using the target compression rate at the first time, and sends the compressed target data to the data center device.
[0145] Exemplarily, taking the first time as an example, in one example, when terminal device a determines that the target compression rate of the target data in compression queue a at the first time is When terminal device a arrives at the first time, it can use the target compression rate Compress the target data in queue a. After that, terminal device a can send the compressed target data to the data center device at the first time. For example, for each source contained in each target data stored in queue a, terminal device a can use the target compression rate Each source included in the target data is compressed and transmitted. In other words, terminal device a can transmit each source included in the target data. bits.
[0146] In another example, when terminal device a determines that the target compression rate of the target data in the first compression queue a is When terminal device a arrives at the first time, it can use the target compression rate Compress the target data in queue a. After that, terminal device a can send the compressed target data to the data center device at the first time. For example, for each source contained in each target data stored in queue a, terminal device a can use the target compression rate Each source included in the target data is compressed and transmitted. In other words, terminal device a can transmit each source included in the target data. bits.
[0147] Furthermore, in one example, assuming that the candidate compression ratio is 0.1 and the channel transmission capacity c a =1, the average number of sources corresponding to queue a is u=1, and the amount of source coding used is m=1. Then the average data transmission rate between terminal device a and data center device is 1 / (1*1*0.1)=10 (for example, in tasks / s). In another example, assuming that the candidate compression rate is 0.2 and the channel transmission capacity c a =1, the mean number of sources corresponding to queue a is u=1, and the source coding usage is m=1, then the average data transmission rate between terminal device a and data center equipment is 1 / (1*1*0.2)=5 (for example, the unit is tasks / s). It can be seen from this that when the amount of target data in the queue of a terminal device (for example, terminal device a) is relatively large at a certain time, terminal device a can select a relatively suitable compression rate corresponding to the time (for example, a relatively small compression rate) to compress the target data and transmit it. At the same time, the transmission rate of the target data in the queue at this time will also be relatively large, so that the target data can be transmitted to the data center equipment relatively quickly, and because a relatively small compression rate is selected, the transmission quality of the target data can be ensured (for example, data distortion is relatively small).
[0148] Step 307: Terminal device b determines the target compression rate corresponding to queue b at the first time according to the first information and the data volume of the target data stored in queue b at the first time.
[0149] Optionally, in one example, taking the first time as an example, the terminal device b may first detect or count the amount of target data stored in the queue b at the first time as n. b , then the terminal device b can store the data volume n of the target data stored in the first time queue b b Data volume threshold For comparison. b Less than or equal to When the terminal device b can As the target compression rate of the target data in the first compression queue b. b Greater than When the terminal device b can As the target compression ratio of the target data in the first compression queue b.
[0150] In another example, taking the second time as an example, the terminal device b may first detect or count the amount of target data stored in the queue b at the second time as n. b , then the terminal device b can store the data volume n of the target data stored in the second time queue b b Data volume threshold For comparison. b Less than or equal to When the terminal device b can As the target compression rate of the target data in the compression queue b at the second time. b Greater than When the terminal device b can As the target compression ratio of the target data in the compression queue b at the second time.
[0151] Step 308: Terminal device b compresses the target data in queue b using the target compression rate at the first time, and sends the compressed target data to the data center device.
[0152] Exemplarily, taking the first time as an example, in one example, when terminal device b determines that the target compression rate of the target data in compression queue b at the first time is When terminal device b arrives at the first time, it can use the target compression rate Compress the target data in queue b. After that, terminal device b can send the compressed target data to the data center device as soon as possible. For example, for each source contained in each target data stored in queue b, terminal device b can use the target compression rate Each source included in the target data is compressed and transmitted. In other words, the terminal device b can transmit each source included in the target data. bits.
[0153] In another example, when terminal device b determines that the target compression rate of the target data in compression queue b at the first time is When terminal device b arrives at the first time, it can use the target compression rate Compress the target data in queue b. After that, terminal device b can send the compressed target data to the data center device as soon as possible. For example, for each source contained in each target data stored in queue b, terminal device b can use the target compression rate Each source included in the target data is compressed and transmitted. In other words, the terminal device b can transmit each source included in the target data. bits.
[0154] It can be seen from the above steps 301 to 308 that when the first communication device (such as a terminal device) has a strong data processing capability, the terminal device can determine most of the relevant parameters required to determine the first information, which can effectively reduce the data processing pressure of the data center device, and enable the data center device to combine most of the relevant parameters from the terminal device to more timely and accurately determine the first information (such as multiple candidate compression rates and the critical value of the data volume corresponding to the multiple candidate compression rates). Afterwards, after obtaining the first information, the terminal device can flexibly select the target compression rate according to the storage situation of the target data in a certain time queue, so that the terminal device can transmit the target data in the queue more efficiently and accurately, and thus the data transmission quality can be effectively improved.
[0155] Figure 4 The following is a flow chart showing another communication method provided by an embodiment of the present application. Figure 1a or Figure 1b The communication system architecture shown in FIG. Figure 4 The application scenario of the communication method shown is: both terminal device a and terminal device b have moderate data processing capabilities, that is, terminal device a and terminal device b can respectively determine the amount of source coding used, the source distortion importance coefficient, the source type corresponding to the target data stored in the first queue, the average data arrival rate of the first queue in a preset time period, and the average number of sources corresponding to the first queue in a preset time period. Figure 4 As shown, the specific process of the method may include:
[0156] Step 401: Terminal device a and terminal device b send fourth information to data center device respectively. Data center device receives fourth information from terminal device a and terminal device b respectively.
[0157] Among them, the fourth information may include the source coding usage, the source distortion importance coefficient, the source type corresponding to the target data stored in the first queue, the average data arrival rate of the first queue in the preset time period, and the average number of sources corresponding to the first queue in the preset time period.
[0158] Exemplarily, continuing with the example of queue a configured in terminal device a and queue b configured in terminal device b, when terminal device a has moderate data processing capabilities, terminal device a can determine the source type corresponding to the target data stored in queue a, the source coding usage is m, and can evaluate the source distortion importance coefficient η.
[0159] In addition, terminal device a can also calculate the mean number of information sources corresponding to queue a based on the number of information sources corresponding to each target data stored in queue a during a certain historical period. For example, during a certain historical period, the number of information sources corresponding to the n target data stored in queue a is {k1, k2, …, kn}, then terminal device a can calculate the mean number of information sources corresponding to queue a
[0160] Furthermore, terminal device a can also calculate the average arrival rate of data corresponding to queue a according to the time when each target data stored in queue a arrives at queue a during the historical period. For example, during a certain historical period, the arrival times of n target data stored in queue a are {t1, t2, …, tn}, then terminal device a can calculate the average arrival rate of data corresponding to queue a
[0161] Then, terminal device a can send the source type corresponding to the target data stored in queue a, the source coding usage m, the source distortion importance coefficient η, the mean number of sources u corresponding to queue a, and the average data arrival rate λ corresponding to queue a to the data center device.
[0162] Optionally, when the terminal device b has moderate data processing capabilities, the implementation method of the terminal device b determining the fourth information can refer to the implementation method of the terminal device a determining the fourth information mentioned above, which will not be repeated here.
[0163] Step 402: The data center device constructs an objective function for determining variable values corresponding to terminal device a based on the fourth information from terminal device a, calculates the variable value combination corresponding to the minimum function value of the objective function by random search, and generates the first information corresponding to terminal device a based on the variable value combination.
[0164] Optionally, the implementation method of the data center device determining the first information corresponding to the terminal device a in step 402 can refer to the implementation method of the data center device determining the first information corresponding to the terminal device a in the above step 302, which is not repeated here. Exemplarily, the first information corresponding to the terminal device a may include at least one of the following: multiple candidate compression rates for the terminal device a, a data volume critical value for distinguishing the multiple candidate compression rates, or a compression function constructed by the data center device.
[0165] In addition, since the terminal device a (or the terminal device b) does not have the ability to construct a compression function, the data center device constructs the compression function required for determining the target function. The implementation method of the data center device constructing the compression function in step 402 can refer to the implementation method of the terminal device a constructing the compression function in step 301 above, which will not be repeated here.
[0166] Step 403: The data center device constructs an objective function for determining variable values corresponding to terminal device b based on the fourth information from terminal device b, calculates the variable value combination corresponding to the minimum function value of the objective function by random search, and generates the first information corresponding to terminal device b based on the variable value combination.
[0167] Optionally, the implementation method of the data center device determining the first information corresponding to the terminal device b in step 403 can refer to the implementation method of the data center device determining the first information corresponding to the terminal device b in the above step 303, which is not repeated here. Exemplarily, the first information corresponding to the terminal device b may include at least one of the following: multiple candidate compression rates for the terminal device b, a data volume critical value for distinguishing the multiple candidate compression rates, or a compression function constructed by the data center device.
[0168] Step 404: The data center device sends the first information corresponding to each terminal device a and the terminal device b. The terminal device a and the terminal device b receive the first information corresponding to each terminal device a and the terminal device b.
[0169] Optionally, the implementation method of the data center device sending the first information corresponding to terminal device a to terminal device a in step 404 can refer to the implementation method of the data center device sending the first information corresponding to terminal device a to terminal device a in step 304 above, which will not be repeated here. The implementation method of the data center device sending the first information corresponding to terminal device b to terminal device b in step 404 can refer to the implementation method of the data center device sending the first information corresponding to terminal device b to terminal device b in step 304 above, which will not be repeated here.
[0170] Step 405: Terminal device a determines the target compression rate corresponding to queue a at the first time according to the first information and the data volume of the target data stored in queue a at the first time.
[0171] Optionally, in one example, taking the first time as an example, the implementation method of terminal device a determining the target compression rate corresponding to queue a at the first time in step 405 can refer to the implementation method of terminal device a determining the target compression rate corresponding to queue a at the first time in step 305 above, which will not be repeated here. In another example, taking the second time as an example, the implementation method of terminal device a determining the target compression rate corresponding to queue a at the second time in step 405 can refer to the implementation method of terminal device a determining the target compression rate corresponding to queue a at the second time in step 305 above, which will not be repeated here.
[0172] Step 406: Terminal device a compresses the target data in queue a using the target compression ratio at the first time, and sends the compressed target data to the data center device.
[0173] Optionally, in an example, taking the first time as an example, the implementation method of terminal device a in step 406 using the target compression rate to compress the target data in queue a at the first time and transmit it can refer to the implementation method of terminal device a in the above step 306 using the target compression rate to compress the target data in queue a at the first time and transmit it, which will not be repeated here.
[0174] Step 407: Terminal device b determines the target compression rate corresponding to queue b at the first time according to the first information and the data volume of the target data stored in queue b at the first time.
[0175] Optionally, in one example, taking the first time as an example, the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the first time in step 407 can refer to the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the first time in the above step 307, which will not be repeated here. In another example, taking the second time as an example, the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the second time in step 407 can refer to the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the second time in the above step 307, which will not be repeated here.
[0176] Step 408: Terminal device b compresses the target data in queue b using the target compression rate at the first time, and sends the compressed target data to the data center device.
[0177] Optionally, in an example, taking the first time as an example, the implementation method of terminal device b using the target compression rate to compress the target data in queue b and transmit it at the first time in step 408 can refer to the implementation method of terminal device b using the target compression rate to compress the target data in queue b and transmit it at the first time in the above step 308, which will not be repeated here.
[0178] It can be seen from the above steps 401 to 408 that when the first communication device (such as a terminal device) has moderate data processing capabilities, the terminal device can determine a part of the relevant parameters required to determine the first information, so that the data processing pressure of the data center device can be relatively reduced, and the data center device can combine the part of the relevant parameters required to determine the first information determined by itself and the part of the relevant parameters from the terminal device to more accurately determine the first information (such as multiple candidate compression rates and the critical value of the data volume corresponding to the multiple candidate compression rates). Afterwards, after obtaining the first information, the terminal device can flexibly select the target compression rate according to the storage situation of the target data in a certain time queue, so that the terminal device can transmit the target data in the queue more efficiently and accurately, and the data transmission quality can be effectively improved.
[0179] Figure 5 The following is a flow chart showing another communication method provided by an embodiment of the present application. Figure 1a or Figure 1b The communication system architecture shown in FIG. Figure 5 The application scenario of the communication method shown is: terminal device a and terminal device b both have weak data processing capabilities, that is, terminal device a and terminal device b can respectively determine the source coding usage, the source distortion importance coefficient and the source type corresponding to the target data stored in the first queue.
[0180] like Figure 5 As shown, the specific process of the method may include:
[0181] Step 501: Terminal device a and terminal device b send fifth information to data center device respectively. Data center device receives fifth information from terminal device a and terminal device b respectively.
[0182] Among them, the fifth information may include the source coding usage, the source distortion importance coefficient, the source type corresponding to the target data stored in the first queue, the arrival time of each target data stored in the first queue within the preset time period, and the number of sources corresponding to each target data stored in the first queue within the preset time period.
[0183] Exemplarily, continuing with the example of queue a configured in terminal device a and queue b configured in terminal device b, when terminal device a has moderate data processing capabilities, terminal device a can determine the source type corresponding to the target data stored in queue a, the source coding usage is m, and can evaluate the source distortion importance coefficient η.
[0184] Then, the terminal device a can send the source type corresponding to the target data stored in queue a, the source coding usage m, the source distortion importance coefficient η, the arrival time {t1, t2,…, tn} corresponding to the n target data stored in queue a within a historical period, and the number of sources {k1, k2,…, kn} corresponding to the n target data stored in queue a within the historical period to the data center device.
[0185] Optionally, when the terminal device b has moderate data processing capabilities, the implementation method of the terminal device b determining the fifth information can refer to the implementation method of the terminal device a determining the fifth information mentioned above, which will not be repeated here.
[0186] Step 502: The data center device constructs an objective function for determining variable values corresponding to terminal device a based on the fifth information from terminal device a, calculates the variable value combination corresponding to the minimum function value of the objective function by random search, and generates the first information corresponding to terminal device a based on the variable value combination.
[0187] Optionally, the implementation method of the data center device determining the first information corresponding to the terminal device a in step 502 can refer to the implementation method of the data center device determining the first information corresponding to the terminal device a in the above step 302, which is not repeated here. Exemplarily, the first information corresponding to the terminal device a may include at least one of the following: multiple candidate compression rates for the terminal device a, a data volume critical value for distinguishing the multiple candidate compression rates, or a compression function constructed by the data center device.
[0188] In addition, since terminal device a (or terminal device b) does not have the ability to construct a compression function, determine the mean number of information sources corresponding to a certain queue, and determine the average data arrival rate corresponding to the queue, the data center device constructs the compression function required for determining the objective function, and the data center device determines the mean number of information sources corresponding to a certain queue and determines the average data arrival rate corresponding to the queue. Among them, the implementation method of the data center device constructing the compression function in step 502 can refer to the implementation method of the terminal device a constructing the compression function in the above step 301, and the implementation method of the data center device determining the mean number of information sources corresponding to a certain queue and determining the average data arrival rate corresponding to the queue in step 502 can refer to the implementation method of the terminal device a determining the mean number of information sources corresponding to queue a and determining the average data arrival rate corresponding to queue a in the above step 301, which will not be repeated here.
[0189] Step 503: The data center device constructs an objective function for determining variable values corresponding to terminal device b based on the fifth information from terminal device b, calculates the variable value combination corresponding to the minimum function value of the objective function by random search, and generates the first information corresponding to terminal device b based on the variable value combination.
[0190] Optionally, the implementation method of the data center device determining the first information corresponding to the terminal device b in step 503 can refer to the implementation method of the data center device determining the first information corresponding to the terminal device b in the above step 303, which is not repeated here. Exemplarily, the first information corresponding to the terminal device b may include at least one of the following: multiple candidate compression rates for the terminal device b, a data volume critical value for distinguishing the multiple candidate compression rates, or a compression function constructed by the data center device.
[0191] Step 504: The data center device sends the first information corresponding to each terminal device a and the terminal device b. The terminal device a and the terminal device b receive the first information corresponding to each terminal device a and the terminal device b.
[0192] Optionally, the implementation method of the data center device sending the first information corresponding to terminal device a to terminal device a in step 504 can refer to the implementation method of the data center device sending the first information corresponding to terminal device a to terminal device a in step 304 above, which will not be repeated here. The implementation method of the data center device sending the first information corresponding to terminal device b to terminal device b in step 504 can refer to the implementation method of the data center device sending the first information corresponding to terminal device b to terminal device b in step 304 above, which will not be repeated here.
[0193] Step 505: Terminal device a determines the target compression rate corresponding to queue a at the first time according to the first information and the data volume of the target data stored in queue a at the first time.
[0194] Optionally, in one example, taking the first time as an example, the implementation method of terminal device a determining the target compression rate corresponding to queue a at the first time in step 505 can refer to the implementation method of terminal device a determining the target compression rate corresponding to queue a at the first time in step 305 above, which will not be repeated here. In another example, taking the second time as an example, the implementation method of terminal device a determining the target compression rate corresponding to queue a at the second time in step 505 can refer to the implementation method of terminal device a determining the target compression rate corresponding to queue a at the second time in step 305 above, which will not be repeated here.
[0195] Step 506: Terminal device a compresses the target data in queue a using the target compression rate at the first time, and sends the compressed target data to the data center device.
[0196] Optionally, in an example, taking the first time as an example, the implementation method of terminal device a using the target compression rate to compress the target data in queue a and transmit it at the first time in step 506 can refer to the implementation method of terminal device a using the target compression rate to compress the target data in queue a and transmit it at the first time in the above step 306, which will not be repeated here.
[0197] Step 507: Terminal device b determines the target compression rate corresponding to queue b at the first time according to the first information and the data volume of the target data stored in queue b at the first time.
[0198] Optionally, in one example, taking the first time as an example, the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the first time in step 507 can refer to the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the first time in the above step 307, which will not be repeated here. In another example, taking the second time as an example, the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the second time in step 507 can refer to the implementation method of the terminal device b determining the target compression rate corresponding to the queue b at the second time in the above step 307, which will not be repeated here.
[0199] Step 508: Terminal device b compresses the target data in queue b using the target compression rate at the first time, and sends the compressed target data to the data center device.
[0200] Optionally, in an example, taking the first time as an example, the implementation method of terminal device b using the target compression rate to compress the target data in queue b and transmit it at the first time in step 508 can refer to the implementation method of terminal device b using the target compression rate to compress the target data in queue b and transmit it at the first time in the above step 308, which will not be repeated here.
[0201] It can be seen from the above steps 501 to 508 that when the first communication device (such as a terminal device) has a weaker data processing capability, the terminal device can determine a small part of the relevant parameters required to determine the first information, so that the data center device can combine a large part of the relevant parameters required to determine the first information determined by itself and a small part of the relevant parameters from the terminal device to more accurately determine the first information (such as multiple candidate compression rates and a critical value of the data volume corresponding to the multiple candidate compression rates). Afterwards, after obtaining the first information, the terminal device can flexibly select the target compression rate according to the storage situation of the target data in a certain time queue, so that the terminal device can transmit the target data in the queue more efficiently and accurately, thereby effectively improving the quality of data transmission.
[0202] It should be noted that in the description of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there may be three relationships, for example, A and / or B, which can represent: the situation where A exists alone, A and B exist at the same time, and B exists alone, wherein A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are an "or" relationship. "At least one of the following (individuals)" or its similar expression refers to any combination of these items, including any combination of single items (individuals) or plural items (individuals). For example, "at least one of A, B and C" includes A, B, C, AB, AC, BC or ABC. And, unless otherwise specified, the ordinal numbers such as "first", "second", and "third" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. In addition, the terms "including", "comprising", "having" and their variations appearing in the present application all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0203] In addition, it should be noted that each step involved in the above embodiments can be performed by a corresponding device, or by a chip, processor, or chip system in the device, and the embodiments of the present application do not limit them. The above embodiments are only described by taking the corresponding device as an example.
[0204] It should be noted that in the above embodiments, some steps can be selected for implementation, and the order of the steps in the diagram can be adjusted for implementation, and this application does not limit this. It should be understood that executing some steps in the diagram, adjusting the order of the steps, or combining them for specific implementation all fall within the scope of protection of this application.
[0205] It is understandable that, in order to implement the functions in the above embodiments, the various devices involved in the above embodiments include hardware structures and / or software modules corresponding to the execution of the various functions. It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of the various examples described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0206] It should be noted that the "steps" in the embodiments of the present application are only for illustration, and are a method of expression used to better understand the embodiments, and do not constitute a substantial limitation on the execution of the scheme of the present application. For example, the "steps" can also be understood as "features". In addition, the steps do not constitute any limitation on the execution order of the scheme of the present application. Any changes in the order of steps, step merging, or step splitting made on this basis that do not affect the implementation of the overall scheme, and the resulting new technical solutions are also within the scope of the disclosure of the present application.
[0207] Based on the same concept, the present application embodiment also provides a possible communication device, which is suitable for Figure 1a or Figure 1b The communication system architecture shown in the figure. Optionally, the communication device may be a communication device (such as a first communication device or a second communication device) or a communication device that can support the communication device to implement the functions required for the communication method. Optionally, in an example, when the communication device is a first communication device (such as a terminal device), the communication device is used to implement the technical solutions involved in the first communication device in the above embodiment, or the module of the communication device (such as a chip) is used to implement the technical solutions involved in the first communication device in the above embodiment, thereby also achieving the beneficial effects of the first communication device in the above embodiment. For example, the communication device may be such as Figure 1a or Figure 1b In another example, when the communication device is a second communication device (such as a data center device), the communication device is used to implement the technical solution involved in the second communication device in the above embodiment, or the module (such as a chip) of the communication device is used to implement the technical solution involved in the second communication device in the above embodiment, so the beneficial effects of the second communication device in the above embodiment can also be achieved. For example, the communication device can be as follows Figure 1a or Figure 1b A data center facility 100 is shown.
[0208] See also Figure 6 The communication device 600 includes a transceiver module 601 and a processing module 602. The communication device 600 is used to implement the above Figures 2 to 5 The functions of the first communication device (such as terminal equipment) or the second communication device (such as data center equipment) in the method embodiment shown.
[0209] When the communication device 600 is used to implement Figures 2 to 5In the method embodiment shown, the function of the first communication device is as follows: the transceiver module 601 is used to receive the first information from the second communication device, wherein the first information is used to indicate at least one candidate compression rate. The processing module 602 is used to determine the target compression rate corresponding to the first queue at the first time based on the first information and the first data volume of the target data stored in the first queue at the first time, wherein the target compression rate is included in at least one candidate compression rate. The processing module 602 is also used to compress the target data in the first queue using the target compression rate when the first time arrives. The transceiver module 601 is also used to send the compressed target data to the second communication device.
[0210] When the communication device 600 is used to implement Figures 2 to 5 For a more detailed description of the transceiver module 601 and the processing module 602, please refer to the above Figures 2 to 5 The relevant description about the first communication device in the illustrated method embodiment will not be repeated here.
[0211] When the communication device 600 is used to implement Figures 2 to 5 In the method embodiment shown, the function of the second communication device is as follows: the processing module 602 is used to generate first information, wherein the first information is used to indicate at least one candidate compression rate. The transceiver module 601 is used to send the first information to the first communication device. The transceiver module 601 is also used to receive compressed target data from the first communication device, wherein the compressed target data is compressed by the first communication device using the target compression rate corresponding to the first time, and the target compression rate is included in the at least one candidate compression rate.
[0212] When the communication device 600 is used to implement Figures 2 to 5 For a more detailed description of the transceiver module 601 and the processing module 602, please refer to the above Figures 2 to 5 The relevant description about the second communication device in the illustrated method embodiment will not be repeated here.
[0213] It should be understood that the transceiver module 601 in the embodiment of the present application can be implemented by a transceiver or a transceiver-related circuit component, and the processing module 602 can be implemented by a processor or a processor-related circuit component.
[0214] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0215] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, or a server, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0216] Based on the same concept, the present application also provides a possible communication device, which is suitable for Figure 1a or Figure 1b The communication system architecture shown. Optionally, the communication device may be a communication device required to execute the communication method provided in the embodiment of the present application, or may be a device that includes the communication device required to execute the communication method provided in the embodiment of the present application, or may be a device having the functions required to implement the communication method. For example, the communication device may be a first communication device (such as a terminal device) or a second communication device (such as a data center device). When the communication device is used to implement the technical solution involved in the first communication device in the above embodiment, the beneficial effects of the first communication device in the above method embodiment can be achieved. When the communication device is used to implement the technical solution involved in the second communication device in the above embodiment, the beneficial effects of the second communication device in the above method embodiment can be achieved. See. Figure 7, the communication device 700 includes: a transceiver 701, a processor 702. Optionally, the communication device 700 also includes a memory 703. The transceiver 701, the processor 702 and the memory 703 are interconnected. When the communication device 700 is used to implement the technical solution involved in the first communication device provided in the above embodiment, the transceiver 701 can be used to implement the function of the above transceiver module 601 when executing the technical solution involved in the first communication device, and the processor 702 is used to implement the function of the above processing module 602 when executing the technical solution involved in the first communication device. When the communication device 700 is used to implement the technical solution involved in the second communication device provided in the above embodiment, the transceiver 701 can be used to implement the function of the above transceiver module 601 when executing the technical solution involved in the second communication device, and the processor 702 is used to implement the function of the above processing module 602 when executing the technical solution involved in the second communication device.
[0217] Optionally, the transceiver 701, the processor 702, and the memory 703 are interconnected via a bus 704. The bus 704 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0218] The transceiver 701 is used to receive and send data. For example, when the communication device 700 is Figure 1a or Figure 1b When the communication node (such as terminal device) shown in FIG. Figure 1a or Figure 1b The data center equipment shown in the figure can communicate with each other, or it can also communicate with Figure 1a or Figure 1b When the communication device 700 is as shown in the communication system architecture, other devices (such as terminal devices) communicate with each other. Figure 1a or Figure 1b When the data center equipment is shown, the transceiver 701 is implemented with Figure 1a or Figure 1b Communicate with the communication node (such as communication node 1 or communication node 2, etc.) shown in the figure, or communicate with Figure 1a or Figure 1b Communicate with other devices (such as terminal devices) outside the communication system architecture shown.
[0219] The functions of the processor 702 can refer to the description of the corresponding functions involved in the customer forwarding network element or the service forwarding network element in the above embodiments, and will not be repeated here. Among them, the processor 702 can be a central processing unit (CPU), a network processor (NP) or a combination of CPU and NP, etc. The processor 702 can further include a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. When implementing the above-mentioned functions, the processor 702 can be implemented by hardware, and of course, it can also be implemented by executing the corresponding software through hardware.
[0220] The memory 703 is used to store program instructions, etc. Specifically, the program instructions may include program codes, and the program codes include computer operation instructions. The memory 703 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk storage. The processor 702 executes the program instructions stored in the memory 703 to implement the above functions, thereby implementing the method steps required to be executed by the first communication device or the second communication device in the above embodiments.
[0221] Based on the same concept, an embodiment of the present application further provides a communication system, wherein the communication system includes a first communication device (such as a terminal device) and a second communication device (such as a data center device). The first communication device can be used to implement the technical solution involved in the first communication device in the above embodiment, and the second communication device can be used to implement the technical solution involved in the second communication device in the above embodiment.
[0222] Based on the same concept, an embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes the method provided in the above embodiment.
[0223] Based on the same concept, an embodiment of the present application also provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a computer, the computer executes the method provided in the above embodiment.
[0224] The storage medium may be any available medium that can be accessed by a computer. For example, but not limited to, a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.
[0225] Based on the same concept, an embodiment of the present application further provides a chip, which is coupled to a memory, and is used to read a computer program stored in the memory to implement the method provided in the above embodiment.
[0226] Based on the same concept, an embodiment of the present application also provides a chip system, which includes a processor for supporting a computer device to implement the functions involved in the communication device (such as a first communication device or a second communication device), a communication node (such as a terminal device) or a data center device in the above embodiments. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of chips, or it can include chips and other discrete devices.
[0227] In the method provided in the embodiment of the present application, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).
[0228] The steps of the method described in the embodiments of the present application can be directly embedded in the hardware, the software unit executed by the processor, or the combination of the two. The software unit can be stored in RAM, ROM, EEPROM, register, hard disk, removable disk, CD-ROM or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC.
[0229] The present application is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0230] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0231] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A communication method, It is characterized in that Applied to a first communication device, the method comprises: Receiving first information from a second communication device; the first information is used to indicate at least one candidate compression rate; Determine, according to the first information and a first data volume of the target data stored in the first queue at the first time, a target compression ratio corresponding to the first queue at the first time, wherein the target compression ratio is included in the at least one candidate compression ratio; When the first time arrives, the target data in the first queue is compressed using the target compression rate, and the compressed target data is sent to the second communication device.
2. The method according to claim 1, It is characterized in that The first information is also used to indicate the data volume range corresponding to each candidate compression rate; Determining a target compression rate corresponding to the first queue at the first time according to the first information and a first data volume of the target data stored in the first queue at the first time includes: When the first data amount is within a first data amount range, selecting a first candidate compression ratio corresponding to the first data amount range as the target compression ratio; or When the first data amount is within a second data amount range, selecting a second candidate compression ratio corresponding to the second data amount range as the target compression ratio; Among them, any value within the second data volume range is greater than any value within the first data volume range, and the first candidate compression ratio is greater than the second candidate compression ratio.
3. The method according to claim 1 or 2, It is characterized in that The method further comprises: Sending second information to the second communication device; the second information is used to determine the first information.
4. The method according to claim 3, It is characterized in that The second information includes at least one of the following: source coding usage, source distortion importance coefficient, source type corresponding to target data stored in the first queue, average data arrival rate of the first queue in a preset time period, mean number of sources corresponding to the first queue in a preset time period, arrival time of each target data stored in the first queue in the preset time period, number of sources corresponding to each target data stored in the first queue in the preset time period, or compression function; The information source distortion importance coefficient is used to characterize the importance of the information source distortion, and the preset time period is before the first time.
5. The method according to claim 4, It is characterized in that The average data arrival rate of the first queue within the preset time period is determined according to the number of arrival times of multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data.
6. A communication method, It is characterized in that Applied to a second communication device, the method comprises: Generate first information; wherein the first information is used to indicate at least one candidate compression rate; sending the first information to a first communication device; Receive compressed target data from the first communication device; wherein the compressed target data is compressed by the first communication device using a target compression rate corresponding to a first time, and the target compression rate is included in the at least one candidate compression rate.
7. The method according to claim 6, It is characterized in that Generate first information, including: receiving second information from the first communication device; The first information is generated according to the second information.
8. The method according to claim 7, It is characterized in that The second information includes at least one of the following: a source coding usage, a source distortion importance coefficient, a source type corresponding to a source contained in the target data stored in the first queue, an average data arrival rate of the first queue in a preset time period, an average number of sources corresponding to the first queue in a preset time period, an arrival time of each target data stored in the first queue in a preset time period, a number of sources contained in each target data stored in the first queue in a preset time period, or a compression function; The information source distortion importance coefficient is used to characterize the importance of the information source distortion, and the preset time period is before the first time.
9. The method according to claim 8, It is characterized in that The average data arrival rate of the first queue within the preset time period is determined according to the number of arrival times of multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data.
10. The method according to any one of claims 7 to 9, It is characterized in that The first information is also used to indicate the data volume range corresponding to each candidate compression rate; Generating first information according to second information includes: generating an objective function for determining a value of the variable based on the second information; Determine at least one variable value combination corresponding to the minimum function value of the objective function in a random search manner; wherein any variable value combination includes a candidate compression rate and at least one data volume critical value corresponding to the candidate compression rate; and at least one data volume critical value corresponding to any candidate compression rate is used to indicate the data volume range corresponding to the candidate compression rate.
11. A communication device, It is characterized in that It includes a transceiver module and a processing module; The transceiver module is used to receive first information from a second communication device; the first information is used to indicate at least one candidate compression rate; The processing module is configured to determine a target compression ratio corresponding to the first queue at the first time according to the first information and a first data volume of the target data stored in the first queue at the first time, wherein the target compression ratio is included in the at least one candidate compression ratio; The processing module is further configured to compress the target data in the first queue using the target compression rate when the first time arrives; The transceiver module is further used to send the compressed target data to the second communication device.
12. The device according to claim 11, It is characterized in that The first information is also used to indicate the data volume range corresponding to each candidate compression rate; When the processing module determines the target compression rate corresponding to the first queue at the first time according to the first information and the first data volume of the target data stored in the first queue at the first time, the processing module is specifically used to: When the first data amount is within a first data amount range, selecting a first candidate compression ratio corresponding to the first data amount range as the target compression ratio; or When the first data amount is within a second data amount range, selecting a second candidate compression ratio corresponding to the second data amount range as the target compression ratio; Among them, any value within the second data volume range is greater than any value within the first data volume range, and the first candidate compression ratio is greater than the second candidate compression ratio.
13. The device according to claim 11 or 12, It is characterized in that The transceiver module is also used for: Sending second information to the second communication device; the second information is used to determine the first information.
14. The device according to claim 13, It is characterized in that The second information includes at least one of the following: source coding usage, source distortion importance coefficient, source type corresponding to target data stored in the first queue, average data arrival rate of the first queue in a preset time period, mean number of sources corresponding to the first queue in a preset time period, arrival time of each target data stored in the first queue in the preset time period, number of sources contained in each target data stored in the first queue in the preset time period, or compression function; The information source distortion importance coefficient is used to characterize the importance of the information source distortion, and the preset time period is before the first time.
15. The device according to claim 14, It is characterized in that The average data arrival rate of the first queue within the preset time period is determined according to the number of arrival times of multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data.
16. A communication device, It is characterized in that It includes a transceiver module and a processing module; The processing module is used to generate first information; wherein the first information is used to indicate at least one candidate compression ratio; The transceiver module is used to send the first information to the first communication device; The transceiver module is also used to receive compressed target data from the first communication device; wherein the compressed target data is compressed by the first communication device using a target compression rate corresponding to a first time, and the target compression rate is included in the at least one candidate compression rate.
17. The device according to claim 16, It is characterized in that When generating the first information, the processing module is specifically used to: receiving second information from the first communication device; The first information is generated according to the second information.
18. The device according to claim 17, It is characterized in that The second information includes at least one of the following: a usage amount of source coding, a source distortion importance coefficient, a source type corresponding to the target data stored in the first queue, an average arrival rate of data in the first queue within a preset time period, an average number of sources corresponding to the first queue within a preset time period, an arrival time of each target data stored in the first queue within a preset time period, a number of sources corresponding to each target data stored in the first queue within a preset time period, or a compression function; The information source distortion importance coefficient is used to characterize the importance of the information source distortion, and the preset time period is before the first time.
19. The device according to claim 18, It is characterized in that The average data arrival rate of the first queue within the preset time period is determined according to the number of arrival times of multiple target data stored in the first queue within the preset time period and the difference between any two adjacent arrival times of the multiple target data.
20. The device according to any one of claims 17 to 19, It is characterized in that The first information is also used to indicate the data volume range corresponding to each candidate compression rate; When the processing module generates the first information according to the second information, it is specifically used to: generating an objective function for determining a value of the variable based on the second information; Determine at least one variable value combination corresponding to the minimum function value of the objective function in a random search manner; wherein any variable value combination includes a candidate compression rate and at least one data volume critical value corresponding to the candidate compression rate; and at least one data volume critical value corresponding to any candidate compression rate is used to indicate the data volume range corresponding to the candidate compression rate.
21. A communication device, It is characterized in that include: transceiver, used to receive and send data; Memory for storing computer program instructions and data; A processor is used to execute and call the computer program instructions and data in the memory so that the communication device executes the method according to any one of claims 1 to 10.
22. A communication system, It is characterized in that include: A first communication device, configured to implement the method as claimed in any one of claims 1 to 5; The second communication device is used to implement the method as described in any one of claims 6-10.
23. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program or instruction. When the computer program or instruction is executed by a computer, the computer executes the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 10.
24. A computer program product, It is characterized in that The computer program product comprises a computer program or instructions, and when the computer program or instructions are run on a computer, the computer is caused to perform the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 10.
25. A chip, It is characterized in that The chip is coupled to a memory, and the chip reads a computer program stored in the memory to execute the method according to any one of claims 1 to 5 or the method according to any one of claims 6 to 10.
