CN111478755A - Asynchronous data communication method, medium, device and asynchronous data communication system - Google Patents

Asynchronous data communication method, medium, device and asynchronous data communication system Download PDF

Info

Publication number
CN111478755A
CN111478755A CN202010259361.3A CN202010259361A CN111478755A CN 111478755 A CN111478755 A CN 111478755A CN 202010259361 A CN202010259361 A CN 202010259361A CN 111478755 A CN111478755 A CN 111478755A
Authority
CN
China
Prior art keywords
data point
data
information
point information
server
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.)
Granted
Application number
CN202010259361.3A
Other languages
Chinese (zh)
Other versions
CN111478755B (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.)
Shanghai Yinxin High Technology Development Co ltd
Original Assignee
Shanghai Yinxin High Technology Development 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 Shanghai Yinxin High Technology Development Co ltd filed Critical Shanghai Yinxin High Technology Development Co ltd
Priority to CN202010259361.3A priority Critical patent/CN111478755B/en
Publication of CN111478755A publication Critical patent/CN111478755A/en
Application granted granted Critical
Publication of CN111478755B publication Critical patent/CN111478755B/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
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/1874Buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1809Selective-repeat protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention provides an asynchronous data communication method, a medium, equipment and an asynchronous data communication system, wherein the asynchronous data communication method comprises the following steps: sending a plurality of data point information acquired in real time to a server; receiving response information returned by the server end aiming at the successfully sent data point information; updating a data point state storage table through data point identification in the response information, and screening and sending failed data point information according to the information sending state of each data point in the data point state storage table; and re-sending the data point information which is failed to be sent to the server side until all the data point information is successfully sent. The invention can only send the data point information which fails to be sent in the previous time again in one sending period, thereby not only reducing the pressure of the communication bus, but also improving the utilization rate of the bus bandwidth.

Description

Asynchronous data communication method, medium, device and asynchronous data communication system
Technical Field
The present invention relates to an asynchronous data communication method, and more particularly, to an asynchronous data communication method, medium, device, and asynchronous data communication system.
Background
In an industrial measurement and control system, data communication is an important part of the whole system. Data communication includes both synchronous and asynchronous communication. Synchronous communication means that after a sender sends data, the receiver sends a next data packet after sending a response back. Asynchronous communication means that after a sender sends data, an unequal receiver sends back a response and then sends the next data packet. The traditional industrial control application model adopts a synchronous communication mode, specifically, equipment sends a request to a server, then the server receives and processes the request, and finally the server returns a response message to the equipment. In the whole process, the three steps of sending a request, processing the request and returning a response cannot be carried out simultaneously, and the next step can be carried out only after the previous step is completed, so that a communication cycle takes much time, and most of the time of the equipment in the whole process is in a waiting state, and the instantaneity is not strong.
Therefore, how to provide an asynchronous data communication method to solve the technical problem that the prior art cannot improve the utilization rate of the bus bandwidth while reducing the communication bus pressure has become a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, it is an object of the present invention to provide an asynchronous data communication method, medium, device and asynchronous data communication system, which are used to solve the problem of increasing the bus bandwidth utilization rate while reducing the communication bus pressure in asynchronous communication.
In order to achieve the above objects and other related objects, the present invention provides an asynchronous data communication method, which is applied to a device, wherein at least one device is in communication connection with a server; the asynchronous data communication method comprises the following steps: sending a plurality of data point information acquired in real time to a server; receiving response information returned by the server end aiming at the successfully sent data point information; updating a data point state storage table through data point identification in the response information, and screening and sending failed data point information according to the information sending state of each data point in the data point state storage table; wherein the data point state storage table is arranged in the equipment; and re-sending the data point information which is failed to be sent to the server side until all the data point information is successfully sent.
In an embodiment of the present invention, the step of sending the data point information obtained in real time to the server includes: storing a plurality of data point information acquired in real time in a local sending cache queue; the data point information comprises analog quantity data and digital quantity data; and sending the data point information in the sending buffer queue to the server according to a preset time interval.
In an embodiment of the present invention, the step of updating the data point state storage table by the data point identifier in the response information, and the step of screening the data point information that has failed to be sent according to the information sending state of each data point in the data point state storage table includes: reading the data point identification in the response information; storing the data point identification in a data point state storage table; searching missing data point identifications in the data point state storage table; and determining data point information failed in transmission according to the missing data point identification.
In an embodiment of the present invention, the step of resending the data point information that has failed to be sent to the server side until all the data point information is sent successfully includes: resending the data point information failed to be sent to a server; judging whether response information returned by the server aiming at the retransmitted data point information is received; if so, judging that the data point information is successfully sent; if not, returning to the step of resending the data point information failed to be sent to the server side until all the data point information is successfully sent.
In an embodiment of the present invention, the asynchronous data communication method further includes: and determining the number of data points corresponding to the data point information, and taking all the data points as a sending period.
In an embodiment of the invention, after the data point information is obtained, the data point information is sent to a server in real time without receiving a sending instruction and response information of the server and then sending the data point information; and after receiving the response information, updating the sending state of each data point information in real time.
Another aspect of the invention provides a medium on which a computer program is stored which, when being executed by a processor, implements the asynchronous data communication method.
Yet another aspect of the invention provides an apparatus comprising: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored in the memory so as to enable the equipment to execute the asynchronous data communication method.
A final aspect of the present invention provides an asynchronous data communication system, comprising: the device is connected with the data points and used for sending the data point information acquired in real time to the server; receiving response information returned by the server end aiming at the successfully sent data point information; updating a data point state storage table through data point identification in the response information, and screening and sending failed data point information according to the information sending state of each data point in the data point state storage table; wherein the data point state storage table is arranged in the equipment; the data point information which fails to be sent is sent to the server again until all the data point information is sent successfully; and the server is in communication connection with the equipment and is used for returning response information after receiving the data point information sent by the equipment in real time until all the data point information is successfully received.
In an embodiment of the present invention, after receiving the data point information sent by the device, the server determines whether the data point information is valid data, and if so, returns a response message corresponding to the data point information; if not, no response information is returned.
As described above, the asynchronous data communication method, medium, device and asynchronous data communication system according to the present invention have the following advantages:
the invention can only send the data point information which fails to be sent in the previous time again in one sending period, thereby not only reducing the pressure of the communication bus, but also improving the utilization rate of the bus bandwidth. The asynchronous data communication method has obvious fast characteristic under the condition that the network transmission data volume is extremely large.
Drawings
Fig. 1 is a schematic flow chart illustrating an asynchronous data communication method according to an embodiment of the present invention.
Fig. 2 is a data transmission flow chart of an asynchronous data communication method according to an embodiment of the invention.
Fig. 3 is a data filtering flow chart illustrating an asynchronous data communication method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating data screening of an asynchronous data communication method according to an embodiment of the invention.
Fig. 5 is a flowchart illustrating a data retransmission method according to an embodiment of the asynchronous data communication method of the present invention.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
FIG. 7 is a communication connection diagram of an asynchronous data communication system according to an embodiment of the present invention.
Description of the element reference numerals
6 device
61 processor
62 memory
63 communication interface
64 system bus
S11-S14
S111 to S112 steps
S131 to S134 steps
S141 to S143 steps
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
In this embodiment, the device and the server are connected in an asynchronous communication manner. Based on asynchronous data communication, the system is responsible for service programs on the server and data exchange on the equipment, and has high reliability and communication efficiency so as to ensure the correct operation of the whole system.
The principles and implementations of an asynchronous data communication method, medium, device and asynchronous data communication system according to the present embodiment will be described in detail below with reference to fig. 1 to 5, so that those skilled in the art can understand an asynchronous data communication method, medium, device and asynchronous data communication system according to the present embodiment without creative efforts.
Asynchronous communication means that a sender does not need to coordinate with a receiver before sending data, the sender can send data at any time, the sending interval of the sender can wait for any long time, and the data can be sent as long as the data is ready. The receiver must be ready to receive the data when it arrives. In asynchronous communication, because there is no rule for both communication parties to receive and transmit data, both parties may send data at any time and must also receive data sent by the other party at any time, so both parties must monitor whether data is sent on the bus or not.
In asynchronous communication, a sender can send data at any time, but if a receiver is not ready for reception, the data will be lost. Moreover, with the development of communication technology, the network scale increases and the communication data volume increases to network big data, which requires data to be transmitted quickly and efficiently, and improves the utilization rate of channel bandwidth in the communication system.
Referring to fig. 1, a schematic flow chart of an asynchronous data communication method according to an embodiment of the invention is shown. The asynchronous data communication method is applied to equipment, and at least one piece of equipment is in communication connection with a server side. As shown in fig. 1, the asynchronous data communication method specifically includes the following steps:
and S11, sending the multiple data point information acquired in real time to the server.
Please refer to fig. 2, which is a data transmission flow chart illustrating an asynchronous data communication method according to an embodiment of the present invention. As shown in fig. 2, S11 includes:
s111, storing a plurality of data point information acquired in real time in a local sending cache queue; the data point information includes analog quantity data and digital quantity data.
Specifically, if the device is connected to 1000 data points, the device immediately stores the data point information in the sending buffer queue for sending after receiving the data point information.
And S112, sending the data point information in the sending buffer queue to the server according to a preset time interval.
Specifically, if the preset time interval is set to 1ms, the multiple data point information in the sending buffer queue is sequentially sent to the server according to the interval of 1 ms.
And S12, receiving response information returned by the server end aiming at the data point information which is successfully sent.
Specifically, if the server side receives the information of the 100 th data point and then verifies the correctness, the server side sends response information aiming at the 100 th data point, wherein the response information comprises the identification information of the 100 th data point.
And S13, updating a data point state storage table through the data point identification in the response information, and screening the data point information which fails to be sent according to the information sending state of each data point in the data point state storage table. Wherein the data point state storage table is provided in the device.
Specifically, if the data transmission of the 80 th and 996 th data points of the 1000 data points fails, the 80 th and 996 th data points are screened out, and the data point information of the 80 th and 996 th data points is retransmitted.
Please refer to fig. 3, which is a flowchart illustrating a data filtering method of an asynchronous data communication method according to an embodiment of the present invention. As shown in fig. 3, S13 includes:
s131, reading the data point identification in the response information.
Specifically, if the data transmission of the 996 th data point fails, the device receives only the response information other than the 996 th data point.
S132, storing the data point identification in a data point state storage table.
Specifically, according to the response information except the 996 th data point, the state of the corresponding data point is updated in the data point state storage table, so that the data point which is successfully transmitted is distinguished from the data point which is failed to be transmitted.
S133, searching the missing data point identification in the data point state storage table.
Specifically, when the status of data points other than the 996 th data point is updated, the data point identifier of the 996 th data point which is not updated is missing.
And S134, determining data point information failed in transmission according to the missing data point identification.
Specifically, the 996 th data point is determined as a data point that failed to be transmitted, that is, the data point information of the 996 th data point failed to be transmitted in the last transmission process.
Please refer to fig. 4, which is a diagram illustrating data filtering in an embodiment of an asynchronous data communication method according to the present invention. As shown in fig. 4, a sending buffer queue of a device displaying 1-1000 data point information, where the device sends data point information to be sent from the sending buffer queue to a server (server), the server returns response information after verifying that the data point information is valid data, and a data point state storage table of the device updates a state of a corresponding data point position after receiving the response information, where, as shown in fig. 4, light gray indicates that data sending of the data point is successful, and dark gray indicates that data sending of the data point is failed, as shown in fig. 4, data points 2, 22, 972, 987, and 995 are in a state where data sending is failed.
In the embodiment of fig. 4, the device is connected with 1000 data points, and may obtain 1000 data points and store the data points in the local sending buffer queue. In consideration of the bus line transmission delay and the processing situation of the server, it is set that each data point data in the device is sequentially transmitted to the server at a time interval of 1ms, and thus, 1s will transmit 1000 data point data (data point information). The server stores and processes the data point in a receiving buffer queue of the server when receiving one data point, and returns a response message with data point identification information to the equipment if the server judges that the received data point data is correct; after receiving a response message, the device reads corresponding data point identification information from the response message and stores the data point identification information in a data point state storage table; if the device does not receive a response message for a data point, the data point identification information is not saved in the data point state storage table. Data flow as shown in fig. 4, when the device successfully transmits 1000 data points of data, the data point state storage table has a success state of 1000 data points.
After the data of the 1 st to 1000 th data points are sent, the device firstly judges whether the data point state storage table is complete. If the state table is full of the identification information of 1000 data points, all data transmission and reception are successful, otherwise, communication failure of a part of data points is indicated. Then, in the next second data transmission, the data is not transmitted from the 1 st data point, but the data point which is not successfully transmitted for the first time is retransmitted, and the data point identifier returned by the server for the second time is continuously stored in the original point state storage table; if the data point state storage table is still incomplete, the data of the data point which fails to be sent is continuously sent again, and the data sending logic of the data point is subjected to list management, such as the data sending logic table of the data point in table 1.
TABLE 1 data Transmission logic Table for data points
Figure BDA0002438691130000061
It can be known from the specific embodiment that 1000 data points transmit, by adopting the asynchronous data communication method of the present invention, 1000 data points of the device can be transmitted quickly and efficiently. All 1000 data point data are correctly transmitted as a complete transmission cycle, and in the cycle, only data point data which fails to be transmitted in the previous time are transmitted again each time. If each data point data is sent to the server in turn at a time interval of 1ms, then 1s will complete the data transmission of 1000 data points. In the synchronous communication in the prior art, a question-and-answer mode is adopted, if the time interval is set to be 1ms, the question-and-answer mode needs 1ms, the time-delay in the middle of communication is considered, the time-delay is set to be 2ms, the data transmission of one data point needs 4ms, and the data transmission of 1000 data points needs 4s approximately.
And S14, resending the data point information failed to be sent to the server side until all the data point information is successfully sent.
Please refer to fig. 5, which is a flowchart illustrating a data retransmission method according to an embodiment of the asynchronous data communication method of the present invention.
As shown in fig. 5, S14 includes:
and S141, retransmitting the data point information failed to be transmitted to the server.
Specifically, if the data transmission of the 996 th data point fails in the last transmission process, the data point information of the 996 th data point is retransmitted to the server.
And S142, judging whether response information returned by the server aiming at the retransmitted data point information is received.
S143, if yes, the data point information is judged to be successfully sent; if not, returning to the step of resending the data point information failed to be sent to the server side until all the data point information is successfully sent.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the asynchronous data communication method.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The protection scope of the asynchronous data communication method of the present invention is not limited to the execution sequence of the steps listed in this embodiment, and all the schemes of adding, subtracting, and replacing steps in the prior art according to the principles of the present invention are included in the protection scope of the present invention.
Please refer to fig. 6, which is a schematic structural diagram of an apparatus according to an embodiment of the present invention. The equipment is data acquisition and communication equipment in an industrial measurement and control system, and the equipment is communicated with the server and is controlled by the server. The electromechanical equipment on the industrial site is used as a data point, the equipment acquires information of a plurality of data points in real time and sends the information to the server so as to control the electromechanical equipment on the industrial site. As shown in fig. 6, the present embodiment provides an apparatus 6, the apparatus 6 including: a processor 61, memory 62, communication interface 63, or/and system bus 64; the memory 62 and the communication interface 63 are connected to the processor 61 through a system bus 64 and perform communication with each other, the memory 62 is used for storing computer programs, the communication interface 63 is used for communicating with other devices, and the processor 61 is used for operating the computer programs to enable the devices to execute the steps of the asynchronous data communication method.
The system bus 64 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus 64 may be divided into an address bus, a data bus, a control bus, and the like. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor 61 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components.
Please refer to fig. 7, which is a schematic communication connection diagram of an asynchronous data communication system according to an embodiment of the present invention. As shown in fig. 7, the asynchronous data communication system according to the present invention includes: at least one device and a server.
The device is connected with the data points and is used for sending the data point information acquired in real time to the server; receiving response information returned by the server end aiming at the successfully sent data point information; updating a data point state storage table through data point identification in the response information, and screening and sending failed data point information according to the information sending state of each data point in the data point state storage table; wherein the data point state storage table is arranged in the equipment; and re-sending the data point information which is failed to be sent to the server side until all the data point information is successfully sent.
And the server is in communication connection with the equipment and is used for returning response information after receiving the data point information sent by the equipment in real time until all the data point information is successfully received.
In this embodiment, after receiving the data point information sent by the device, the server determines whether the data point information is valid data, and if so, returns a response message corresponding to the data point information; if not, no response information is returned.
Specifically, the working process of the asynchronous data communication system is as follows:
(1) the device obtains data volume information for all data points. If the device itself is connected to 1000 data points (there may be more operating points in an actual communication system), each data point may be analog quantity data or digital quantity data, and the size of each data point is several or several tens of bytes, and each data point has its own identification information.
(2) The device transmits the acquired data point data (data point information) to the server. Due to the adoption of the asynchronous communication mode, the data is sent to the server as long as the data point data is obtained, and the server is not waited to return a response message.
(3) The server returns a response message of each data point after receiving the data point data sent by the equipment, and if the received data point data is lost or the data verification is wrong, the server does not return the response message.
In summary, the asynchronous data communication method, medium, device and asynchronous data communication system according to the present invention only resends data point information that has failed to be sent in the previous time in one sending cycle, so that not only can the pressure of the communication bus be reduced, but also the utilization rate of the bus bandwidth can be improved. The asynchronous data communication method has obvious fast characteristic under the condition that the network transmission data volume is extremely large. The invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. An asynchronous data communication method is applied to equipment, and at least one piece of equipment is in communication connection with a server; the asynchronous data communication method comprises the following steps:
sending a plurality of data point information acquired in real time to a server;
receiving response information returned by the server end aiming at the successfully sent data point information;
updating a data point state storage table through data point identification in the response information, and screening and sending failed data point information according to the information sending state of each data point in the data point state storage table; wherein the data point state storage table is arranged in the equipment;
and re-sending the data point information which is failed to be sent to the server side until all the data point information is successfully sent.
2. The asynchronous data communication method of claim 1, wherein the step of sending the plurality of data point information obtained in real time to the server comprises:
storing a plurality of data point information acquired in real time in a local sending cache queue; the data point information comprises analog quantity data and digital quantity data;
and sending the data point information in the sending buffer queue to the server according to a preset time interval.
3. The asynchronous data communication method of claim 1, wherein the data point status storage table is updated by the data point id in the response message, and the step of screening the data point information that has failed to be sent according to the information sending status of each data point in the data point status storage table comprises:
reading the data point identification in the response information;
saving the data point identification in the data point state storage table;
searching missing data point identifications in the data point state storage table;
and determining data point information failed in transmission according to the missing data point identification.
4. The asynchronous data communication method of claim 1, wherein the step of resending the data point information that failed to be sent to the server until all data point information is successfully sent comprises:
resending the data point information failed to be sent to a server;
judging whether response information returned by the server aiming at the retransmitted data point information is received;
if so, judging that the data point information is successfully sent; if not, returning to the step of resending the data point information failed to be sent to the server side until all the data point information is successfully sent.
5. The asynchronous data communication method of claim 1, further comprising:
and determining the number of data points corresponding to the data point information, and taking all the data points as a sending period.
6. The asynchronous data communication method of claim 1, wherein:
after the data point information is acquired, the data point information is sent to a server in real time, and the data point information is sent without receiving a sending instruction and response information of the server;
and after receiving the response information, updating the sending state of each data point information in real time.
7. A medium on which a computer program is stored which, when being executed by a processor, carries out the asynchronous data communication method according to any one of claims 1 to 6.
8. An apparatus, comprising: a processor and a memory;
the memory is configured to store a computer program and the processor is configured to execute the computer program stored by the memory to cause the apparatus to perform the asynchronous data communication method according to any one of claims 1 to 6.
9. An asynchronous data communication system, said asynchronous data communication system comprising:
the device is connected with the data points and used for sending the data point information acquired in real time to the server; receiving response information returned by the server end aiming at the successfully sent data point information; updating a data point state storage table through data points in the response information, and screening data point information failed to be sent according to information sending state identification of each data point in the data point state storage table; wherein the data point state storage table is arranged in the equipment; the data point information which fails to be sent is sent to the server again until all the data point information is sent successfully;
and the server is in communication connection with the equipment and is used for returning response information after receiving the data point information sent by the equipment in real time until all the data point information is successfully received.
10. The asynchronous data communication system of claim 9, wherein: after receiving the data point information sent by the equipment, the server judges whether the data point information is valid data, and if so, returns a response message corresponding to the data point information; if not, no response information is returned.
CN202010259361.3A 2020-04-03 2020-04-03 Asynchronous data communication method, medium, equipment and asynchronous data communication system Active CN111478755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010259361.3A CN111478755B (en) 2020-04-03 2020-04-03 Asynchronous data communication method, medium, equipment and asynchronous data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010259361.3A CN111478755B (en) 2020-04-03 2020-04-03 Asynchronous data communication method, medium, equipment and asynchronous data communication system

Publications (2)

Publication Number Publication Date
CN111478755A true CN111478755A (en) 2020-07-31
CN111478755B CN111478755B (en) 2023-08-01

Family

ID=71750649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010259361.3A Active CN111478755B (en) 2020-04-03 2020-04-03 Asynchronous data communication method, medium, equipment and asynchronous data communication system

Country Status (1)

Country Link
CN (1) CN111478755B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313311A1 (en) * 2008-06-12 2009-12-17 Gravic, Inc. Mixed mode synchronous and asynchronous replication system
CN101848065A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 Information transmission method and information transmission device
US20110176465A1 (en) * 2010-01-21 2011-07-21 Robert Bosch Gmbh Asynchronous low-power multi-channel media access control
JP2016032143A (en) * 2014-07-28 2016-03-07 長野日本無線株式会社 Communication terminal and data collection system
CN105897549A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Message sending and receiving methods and message sending and receiving devices
CN106528871A (en) * 2016-12-06 2017-03-22 爱普(福建)科技有限公司 Method for updating information of engineering data points in industrial control system on line
CN107612661A (en) * 2017-09-07 2018-01-19 四川九洲北斗导航与位置服务有限公司 Data communication method and device
CN108512634A (en) * 2017-02-28 2018-09-07 北京华为数字技术有限公司 A kind of method and relevant device of data processing
US20190081743A1 (en) * 2016-04-01 2019-03-14 Panasonic Intellectual Property Corporation Of America Asynchronous retransmission protocol
CN109634800A (en) * 2018-10-19 2019-04-16 深圳平安财富宝投资咨询有限公司 Data processing method, system, terminal and readable storage medium storing program for executing
CN109688195A (en) * 2018-11-16 2019-04-26 武汉华中时讯科技有限责任公司 Realize device, method and the storage medium of asynchronous information publication
CN110505315A (en) * 2019-09-27 2019-11-26 北京锐安科技有限公司 Data processing method, device, equipment and storage medium
CN110515725A (en) * 2019-08-14 2019-11-29 威富通科技有限公司 Service request processing method, computer storage medium, server and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313311A1 (en) * 2008-06-12 2009-12-17 Gravic, Inc. Mixed mode synchronous and asynchronous replication system
US20110176465A1 (en) * 2010-01-21 2011-07-21 Robert Bosch Gmbh Asynchronous low-power multi-channel media access control
CN101848065A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 Information transmission method and information transmission device
JP2016032143A (en) * 2014-07-28 2016-03-07 長野日本無線株式会社 Communication terminal and data collection system
CN105897549A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Message sending and receiving methods and message sending and receiving devices
US20190081743A1 (en) * 2016-04-01 2019-03-14 Panasonic Intellectual Property Corporation Of America Asynchronous retransmission protocol
CN106528871A (en) * 2016-12-06 2017-03-22 爱普(福建)科技有限公司 Method for updating information of engineering data points in industrial control system on line
CN108512634A (en) * 2017-02-28 2018-09-07 北京华为数字技术有限公司 A kind of method and relevant device of data processing
CN107612661A (en) * 2017-09-07 2018-01-19 四川九洲北斗导航与位置服务有限公司 Data communication method and device
CN109634800A (en) * 2018-10-19 2019-04-16 深圳平安财富宝投资咨询有限公司 Data processing method, system, terminal and readable storage medium storing program for executing
CN109688195A (en) * 2018-11-16 2019-04-26 武汉华中时讯科技有限责任公司 Realize device, method and the storage medium of asynchronous information publication
CN110515725A (en) * 2019-08-14 2019-11-29 威富通科技有限公司 Service request processing method, computer storage medium, server and system
CN110505315A (en) * 2019-09-27 2019-11-26 北京锐安科技有限公司 Data processing method, device, equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
庞佳丽: "分布式***中基于中间件的异步通信可靠性研究", 《中国优秀硕士学位论文全文数据库》 *
张育贵,胡雪晨,王义: "基于FlexRay总线的静态段带宽利用率研究", 《电子科技》 *
黄亚龙: "《基于静态段参数优化的FlexRay网络可靠性研究》", 《中国优秀硕士学位论文全文数据库》 *

Also Published As

Publication number Publication date
CN111478755B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN102546784B (en) Method for conducting batch upgrading for device firmware based on controller area network (CAN) bus
CN109964215B (en) Flow control in remote direct memory access data communications with ring buffer mirroring
CN109451032B (en) Message transmission system
CN113746900B (en) Intranet data transmission method, electronic device and computer readable storage medium
WO2017088572A1 (en) Data processing method, device, and system
CN102098212A (en) Apparatus for processing peripheral component interconnect express protocol
CN110019873B (en) Face data processing method, device and equipment
CN112822260B (en) File transmission method and device, electronic equipment and storage medium
WO2017148169A1 (en) Method and system for remotely transmitting log using udp
CN110120980A (en) Reliable file transmission method, computer equipment and the storage medium of unstable link
CN111629368A (en) Communication method of earphone and charging box, earphone and readable storage medium
CN112422485B (en) Communication method and device of transmission control protocol
CN115335803A (en) Equipment upgrading method, intelligent equipment and computer readable storage medium
CN109688208B (en) Data loading method based on FC-AE-ASM message
CN109743133B (en) Data reconciliation method and device
CN113076281B (en) Method, system, equipment and medium for communication of Ceph kernel client
CN114884935A (en) Data upgrading method and device, electronic equipment and storage medium
CN110912805A (en) Message reading state synchronization method, terminal, server and system
CN117762652A (en) Distributed transaction processing method and device based on message middleware
CN117879992A (en) Upgrade data transmission method and device, electronic equipment and storage medium
CN117472627A (en) Task repetition management system, method and device, electronic equipment and storage medium
CN111478755B (en) Asynchronous data communication method, medium, equipment and asynchronous data communication system
CN110162511B (en) Log transmission method and related equipment
CN112715041B (en) Method and apparatus for identifying device, computer-readable storage medium, and program
CN113852610B (en) Message processing method, device, computer 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
GR01 Patent grant
GR01 Patent grant