CN110535975A - Data transmission method, apparatus and system - Google Patents

Data transmission method, apparatus and system Download PDF

Info

Publication number
CN110535975A
CN110535975A CN201910923687.9A CN201910923687A CN110535975A CN 110535975 A CN110535975 A CN 110535975A CN 201910923687 A CN201910923687 A CN 201910923687A CN 110535975 A CN110535975 A CN 110535975A
Authority
CN
China
Prior art keywords
terminal
mark
data
transmission
center gateway
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
CN201910923687.9A
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.)
BOE Technology Group Co Ltd
Original Assignee
BOE Technology Group 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 BOE Technology Group Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201910923687.9A priority Critical patent/CN110535975A/en
Publication of CN110535975A publication Critical patent/CN110535975A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

This application discloses a kind of data transmission methods, apparatus and system, belong to internet of things field.This method can be applied to center gateway, this method comprises: receiving the first heartbeat signal of the mark for carrying first terminal that first terminal is sent;When determination needs to carry out data update, the initial time for being recorded in the first duration of mark of second terminal entrained by the second heartbeat signal received in the first duration is at the time of receiving the first heartbeat signal;The mark of mark and second terminal based on first terminal, will more new data synchronous transfer to first terminal and second terminal.Due to the application center gateway can will more new data synchronous transfer to first terminal and second terminal, improve the flexibility of data transmission.

Description

Data transmission method, apparatus and system
Technical field
The present invention relates to internet of things field, in particular to a kind of data transmission method, apparatus and system.
Background technique
In internet of things field, local area network includes center gateway and correlates the multiple terminals connect, terminal with the central network It is generally in sleep state, each terminal can enter wake-up states from sleep state every certain time length, and to center gateway Send heartbeat signal.The center gateway is after the heartbeat signal for receiving terminal transmission, however, it is determined that needs to carry out data update, then More new data can be sent to the terminal.If it is determined that not needing to carry out data update, then heartbeat response can be sent to the terminal, So that terminal enters sleep state from wake-up states after receiving heartbeat response.
But in the above scheme, center gateway needs to send more new data to multiple terminals one by one, therefore data are transmitted Flexibility it is poor.
Summary of the invention
The embodiment of the invention provides a kind of data transmission methods, apparatus and system.The technical solution is as follows:
On the one hand, a kind of data transmission method is provided, center gateway is applied to, which comprises
Receive the first heartbeat signal of the mark for carrying the first terminal that first terminal is sent, the first terminal To correlate any terminal connect with the central network;
When determination needs to carry out data update, it is recorded in entrained by the second heartbeat signal received in the first duration The mark of second terminal, the second terminal are the end in the terminal connect with central network connection in addition to the first terminal End, second heartbeat signal is that the second terminal is sent to the center gateway, the initial time of first duration At the time of to receive first heartbeat signal;
The mark of mark and the second terminal based on the first terminal, by the more new data synchronous transfer to institute State first terminal and the second terminal.
Optionally, the updated data package includes: multiple data packets and data packet sum;
It is described will more new data synchronous transfer to the first terminal and the second terminal, comprising:
By the data packet sum synchronous transfer to the first terminal and the second terminal;
By the multiple data packet several times synchronous transfer to the first terminal and the second terminal.
Optionally, the more new data further include: the order of transmission number of each data packet;
It is described by the multiple data packet several times synchronous transfer to the first terminal and the second terminal, comprising:
For the target packet in the multiple data packet, same to the first terminal and the second terminal every time When step transmits the target packet, target packet and institute described in Xiang Suoshu first terminal and the second terminal synchronous transfer The order of transmission number of target packet is stated, the target packet is any data packet in the multiple data packet, the biography Defeated sequence number is not more than frequency threshold value.
Optionally, after determination needs to carry out data update, the method also includes:
The mark of first duration and the more new data is sent to the first terminal, so that described first is whole End group keeps the sleep state of first duration when mark of the more new data determines the not stored more new data;
The mark for being recorded in second terminal entrained by the second heartbeat signal received in the first duration, comprising:
Receive second heartbeat signal that the second terminal is sent in first duration;
The mark of second duration and the more new data is sent to the second terminal, and records the second terminal Mark, when so that the second terminal determining the not stored more new data based on the mark of the more new data, keep institute State the sleep state of the second duration, wherein second duration is less than first duration, and when the starting of second duration It carves as at the time of receiving second heartbeat signal, when the termination of the end time of second duration and first duration It carves identical.
On the other hand, a kind of data transmission method is provided, first terminal is applied to, which comprises
The first heartbeat signal for carrying the mark of the first terminal is sent to center gateway;
The more new data of the center gateway transmission is received, the more new data is that the center gateway determination needs to carry out Data update, and after being recorded in the mark of second terminal entrained by the second heartbeat signal received in the first duration, are based on The mark synchronous transfer of the mark and second terminal of the first terminal;
Wherein, second heartbeat signal is that the second terminal is sent to the center gateway, the first terminal To correlate any terminal in the terminal connect with the central network, the second terminal is to correlate the terminal connect with the central network In terminal in addition to the first terminal, the initial time of first duration is that the center gateway receives described first At the time of heartbeat signal.
Optionally, the updated data package includes: multiple data packets and data packet sum;
The more new data for receiving the center gateway transmission, comprising:
Receive the data packet sum of the center gateway transmission;
The multiple data packet of the center gateway transmission is received several times.
Optionally, the more new data further include: the order of transmission number of each data packet;
The multiple data packet for receiving the center gateway transmission several times, comprising:
For the target packet in the multiple data packet, the target packet of the center gateway transmission is received And the order of transmission number of the target packet, the target packet are any data packet in the multiple data packet, The order of transmission number is not more than frequency threshold value;
If the number of the data packet received is total no more than the data packet, and the order of transmission of the target packet Number it is less than frequency threshold value, keeps the target packet for receiving center gateway transmission after the sleep state of third duration Next data packet, when third a length of target packet transmission duration and difference threshold product, the difference Threshold value is the difference of the order of transmission number of the frequency threshold value and the target packet;
If the number of the data packet received is total no more than the data packet, and the order of transmission of the target packet Number it is equal to frequency threshold value, receives next data packet of the target packet of center gateway transmission.
Another aspect provides a kind of data transmission method, is applied to second terminal, which comprises
The second heartbeat signal for carrying the mark of the second terminal is sent to center gateway;
The more new data of the center gateway transmission is received, the more new data is that the center gateway receives first eventually The first heartbeat signal of the mark for carrying the first terminal sent is held, determination needs to carry out data update, and is recorded in After the mark of second terminal entrained by second heartbeat signal received in first duration, based on the first terminal The mark synchronous transfer of mark and the second terminal;
Wherein, the first terminal is any terminal in the terminal connect with central network connection, the second terminal To correlate the terminal in the terminal connect in addition to the first terminal with the central network, the initial time of first duration is At the time of the center gateway receives first heartbeat signal.
Another aspect provides a kind of data transmission device, is applied to center gateway, and described device includes:
Receiving module, the first heartbeat letter of the mark for carrying the first terminal for receiving first terminal transmission Number, the first terminal is to correlate any terminal connect with the central network;
Logging modle, for being recorded in second heart received in the first duration when determination needs to carry out data update Jump the mark of second terminal entrained by signal, the second terminal be in the terminal that connects of central network connection except described the Terminal other than one terminal, second heartbeat signal are that the second terminal is sent to the center gateway, described first The initial time of duration is at the time of receiving first heartbeat signal;
Transmission module, for the mark of mark and the second terminal based on the first terminal, by the update number According to synchronous transfer to the first terminal and the second terminal.
Optionally, the updated data package includes: multiple data packets and data packet sum;
The transmission module, comprising:
First transmission submodule, is used for the data packet sum synchronous transfer to the first terminal and described second eventually End;
Second transmission submodule, for by the multiple data packet several times synchronous transfer to the first terminal and described Second terminal.
Optionally, the more new data further include: the order of transmission number of each data packet;
The second transmission submodule, is used for:
For the target packet in the multiple data packet, same to the first terminal and the second terminal every time When step transmits the target packet, target packet and institute described in Xiang Suoshu first terminal and the second terminal synchronous transfer The order of transmission number of target packet is stated, the target packet is any data packet in the multiple data packet, the biography Defeated sequence number is not more than frequency threshold value.
Optionally, after determination needs to carry out data update, described device further include:
Sending module, for the mark of first duration and the more new data to be sent to the first terminal, When so that the first terminal determining the not stored more new data based on the mark of the more new data, when keeping described first Long sleep state;
The logging modle, is used for:
Receive second heartbeat signal that the second terminal is sent in first duration;
The mark of second duration and the more new data is sent to the second terminal, and records the second terminal Mark, when so that the second terminal determining the not stored more new data based on the mark of the more new data, keep institute State the sleep state of the second duration, wherein second duration is less than first duration, and when the starting of second duration It carves as at the time of receiving second heartbeat signal, when the termination of the end time of second duration and first duration It carves identical.
Another aspect provides a kind of data transmission device, is applied to first terminal, and described device includes:
Sending module, for sending the first heartbeat signal for carrying the mark of the first terminal to center gateway;
Receiving module, for receiving the more new data of the center gateway transmission, the more new data is the central network It closes determination to need to carry out data update, and is recorded in second terminal entrained by the second heartbeat signal received in the first duration Mark after, the mark synchronous transfer of mark and the second terminal based on the first terminal;
Wherein, second heartbeat signal is that the second terminal is sent to the center gateway, the first terminal To correlate any terminal in the terminal connect with the central network, the second terminal is to correlate the terminal connect with the central network In terminal in addition to the first terminal, the initial time of first duration is that the center gateway receives described first At the time of heartbeat signal.
Optionally, the updated data package includes: multiple data packets and data packet sum;
The receiving module, comprising:
First receiving module, for receiving the data packet sum of the center gateway transmission;
Second receiving module, for receiving the multiple data packet of the center gateway transmission several times.
Optionally, the more new data further include: the order of transmission number of each data packet;
Second receiving module, is used for:
For the target packet in the multiple data packet, the target packet of the center gateway transmission is received And the order of transmission number of the target packet, the target packet are any data packet in the multiple data packet, The order of transmission number is not more than frequency threshold value;
If the number of the data packet received is total no more than the data packet, and the order of transmission of the target packet Number it is less than frequency threshold value, keeps the target packet for receiving center gateway transmission after the sleep state of third duration Next data packet, when third a length of target packet transmission duration and difference threshold product, the difference Threshold value is the difference of the order of transmission number of the frequency threshold value and the target packet;
If the number of the data packet received is total no more than the data packet, and the order of transmission of the target packet Number it is equal to frequency threshold value, receives next data packet of the target packet of center gateway transmission.
Another aspect provides a kind of data transmission device, is applied to second terminal, and described device includes:
Sending module, for sending the second heartbeat signal for carrying the mark of the second terminal to center gateway;
Receiving module, for receiving the more new data of the center gateway transmission, the more new data is the central network The first heartbeat signal for receiving the mark for carrying the first terminal of first terminal transmission is closed, determination needs to carry out data It updates, and after being recorded in the mark of second terminal entrained by second heartbeat signal received in the first duration, is based on The mark synchronous transfer of the mark and second terminal of the first terminal;
Wherein, the first terminal is any terminal in the terminal connect with central network connection, the second terminal To correlate the terminal in the terminal connect in addition to the first terminal with the central network, the initial time of first duration is At the time of the center gateway receives first heartbeat signal.
Another aspect provides a kind of data transmission device, comprising: memory and is stored in the memory at processor On computer program, the processor realizes transmission side data described in above-mentioned various aspects when executing the computer program Method.
Another aspect, provides a kind of data transmission system, and the data transmission system includes: center gateway, the first end End and second terminal, the center gateway include the device of the transmission of data described in above-mentioned aspect;The first terminal includes such as The device of the transmission of data described in above-mentioned aspect;The second terminal includes the device that the data as described in terms of above-mentioned are transmitted.
Another aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when described instruction is run on computers, so that computer executes the data transmission method as described in terms of above-mentioned.
Technical solution bring beneficial effect provided in an embodiment of the present invention includes at least:
The embodiment of the invention provides a kind of data transmission method, apparatus and system, center gateway is receiving first eventually After holding the first heartbeat signal sent, however, it is determined that need to carry out data update, then can recorde and received in the first duration The mark of second terminal entrained by second heartbeat signal, and the mark of the mark based on first terminal and second terminal will update Data synchronous transfer is to first terminal and second terminal.Due to center gateway can will more new data synchronous transfer to first terminal And second terminal, therefore help to improve the flexibility of data transmission.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of implementation environment involved in each embodiment of the present invention provides;
Fig. 2 is a kind of flow chart of data transmission method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another data transmission method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another data transmission method provided in an embodiment of the present invention;
Fig. 5 is the flow chart of another data transmission method provided in an embodiment of the present invention;
Fig. 6 is a kind of block diagram of data transmission device provided in an embodiment of the present invention;
Fig. 7 is a kind of block diagram of transmission module provided in an embodiment of the present invention;
Fig. 8 is the block diagram of another data transmission device provided in an embodiment of the present invention;
Fig. 9 is the block diagram of another data transmission device provided in an embodiment of the present invention;
Figure 10 is a kind of block diagram of receiving module provided in an embodiment of the present invention;
Figure 11 is the block diagram of another data transmission device provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is the schematic diagram of implementation environment involved in each embodiment of the present invention, which provides a kind of local Net.As shown in Figure 1, the implementation environment may include: center gateway 110, first terminal 120 and second terminal 130.The central network Closing 110 can be the network equipments such as router or interchanger.The first terminal 120 and the second terminal 130 may each be a The equipment such as people's computer, laptop, tablet computer, wearable device, mobile phone, bus or billboard, and first terminal 120 and second terminal 130 can be identical or different equipment, for example, as shown in Figure 1, first terminal 120 be PC, Second terminal 130 is mobile phone.It can be logical by cable network or wireless network between the center gateway 110 and first terminal 120 Letter connection.It can be connected by cable network or wireless communication between the center gateway 110 and second terminal 130.Ability Field technique personnel are readily appreciated that, local area network may include center gateway and multiple terminals with center gateway communication connection, First terminal 120 and the second terminal 130 can be any two terminal in multiple terminal.
Fig. 2 is a kind of flow chart of data transmission method provided in an embodiment of the present invention, and this method can be applied to Fig. 1 institute In the center gateway 110 shown.As shown in Fig. 2, this method may include:
Step 201, the first heartbeat signal for receiving the mark for carrying first terminal that first terminal is sent.
Wherein, which can be to correlate any terminal connect with central network.The mark of the first terminal is for only One identifies the first terminal.Optionally, the mark of the first terminal can be the address of the first terminal, or may be should The sequence number of first terminal.
In embodiments of the present invention, first terminal is generally in sleep state, and is kept in a manner of heartbeat with center gateway Connection, which can enter wake-up states from sleep state every the 4th duration, and carry to the transmission of center gateway First heartbeat signal of the mark of the first terminal.Optionally, the 4th duration can be pre-stored solid in first terminal Timing is long.Exemplary, the 4th duration can be 1 hour.
Step 202 detects whether to need to carry out data update.
Whether center gateway can detecte after the first heartbeat signal for receiving first terminal transmission and need to carry out data It updates.If it is determined that can then execute step 203 without carrying out data update.If it is determined that needing to carry out data update, then can hold Row step 204.
Step 203 sends heartbeat response to first terminal.
Center gateway is being determined without that heartbeat response can be sent to first terminal, so that first after carrying out data update Terminal is again introduced into sleep state from wake-up states after receiving heartbeat response, and in the sleep state for keeping the 4th duration After be again introduced into wake-up states, and again execute step 201.
Step 204, the mark for being recorded in second terminal entrained by the second heartbeat signal received in the first duration.
For center gateway after determination needs to carry out data update, can receive second terminal transmission carries second end Second heartbeat signal of the mark at end, and record second terminal entrained by the second heartbeat signal received in the first duration Mark, the second terminal can be the terminal in the terminal connect with central network connection in addition to first terminal, first duration At the time of initial time is that center gateway receives the first heartbeat signal, and first duration can deposit in advance in gateway centered on The fixation duration of storage.
In embodiments of the present invention, the mark of the second terminal is used for the unique identification second terminal, and optionally, this second The mark of terminal can be the address of the second terminal, or the sequence number of second terminal.
The mark of step 205, the mark based on first terminal and second terminal, will more new data synchronous transfer to first eventually End and second terminal.
In conclusion center gateway is receiving first terminal the embodiment of the invention provides a kind of data transmission method After the first heartbeat signal sent, however, it is determined that need to carry out data update, then can recorde the received in the first duration The mark of second terminal entrained by two heartbeat signals, and the mark of the mark based on first terminal and second terminal will update number According to synchronous transfer to first terminal and second terminal.Due to center gateway can will more new data synchronous transfer to first terminal and Second terminal, therefore help to improve the flexibility of data transmission.
Fig. 3 is the flow chart of another data transmission method provided in an embodiment of the present invention, and this method can be applied to Fig. 1 Shown in first terminal 120.As shown in figure 3, this method may include:
Step 301, Xiang Zhongxin gateway send the first heartbeat signal for carrying the mark of first terminal.
In embodiments of the present invention, which can be any terminal in the terminal connect with central network connection.It should First terminal is generally in sleep state, and keeps connecting with center gateway in a manner of heartbeat, which can be every the Four durations enter wake-up states from sleep state, and the first heartbeat letter for the mark for carrying first terminal is sent to center gateway Number.Optionally, the mark of the first terminal can be the address of the first terminal, or may be the sequence of the first terminal Number.4th duration can be pre-stored fixed duration in first terminal.Exemplary, the 4th duration can be 1 hour.
Step 302, the more new data for receiving the transmission of center gateway.
The more new data is that center gateway receives the first heartbeat signal, and determination needs to carry out data update, and is recorded in After the mark of second terminal entrained by the second heartbeat signal received in first duration, the mark based on first terminal and The mark synchronous transfer of two terminals.
Wherein, to be second terminal send second heartbeat signal to center gateway, and second terminal can be and central network Correlate the terminal in the terminal that connects in addition to first terminal, the initial time of first duration can receive the by gateway centered on At the time of heart beat signal.
In conclusion first terminal can be sent out to center gateway the embodiment of the invention provides a kind of data transmission method The first heartbeat signal for carrying the mark of first terminal is sent, and receives the more new data of center gateway transmission, more new data is for this Center gateway needs to carry out data update in determination, and is recorded in entrained by the second heartbeat signal received in the first duration After the mark of second terminal, the mark synchronous transfer of mark and second terminal based on first terminal.Since center gateway can With will more new data synchronous transfer to first terminal and second terminal, therefore help to improve the flexibility of data transmission.
Fig. 4 is another data transmission method flow chart provided in an embodiment of the present invention, and this method can be applied to Fig. 1 institute In the second terminal 130 shown.As shown in figure 4, this method may include:
Step 401, Xiang Zhongxin gateway send the second heartbeat signal for carrying the mark of second terminal.
In embodiments of the present invention, which can be to be correlated in the terminal connect with central network in addition to first terminal Terminal, the first terminal can for any terminal in the terminal that connects of central network connection.The mark of the second terminal is used for The unique identification second terminal, optionally, the mark of the second terminal can be the address of the second terminal, or may be The sequence number of second terminal.
The second terminal terminal is generally in sleep state, and keeps connecting with center gateway in a manner of heartbeat, this second Terminal can enter wake-up states from sleep state every the 4th duration, and the mark for carrying second terminal is sent to center gateway The second heartbeat signal known.
Step 402, the more new data for receiving the transmission of center gateway.
The more new data is first heart of the mark for carrying first terminal that center gateway receives first terminal transmission Signal is jumped, determination needs to carry out data update, and is recorded in entrained by the second heartbeat signal received in the first duration the After the mark of two terminals, the mark synchronous transfer of mark and second terminal based on first terminal.Wherein, first duration Initial time can be at the time of gateway receives the first heartbeat signal centered on.
In conclusion second terminal can be sent out to center gateway the embodiment of the invention provides a kind of data transmission method The second heartbeat signal for carrying the mark of second terminal is sent, and receives the more new data of center gateway transmission, more new data is for this Center gateway receives the first heartbeat signal of the mark for carrying first terminal of first terminal transmission, needs to carry out in determination Data update, and after being recorded in the mark of second terminal entrained by the second heartbeat signal received in the first duration, are based on The mark synchronous transfer of the mark and second terminal of first terminal.Due to center gateway can will more new data synchronous transfer extremely First terminal and second terminal, therefore help to improve the flexibility of data transmission.
Fig. 5 is the flow chart of another data transmission method provided in an embodiment of the present invention, and this method can be applied to Fig. 1 Shown in implementation environment.As shown in figure 5, this method may include:
Step 501, first terminal send the first heartbeat signal for carrying the mark of first terminal to center gateway.
Wherein, which can be to correlate any terminal connect with central network.The mark of the first terminal is for only One identifies the first terminal.Optionally, the mark of the first terminal can be the address of the first terminal, or may be should The sequence number of first terminal.
In embodiments of the present invention, which is generally in sleep state, and is protected in a manner of heartbeat with center gateway Connection is held, which can enter wake-up states from sleep state every the 4th duration, and sends and carry to center gateway First heartbeat signal of the mark of first terminal.4th duration can be the pre-stored fixed duration of first terminal, example , the 4th duration can be 1 hour.
Step 502, center gateway detect whether to need to carry out data update.
In embodiments of the present invention, center gateway and host computer can also be connected by cable network or wireless communication Connect, the host computer can every the 5th duration to center gateway send a data, correspondingly, center gateway receive it is upper After the data that machine is sent, it can store the data and the status information of the data be identified as not more new state.Exemplary, this Five durations can be 1 month.
Center gateway can inquire multiple data of its storage after the first heartbeat signal for receiving first terminal transmission Status information can determine without carrying out data update, hold if the status information of multiple data is more new state Row step 503.If it is determined that existence information is the data of not more new state, then it can determine and need to carry out data update, hold Row step 505.
Step 503, center gateway send heartbeat response to first terminal.
Center gateway is being determined without that can send heartbeat response to first terminal after carrying out data update.
Step 504, first terminal keep the sleep state of the 4th duration.
First terminal can be again introduced into sleep shape after receiving the heartbeat response of center gateway transmission from wake-up states State, and after keeping the 4th duration of sleep state, step 501 is executed again.
It should be noted that in step 501, first terminal can repeatedly be sent out after entering wake-up states to center gateway Heartbeat signal is sent, in the state that first terminal and center gateway keep communicating to connect, center gateway can be directed to first terminal The heartbeat signal sent every time sends heartbeat response, if first terminal does not receive the number of the heartbeat response of center gateway transmission More than benchmark number, then first terminal can be determined disconnects with central network pass.Later first terminal can again with center Gateway establishes communication connection.
The mark of first duration and more new data is sent to first terminal by step 505, center gateway.
Center gateway can send the first duration and the mark of more new data after determination needs to carry out data update To first terminal.Wherein, the initial time of first duration is center gateway at the time of receive the first heartbeat signal, and this One duration can be the pre-stored fixed duration of center gateway.The mark of the more new data can be the volume of the more new data Number, for example, the number of the more new data can be 00.Or the mark of the more new data may be the circulation of the more new data Redundancy check code (cyclic redundancy check, CRC) code.
Optionally, it is not any one data in multiple data of more new state which, which can be status information, Or may be the center gateway data recently received from host computer, it is not limited in the embodiment of the present invention.
In embodiments of the present invention, the length of more new data can also be sent to first terminal by center gateway.The update The length of data is used to indicate the size of the more new data.Exemplary, the length of more new data can be 12 Mbytes (megabyte, MB).
Step 506, first terminal detect whether to be stored with more new data.
In embodiments of the present invention, the multiple data and every number of the transmission of center gateway be can store in first terminal According to mark, receive center gateway transmission more new data mark after, first terminal can be by the mark of the more new data Knowledge is compared with the mark of its multiple data stored, if first terminal stores the mark of the more new data, shows that first is whole End is stored with the more new data, then first terminal can execute step 504.If the mark of the not stored more new data of first terminal Know, shows the not stored more new data of first terminal, then can execute step 507.
Step 507, first terminal keep the sleep state of the first duration.
First terminal can be again introduced into sleep state after the mark for determining the not stored more new data, and keep the Wake-up states are again introduced into after the sleep state of one duration.Wherein, first duration is less than the 4th duration.
Step 508, second terminal send the second heartbeat signal for carrying the mark of second terminal to center gateway.
Wherein, the second terminal can for the terminal in the terminal that connects of central network connection in addition to first terminal, this The mark of two terminals is used for the unique identification second terminal.Second heartbeat signal is that center gateway needs to carry out data in determination After update, the heartbeat signal of the second terminal transmission received in the first duration.Optionally, the mark of the second terminal can be with It for the address of the second terminal, or may be the sequence number of the second terminal.
The mark of second duration and more new data is sent to second terminal by step 509, center gateway, and records second The mark of terminal.
Center gateway by the second duration and can update number after the second heartbeat signal for receiving second terminal transmission According to mark be sent to second terminal, and record the mark of the second terminal.Wherein, second duration is less than the first duration, and At the time of the initial time of second duration is that center gateway receives second heartbeat signal, the end time of second duration It is identical as the end time of the first duration.
Step 510, second terminal detect whether to be stored with more new data.
In embodiments of the present invention, the multiple data and each data of the transmission of center gateway are stored in second terminal Mark, receive center gateway transmission more new data mark after, second terminal can by the mark of the more new data with The mark of its multiple data stored is compared, if second terminal stores the mark of the more new data, shows that second terminal is deposited The more new data is contained, then second terminal can execute step 511.If the mark of the not stored more new data of second terminal, table The not stored more new data of bright second terminal, then can execute step 512.
Step 511, second terminal keep the sleep state of the 4th duration.
Second terminal can be again introduced into sleep state, and protecting after determination is stored with more new data from wake-up states After holding the 4th duration of sleep state, step 508 is executed again.
Step 512, second terminal keep the sleep state of the second duration.
Second terminal determine it is not stored have more new data after, can be again introduced into sleep state from wake-up states, and Wake-up states are again introduced into after keeping the sleep state of the second duration.Wherein, second duration is less than the 4th duration.
It should be noted that in the first duration, center gateway can receive that multiple second terminals send multiple the Two heartbeat signals, the second heartbeat signal that each second terminal is sent to center gateway can carry the mark of the second terminal, Center gateway can be different at the time of receiving the second heartbeat signal that multiple second terminals are sent, can also be identical.If center Difference at the time of gateway receives the second heartbeat signal that different second terminals are sent, then the difference second terminal is not deposited in determination After containing more new data, it is different to keep dormant duration, and the difference second terminal is again introduced into from sleep state and calls out (that is to say at the time of being again introduced into wake-up states from sleep state wake up moment) is identical at the time of the state of waking up, when the wake-up Carve it is identical with the end time of the first duration, that is to say multiple second terminal the end time of the first duration from sleep shape State is again introduced into wake-up states.
The mark of step 513, center gateway mark and second terminal based on first terminal, by the synchronous biography of data packet sum Transport to first terminal and second terminal.
In embodiments of the present invention, which may include data packet sum.When reaching the termination of the first duration After quarter, center gateway can mark and second terminal based on first terminal mark, by data packet sum synchronous transfer to One terminal and second terminal.Correspondingly, the first terminal and the second terminal be after the end time for reaching the first duration, from Sleep state is again introduced into wake-up states, and receives the data packet sum of center gateway transmission.
Optionally, center gateway can also be by the mark synchronous transfer of more new data to first terminal and second terminal.
The mark of step 514, center gateway mark and second terminal based on first terminal, several times by multiple data packets Synchronous transfer is to first terminal and second terminal.
In embodiments of the present invention, which can also include the order of transmission of multiple data packets and each data packet Number.Center gateway is also based on the mark of first terminal and the mark of second terminal, and multiple data packet is synchronized several times It is transmitted to first terminal and second terminal.
Optionally, for the target packet in multiple data packet, center gateway is every time to first terminal and second It, can be to first terminal and the second terminal synchronous transfer target packet and the mesh when terminal synchronous transfer target packet Mark the order of transmission number of data packet.It that is to say, for each data packet, center gateway can be to first terminal and second terminal The data packet is transmitted several times.Wherein, which is any data packet in multiple data packets, and the order of transmission number is little In frequency threshold value.Exemplary, which can be 2.If order of transmission number is 1, which indicates center gateway It is the 1st time to first terminal and the second terminal synchronous transfer target packet.
Correspondingly, for the target packet in multiple data packets, first terminal is in receiving by taking first terminal as an example After the target packet of heart gateway transmission and the order of transmission number of the target packet, the data packet received can detecte Whether number is less than data packet sum and whether the order of transmission number of the target packet is less than frequency threshold value.If receiving Data packet number no more than data packet sum, and the order of transmission number of the target packet is less than frequency threshold value, then first Next data packet that central network closes the target packet of transmission is received after the sleep state of terminal holding third duration.If receiving The number of the data packet arrived is no more than data packet sum, and the order of transmission number of the target packet is equal to frequency threshold value, then and the One terminal receives next data packet of the target packet of center gateway transmission.Wherein, a length of target data when the third The transmission duration of packet and the product of difference threshold, the difference threshold are the difference of the order of transmission number of frequency threshold value and target packet Value, the third duration is less than the 4th duration.
Exemplary by taking first terminal as an example, if data packet sum is 10, target packet is the in 10 data packets One data packet, frequency threshold value 2, then center gateway sends data packet sum 10 to the first terminal, and in first time to the When one terminal transmission, first data packet, first data packet and first data packet are transmitted to the first terminal Order of transmission number 1.
If first terminal receives first data packet and order of transmission number 1, the number received due to first terminal It is less than data packet sum 10 according to the number 1 of packet, and order of transmission number 1 is less than frequency threshold value 2, then first terminal can keep third The sleep state of duration.Center gateway is passed when transmitting first data packet to first terminal second to the first terminal The order of transmission number 2 of defeated first data packet and first data packet, since first terminal is in sleep state at this time, Then first terminal will not receive second of first data packet sent of center gateway and order of transmission number 2.Reach the After the end time of three durations, first terminal enters wake-up states from sleep state, and continues to the of the transmission of center gateway Two data packets, and so on, until 10 data packets are transmitted to first terminal by center gateway.
If first terminal does not receive first data packet and order of transmission number 1, during first terminal continues to The order of transmission number 2 of second of first data packet sent of heart gateway and first data packet, later, if first terminal The order of transmission number 2 for receiving first data packet and first data packet that center gateway second is sent, due to the The number 1 for the data packet that one terminal receives is less than data packet sum 10, and order of transmission number 2 is equal to frequency threshold value 2, then and first Terminal can stay awake for and central network to be received is waited to close second data packet sent.If first terminal does not receive yet The order of transmission number 2 of second of first data packet and first data packet sent of center gateway, shows first terminal First data packet for not receiving the transmission of center gateway can then stay awake for and central network to be received is waited to close transmission Second data packet, and so on, until 10 data packets are transmitted to first terminal by center gateway.
In embodiments of the present invention, which can also include the mark of each data packet, the mark of the data packet It can be the title of the data packet.Center gateway by multiple data several times synchronous transfer to first terminal and second terminal Afterwards, it can be sent to first terminal and second terminal and update acquisition of information instruction, so that first terminal and second terminal will update Information is sent to center gateway, and the more new information and second terminal that center gateway sends the first terminal received are sent more New information is sent to host computer, is determined the need for again from host computer to first terminal and second terminal transmission more new data. Wherein, more new information may include first terminal and the second terminal data packet number received and each data received The mark of packet.First terminal and second terminal will be again introduced into sleep state, and protect after more new information is sent to center gateway Step 501 is executed again after holding the sleep state of the 4th duration.
It should be noted that center gateway can be more to first terminal and second terminal synchronous transfer by the way of broadcast A data packet, in this process, center gateway can transmit each data packet to first terminal and second terminal, but be easy reason Solution, first terminal and second terminal may receive all data packets of center gateway transmission, it is also possible in only receiving The partial data packet of heart gateway transmission.
In embodiments of the present invention, since for each data packet, this can be transmitted several times to first terminal in center gateway Data packet, therefore help to improve reliability and accuracy that first terminal receives each data packet.Also, due to first Terminal is after receiving data packet, if order of transmission number is less than frequency threshold value, which enters sleep state, and in Enter wake-up states from sleep state when heart gateway transmits next data packet, therefore first terminal is without being always maintained at wake-up shape State facilitates the power consumption for reducing first terminal.
It should be noted that the sequencing of data transmission method step provided in an embodiment of the present invention can carry out suitably Adjustment, step can also be deleted according to circumstances.For example, step 503, step 504 and step 511 can be deleted according to circumstances It removes.Anyone skilled in the art in the technical scope disclosed by the present invention, the method that variation can be readily occurred in, It should be covered by the protection scope of the present invention, therefore repeat no more.
In conclusion center gateway is receiving first terminal the embodiment of the invention provides a kind of data transmission method After the first heartbeat signal sent, however, it is determined that need to carry out data update, then can recorde the received in the first duration The mark of second terminal entrained by two heartbeat signals, and the mark of the mark based on first terminal and second terminal will update number According to synchronous transfer to first terminal and second terminal.Due to center gateway can will more new data synchronous transfer to first terminal and Second terminal, therefore help to improve the flexibility of data transmission.
Fig. 6 is a kind of block diagram of data transmission device 60 provided in an embodiment of the present invention, which can answer For in center gateway 110 shown in FIG. 1.As shown in fig. 6, the device 60 may include: receiving module 601, logging modle 602 With transmission module 603.
Receiving module 601, the first heartbeat signal of the mark for carrying first terminal for receiving first terminal transmission, First terminal is to correlate any terminal connect with central network.
Logging modle 602, for being recorded in second received in the first duration when determination needs to carry out data update The mark of second terminal entrained by heartbeat signal, second terminal are to be correlated in the terminal connect with central network in addition to first terminal Terminal, the second heartbeat signal is second terminal to be sent to center gateway, and the initial time of the first duration is to receive first At the time of heartbeat signal.
Transmission module 603 will more new data synchronous transfer for the mark of mark and second terminal based on first terminal To first terminal and second terminal.
In conclusion center gateway is receiving first terminal the embodiment of the invention provides a kind of data transmission device After the first heartbeat signal sent, however, it is determined that need to carry out data update, then can recorde the received in the first duration The mark of second terminal entrained by two heartbeat signals, and the mark of the mark based on first terminal and second terminal will update number According to synchronous transfer to first terminal and second terminal.Due to center gateway can will more new data synchronous transfer to first terminal and Second terminal, therefore help to improve the flexibility of data transmission.
Optionally, updated data package includes: multiple data packets and data packet sum;With reference to Fig. 7, the transmission module 603, packet It includes:
First transmission submodule 6031, is used for data packet sum synchronous transfer to first terminal and second terminal;
Second transmission submodule 6032, for synchronous transfer to be whole to first terminal and second several times by multiple data packets End.
Optionally, more new data further include: the order of transmission number of each data packet.
Second transmission submodule 6032, is used for:
For the target packet in multiple data packets, every time to first terminal and second terminal synchronous transfer number of targets When according to packet, to the order of transmission number of first terminal and second terminal synchronous transfer target packet and target packet, number of targets According to any data packet that packet is in multiple data packets, order of transmission number is not more than frequency threshold value.
Optionally, as shown in figure 8, the device 60 further include:
Sending module 604, for when determine need to carry out data update after, by the first duration and the mark of more new data Knowledge is sent to first terminal, when so that first terminal determining not stored more new data based on the mark of more new data, keeps first The sleep state of duration.
Logging modle 602, for receiving the second heartbeat signal that second terminal is sent in the first duration.
The mark of second duration and more new data is sent to second terminal, and records the mark of second terminal, so that When second terminal determines not stored more new data based on the mark of more new data, the sleep state of the second duration is kept, wherein the Two durations are less than the first duration, and the initial time of the second duration is at the time of receiving the second heartbeat signal, the second duration End time is identical as the end time of the first duration.
In conclusion center gateway is receiving first terminal the embodiment of the invention provides a kind of data transmission device After the first heartbeat signal sent, however, it is determined that need to carry out data update, then can recorde the received in the first duration The mark of two terminals, and the mark of the mark based on first terminal and second terminal will more new data synchronous transfer to first terminal And second terminal.Since center gateway new data synchronous transfer can more will facilitate to first terminal and second terminal The flexibility of improve data transfer.
Fig. 9 is the block diagram of another data transmission device 90 provided in an embodiment of the present invention, which can be with Applied in first terminal 120 shown in FIG. 1.As shown in figure 9, the device 90 may include: sending module 901 and receiving module 902。
Sending module 901, for sending the first heartbeat signal for carrying the mark of first terminal to center gateway.
Receiving module 902, for receiving the more new data of center gateway transmission, more new data is that center gateway determines needs Data update is carried out, and after being recorded in the mark of second terminal entrained by the second heartbeat signal received in the first duration, The mark synchronous transfer of mark and second terminal based on first terminal.
Wherein, the second heartbeat signal is that second terminal is sent to center gateway, and first terminal is to connect with central network connection Terminal in any terminal, second terminal be with the terminal in the terminal that connects of central network connection in addition to first terminal, first At the time of the initial time of duration is that center gateway receives the first heartbeat signal.
In conclusion first terminal can be sent out to center gateway the embodiment of the invention provides a kind of data transmission device The first heartbeat signal for carrying the mark of first terminal is sent, and receives the more new data of center gateway transmission, more new data is for this Center gateway needs to carry out data update in determination, and is recorded in entrained by the second heartbeat signal received in the first duration After the mark of second terminal, the mark synchronous transfer of mark and second terminal based on first terminal.Since center gateway can With will more new data synchronous transfer to first terminal and second terminal, therefore facilitate the flexibility of data transmission.
Optionally, updated data package includes: multiple data packets and data packet sum;
With reference to Figure 10, receiving module 902, comprising:
First receiving module 9021, for receiving the data packet sum of center gateway transmission.
Second receiving module 9022, for receiving multiple data packets of center gateway transmission several times.
Optionally, more new data further include: the order of transmission number of each data packet.
Second receiving module 9022, is used for:
For the target packet in multiple data packets, the target packet and target data of the transmission of center gateway are received The order of transmission number of packet, target packet are any data packet in multiple data packets, and order of transmission number is not more than frequency threshold value.
If the number of the data packet received is no more than data packet sum, and the order of transmission number of target packet is less than secondary Number threshold value receives next data packet that central network closes the target packet of transmission after keeping the sleep state of third duration, the The transmission duration of a length of target packet and the product of difference threshold when three, difference threshold are frequency threshold value and target packet The difference of order of transmission number.
If the number of the data packet received is no more than data packet sum, and the order of transmission number of target packet is equal to secondary Number threshold value receives next data packet of the target packet of center gateway transmission.
In conclusion first terminal can be sent out to center gateway the embodiment of the invention provides a kind of data transmission device The first heartbeat signal for carrying the mark of first terminal is sent, and receives the more new data of center gateway transmission, more new data is for this Center gateway needs to carry out data update in determination, and is recorded in entrained by the second heartbeat signal received in the first duration After the mark of second terminal, the mark synchronous transfer of mark and second terminal based on first terminal.Since center gateway can With will more new data synchronous transfer to first terminal and second terminal, therefore help to improve the flexibility of data transmission.
Figure 11 is the block diagram of another data transmission device 111 provided in an embodiment of the present invention, which can To be applied in second terminal 130 shown in FIG. 1.As shown in figure 11, the apparatus may include: sending module 1101 and mould is received Block 1102.
Sending module 1101, for sending the second heartbeat signal for carrying the mark of second terminal to center gateway.
Receiving module 1102, for receiving the more new data of center gateway transmission, more new data is that center gateway receives First heartbeat signal of the mark for carrying first terminal that first terminal is sent, determination needs to carry out data update, and records After the mark of second terminal entrained by the second heartbeat signal received in the first duration, mark based on first terminal and The mark synchronous transfer of second terminal.
Wherein, first terminal is any terminal in the terminal connect with central network connection, and second terminal is and center gateway Terminal in the terminal of connection in addition to first terminal, the initial time of the first duration are that center gateway receives the first heartbeat letter Number at the time of.
In conclusion second terminal can be sent out to center gateway the embodiment of the invention provides a kind of data transmission device The second heartbeat signal for carrying the mark of second terminal is sent, and receives the more new data of center gateway transmission, more new data is for this Center gateway receives the first heartbeat signal of the mark for carrying first terminal of first terminal transmission, needs to carry out in determination Data update, and after being recorded in the mark of second terminal entrained by the second heartbeat signal received in the first duration, are based on The mark synchronous transfer of the mark and second terminal of first terminal.Due to center gateway can will more new data synchronous transfer extremely First terminal and second terminal, therefore help to improve the flexibility of data transmission.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
The embodiment of the invention provides a kind of data transmission devices, the apparatus may include memory, processor and storage Computer program on a memory, the data transmission device can be for center gateway provided by above-described embodiment, first eventually End or second terminal.When the device be above-described embodiment provided by center gateway when, the processor execute computer program when The part steps of the data transmission method of data transmission method shown in Fig. 2 and embodiment illustrated in fig. 5 offer are provided.When When the device is first terminal provided by above-described embodiment, which be may be implemented when executing computer program such as Fig. 3 institute The part steps for the data transmission method that the data transmission method and embodiment illustrated in fig. 5 shown provides.When the device is above-mentioned Provided by embodiment when second terminal, which may be implemented data transmission as shown in Figure 4 when executing computer program The part steps for the data transmission method that method and embodiment illustrated in fig. 5 provide.
The embodiment of the invention provides a kind of data transmission system, which may include in shown in FIG. 1 Heart gateway 110, first terminal 120 and second terminal 130.Wherein, which may include provided by the above embodiment Data transmission device.The first terminal 110 may include data transmission device provided by the above embodiment.The second terminal 130 It may include data transmission device provided by the above embodiment.
The embodiment of the invention provides a kind of computer readable storage medium, it is stored in the computer readable storage medium Instruction, when instruction is run on computers, so that computer executes data transmission method provided by the above embodiment.
The foregoing is merely alternative embodiments of the invention, are not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of data transmission method, which is characterized in that be applied to center gateway, which comprises
Receive first terminal send the mark for carrying the first terminal the first heartbeat signal, the first terminal be with The central network correlates any terminal connect;
When determination needs to carry out data update, it is recorded in second entrained by the second heartbeat signal received in the first duration The mark of terminal, the second terminal are the terminal in the terminal connect with central network connection in addition to the first terminal, Second heartbeat signal is that the second terminal is sent to the center gateway, and the initial time of first duration is to connect At the time of receiving first heartbeat signal;
The mark of mark and the second terminal based on the first terminal, will the more new data synchronous transfer to described the One terminal and the second terminal.
2. the method according to claim 1, wherein the updated data package includes: multiple data packets and data Packet sum;
It is described will more new data synchronous transfer to the first terminal and the second terminal, comprising:
By the data packet sum synchronous transfer to the first terminal and the second terminal;
By the multiple data packet several times synchronous transfer to the first terminal and the second terminal.
3. according to the method described in claim 2, it is characterized in that, the more new data further include: each data packet Order of transmission number;
It is described by the multiple data packet several times synchronous transfer to the first terminal and the second terminal, comprising:
For the target packet in the multiple data packet, passed every time to the first terminal is synchronous with the second terminal When the defeated target packet, target packet and the mesh described in Xiang Suoshu first terminal and the second terminal synchronous transfer The order of transmission number of data packet is marked, the target packet is any data packet in the multiple data packet, the transmission time Serial number is not more than frequency threshold value.
4. method according to any one of claims 1 to 3, which is characterized in that after determination needs to carry out data update, institute State method further include:
The mark of first duration and the more new data is sent to the first terminal, so that the first terminal base When the mark of the more new data determines the not stored more new data, the sleep state of first duration is kept;
The mark for being recorded in second terminal entrained by the second heartbeat signal received in the first duration, comprising:
Receive second heartbeat signal that the second terminal is sent in first duration;
The mark of second duration and the more new data is sent to the second terminal, and records the mark of the second terminal Know, when so that the second terminal determining the not stored more new data based on the mark of the more new data, keeps described the The sleep state of two durations, wherein second duration is less than first duration, and the initial time of second duration is At the time of receiving second heartbeat signal, the end time phase of the end time of second duration and first duration Together.
5. a kind of data transmission method, which is characterized in that be applied to first terminal, which comprises
The first heartbeat signal for carrying the mark of the first terminal is sent to center gateway;
The more new data of the center gateway transmission is received, the more new data is that the center gateway determination needs to carry out data It updates, and after being recorded in the mark of second terminal entrained by the second heartbeat signal received in the first duration, based on described The mark synchronous transfer of the mark and second terminal of first terminal;
Wherein, second heartbeat signal is that the second terminal is sent to the center gateway, the first terminal be with Any terminal in terminal that the central network connection connects, the second terminal are to remove in the terminal connect with central network connection Terminal other than the first terminal, the initial time of first duration are that the center gateway receives first heartbeat At the time of signal.
6. according to the method described in claim 5, it is characterized in that, the updated data package includes: multiple data packets and data packet Sum;
The more new data for receiving the center gateway transmission, comprising:
Receive the data packet sum of the center gateway transmission;
The multiple data packet of the center gateway transmission is received several times.
7. according to the method described in claim 6, it is characterized in that, the more new data further include: each data packet Order of transmission number;
The multiple data packet for receiving the center gateway transmission several times, comprising:
For the target packet in the multiple data packet, receive the center gateway transmission the target packet and The order of transmission number of the target packet, the target packet is any data packet in the multiple data packet, described Order of transmission number is not more than frequency threshold value;
If the number of the data packet received is no more than the data packet sum, and the order of transmission number of the target packet is small The next of the target packet of the center gateway transmission is received after frequency threshold value, the sleep state of holding third duration A data packet, when third a length of target packet transmission duration and difference threshold product, the difference threshold For the difference of the frequency threshold value and the order of transmission number of the target packet;
If the number of the data packet received is total no more than the data packet, and the order of transmission number etc. of the target packet In frequency threshold value, next data packet of the target packet of the center gateway transmission is received.
8. a kind of data transmission method, which is characterized in that be applied to second terminal, which comprises
The second heartbeat signal for carrying the mark of the second terminal is sent to center gateway;
The more new data of the center gateway transmission is received, the more new data is that the center gateway receives first terminal hair That send carries the first heartbeat signal of the mark of the first terminal, and determination needs to carry out data update, and is recorded in first After the mark of second terminal entrained by second heartbeat signal received in duration, the mark based on the first terminal With the mark synchronous transfer of the second terminal;
Wherein, the first terminal be with any terminal in the terminal that connects of central network connection, the second terminal be with Terminal in the terminal that the central network connection connects in addition to the first terminal, the initial time of first duration is described At the time of center gateway receives first heartbeat signal.
9. a kind of data transmission device, which is characterized in that be applied to center gateway, described device includes:
Receiving module, the first heartbeat signal of the mark for carrying the first terminal for receiving first terminal transmission, institute Stating first terminal is to correlate any terminal connect with the central network;
Logging modle, for when determination needs to carry out data update, being recorded in the second heartbeat letter received in the first duration The mark of second terminal entrained by number, the second terminal are in the terminal connect with central network connection except described first is whole Terminal other than end, second heartbeat signal are that the second terminal is sent to the center gateway, first duration Initial time be at the time of receive first heartbeat signal;
Transmission module, it is for the mark of mark and the second terminal based on the first terminal, the more new data is same Step is transmitted to the first terminal and the second terminal.
10. a kind of data transmission device, which is characterized in that be applied to first terminal, described device includes:
Sending module, for sending the first heartbeat signal for carrying the mark of the first terminal to center gateway;
Receiving module, for receiving the more new data of the center gateway transmission, the more new data is that the center gateway is true Surely it needs to carry out data update, and is recorded in the mark of second terminal entrained by the second heartbeat signal received in the first duration After knowledge, the mark synchronous transfer of mark and the second terminal based on the first terminal;
Wherein, second heartbeat signal is that the second terminal is sent to the center gateway, the first terminal be with Any terminal in terminal that the central network connection connects, the second terminal are to remove in the terminal connect with central network connection Terminal other than the first terminal, the initial time of first duration are that the center gateway receives first heartbeat At the time of signal.
11. a kind of data transmission device, which is characterized in that be applied to second terminal, described device includes:
Sending module, for sending the second heartbeat signal for carrying the mark of the second terminal to center gateway;
Receiving module, for receiving the more new data of the center gateway transmission, the more new data is that the center gateway connects The first heartbeat signal of the mark for carrying the first terminal of first terminal transmission is received, determination needs to carry out data more Newly, and after being recorded in the mark of second terminal entrained by second heartbeat signal received in the first duration, it is based on institute State the mark and the mark synchronous transfer of the second terminal of first terminal;
Wherein, the first terminal be with any terminal in the terminal that connects of central network connection, the second terminal be with Terminal in the terminal that the central network connection connects in addition to the first terminal, the initial time of first duration is described At the time of center gateway receives first heartbeat signal.
12. a kind of data transmission device characterized by comprising memory, processor and the meter being stored on the memory Calculation machine program, the processor realize transmission side data as described in any of the claims 1 to 8 when executing the computer program Method.
13. a kind of data transmission system, which is characterized in that the data transmission system includes: center gateway, first terminal and Two terminals, the center gateway include the data transmission device as described in claim 9 or 12;The first terminal includes as weighed Benefit require 10 or 12 described in data transmission device;The second terminal includes the data transmission as described in claim 11 or 12 Device.
14. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium, When described instruction is run on computers, so that computer executes transmission side data as described in any of the claims 1 to 8 Method.
CN201910923687.9A 2019-09-27 2019-09-27 Data transmission method, apparatus and system Pending CN110535975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910923687.9A CN110535975A (en) 2019-09-27 2019-09-27 Data transmission method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910923687.9A CN110535975A (en) 2019-09-27 2019-09-27 Data transmission method, apparatus and system

Publications (1)

Publication Number Publication Date
CN110535975A true CN110535975A (en) 2019-12-03

Family

ID=68670591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910923687.9A Pending CN110535975A (en) 2019-09-27 2019-09-27 Data transmission method, apparatus and system

Country Status (1)

Country Link
CN (1) CN110535975A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060077940A1 (en) * 2004-10-13 2006-04-13 Jp Mobile Operating, L.P. Communication system and method with mobile devices
US20160306619A1 (en) * 2013-11-26 2016-10-20 China Unionpay Co., Ltd. Method and device for remotely updating application program
CN107071038A (en) * 2017-04-21 2017-08-18 深圳市斑点猫信息技术有限公司 A kind of method and device of transmitting multimedia data
US20190159281A1 (en) * 2016-07-27 2019-05-23 Telefonaktiebolaget Lm Ericsson (Publ) Managing Sleep Cycles in a Wireless Communications System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060077940A1 (en) * 2004-10-13 2006-04-13 Jp Mobile Operating, L.P. Communication system and method with mobile devices
US20160306619A1 (en) * 2013-11-26 2016-10-20 China Unionpay Co., Ltd. Method and device for remotely updating application program
US20190159281A1 (en) * 2016-07-27 2019-05-23 Telefonaktiebolaget Lm Ericsson (Publ) Managing Sleep Cycles in a Wireless Communications System
CN107071038A (en) * 2017-04-21 2017-08-18 深圳市斑点猫信息技术有限公司 A kind of method and device of transmitting multimedia data

Similar Documents

Publication Publication Date Title
TW550905B (en) Method of clock synchronization and medium access controller applied in wireless local network
CN104244381B (en) Wake-up control method, device and terminal device
EP2800409B1 (en) A method and technical equipment for short range data transmission
CN102904766B (en) Baud rate identification method and device for serial communication and monitoring equipment
CA2804189C (en) Method and system for tracking mobile electronic devices while conserving cellular network resources
CN101137960A (en) Mobility enabled system architecture software architecture and application programing interface
CN110035556A (en) The processing method and terminal of conflict in process of communication service
CN107743154B (en) Tracking and attendance system based on Wi-Fi intelligent terminal and method thereof
CN106789498A (en) The network address assignment method of Modbus communication networks, from node device and communication system
CN107197509A (en) heartbeat connection method and device
CN109379735A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
US20110051601A1 (en) Method and apparatus for enhanced packet traffic arbitration
CN110050456A (en) Relaying in LPWAN communication system
CN108924219A (en) The method, apparatus and system of remote operation terminal
CN110351827A (en) A kind of wireless self-networking method and system based on Sub-GHz
CN110290187A (en) Transmission method and device, storage medium, the electronic device of data information
CN107749789B (en) Time synchronization method and related device
CN106302459A (en) Networking operational approach and device
CN105940658B (en) A kind of transmission method of user data, device and terminal
CN110035506A (en) A kind of communication means and relevant device
CN107968848A (en) A kind of method, terminal device and storage medium for obtaining IP address
CN110535975A (en) Data transmission method, apparatus and system
CN109392078A (en) Signal detection, sending method and device, remote user equipment
CN107493312A (en) A kind of service calling method and device
CN116321253A (en) Ad hoc network simulation test method and device, terminal equipment and readable 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191203