CN112311720B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN112311720B
CN112311720B CN201910673877.XA CN201910673877A CN112311720B CN 112311720 B CN112311720 B CN 112311720B CN 201910673877 A CN201910673877 A CN 201910673877A CN 112311720 B CN112311720 B CN 112311720B
Authority
CN
China
Prior art keywords
data
transmission
compression algorithm
fixed
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910673877.XA
Other languages
Chinese (zh)
Other versions
CN112311720A (en
Inventor
罗广镇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910673877.XA priority Critical patent/CN112311720B/en
Publication of CN112311720A publication Critical patent/CN112311720A/en
Application granted granted Critical
Publication of CN112311720B publication Critical patent/CN112311720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Abstract

The embodiment of the application provides a data transmission method and device. The data transmission method comprises the following steps: identifying fixed data contained in data to be transmitted, wherein the fixed data is the same data needing to be transmitted in multiple data transmission processes; acquiring a data identifier corresponding to the fixed data; replacing fixed data in the data to be transmitted with a data identifier corresponding to the fixed data to obtain target transmission data; and compressing the target transmission data for transmission. The technical scheme of the embodiment of the application can reduce the data volume required to be transmitted and improve the data transmission efficiency.

Description

Data transmission method and device
Technical Field
The present application relates to the field of computer and communication technologies, and in particular, to a data transmission method and apparatus.
Background
When information is exchanged, data transmission needs to be performed between the two parties (for example, an application program and a server) to exchange information, and the two parties (for example, the application program and the server) can know the state or the request of the other party according to the transmitted data. However, in the process of transmitting data for many times, the same data may be repeatedly transmitted, thereby increasing the amount of data transmitted and decreasing the data transmission efficiency.
Disclosure of Invention
Embodiments of the present application provide a data transmission method and apparatus, so as to overcome, at least to a certain extent, the technical problems of increasing the amount of transmitted data and reducing the data transmission efficiency due to repeated transmission of the same data.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a data transmission method, including:
identifying fixed data contained in data to be transmitted, wherein the fixed data is the same data needing to be transmitted in multiple data transmission processes;
acquiring a data identifier corresponding to the fixed data;
replacing fixed data in the data to be transmitted with a data identifier corresponding to the fixed data to obtain target transmission data;
and compressing the target transmission data for transmission.
According to an aspect of an embodiment of the present application, there is provided a data transmission apparatus, including:
the identification module is used for identifying fixed data contained in the data to be transmitted, wherein the fixed data is the same data which needs to be transmitted in the process of multiple data transmission;
the acquisition module is used for acquiring a data identifier corresponding to the fixed data;
the replacing module is used for replacing fixed data in the data to be transmitted with the corresponding data identification to obtain target transmission data;
and the compression module is used for compressing the target transmission data for transmission.
In an optional embodiment of the present application, the compression module comprises:
a detection unit, configured to detect whether a size of the target transmission data is larger than a predetermined threshold;
and the compression unit is used for compressing the target transmission data for transmission if the size of the target transmission data is larger than the preset threshold value.
In an optional embodiment of the present application, the transmission apparatus further includes:
the sample data compression module is used for compressing preset sample data with different sizes through a compression algorithm;
and the first threshold value determining module is used for determining the size of the preset sample data as the preset threshold value corresponding to the compression algorithm if the size of the compressed data is equal to that of the preset sample data.
In an optional embodiment of the present application, the transmission apparatus further includes:
the data acquisition module is used for acquiring compressed data obtained by compressing historical transmission data by a compression algorithm;
and the second threshold determining module is used for determining that the size of the historical transmission data is the preset threshold of the compression algorithm if the size of the compressed data is equal to that of the historical transmission data.
In an optional embodiment of the present application, the compression unit is further configured to: and selecting a corresponding compression algorithm from the compression algorithms based on the compression rate of each compression algorithm on the target transmission data to compress the target transmission data for transmission.
In an optional embodiment of the present application, the detecting unit is further configured to: comparing the size of the target transmission data with the predetermined threshold corresponding to each compression algorithm respectively;
wherein the compression unit is further configured to: and selecting a corresponding compression algorithm from the compression algorithms of which the corresponding predetermined threshold is smaller than the size of the target transmission data to compress the target transmission data for transmission.
In an optional embodiment of the present application, the transmission apparatus further includes:
and the modifying unit is used for modifying the zone bits contained in the target transmission data, and the modified value of the zone bits corresponds to the selected compression algorithm.
In an optional embodiment of the present application, the transmission apparatus further includes:
the fixed data acquisition module is used for acquiring fixed data required by data transmission;
the data identifier generating module is used for generating a data identifier corresponding to the fixed data based on the fixed data and correspondingly storing the fixed data and the data identifier;
and the data sending module is used for sending the fixed data and the corresponding data identification to a data receiving end so as to be stored and inquired by the data receiving end.
In an optional embodiment of the present application, the transmission apparatus further includes:
the receiving module is used for receiving fixed data required by other terminals during data transmission and data identification corresponding to the fixed data.
According to an aspect of embodiments of the present application, there is provided a computer-readable medium on which a computer program is stored, the computer program, when executed by a processor, implementing the method of transmitting data as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of transmitting data as described in the above embodiments.
In the technical solutions provided in some embodiments of the present application, by identifying fixed data included in data to be transmitted, the fixed data in the data to be transmitted is replaced with corresponding data identifiers to obtain target transmission data, and then the target data is compressed for transmission, so that the problem of low transmission efficiency caused by the fact that the same data is transmitted every time of transmission can be avoided, the data amount required to be transmitted is effectively reduced, and the data transmission efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 shows a schematic diagram of an exemplary system architecture to which aspects of embodiments of the present application may be applied;
FIG. 2 shows a flow diagram of a method of transmission of data according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating step S240 in the data transmission method illustrated in fig. 2 according to an embodiment of the present application;
FIG. 4 shows a schematic flow chart of the method of transmitting data further comprising determining a predetermined threshold of a compression algorithm according to an embodiment of the application;
FIG. 5 shows a flow diagram illustrating a method of transmitting data further comprising determining a predetermined threshold of a compression algorithm according to an embodiment of the present application;
fig. 6 shows a schematic flow chart of generating a data identifier according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating an application scenario of a data transmission method according to an embodiment of the present application;
fig. 8 shows a flow chart of a method of transmission of data according to another embodiment of the present application;
FIG. 9 shows a block diagram of a transmission device of data according to an embodiment of the present application;
FIG. 10 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the data transmission method or the data transmission apparatus of the embodiment of the present application can be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired communication links, wireless communication links, and so forth.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
A user may use a terminal device to interact with the server 105 over the network 104 to receive or transmit data or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
In a specific application scenario of the present application, a user may use the terminal devices 101, 102, 103 to send data to the server 105 through the network 104, and the server 105 can process the data sent by different terminal devices to know the status of the terminal devices or process the requests of the terminal devices, and so on.
In an embodiment of the application, a terminal device (e.g., one or more of the terminal devices 101, 102, and 103) may identify fixed data included in data to be transmitted, where the fixed data is the same data that needs to be transmitted in multiple data transmission processes, and then may obtain a data identifier corresponding to the fixed data, so as to replace the fixed data in the data to be transmitted with the data identifier corresponding to the fixed data to obtain target transmission data, and further compress the target transmission data for transmission.
Based on the foregoing embodiments, it can be seen that the data transmission method provided in the embodiments of the present application can be executed by a terminal device, and accordingly, a data transmission apparatus is generally disposed in the terminal device. However, in other embodiments of the present application, the server 105 may also have similar functions, so as to execute the data transmission method provided in the embodiment of the present application, that is, in the embodiment of the present application, the server 105 may identify fixed data included in the data to be transmitted, where the fixed data is the same data that needs to be transmitted in multiple data transmission processes, obtain a data identifier corresponding to the fixed data, replace the fixed data in the data to be transmitted with the data identifier corresponding to the fixed data, obtain target transmission data, and compress the target transmission data for transmission. Accordingly, a transmission device of data may also be provided in the server 1051.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
fig. 2 shows a flowchart of a data transmission method according to an embodiment of the present application, which may be performed by a terminal device, which may be the terminal device shown in fig. 1. Referring to fig. 2, the data transmission method at least includes steps S210 to S240, which are described in detail as follows:
in step S210, fixed data included in the data to be transmitted is identified, where the fixed data is the same data that needs to be transmitted in the multiple data transmission processes.
In an optional embodiment of the present application, the data to be transmitted may be information (for example, specific service request or response data, etc.) used by the two interacting parties to request data of the other party or respond to a request of the other party, and according to the transmitted data, the two interacting parties can know the state of the other party or request the data content required by the two interacting parties to the other party to achieve the purpose of interaction. It should be understood that the two interacting parties may predefine the data structure of the data to be transmitted, facilitating subsequent reception and processing.
The fixed data may be data information that needs to be repeatedly transmitted during data transmission, for example, the fixed data may be version information of an Application (APP), hardware information or system information of a terminal device (e.g., one or more of the terminal devices 101, 102, 103), and the like.
In the data transmission process, fixed data may need to be added to the transmitted data for the purpose of identity indication or explicit request. It should be understood that the transmitted data may include one fixed data or may include a plurality of fixed data. However, due to the addition of the fixed data, the amount of data to be transmitted is increased, and the transmission efficiency is lowered.
In an exemplary embodiment of the present application, when identifying fixed data included in data to be transmitted, different fixed data may be respectively matched with data content to be transmitted, and if the same data content is matched in the data to be transmitted, the data content is determined to be the fixed data.
In step S220, a data identifier corresponding to the fixed data is acquired.
The data identifier refers to identification information corresponding to the fixed data, and one data identifier corresponds to one fixed data, so that the corresponding fixed data can be searched according to one data identifier, and the corresponding data identifier can also be searched according to one fixed data. In an exemplary embodiment of the present application, the data identifier may be a letter identifier, for example, A, B, C, etc., and in other exemplary embodiments of the present application, the data identifier may be a number identifier, for example, 1, 2, 123456, etc., which is not particularly limited in this application.
In step S230, the fixed data in the data to be transmitted is replaced with the corresponding data identifier, so as to obtain the target transmission data.
In the exemplary embodiment, each fixed data identifier in the data to be transmitted is replaced by the corresponding data identifier to obtain the target transmission data, so that the data amount required to be transmitted by the data to be transmitted is reduced, and the data transmission efficiency is improved.
In step S240, the target transmission data is compressed for transmission.
In the exemplary embodiment, the target transmission data after the fixed data is replaced is compressed, so that the data amount required to be transmitted by the target transmission data is reduced, and the data transmission efficiency is improved. In the embodiment shown in fig. 2, the fixed data included in the data to be transmitted is identified, the corresponding data identifier is obtained according to the fixed data, and then the fixed data included in the data to be transmitted is replaced with the corresponding data identifier, so that the target transmission data is obtained, the data amount required to be transmitted by the data to be transmitted is reduced, and the data transmission efficiency is improved.
Based on the embodiment shown in fig. 2, fig. 3 shows a schematic flowchart of step S240 in the data transmission method shown in fig. 2 according to an embodiment of the present application, and in the embodiment shown in fig. 3, step S240 in the exemplary data transmission method at least includes step S310 to step S320, which is described in detail as follows:
in step S310, it is detected whether the size of the target transmission data is larger than a predetermined threshold.
Wherein the predetermined threshold may be a minimum value of data that can be compressed by a pre-configured compression algorithm. When the size of the data is smaller than the predetermined threshold corresponding to the compression algorithm, the use of the compression algorithm to compress the data may result in the size of the compressed data being larger than the size of the data before being compressed, and the purpose of reducing the amount of transmitted data cannot be achieved. When the size of the data is larger than the predetermined threshold corresponding to the compression algorithm, the compression algorithm is used for compressing the data, so that the size of the compressed data is smaller than that of the data before the data is uncompressed, and the purpose of reducing the transmitted data amount is achieved. It should be understood that different compression algorithms may have different predetermined thresholds, one for each compression algorithm.
In step S320, if the size of the target transmission data is larger than the predetermined threshold, the target transmission data is compressed for transmission.
In this exemplary embodiment, when the size of the target transmission data is larger than the predetermined threshold, the target transmission data is compressed for transmission, so that the situation that the size of the compressed data is larger than that of the uncompressed target transmission data due to the target transmission data being too small can be avoided, the data amount required to be transmitted is reduced, and the data transmission efficiency is improved.
Based on the embodiment shown in fig. 3, fig. 4 is a schematic flowchart illustrating that the method for transmitting data further includes determining the predetermined threshold of the compression algorithm according to an embodiment of the present application, and in the embodiment shown in fig. 4, the exemplary method for transmitting data further includes:
in step S410, preset sample data of different sizes are compressed by a compression algorithm.
The preset sample data may be sample data of a preset threshold for testing a compression algorithm, and the preset sample data may have different file formats, for example, the preset sample data may be voice data, video data, image data, or text data, and the like, which is not particularly limited in this application.
In an exemplary embodiment of the present application, the file format of the preset sample data may be the same as the file format of the data transmitted by the two interacting parties, for example, if the data transmitted by the two interacting parties is an image, the preset sample data is also image data, so as to avoid that different predetermined thresholds occur in a compression algorithm due to compression of data in different formats, so that the size of the data after compression occurs when the target data is compressed for transmission is larger than the size of the data before the target data is not compressed, and ensure the compression rate of the compression algorithm.
In step S420, if the size of the compressed data is equal to the size of the preset sample data, it is determined that the size of the preset sample data is the predetermined threshold corresponding to the compression algorithm.
In this exemplary embodiment, preset sample data with different sizes are compressed by using a compression algorithm, and when the size of the compressed data is the same as the size of the preset sample data, it represents that the size of the preset sample data is the minimum value of data that can be compressed by the compression algorithm. If the size of the preset sample data is smaller than that of the preset sample data, the size of the compressed data is larger than that of the data before the data is not compressed, and then the size of the preset sample data is determined as a preset threshold corresponding to the compression algorithm. The preset sample data with different sizes are compressed by using a compression algorithm, so that the accuracy of the determined preset threshold value is ensured.
Based on the embodiment shown in fig. 2, fig. 5 is a schematic flowchart illustrating that the method for transmitting data further includes determining the predetermined threshold of the compression algorithm according to an embodiment of the present application, and in the embodiment shown in fig. 5, the exemplary method for transmitting data further includes:
in step S510, compressed data obtained by compressing the historical transmission data by the compression algorithm is obtained.
The historical transmission data refers to data that has been transmitted by the two interacting parties in the interaction process, and it should be understood that the historical transmission data may be data stored in a historical transmission database or data that is being transmitted by the two interacting parties, and specifically, when it is detected that the two interacting parties are transmitting data, the data transmitted by the two interacting parties is acquired.
Due to the fact that the transmitted data content is different, the obtained historical transmission data can have different sizes, and the compression algorithm is used for compressing the historical transmission data to obtain compressed data, so that in the process of determining the preset threshold value, the format of a compression object of the compression algorithm can accord with the data format transmitted by two interactive parties in actual use.
In step S520, if the size of the compressed data is equal to the size of the historical transmission data, it is determined that the size of the historical transmission data is a predetermined threshold of the compression algorithm.
In the embodiment shown in fig. 5, data that has been transmitted by the two interacting parties during the interaction process is compressed by the compression algorithm, so that in the process of determining the predetermined threshold, the format of the compression object of the compression algorithm can conform to the format of the data transmitted by the two interacting parties during actual use, so as to ensure the accuracy of the determined predetermined threshold.
Based on the embodiment shown in fig. 3, in an exemplary embodiment of the present application, compressing the target transmission data for transmission in the exemplary data transmission method includes:
and selecting a corresponding compression algorithm from the compression algorithms based on the compression rate of each compression algorithm on the target transmission data to compress the target transmission data for transmission.
The compression ratio is the ratio of the size of the compressed data to the size of the compressed data, and the smaller the compression ratio, the better the compression effect. Different compression algorithms may correspond to different compression rates due to differences in the specific algorithms.
In this exemplary embodiment, since different compression algorithms may correspond to different compression rates, one or more compression algorithms may be set for selection. When the size of the target transmission data is larger than a preset threshold value, based on the compression ratio of each compression algorithm to the target transmission data, selecting the corresponding compression algorithm from a plurality of compression algorithms meeting the conditions to compress the target transmission data for transmission, so that the target transmission data can reach the maximum compression ratio.
In an exemplary embodiment of the application, corresponding complexity can be preset for each compression algorithm according to algorithm complexity of different compression algorithms, and when a compression algorithm is selected to compress target transmission data, the compression ratio and the algorithm complexity of the compression algorithm are comprehensively considered, so that power consumption of the compression algorithm is balanced, and excessive performance caused by excessive consumption due to excessive algorithm complexity of the selected compression algorithm is avoided.
Specifically, the algorithm complexity of the compression algorithms may be evaluated by a professional, and the algorithm complexity of each compression algorithm, such as Easy (simple), complex (Complex), etc., may be obtained, and input through an input device (e.g., a touch screen input device, a keyboard, etc.), and the system receives the algorithm complexity evaluation of each compression algorithm by the professional and stores the evaluation in correspondence with the compression algorithm. Different weights can be set for different algorithm complexity, and when a compression algorithm is selected, the corresponding compression algorithm is selected to compress the target transmission data based on the compression ratio of the compression algorithm and the weight of the algorithm complexity of the compression algorithm.
Based on the foregoing embodiments, in an exemplary embodiment of the present application, detecting whether the size of the target transmission data is greater than a predetermined threshold includes:
and comparing the size of the target transmission data with the predetermined threshold corresponding to each compression algorithm respectively.
In this exemplary embodiment, since a plurality of compression algorithms are provided, and different compression algorithms correspond to different predetermined thresholds, the size of the target transmission data needs to be compared with the predetermined thresholds corresponding to the respective compression algorithms to obtain a suitable compression algorithm, and when the predetermined threshold of the compression algorithm is smaller than the size of the target transmission data, the compression algorithm can be used as a candidate compression algorithm.
Wherein, selecting a corresponding compression algorithm from the compression algorithms to compress the target transmission data for transmission, comprises:
and selecting a corresponding compression algorithm from the compression algorithms of which the corresponding predetermined threshold is smaller than the size of the target transmission data to compress the target transmission data for transmission.
In the exemplary embodiment, the predetermined threshold is smaller than the size of the target transmission data, so that the size of the compressed target transmission data is smaller than the size of the target transmission data before compression, and the compression effect of the compression algorithm is ensured.
In an exemplary embodiment of the present application, after selecting a corresponding compression algorithm to compress the target transmission data for transmission, the method further includes:
and modifying the zone bits contained in the target transmission data, wherein the modified value of the zone bits corresponds to the selected compression algorithm.
The flag bit is parameter information used to indicate a current state of the target transmission data, and a parameter value of the corresponding flag bit is set according to different states of the target transmission data (for example, the state may be uncompressed, compressed by using a compression algorithm a, compressed by using a compression algorithm B, and the like), so that different values of the flag bit correspond to different states of the target transmission data, for example, when the value of the flag bit is 0, it indicates that the target transmission data is uncompressed, when the value of the flag bit is 1, it indicates that the target transmission data is compressed by using the compression algorithm a, when the value of the flag bit is 2, it indicates that the target transmission data is compressed by using the compression algorithm B, and the like.
It should be understood that the flag bits may be digital bit information, such as 0, 1, 2, etc., and the flag bits may also be alphabetic bit information, such as A, B, C, etc., which is not particularly limited in this application.
In the exemplary embodiment, the value of the flag bit is modified correspondingly according to different states of the target transmission data, so that when a data receiving party receives the target transmission data, the state of the target transmission data can be quickly known according to the value of the flag bit, and a corresponding processing mode is adopted, so that the data processing efficiency is improved. For example, when the target transmission data is in an uncompressed state, the data information of the target transmission data is directly read, and when the target transmission data is in a state of being compressed by using the compression algorithm a, the target transmission data is decompressed by using the compression algorithm a correspondingly, and then the data information of the target transmission data is read, and so on.
In an exemplary embodiment of the present application, the data to be transmitted may be a data packet structure, which includes a data packet header and a data packet body, where data content included in the data packet body may be specific service request information or data information of a response. The flag bit can be arranged in the data packet header and is used for representing the state information of the data packet body. After the fixed information in the data packet body is replaced by the data identifier, detecting whether the size of the data packet body is larger than a preset threshold value (namely detecting whether the size of the target transmission data is larger than the preset threshold value) and compressing the data packet body by adopting a corresponding compression algorithm. The data receiving party can adopt a corresponding processing mode to the data packet body according to the state of the zone bit in the data packet header, so that the data processing efficiency is improved.
Based on the above embodiments, fig. 6 shows a schematic flow chart of generating a data identifier, where the data transmission method according to an embodiment of the present application further includes, in the embodiment shown in fig. 6, the following steps S610 to S630 may be included, specifically as follows:
in step S610, fixed data required at the time of data transmission is acquired.
In an exemplary embodiment of the present application, the required fixed data names may be set in advance according to the needs of different services of two interacting parties, and when the required fixed data is obtained during data transmission, the corresponding fixed data is obtained according to each fixed data name. For example, according to different service needs, the two interacting parties need to include hardware information of the device, system information of the device, version information of an application program installed in the device, and the like in transmitted data, and when fixed data required in data transmission is acquired, the hardware information of the device, the system information of the device, the version information of the application program installed in the device, and the like are correspondingly searched, wherein the hardware information, the system information, and the version information are fixed data names of the fixed data.
In step S620, based on the fixed data, a data identifier corresponding to the fixed data is generated, and the fixed data and the data identifier are stored in a corresponding manner.
In the exemplary embodiment, according to the obtained fixed data, a unique data identifier is generated corresponding to each fixed data, and the unique data identifier are correspondingly stored for subsequent query in data transmission.
In step S630, the fixed data and the corresponding data identifier are sent to a data receiving end, so that the data receiving end can store and query the data.
The data receiving end refers to a data receiving end, and the data receiving end may be one or more of the terminal devices 101, 102, and 103 shown in fig. 1, or the server 105, and the like, and it should be understood that the data receiving end is not fixed, and in other cases, the data receiving end may also serve as a data sending end to send data.
In this exemplary embodiment, the fixed data and the data identifier corresponding to the fixed data are sent to the data receiving end, so that the data receiving end stores the data and queries the data when receiving the data, thereby ensuring the unification of the fixed data and the data identifier, and avoiding the occurrence of a situation that the data cannot be processed due to the error of the fixed data and the corresponding data identifier.
In an exemplary embodiment of the present application, before acquiring the data identifier corresponding to the fixed data, the method for transmitting the exemplary data further includes:
and receiving fixed data required in data transmission and data identification corresponding to the fixed data, which are sent by other terminals.
In this exemplary embodiment, before acquiring the data identifier corresponding to the fixed data, the fixed data required for data transmission and the data identifier corresponding to the fixed data, which are sent by other terminals, are received, so as to ensure that the data identifier and the fixed data are unified when two interacting parties transmit data, and avoid errors. Specifically, when both interactive parties need to transmit data, the data sender may send information requesting fixed data and corresponding data identifiers to the data receiver (i.e., other terminal), and when receiving the request, the data receiver sends the fixed data and the corresponding data identifiers to the data sender for the data sender to query.
In an exemplary embodiment of the present application, after receiving fixed data required in data transmission and data identifiers corresponding to the fixed data, which are sent by other terminals, the fixed data and the data identifiers corresponding to the fixed data can be correspondingly stored for subsequent query, thereby avoiding a situation that subsequent data needs to be repeatedly sent, and saving transmission resources.
Based on the technical solution of the above embodiment, a specific application scenario of the embodiment of the present application is introduced as follows:
fig. 7 is a schematic view illustrating an application scenario of a data transmission method according to an embodiment of the present application, where in the application scenario illustrated in fig. 7, the application scenario includes a terminal 710 and a background server 720, and the terminal 710 and the background server 720 can communicate to transmit data (in this embodiment, a gift package is received by a user on a terminal interface as an example). When a user clicks the area 711 on the application program interface of the terminal 710, the application program correspondingly generates pickup information (i.e., data to be transmitted), identifies fixed data (e.g., hardware information of the terminal 710, system information, or version information of the current application program) included in the pickup information, replaces the fixed data in the pickup information with a corresponding data identifier (i.e., target transmission data is obtained), and finally compresses the pickup information and transmits the compressed data to the background server 720 of the application program, so that the data amount required to be transmitted is reduced, and the data transmission efficiency is improved.
Based on the application scenario shown in fig. 7, fig. 8 shows a flowchart of a data transmission method according to another embodiment of the present application, and in the embodiment shown in fig. 8, the exemplary data transmission method at least includes the following steps:
in step S810, a request is initiated. I.e. the terminal device may initiate a data transmission request.
In step S820, detecting whether there is a data identifier, if yes, proceeding to step S850; if not, the process proceeds to step S830. That is, whether the fixed data included in the data to be transmitted in the data transmission request has a corresponding data identifier is detected.
In step S830, the fixed data is transmitted to the background server.
The fixed data may be fixed data required by different services in the data transmission process, or fixed data required in the current service.
In step S840, a data identifier corresponding to the fixed data sent by the background server is received.
And the background server correspondingly generates a data identifier according to the received fixed data and sends the data identifier to the terminal.
In step S850, the fixed data included in the request is replaced with the corresponding data identifier.
In the exemplary embodiment, after receiving the data identifier sent by the background server, the terminal replaces the fixed data in the network request with the data identifier, so as to reduce the amount of data required to be transmitted.
In step S860, the replaced request is compressed and sent to the background server.
The following describes embodiments of an apparatus of the present application, which may be used to perform the data transmission method in the above embodiments of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the data transmission method described above in the present application.
Fig. 9 shows a block diagram of a transmission device of data according to an embodiment of the present application.
Referring to fig. 9, a data transmission apparatus according to an embodiment of the present application includes:
the identifying module 910 is configured to identify fixed data included in data to be transmitted, where the fixed data is the same data that needs to be transmitted in multiple data transmission processes;
an obtaining module 920, configured to obtain a data identifier corresponding to the fixed data;
a replacing module 930, configured to replace fixed data in the data to be transmitted with a data identifier corresponding to the fixed data to obtain target transmission data;
a compressing module 940, configured to compress the target transmission data for transmission.
In an optional embodiment of the present application, the compression module 940 includes:
a detection unit, configured to detect whether a size of the target transmission data is larger than a predetermined threshold;
and the compression unit is used for compressing the target transmission data for transmission if the size of the target transmission data is larger than the preset threshold value.
In an optional embodiment of the present application, the transmission apparatus further includes:
the sample data compression module is used for compressing preset sample data with different sizes through a compression algorithm;
and the first threshold determining module is used for determining that the size of the preset sample data is the preset threshold corresponding to the compression algorithm if the size of the compressed data is equal to that of the preset sample data.
In an optional embodiment of the present application, the transmission apparatus further includes:
the data acquisition module is used for acquiring compressed data obtained by compressing historical transmission data by a compression algorithm;
and the second threshold determining module is used for determining that the size of the historical transmission data is the preset threshold of the compression algorithm if the size of the compressed data is equal to that of the historical transmission data.
In an optional embodiment of the present application, the compression unit is further configured to: and selecting a corresponding compression algorithm from the compression algorithms based on the compression rate of each compression algorithm on the target transmission data to compress the target transmission data for transmission.
In an optional embodiment of the present application, the detecting unit is further configured to: comparing the size of the target transmission data with the predetermined threshold corresponding to each compression algorithm respectively;
wherein the compression unit is further configured to: and selecting a corresponding compression algorithm from the compression algorithms of which the corresponding predetermined threshold is smaller than the size of the target transmission data to compress the target transmission data for transmission.
In an optional embodiment of the present application, the transmission apparatus further includes:
and the modifying unit is used for modifying the zone bits contained in the target transmission data, and the modified value of the zone bits corresponds to the selected compression algorithm.
In an optional embodiment of the present application, the transmission apparatus further includes:
the fixed data acquisition module is used for acquiring fixed data required by data transmission;
the data identifier generating module is used for generating a data identifier corresponding to the fixed data based on the fixed data and correspondingly storing the fixed data and the data identifier;
and the data sending module is used for sending the fixed data and the corresponding data identification to a data receiving end so as to be stored and inquired by the data receiving end.
In an optional embodiment of the present application, the transmission apparatus further includes:
the receiving module is used for receiving fixed data required by other terminals during data transmission and data identification corresponding to the fixed data.
FIG. 10 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the subject application.
It should be noted that the computer system of the electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 10, the computer system includes a Central Processing Unit (CPU) 1001, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1002 or a program loaded from a storage portion 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An Input/Output (I/O) interface 1005 is also connected to the bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. When the computer program is executed by a Central Processing Unit (CPU) 1001, various functions defined in the system of the present application are executed.
It should be noted that the computer readable media shown in the embodiments of the present application may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs, which when executed by one of the electronic devices, cause the electronic device to implement the method described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (14)

1. A method for transmitting data, comprising:
identifying fixed data contained in data to be transmitted, wherein the fixed data are the same data which need to be transmitted in multiple data transmission processes, and the fixed data are used for indicating the identity of a data transmission end and comprise hardware information or system information of terminal equipment;
acquiring a data identifier corresponding to the fixed data;
replacing fixed data in the data to be transmitted with a data identifier corresponding to the fixed data to obtain target transmission data;
detecting whether the size of the target transmission data is larger than a preset threshold value; the file format of the target transmission data is the same as that of the corresponding preset sample data when the preset threshold value is set;
if the size of the target transmission data is larger than the preset threshold value, based on the compression ratio of each compression algorithm and the weight corresponding to the algorithm complexity of each compression algorithm, selecting the corresponding compression algorithm from each compression algorithm to compress the target transmission data for transmission; wherein the weight corresponding to the algorithm complexity of the compression algorithm is set based on the evaluation;
modifying the value of a flag bit contained in the target transmission data so that a data receiving party determines the state of the target transmission data based on the value of the flag bit; the modified value of the zone bit corresponds to the selected compression algorithm, and the state is the uncompressed or compressed compression algorithm.
2. The transmission method according to claim 1, further comprising:
compressing preset sample data with different sizes through a compression algorithm;
and if the size of the compressed data is equal to that of the preset sample data, determining that the size of the preset sample data is the preset threshold corresponding to the compression algorithm.
3. The transmission method according to claim 1, further comprising:
obtaining compressed data obtained by compressing historical transmission data by a compression algorithm;
and if the size of the compressed data is equal to that of the historical transmission data, determining that the size of the historical transmission data is a preset threshold value of the compression algorithm.
4. The transmission method according to claim 1, wherein detecting whether the size of the target transmission data is larger than a predetermined threshold comprises:
comparing the size of the target transmission data with the predetermined threshold corresponding to each compression algorithm respectively;
wherein, selecting a corresponding compression algorithm from the compression algorithms to compress the target transmission data for transmission comprises:
and selecting a corresponding compression algorithm from the compression algorithms of which the corresponding predetermined threshold is smaller than the size of the target transmission data to compress the target transmission data for transmission.
5. The transmission method according to any one of claims 1 to 4, further comprising, before acquiring the data identifier corresponding to the fixed data:
acquiring fixed data required by data transmission;
generating a data identifier corresponding to the fixed data based on the fixed data, and correspondingly storing the fixed data and the data identifier;
and sending the fixed data and the corresponding data identification to a data receiving end for the data receiving end to store and inquire.
6. The transmission method according to any one of claims 1 to 4, wherein before acquiring the data identifier corresponding to the fixed data, further comprising:
and receiving fixed data required in data transmission and data identification corresponding to the fixed data, which are sent by other terminals.
7. An apparatus for transmitting data, comprising:
the identification module is used for identifying fixed data contained in the data to be transmitted, the fixed data are the same data which need to be transmitted in the process of multiple data transmission, and the fixed data are used for indicating the identity of a data transmission end and comprise hardware information or system information of terminal equipment;
the acquisition module is used for acquiring a data identifier corresponding to the fixed data;
the replacing module is used for replacing the fixed data in the data to be transmitted with the corresponding data identification to obtain target transmission data;
a detection unit, configured to detect whether a size of the target transmission data is larger than a predetermined threshold; the file format of the target transmission data is the same as that of the corresponding preset sample data when the preset threshold value is set;
a compression unit, configured to, if the size of the target transmission data is greater than the predetermined threshold, select a corresponding compression algorithm from the compression algorithms to compress the target transmission data for transmission based on a compression ratio of each compression algorithm and a weight corresponding to the algorithm complexity of each compression algorithm; wherein the weight corresponding to the algorithm complexity of the compression algorithm is set based on the evaluation;
a modification unit configured to modify a value of a flag bit included in the target transmission data, so that a data receiving side determines a state of the target transmission data based on the value of the flag bit; the modified value of the flag bit corresponds to the selected compression algorithm, and the state is the uncompressed state or the compression algorithm adopted by the compressed state.
8. The transmission apparatus according to claim 7, characterized in that the transmission apparatus further comprises:
the sample data compression module is used for compressing preset sample data with different sizes through a compression algorithm;
and the first threshold determining module is used for determining that the size of the preset sample data is the preset threshold corresponding to the compression algorithm if the size of the compressed data is equal to that of the preset sample data.
9. The transmission apparatus according to claim 7, characterized in that the transmission apparatus further comprises:
the data acquisition module is used for acquiring compressed data obtained by compressing historical transmission data by a compression algorithm;
and the second threshold determining module is used for determining that the size of the historical transmission data is the preset threshold of the compression algorithm if the size of the compressed data is equal to that of the historical transmission data.
10. The transmission apparatus according to claim 7, wherein the detection unit is further configured to:
comparing the size of the target transmission data with the predetermined threshold corresponding to each compression algorithm respectively;
wherein the compression unit is further configured to:
and selecting a corresponding compression algorithm from the compression algorithms of which the corresponding predetermined threshold is smaller than the size of the target transmission data to compress the target transmission data for transmission.
11. The transmission apparatus according to any one of claims 7 to 10, characterized in that the transmission apparatus further comprises:
the fixed data acquisition module is used for acquiring fixed data required by data transmission;
the data identifier generating module is used for generating a data identifier corresponding to the fixed data based on the fixed data and correspondingly storing the fixed data and the data identifier;
and the data sending module is used for sending the fixed data and the corresponding data identification to a data receiving end so as to be stored and inquired by the data receiving end.
12. The transmission apparatus according to any one of claims 7 to 10, characterized in that the transmission apparatus further comprises:
the receiving module is used for receiving fixed data required by other terminals during data transmission and data identification corresponding to the fixed data.
13. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out a method of transmission of data according to any one of claims 1 to 6.
14. An electronic device, comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of transmission of data as claimed in any one of claims 1 to 6.
CN201910673877.XA 2019-07-23 2019-07-23 Data transmission method and device Active CN112311720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910673877.XA CN112311720B (en) 2019-07-23 2019-07-23 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910673877.XA CN112311720B (en) 2019-07-23 2019-07-23 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN112311720A CN112311720A (en) 2021-02-02
CN112311720B true CN112311720B (en) 2022-10-14

Family

ID=74329543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910673877.XA Active CN112311720B (en) 2019-07-23 2019-07-23 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN112311720B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115348471A (en) * 2021-05-13 2022-11-15 上海擎感智能科技有限公司 Information processing method and terminal
CN113709510A (en) * 2021-08-06 2021-11-26 联想(北京)有限公司 High-speed data real-time transmission method and device, equipment and storage medium
CN113691610B (en) * 2021-08-20 2024-04-09 Oppo广东移动通信有限公司 Data acquisition method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761540A (en) * 2012-05-30 2012-10-31 北京奇虎科技有限公司 Data compression method, device and system and server
CN103873860A (en) * 2014-03-18 2014-06-18 深信服网络科技(深圳)有限公司 Document transmission method and device
CN104796155A (en) * 2012-05-30 2015-07-22 北京奇虎科技有限公司 Data compression method and device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8855143B1 (en) * 2005-04-21 2014-10-07 Joseph Acampora Bandwidth saving system and method for communicating self describing messages over a network
WO2010017322A1 (en) * 2008-08-05 2010-02-11 Smith Micro Software, Inc. Two stage differencing algorithm with adaptive compression
CN101945103B (en) * 2010-08-09 2013-04-24 中国电子科技集团公司第五十四研究所 IP (Internet Protocol) network application accelerating system
US9172771B1 (en) * 2011-12-21 2015-10-27 Google Inc. System and methods for compressing data based on data link characteristics
CN104063208B (en) * 2013-03-21 2017-11-17 北京百度网讯科技有限公司 Optimization method, system and the server of code file
WO2014155490A1 (en) * 2013-03-25 2014-10-02 三菱電機株式会社 Data transmission device, data transmission method, and program
CN103532984B (en) * 2013-11-01 2017-02-08 中国联合网络通信集团有限公司 Data transmission method, device and system of websocket protocol
CN104159249B (en) * 2014-07-30 2018-05-18 华为技术有限公司 The method, apparatus and system of a kind of Service Data Management
CN108738006B (en) * 2018-05-31 2021-06-25 出门问问信息科技有限公司 Data transmission method and device based on Bluetooth
CN109672888B (en) * 2018-09-25 2022-04-22 平安科技(深圳)有限公司 Picture compression method, equipment and computer readable storage medium
CN109831409B (en) * 2018-12-19 2021-06-18 东软集团股份有限公司 Data transmission method and device, computer readable storage medium and electronic equipment
CN109861798A (en) * 2018-12-28 2019-06-07 惠科股份有限公司 Transmission method, device and the computer readable storage medium of data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761540A (en) * 2012-05-30 2012-10-31 北京奇虎科技有限公司 Data compression method, device and system and server
CN104796155A (en) * 2012-05-30 2015-07-22 北京奇虎科技有限公司 Data compression method and device
CN103873860A (en) * 2014-03-18 2014-06-18 深信服网络科技(深圳)有限公司 Document transmission method and device

Also Published As

Publication number Publication date
CN112311720A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN109194647B (en) Data transmission method and device, electronic equipment and storage medium
CN112311720B (en) Data transmission method and device
CN111818136B (en) Data processing method, device, electronic equipment and computer readable medium
CN109039876B (en) Mail processing method and device
CN107315729B (en) Data processing method, medium, device and computing equipment for chart
WO2020042884A1 (en) Data transmission method and system between internet-of-things devices, and electronic device
CN109756568A (en) Processing method, equipment and the computer readable storage medium of file
CN110928491B (en) Storage partition dynamic selection method, system, computer equipment and storage medium
CN112184367A (en) Order processing method and device
CN110445632B (en) Method and device for preventing client from crashing
CN107154835B (en) Data sending method and device
CN108170537B (en) Game API realization method, device, interface server and readable storage medium
CN111176641B (en) Flow node execution method, device, medium and electronic equipment
KR102445154B1 (en) data transfer
CN109586979B (en) Message transmission method and device
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN114726480A (en) Data encoding method and related device, electronic equipment and storage medium
CN114584615A (en) Cloud service collaborative interaction method, device and equipment
CN109614137B (en) Software version control method, device, equipment and medium
CN113486749A (en) Image data collection method, device, electronic equipment and computer readable medium
CN109471574B (en) Method and device for configuring resources
CN113779018A (en) Data processing method and device
CN113326060A (en) Service request processing method, device and system and service configuration method and device
CN111368557A (en) Video content translation method, device, equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant