CN114500036A - Method, device and medium for transmitting data - Google Patents

Method, device and medium for transmitting data Download PDF

Info

Publication number
CN114500036A
CN114500036A CN202210080553.7A CN202210080553A CN114500036A CN 114500036 A CN114500036 A CN 114500036A CN 202210080553 A CN202210080553 A CN 202210080553A CN 114500036 A CN114500036 A CN 114500036A
Authority
CN
China
Prior art keywords
data
sending
transmitting
missing
receiving end
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.)
Pending
Application number
CN202210080553.7A
Other languages
Chinese (zh)
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.)
China Resource Power Technology Research Institute
Original Assignee
China Resource Power Technology Research Institute
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 China Resource Power Technology Research Institute filed Critical China Resource Power Technology Research Institute
Priority to CN202210080553.7A priority Critical patent/CN114500036A/en
Publication of CN114500036A publication Critical patent/CN114500036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • 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/26Special purpose or proprietary protocols or architectures

Abstract

The application discloses a method, a device and a medium for transmitting data, which are applied to the field of communication, wherein a data receiving end in the method can judge missing data of the data receiving end, and the method specifically comprises the following steps: judging whether the data meet a first preset condition, wherein the first preset condition comprises that the data are received in appointed time and/or all data appointed to a data sending end are received in preset time; if not, the corresponding data is judged to be the missing data of the data. And after the data sending end receives the identification of the missing data, searching corresponding data in a database of the data sending end according to the identification, resending the corresponding data to the data receiving end, and filling up the missing part of the data receiving end. The method provided by the application judges the integrity of the data from the data receiving end, can effectively avoid the condition of data loss in the data receiving end, and improves the integrity of the data in the data receiving end.

Description

Method, device and medium for transmitting data
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, and a medium for transmitting data.
Background
In the data transmission process, because the communication disconnection that causes such as network causes the data transmission interrupt, consequently need carry out supplementary transmission to data, the mode that usually adopts is breakpoint continuous transmission, the supplementary transmission mechanism that data sending end adopted, real-time inspection data transmission state, when finding real-time data transmission is unusual, record timestamp t1, when finding real-time data unusual the recovering, record timestamp t2, record breakpoint continuous transmission label tag1, whether periodic inspection exists breakpoint continuous transmission label, if exist, start data sending end continuous transmission program and carry out historical data transmission breakpoint. This mechanism improves data integrity to some extent.
However, the actual production and use environment is complex, the method only judges whether the data is missing at the data sending end, and the data still may have problems in the processing process after being sent, so that the data receiving end still has the situation of data missing.
Therefore, it is obvious that how to avoid the situation of data loss in the data receiving end and improve the integrity of data in the data receiving end is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a data transmission method, which is applied to a data receiving end and comprises the following steps:
judging whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with a data sending end are received in a specified time and/or all the data agreed with the data sending end are received in a preset time;
if not, judging that the corresponding data is the own missing data;
sending a request to the data sending end, wherein the request comprises the identification of the missing data, and the data sending end searches the corresponding data according to the identification;
and receiving the corresponding data sent by the data sending end.
Preferably, the identifier is specifically a timestamp of the data and/or a sequence number of the data.
Preferably, a data transmission channel between the data sending end and the data receiving end is adjustable bandwidth.
Preferably, the method further comprises the following steps:
and the data receiving end sends the identification of the data required by the target object to the data sending end.
Preferably, the data sending end includes a plurality of devices, and the request further includes: topic of the device.
In order to solve the above technical problem, the present application further provides a method for transmitting data, which is applied to a data transmitting end, and the method includes:
receiving a request sent by a data receiving end, wherein the request comprises an identifier of missing data; the judgment of the missing data is specifically as follows: the data sending terminal judges whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with the data sending terminal are received in a specified time and/or all the data agreed with the data sending terminal are received in a preset time; if not, judging that the corresponding data are missing data;
searching corresponding data according to the identification;
and sending the corresponding data to the data receiving end.
In order to solve the above technical problem, the present application further provides a device for transmitting data, which is applied to a data receiving end, the device includes:
the judging module is used for judging whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with a data sending end are received in appointed time and/or all the data agreed with the data sending end are received in preset time, and if not, the judging module is triggered;
the judging module is used for judging that the corresponding data is missing data of the judging module;
a first sending module, configured to send a request to the data sending end, where the request includes an identifier of the missing data, and the data sending end searches for the corresponding data according to the identifier;
and the first receiving module is used for receiving the corresponding data sent by the data sending end.
In order to solve the above technical problem, the present application further provides a device for transmitting data, which is applied to a data transmitting end, the device includes:
the second receiving module is used for receiving a request sent by a data receiving end, wherein the request comprises an identifier of missing data; the judgment of the missing data is specifically as follows: the data sending terminal judges whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with the data sending terminal are received in a specified time and/or all the data agreed with the data sending terminal are received in a preset time; if not, judging that the corresponding data are missing data;
the searching module is used for searching corresponding data according to the identification;
and the second sending module is used for sending the corresponding data to the data receiving end.
In order to solve the above technical problem, the present application further provides a device for transmitting data, including: a memory for storing a computer program;
a processor for implementing the steps of the above method of transmitting data when executing a computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above method for transmitting data.
The method for transmitting data is applied to a data receiving end, the data receiving end may lose data in the process of receiving the data of a data transmitting end and processing the data, so the data receiving end can judge the missing data of the data receiving end, and the method specifically comprises the following steps: judging whether the data meet a first preset condition, wherein the first preset condition comprises that the data are received in appointed time and/or all data appointed to a data sending end are received in preset time; if not, the corresponding data is judged to be the missing data of the data. And after the data sending end receives the identification of the missing data, searching corresponding data in a database of the data sending end according to the identification and resending the corresponding data to the data receiving end. After receiving the data, the data receiving end can fill up the missing part of the data. The method provided by the application judges the integrity of the data from the data receiving end, can effectively avoid the condition of data loss in the data receiving end, and improves the integrity of the data in the data receiving end.
The application also provides a data transmission method which is applied to the data sending end and corresponds to the method, so that the method has the same beneficial effects as the method.
The application also provides a device and a medium for transmitting data, which correspond to the method, so the method has the same beneficial effects as the method.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for transmitting data applied to a data receiving end according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for transmitting data applied to a data transmitting end according to an embodiment of the present application;
fig. 3 is a structural diagram of an apparatus for transmitting data, which is applied to a data receiving end according to an embodiment of the present application;
fig. 4 is a structural diagram of an apparatus for transmitting data, which is applied to a data transmitting end according to an embodiment of the present application;
fig. 5 is a block diagram of an apparatus for transmitting data according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method, a device and a medium for transmitting data.
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings.
The embodiment of the application provides a data transmission method, which is mainly applied to data transmission based on a Message Queue Telemetry Transport (MQTT) protocol, wherein the MQTT protocol is a Message protocol based on a publish/subscribe paradigm under an ISO standard (ISO/IEC PRF 20922). The MQTT protocol is a client-server (i.e., data sender-data receiver) based message publish/subscribe transmission protocol. The MQTT protocol is light, simple, open and easy to implement, and the characteristics enable the MQTT protocol to be widely applied to data transmission of the Internet of things. The data receiving end can complete the missing part of the data by actively calling the data to the data sending end, namely sending a request. The data sending end is responsible for sending real-time data, caching historical data and realizing breakpoint continuous transmission functions, and responds to an active calling request of the data receiving end. The data transmission supports periodic or triggered transmission. The historical data is stored according to the single equipment/equipment group every day, the data acquisition time is used as a time label, and an H2 open source version database is adopted. Real-time data and historical data are transmitted by adopting different channels, namely different Topic is used, the transmission format is a character string, a data transmitting end and a data receiving end agree on a data transmission sequence, and a data name interpretation field is saved so as to save bandwidth. The data receiving end is responsible for receiving real-time data and historical data and actively calling a request to send out. The active calling request rule calls according to the bandwidth of the server side and the data priority, and the data receiving end combines the actual use requirements to select types of a real-time database, a historical database and the like. The data receiving end deploys a data analysis warehousing program to support active calling in a manual mode, which is also the reason that the data sending end adopts an H2 database, so that the cache file can be manually copied out and placed at a specified position, and the analysis program analyzes the file warehousing of a specified file path, thereby providing a remedial measure that failures such as network and the like cannot be recovered for a long time. The data sending end adopts an H2 open source version database, one table can be stored per day according to the equipment of each group, the cache time can be designed according to the service requirement and the actual hardware storage space, and the earliest time data can be automatically cleared after the storage is full. The database type selection of the database which is put in storage after the data receiving end receives the data is not limited, and the database type selection can be designed according to actual business requirements.
Fig. 1 is a flowchart of a method for transmitting data applied to a data receiving end according to an embodiment of the present application, where the method includes the following steps:
s10: judging whether the data meet a first preset condition, if not, entering a step S11;
s11: judging that the corresponding data is missing data of the corresponding data;
s12: sending a request to a data sending end, wherein the request comprises an identifier of missing data, and the data sending end searches corresponding data according to the identifier;
s13: and receiving corresponding data sent by the data sending end.
The data receiving end judges whether the data meet a first preset condition, wherein the first preset condition comprises that the data appointed to the data sending end is received in a specified time and/or all the data appointed to the data sending end is received in a preset time. According to the service requirement of the data receiving end, the integrity of the data in the stage time can be counted, that is, all data appointed to the data transmitting end is received in a preset time, the stage time is not limited, and can be set to one day, if the data is specified to be transmitted once per second, 86164 data are transmitted in one day, and if the data receiving end does not receive the corresponding amount of data, the corresponding data are judged to be lost; in addition, whether data agreed with a data transmitting end is received at a specified time can be judged, if the electric quantity data are transmitted at zero point every day, if the electric quantity data are not received at the time, the corresponding electric quantity data are judged to be missing. When data is missing and retransmission is needed, the data receiving end sends a request to the data sending end, the data sending end replies to the data corresponding to the request after receiving the request, and if the data corresponding to the data sending end is also missing, blank data is replied.
The method for transmitting data is applied to a data receiving end, the data receiving end may lose data in the process of receiving the data of a data transmitting end and processing the data, so the data receiving end can judge the missing data of the data receiving end, and the method specifically comprises the following steps: judging whether the data meet a first preset condition, wherein the first preset condition comprises that the data are received in appointed time and/or all data appointed to a data sending end are received in preset time; if not, the corresponding data is judged to be the missing data of the data. And after the data sending end receives the identification of the missing data, searching corresponding data in a database of the data sending end according to the identification and resending the corresponding data to the data receiving end. After receiving the data, the data receiving end can fill up the missing part of the data. The method provided by the application judges the integrity of the data from the data receiving end, can effectively avoid the condition of data loss in the data receiving end, and improves the integrity of the data in the data receiving end.
In order to find corresponding data in a database of a data sending end, the data sending end needs to use an identifier, which is specifically a timestamp of the data and/or a serial number of the data, wherein the timestamp is the only time of the data and can be used as a standard value. Both data and requests may use Payload format: the corresponding format starts with "$", ends with "#", uses "," separates, if the request contains a start time and an end time of data reception, e.g. $ starttimestamp, endtimestamp, Topic, #. Actively summoning null data may add null, such as $ starttimestamp, endtimestamp, Topic, null, #, to the request message. The embodiment of the application provides only one scheme, and the type and the format of the identifier are not limited. In addition, the data includes a timestamp and an actual Value, which represents the actual data, such as $ timestamp, Topic, Value1, Value2, … Value200, #.
If the data transmission channel between the data sending end and the data receiving end adopts a fixed bandwidth in practical application, the cost can be saved, but the flexibility is low. The data transmission channel between the data sending end and the data receiving end can be divided into a special data channel and a shared data channel, and the special data channel adopts fixed bandwidth, so that the cost can be saved. The shared data channel needs to be adjusted in combination with actual use conditions, so as to adjust the bandwidth, for example, different transmission bandwidths are configured at different time periods in a day, or network bandwidth information is monitored in real time to perform adaptive transmission. For example, when the use amount of the bandwidth is low at night, the reply bandwidth of the data transmission channel can be increased, so that the data transmission is faster. Generally, historical data is transmitted faster than real-time data, and occupies larger bandwidth. Considering that a data transmission channel is disconnected for a long time due to inelasticity of a network, data of a data sending end can be manually backed up, a cache file of the data sending end is directly copied by using a mobile medium and then copied to a specified directory of a data receiving end, and a warehousing program automatically analyzes warehoused data.
When the data is actually used, the data receiving end may not have the needed data, so the method further comprises: and the data receiving end sends the identification of the data required by the target object to the data sending end. When missing data is not detected, if corresponding data is needed, the data can be directly and manually acquired, and the identifier of the corresponding data is sent, so that the integrity of the data can be more comprehensively ensured. For example, the data can be summoned by manually inputting the starting time and the ending time of data transmission of a designated device through a data receiving end human-computer interaction page.
If the data sending end has a plurality of devices, the devices can be classified according to the management domain, the levels are adopted/separated, each device comprises a real-time Topic and a historical Topic, the real-time sent data uses the real-time Topic, and the returned data uses the historical Topic after the request. The real-time data format is: raw/group/division/(city, district, county)/group/equipment number, e.g., raw/01/001/001/00001/00001; the historical data format is: cache/group/division/(city, district, county)/group/device number, e.g., cache/01/001/001/00001/00001. The request sent by the data sending end further comprises: topic of the device. The desired data may be located in a designated device or group of devices.
Fig. 2 is a flowchart of a method for transmitting data applied to a data transmitting end according to an embodiment of the present application; the method comprises the following steps:
s20: receiving a request sent by a data receiving end, wherein the request comprises an identifier of missing data;
s21: searching corresponding data according to the identification;
s22: and sending the corresponding data to a data receiving end.
The determination of missing data is specifically: the data sending end judges whether the data meet a first preset condition, wherein the first preset condition comprises that the data appointed to the data sending end is received in a specified time and/or all the data appointed to the data sending end is received in a preset time; if not, the corresponding data is judged to be missing data.
Since the embodiment of the method portion for transmitting data applied to the data transmitting end corresponds to the embodiment of the method portion for transmitting data applied to the data receiving end, for the embodiment of the portion, reference is made to the description of the embodiment of the method portion for transmitting data applied to the data receiving end, and details are not repeated here.
The method for transmitting data applied to the data transmitting end provided by the embodiment corresponds to the method, and therefore, the method has the same beneficial effects as the method.
In the above embodiments, detailed descriptions are given to a method for transmitting data, and the present application also provides embodiments corresponding to an apparatus for transmitting data. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Based on the angle of the functional module, this embodiment provides a data transmission apparatus applied to a data receiving end, and fig. 3 is a structural diagram of the data transmission apparatus applied to the data receiving end according to this embodiment, as shown in fig. 3, the apparatus includes:
the judging module 10 is configured to judge whether the data meets a first preset condition, where the first preset condition includes that data agreed with the data sending end is received at a specified time and/or all data agreed with the data sending end is received within a preset time, and if not, the judging module is triggered;
the judging module 11 is configured to judge that the corresponding data is missing data of the data itself;
the first sending module 12 is configured to send a request to a data sending end, where the request includes an identifier of missing data, and the data sending end searches for corresponding data according to the identifier;
the first receiving module 13 is configured to receive corresponding data sent by the data sending end.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The apparatus for transmitting data provided by the present embodiment corresponds to the above method, and therefore has the same advantages as the above method.
Based on the angle of the functional module, this embodiment provides a data transmission apparatus applied to a data transmitting end, and fig. 4 is a structural diagram of the data transmission apparatus applied to the data transmitting end provided in this embodiment, as shown in fig. 4, the apparatus includes:
a second receiving module 14, configured to receive a request sent by a data receiving end, where the request includes an identifier of missing data; the determination of missing data is specifically: the data sending end judges whether the data meet a first preset condition, wherein the first preset condition comprises that the data appointed to the data sending end is received in a specified time and/or all the data appointed to the data sending end is received in a preset time; if not, judging the corresponding data as missing data;
the searching module 15 is used for searching corresponding data according to the identification;
and a second sending module 16, configured to send corresponding data to the data receiving end.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The apparatus for transmitting data provided by the present embodiment corresponds to the above method, and therefore has the same advantages as the above method.
Based on the hardware perspective, the present embodiment provides another apparatus for transmitting data, fig. 5 is a structural diagram of the apparatus for transmitting data according to another embodiment of the present application, and as shown in fig. 5, the apparatus for transmitting data includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method of transmitting data as mentioned in the above embodiments when executing the computer program.
The device for transmitting data provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the method for transmitting data disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, data related to the method of transmitting the data, and the like.
In some embodiments, the device for transferring data may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configurations shown in the figures do not constitute limitations on the means for transferring data, and may include more or fewer components than those shown.
The device for transmitting data provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized: a method of transmitting data.
The apparatus for transmitting data provided by the present embodiment corresponds to the above method, and therefore has the same advantages as the above method.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially or partially implemented in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solution. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The computer-readable storage medium provided by the embodiment corresponds to the method, and therefore has the same beneficial effects as the method.
A method, an apparatus, and a medium for transmitting data provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the same element.

Claims (10)

1. A method for transmitting data, applied to a data receiving end, the method comprising:
judging whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with a data sending end are received in a specified time and/or all the data agreed with the data sending end are received in a preset time;
if not, judging that the corresponding data is the own missing data;
sending a request to the data sending end, wherein the request comprises the identification of the missing data, and the data sending end searches the corresponding data according to the identification;
and receiving the corresponding data sent by the data sending end.
2. Method for transmitting data according to claim 1, characterized in that said identification is in particular a time stamp of said data and/or a sequence number of said data.
3. The method according to claim 1, wherein a data transmission channel between the data sending end and the data receiving end is an adjustable bandwidth.
4. The method of claim 1, further comprising:
and the data receiving end sends the identification of the data required by the target object to the data sending end.
5. The method according to any of claims 1 to 4, wherein the data transmitting end comprises a plurality of devices, and the request further comprises: topic of the device.
6. A method for transmitting data is applied to a data transmitting end, and the method comprises the following steps:
receiving a request sent by a data receiving end, wherein the request comprises an identifier of missing data; the judgment of the missing data is specifically as follows: the data sending terminal judges whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with the data sending terminal are received in a specified time and/or all the data agreed with the data sending terminal are received in a preset time; if not, judging that the corresponding data are missing data;
searching corresponding data according to the identification;
and sending the corresponding data to the data receiving end.
7. An apparatus for transmitting data, applied to a data receiving end, the apparatus comprising:
the judging module is used for judging whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with a data sending end is received in a specified time and/or all the data agreed with the data sending end is received in a preset time, and if not, the judging module is triggered;
the judging module is used for judging that the corresponding data is missing data of the judging module;
a first sending module, configured to send a request to the data sending end, where the request includes an identifier of the missing data, and the data sending end searches for the corresponding data according to the identifier;
and the first receiving module is used for receiving the corresponding data sent by the data sending end.
8. An apparatus for transmitting data, the apparatus being applied to a data transmitting end, the apparatus comprising:
the second receiving module is used for receiving a request sent by a data receiving end, wherein the request comprises an identifier of missing data; the judgment of the missing data is specifically as follows: the data sending terminal judges whether data meet a first preset condition, wherein the first preset condition comprises that the data agreed with the data sending terminal are received in a specified time and/or all the data agreed with the data sending terminal are received in a preset time; if not, judging that the corresponding data are missing data;
the searching module is used for searching corresponding data according to the identification;
and the second sending module is used for sending the corresponding data to the data receiving end.
9. An apparatus for transmitting data, comprising a memory for storing a computer program;
a processor for implementing the steps of the method of transmitting data according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method of transmitting data according to any one of claims 1 to 6.
CN202210080553.7A 2022-01-24 2022-01-24 Method, device and medium for transmitting data Pending CN114500036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210080553.7A CN114500036A (en) 2022-01-24 2022-01-24 Method, device and medium for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210080553.7A CN114500036A (en) 2022-01-24 2022-01-24 Method, device and medium for transmitting data

Publications (1)

Publication Number Publication Date
CN114500036A true CN114500036A (en) 2022-05-13

Family

ID=81473633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210080553.7A Pending CN114500036A (en) 2022-01-24 2022-01-24 Method, device and medium for transmitting data

Country Status (1)

Country Link
CN (1) CN114500036A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980081A (en) * 2023-09-25 2023-10-31 成都凌亚科技有限公司 Data processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474642A (en) * 2019-01-08 2019-03-15 郑州云海信息技术有限公司 Based on Ethernet udp protocol data transmission method, apparatus, equipment and medium
CN111211878A (en) * 2018-11-22 2020-05-29 杭州海康威视系统技术有限公司 File transmission method, device and system and electronic equipment
CN112398797A (en) * 2019-08-19 2021-02-23 贵州白山云科技股份有限公司 Data transmission method, receiving device, transmitting device, medium, device, and system
CN113824783A (en) * 2021-09-18 2021-12-21 杭州合学教育科技有限公司 Internet of things byte transparent transmission method based on H5JS local programming

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211878A (en) * 2018-11-22 2020-05-29 杭州海康威视系统技术有限公司 File transmission method, device and system and electronic equipment
CN109474642A (en) * 2019-01-08 2019-03-15 郑州云海信息技术有限公司 Based on Ethernet udp protocol data transmission method, apparatus, equipment and medium
CN112398797A (en) * 2019-08-19 2021-02-23 贵州白山云科技股份有限公司 Data transmission method, receiving device, transmitting device, medium, device, and system
CN113824783A (en) * 2021-09-18 2021-12-21 杭州合学教育科技有限公司 Internet of things byte transparent transmission method based on H5JS local programming

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭军: "《邮电高等学校教材 网络管理与控制技术》", 31 December 1999, pages: 295 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980081A (en) * 2023-09-25 2023-10-31 成都凌亚科技有限公司 Data processing method and system
CN116980081B (en) * 2023-09-25 2023-12-19 成都凌亚科技有限公司 Data processing method and system

Similar Documents

Publication Publication Date Title
CN110297944B (en) Distributed XML data processing method and system
CN112507029A (en) Data processing system and data real-time processing method
CN104376127A (en) Data manipulation method and device
CN112069195A (en) Database-based message transmission method and device, electronic equipment and storage medium
CN114500036A (en) Method, device and medium for transmitting data
CN112804301B (en) Method and device for determining equipment state, gateway and storage medium
CN110865973B (en) Data processing method and equipment and related device
US20200280512A1 (en) Optimized reconciliation in a controller-switch network
CN115277707A (en) Service processing method, device, electronic equipment and storage medium
JP5162686B2 (en) Method for retrieving object from DM client and device management system related thereto
CN111858368B (en) Data processing method, device and storage medium
CN113518431B (en) Communication processing method, terminal, device and storage medium
CN113918436A (en) Log processing method and device
CN114202332A (en) Digital currency wallet management method, device and system
CN113032492A (en) Method and device for transmitting and storing edge terminal data
CN112612848A (en) Method, device and system for real-time data synchronization, electronic equipment and storage medium
CN112948225A (en) Link monitoring method and device, monitoring equipment and storage medium
CN110750424A (en) Resource inspection method and device
CN112860746B (en) Cache reduction-based method, equipment and system
CN114567644B (en) Data synchronization method and device and electronic equipment
CN112948430B (en) Date data query method and device
CN117472617B (en) Message processing method and device, electronic equipment and readable storage medium
CN114124659B (en) Data processing method and device
CN113766437B (en) Short message sending method and device
CN115168440A (en) Data read-write method, distributed storage system, device, equipment and storage 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