CN106412119A - Data distribution method and device - Google Patents
Data distribution method and device Download PDFInfo
- Publication number
- CN106412119A CN106412119A CN201611035511.2A CN201611035511A CN106412119A CN 106412119 A CN106412119 A CN 106412119A CN 201611035511 A CN201611035511 A CN 201611035511A CN 106412119 A CN106412119 A CN 106412119A
- Authority
- CN
- China
- Prior art keywords
- service data
- terminal
- stored address
- data
- module
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a data distribution method. The operation data of rail transit equipment is obtained and sent to a terminal according to a pre-stored address. If no reading feedback instruction sent by the terminal is received, the operation data is stored, and after a preset time, the operation data is sent to the terminal according to the pre-stored address. When no reading feedback instruction sent by the terminal is received (namely, when the operation data is not read), a server stores the operation data and sends the operation data again after the preset time. When a receiver is not online or does not read the operation data, the unread operation data is sent multiple times so that the operation data can be sent to the terminal completely and read by the terminal, and the reliability of the rail transit equipment monitoring system is improved. In addition, in actual monitoring, a terminal can be added only by adding a terminal address in the server, and thus, the expansibility of the rail transit equipment monitoring system is improved.
Description
Technical field
The invention belongs to field of track traffic, more particularly, to a kind of data distributing method and device.
Background technology
Fast development with track transportation industry and extensive apply, due to the not service data to Transit Equipment
Carry out monitoring, equipment detection with the time delay keeped in repair, leakage repair, by mistake repair the shortcomings of often occurs, therefore, Transit Equipment is monitored
System is arisen at the historic moment.In the monitoring system of Transit Equipment, most important link is will be complete for the service data of collection, timely
Be distributed to corresponding monitoring side, so could pinpoint the problems it is ensured that the trouble-free operation of Transit Equipment in time.
Currently running data distributing method adopt transmission control protocol (Transmission Control Protocol,
TCP) and UDP (User Datagram Protocol, UDP) pass through data collecting system directly by collection
Data is activation is to corresponding monitoring side.Using this distribution method, sender and the monitoring side of receiving data is needed to be simultaneously in
Presence, when any of which one side disconnects, all can cause loss of data, so lead to Transit Equipment monitoring system can
Low by property.
Content of the invention
The present invention provides a kind of data distributing method and device it is intended to solution Transit Equipment monitoring system reliability is low
Problem.
A kind of data distributing method that the present invention provides, including:Obtain the service data of Transit Equipment, and this is transported
Row data sends to terminal according to pre-stored address, if not receiving the reading feedback command of this terminal transmission, by this operation number
According to being stored, after preset time, this service data is sent to this terminal according to this pre-stored address.
A kind of data delivery device that the present invention provides, this device includes:Acquisition module and memory module;
Acquisition module is used for obtaining the service data of Transit Equipment, and this service data is sent according to pre-stored address
To terminal, if memory module is used for not receiving the reading feedback command of this terminal transmission, this service data is stored,
After preset time, this service data is sent to this terminal according to this pre-stored address.
A kind of data distributing method and device that the present invention provides, obtain the service data of Transit Equipment, and should
Service data sends to terminal according to pre-stored address, if not receiving the reading feedback command of this terminal transmission, this is run
Data is stored, and after preset time, this service data is sent to this terminal according to this pre-stored address.The present invention with existing
Technology is compared, and has the beneficial effects that:If do not receive the reading feedback command of this terminal transmission, that is, service data is not read
When taking, this service data is stored, is sent again after preset time, so, when recipient is not online or do not read
During this service data, the service data not read by multiple transmission is it is ensured that service data can completely is sent to this terminal quilt
Read, thus improve the reliability of Transit Equipment monitoring system, if in addition, in actual monitoring, needing to increase terminal,
Only need to increase the address of terminal in the server, improve the autgmentability of Transit Equipment monitoring system.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention.
Fig. 1 be first embodiment of the invention provide a kind of data distributing method realize schematic flow sheet;
Fig. 2 be second embodiment of the invention provide a kind of data distributing method realize schematic flow sheet;
Fig. 3 is a kind of structural representation of data delivery device that third embodiment of the invention provides;
Fig. 4 is a kind of structural representation of data delivery device that fourth embodiment of the invention provides.
Specific embodiment
For enabling the goal of the invention of the present invention, feature, advantage more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described the reality it is clear that described to the technical scheme in the embodiment of the present invention
Applying example is only a part of embodiment of the present invention, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment that member is obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, the data distributing method that Fig. 1 provides for first embodiment of the invention realize schematic flow sheet, can
It is applied in all servers with data processing, the data distributing method shown in Fig. 1 mainly includes the following steps that:
S101, the service data of acquisition Transit Equipment, and this service data is sent to terminal according to pre-stored address;
This service data is the data reflecting this Transit Equipment operation conditions.This pre-stored address is for this server in advance
The address of the terminal of storage.This terminal can be personal computer, notebook computer, smart mobile phone or panel computer.
If S102 does not receive the reading feedback command of this terminal transmission, this service data is stored, through preset
After time, this service data is sent to this terminal according to this pre-stored address.
This reading feedback command is used for confirming that this service data is read.Preset time is the time period pre-setting.
The embodiment of the present invention, obtains the service data of Transit Equipment, and this service data is sent out according to pre-stored address
Delivering to terminal, if not receiving the reading feedback command of this terminal transmission, this service data being stored, through preset time
Afterwards, this service data is sent to this terminal according to this pre-stored address.Therefore, if not receiving the reading feedback of this terminal transmission
During instruction, that is, service data is not read out, and this service data is stored by server, sends out again after preset time
Send, so, when recipient is not online or do not read this service data, the service data not read by multiple transmission, protect
Card service data can completely is sent to this terminal and is read, thus improve the reliability of Transit Equipment monitoring system,
If in addition, in actual monitoring, needing to increase terminal it is only necessary to increase the address of terminal in the server, improve rail
The autgmentability of road transit equipment monitoring system.
Refer to Fig. 2, the data distributing method that Fig. 2 provides for second embodiment of the invention realize schematic flow sheet, can
It is applied in all servers with data processing, the data distributing method shown in Fig. 1 mainly includes the following steps that:
The service data of this Transit Equipment that S201, receiving data acquisition system send, and this service data is entered
Row encapsulation;
This data collecting system is used for gathering the service data of this Transit Equipment.This service data is to reflect this track
The data of transit equipment operation conditions, wherein, this service data includes the identification code of this Transit Equipment.The embodiment of the present invention
This service data is encapsulated as by lightweight using Java Message Service device (Java Message Service, JMS) puppy parc
Data exchange (Java Script Object Notation, JSON) form.
S202, in preset information table search this pre-stored address corresponding with this identification code, and by encapsulate after operation
Data is inserted in the corresponding queue of this pre-stored address;
This preset information table is the information table being pre-stored in this server, including this Transit Equipment identification code with
The corresponding relation of this pre-stored address, wherein, this pre-stored address is the address of terminal, this pre-stored address can for one it is also possible to
For multiple, each pre-stored address one queue of correspondence.Server by ActiveMQ messaging bus by encapsulate after operation number
According to being inserted in the corresponding queue of this pre-stored address.
It should be noted that this server is sequentially inserted into the last position of this queue according to the order receiving this service data,
Arranging in the first service data of queue is the service data receiving at first.For example, if the data of insertion for the first time is inserted to third time
The service data entering is followed successively by A, B and C, when for the first time service data A being inserted into this queue, only has service data in this queue
A, when second service data B being inserted into this queue, service data A is in this queue first place, and service data B is in this queue
Last position, when for the third time service data C being inserted into this queue, service data A is in that this queue is the first, and service data C is in
This queue end position.
S203, extract the first service data of this queue, and according to this pre-stored address by the service data of extraction send to
This terminal;
It should be noted that this server extracts the first service data of this queue, carry in the service data receiving
The service data receiving at first is taken to send to terminal.For example, extract above-mentioned service data A the first positioned at queue, and by A according to
Pre-stored address sends to this terminal.
If the waiting time after S204 sends the service data of this extraction exceedes the preset waiting time it is determined that not receiving
To this reading feedback command;
This preset waiting time is the waiting time pre-setting, and can in the light of actual conditions be configured.For example, when send out
When to give the time of the service data of this extraction be the working time, this preset waiting time could be arranged to the shorter time, and such as 1
Second;When sending the time of service data of this extraction and being the time of having a rest, when this preset waiting time could be arranged to longer
Between, such as 1 minute.Server sends the service data of extraction to this terminal, if the waiting time exceedes this preset waiting time,
Then determine and do not receive this reading feedback command, that is, this service data is not read.
S205, the first service data in this queue is stored, and stop sending service data, until stopping sending
Waiting time after service data exceedes preset time;
This preset time is the time period set in advance.It should be noted that this preset waiting time can be preset with this
Time identical it is also possible to different.If this service data is not read, the first service data in this queue is stored,
And stop sending service data, so not only can prevent the service data being transmitted across from losing, can also be protected by storing process
Stay the data that terminal does not read, thus ensureing that the data being sent to this terminal is complete.For example, service data A is sent out by this server
After delivering to this terminal, after the waiting time exceedes this preset waiting time, determine and be not received by reading feedback command, number will be run
Stored according to A, stop sending service data B and C, until the time waiting exceedes this preset time.
If the waiting time after S206 stops sending service data exceedes this preset time, will according to this pre-stored address
The service data of storage sends to this terminal;
Alternatively, if the service data of storage is sent to this terminal, still without the reading receiving the transmission of this terminal
Feedback command, this server can send this service data according to preset transmission times to this terminal.Wherein, this preset time can
It is configured with the currently transmitted number of times according to this service data.As server sends this service data to terminal the 1st time
It is not received by reading feedback command, setting sends this service data after 10 seconds again;This service data is sent out for the 2nd time by server
It is not received by reading feedback command after delivering to terminal, setting sends this service data after 20 seconds again;And for example, this server
Once can be set to waiting time 5 seconds, waiting time can be set to 7 seconds second.
If the corresponding pre-stored address of this identification code of S207 is one, refer in the reading feedback receiving the transmission of this terminal
After order, delete the service data of this storage;
If the corresponding pre-stored address of this identification code is when one then it represents that this service data is the higher operation number of confidentiality
According to, receive this terminal transmission reading feedback command after, after that is, this service data is read, delete the operation of this storage
Data, so can ensure that this service data is not obtained the confidentiality it is ensured that this service data by other-end.For example, if will
Service data A receives the reading feedback command of this terminal transmission after being sent to this terminal, then delete service data A of storage
Remove.
Alternatively, if the corresponding pre-stored address of this identification code is multiple, this service data is sent to multiple terminals, that is,
Same service data is sent to multiple terminals with subscription/publication (Subscribe/Publish) pattern, so that multiple terminal
This service data is monitored simultaneously, improves monitoring efficiency.
If S208 receives the reading feedback command of this terminal transmission, extract and be currently at the first operation of this queue
Data;
S209, according to this pre-stored address, the service data of extraction is sent to this terminal.
If receiving the reading feedback command of this terminal transmission in this preset time, extracting and being currently at this queue head
The service data of position.It should be noted that receiving this reading feedback command is to extract to be currently at the first operation number of this queue
According to precondition, as long as receiving this reading feedback command it is possible to extracting this service data and carrying out according to pre-stored address
Send.
Illustrate, service data A is sent to this terminal, if receiving the reading feedback command of this terminal transmission,
Then extract and be currently at the first service data B of this queue, and send service data B to this terminal according to this pre-stored address.
In actual applications, if service data B is sent to this terminal, the reading feedback receiving the transmission of this terminal refers to
Order, then send being currently located at the first service data C of queue to this terminal, according to data above distribution method, will insert successively
The service data entering to queue sends to this terminal.
The service data of this Transit Equipment that embodiment of the present invention receiving data acquisition system sends, and to this operation
Data is packaged, and searches this identification code this pre-stored address corresponding in preset information table, and by the operation number after encapsulation
According to being inserted in the corresponding queue of this pre-stored address, extract the first service data of this queue, and will carry according to this pre-stored address
The service data taking sends to this terminal, if the waiting time after sending the service data of this extraction exceedes the preset waiting time,
Then determine and do not receive this reading feedback command, the first service data in this queue is stored, and stop sending operation
Data, exceedes preset time up to the waiting time stopping sending after service data, if after stopping sending this service data etc.
The time for the treatment of exceedes this preset time, then send the service data of storage to this terminal according to this pre-stored address, if this identification code
Corresponding pre-stored address is one, after this reading feedback command receiving the transmission of this terminal, deletes the operation number of this storage
According to if, receive the reading feedback command of this terminal transmission, extraction is currently at the first service data of this queue, according to this
Pre-stored address sends the service data of extraction to this terminal, so, when recipient is not online or do not read this service data
When, the service data not read by multiple transmission is it is ensured that service data can completely is sent to this terminal is read, thus carrying
The high reliability of Transit Equipment monitoring system, if in addition, in actual monitoring, needs to increase terminal it is only necessary in clothes
Increase the address of terminal in business device, improve the autgmentability of Transit Equipment monitoring system.
Refer to Fig. 3, Fig. 3 is the structural representation of the data delivery device that third embodiment of the invention provides, in order to just
In explanation, illustrate only the part related to the embodiment of the present invention.The data delivery device of Fig. 3 example can be aforementioned Fig. 1 and
The executive agent of the data distributing method that embodiment illustrated in fig. 2 provides, can be that one of server or server control mould
Block.The data delivery device of Fig. 3 example, main inclusion:Acquisition module 301 and memory module 302.Each functional module is detailed above
It is described as follows:
Acquisition module 301, for obtaining the service data of Transit Equipment, and by this service data according to pre-stored address
Send to terminal;
This service data is the data reflecting this Transit Equipment operation conditions.This pre-stored address is for this server in advance
The address of the terminal of storage.This terminal can be personal computer, notebook computer, smart mobile phone or panel computer.
Memory module 302, if for the reading feedback command not receiving the transmission of this terminal, this service data is carried out
Storage, after preset time, this service data is sent to this terminal according to this pre-stored address.
This reading feedback command is used for confirming that this service data is read.The time period that preset time pre-sets.
The details of not using up of the embodiment of the present invention refer to the first and second embodiments shown in Fig. 1 and Fig. 2, and here is no longer superfluous
State.
The embodiment of the present invention, acquisition module 301 is used for obtaining the service data of Transit Equipment, and by this service data
Send to terminal according to pre-stored address, if memory module 302 is used for not receiving the reading feedback command of this terminal transmission, will
This service data is stored, and after preset time, this service data is sent to this terminal according to this pre-stored address.Therefore,
If do not receive the reading feedback command of this terminal transmission, that is, service data is not read out, and server is by this operation number
According to being stored, send again after preset time, so, when recipient is not online or do not read this service data, lead to
Cross the service data that multiple transmission do not read it is ensured that service data can completely is sent to this terminal is read, thus improve
The reliability of Transit Equipment monitoring system, if in addition, in actual monitoring, needs to increase terminal it is only necessary in server
The middle address increasing terminal, improves the autgmentability of Transit Equipment monitoring system.
Refer to Fig. 4, Fig. 4 is the structural representation of the data delivery device that fourth embodiment of the invention provides, in order to just
In explanation, illustrate only the part related to the embodiment of the present invention.The data delivery device of Fig. 4 example can be aforementioned Fig. 1 and
The executive agent of the data distributing method that embodiment illustrated in fig. 2 provides, can be that one of server or server control mould
Block.The data delivery device of Fig. 4 example, main inclusion:Acquisition module 401 and memory module 402;Wherein, acquisition module 401 wraps
Include:Receiver module 411, insertion module 421 and the first sending module 431;Memory module 402 includes:Determining module 412, data
Memory module 422 and the second sending module 432, this device also includes:Removing module 403, extraction module 404 and the 3rd transmission mould
Block 405;Each functional module detailed description is as follows above:
Acquisition module 401, for obtaining the service data of Transit Equipment, and by this service data according to pre-stored address
Send to terminal;
Memory module 402, if for the reading feedback command not receiving the transmission of this terminal, this service data is carried out
Storage, after preset time, this service data is sent to this terminal according to this pre-stored address;
Further, acquisition module 401 includes:
Receiver module 411, the service data of this Transit Equipment sending for receiving data acquisition system, and to this
Service data is packaged;
This data collecting system is used for gathering the service data of this Transit Equipment.This service data is to reflect this track
The data of transit equipment operation conditions, wherein, this service data includes the identification code of this Transit Equipment.
Insertion module 421, for searching this pre-stored address corresponding with this identification code in preset information table, and will seal
Service data after dress is inserted in the corresponding queue of this pre-stored address;
This preset information table includes the identification code of this Transit Equipment and the corresponding relation of this pre-stored address, wherein,
This pre-stored address is the address of terminal, and this pre-stored address can be one or multiple, each pre-stored address corresponding
Individual queue.
First sending module 431, the service data the first for extracting this queue, and will extract according to this pre-stored address
Service data sends to this terminal;
This pre-stored address is the address of terminal.
Further, memory module 402 includes:
Determining module 412, if the waiting time for sending after the service data of this extraction exceed the preset waiting time,
Determine and do not receive this reading feedback command;
This preset waiting time is the waiting time pre-setting, and can in the light of actual conditions be configured.For example, when send out
When to give the time of the service data of this extraction be the working time, this preset waiting time could be arranged to the shorter time, and such as 1
Second;When sending the time of service data of this extraction and being the time of having a rest, when this preset waiting time could be arranged to longer
Between, such as 1 minute.
Data memory module 422, for being stored the first service data in this queue, and stops sending operation number
According to the waiting time sending after service data up to stopping exceedes this preset time;
This preset time is the time period set in advance.It should be noted that this preset waiting time can be preset with this
Time identical it is also possible to different.
Second sending module 432, if exceeding this preset time for the waiting time after stopping this service data of transmission,
According to this pre-stored address, the service data of storage is sent to this terminal.
Further, this device also includes:
Removing module 403, if be one for the corresponding pre-stored address of this identification code, is receiving the transmission of this terminal
After reading feedback command, delete the service data of this storage.
Further, this device also includes:
Extraction module 404, if for receive this terminal transmission reading feedback command when, extract be currently at this queue
The first service data;
3rd sending module 405, sends the service data of extraction to this terminal according to this pre-stored address.
The details of not using up of the embodiment of the present invention refer to the first and second embodiments shown in Fig. 1 and Fig. 2, and here is no longer superfluous
State.
In the embodiment of the present invention, receiver module 411 is used for the fortune of this Transit Equipment that receiving data acquisition system sends
Row data, and this service data is packaged, insertion module 421 is used for searching this identification code correspondence in preset information table
This pre-stored address, and by encapsulation after service data be inserted in the corresponding queue of this pre-stored address, the first sending module 431
The service data the first for extracting this queue, and according to this pre-stored address, the service data of extraction is sent to this terminal, really
If the waiting time after cover half block 412 is used for sending the service data of this extraction exceedes the preset waiting time it is determined that not receiving
To this reading feedback command, insert module 421 and the first service data in this queue is stored, and stop sending operation number
According to the waiting time sending after service data up to stopping exceedes preset time, if the first sending module 431 stops sending operation
Waiting time after data exceedes this preset time, then send the service data of storage to this terminal according to this pre-stored address,
If removing module 403 is used for the corresponding pre-stored address of this identification code is one, receiving this reading feedback of this terminal transmission
After instruction, delete the service data of this storage, if extraction module 404 is used for receiving the reading feedback command of this terminal transmission
When, extract and be currently at the first service data of this queue, the 3rd sending module 405 is used for extracting according to this pre-stored address
Service data sends to this terminal, so, when recipient is not online or do not read this service data, is sent not by multiple
The service data reading is it is ensured that service data can completely is sent to this terminal is read, thus improve Transit Equipment
The reliability of monitoring system, if in addition, in actual monitoring, need to increase terminal it is only necessary to increase terminal in the server
Address, improves the autgmentability of Transit Equipment monitoring system.
It should be understood that disclosed system, apparatus and method in multiple embodiments provided herein, permissible
Realize by another way.For example, device embodiment described above is only schematically, for example, described module
Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example multiple module or components
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or
The coupling each other discussing or direct-coupling or communication linkage can be by some interfaces, the indirect coupling of device or module
Close or communication linkage, can be electrical, mechanical or other forms.
The described module illustrating as separating component can be or may not be physically separate, show as module
The part showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.The mesh to realize this embodiment scheme for some or all of module therein can be selected according to the actual needs
's.
In addition, can be integrated in a processing module in each functional module in each embodiment of the present invention it is also possible to
It is that modules are individually physically present it is also possible to two or more modules are integrated in a module.Above-mentioned integrated mould
Block both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If described integrated module is realized and as independent production marketing or use using in the form of software function module
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products
Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for aforesaid each method embodiment, for easy description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not be all these
Bright necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
It is more than the description to data distributing method provided by the present invention and device, for those skilled in the art,
According to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this specification
Content should not be construed as limitation of the present invention.
Claims (10)
1. a kind of data distributing method is it is characterised in that methods described includes:
Obtain the service data of Transit Equipment, and described service data is sent to terminal according to pre-stored address;
If not receiving the reading feedback command that described terminal sends, described service data is stored, through preset time
Afterwards, described service data is sent to described terminal according to described pre-stored address.
2. method according to claim 1 is it is characterised in that the service data of described acquisition Transit Equipment, and will
Described service data sends to terminal according to pre-stored address, specifically includes:
The service data of the described Transit Equipment that receiving data acquisition system sends, and described service data is sealed
Dress, described service data includes the identification code of described Transit Equipment;
Search described pre-stored address corresponding with described identification code in preset information table, and the service data after encapsulation is inserted
Enter in the corresponding queue of described pre-stored address;
Extract the first service data of described queue, and send the service data of extraction to described end according to described pre-stored address
End.
If 3. method according to claim 2 is not it is characterised in that described receive the reading feedback that described terminal sends
Instruction, then stored described service data, after preset time, described service data sent according to described pre-stored address
To described terminal, specifically include:
If sending the waiting time after the service data of described extraction to exceed the preset waiting time it is determined that not receiving described reading
Take feedback command;
The first service data in described queue is stored, and stops sending service data, until stop sending running number
According to after waiting time exceed described preset time;
If the waiting time after stopping sending described service data exceedes described preset time, will deposit according to described pre-stored address
The service data of storage sends to described terminal.
4. method according to claim 3 it is characterised in that described according to described pre-stored address will store service data
Send to after described terminal, also include:
If the corresponding pre-stored address of described identification code is one, after receiving the reading feedback command that described terminal sends,
Delete the service data of described storage.
5. method according to claim 2 is it is characterised in that methods described also includes:
If receive the reading feedback command that described terminal sends, extract and be currently at the first service data of described queue;
According to described pre-stored address, the service data of extraction is sent to described terminal.
6. a kind of data delivery device is it is characterised in that described device includes:
Acquisition module, for obtaining the service data of Transit Equipment, and described service data is sent according to pre-stored address
To terminal;
Memory module, if for not receiving the reading feedback command that described terminal sends, described service data is stored up
Deposit, after preset time, described service data is sent to described terminal according to described pre-stored address.
7. device according to claim 6 is it is characterised in that described acquisition module includes:
Receiver module, the service data of the described Transit Equipment sending for receiving data acquisition system, and to described fortune
Row data is packaged, and described service data includes the identification code of described Transit Equipment;
Insertion module, for searching described pre-stored address corresponding with described identification code in preset information table, and will encapsulate
Service data afterwards is inserted in the corresponding queue of described pre-stored address;
First sending module, for extracting the service data of described queue first place, and the fortune that will extract according to described pre-stored address
Row data is activation is to described terminal.
8. device according to claim 7 is it is characterised in that described memory module includes:
Determining module, if for send described extraction service data after waiting time exceed the preset waiting time it is determined that
Do not receive described reading feedback command;
Data memory module, for being stored the first service data in described queue, and stops sending service data, directly
Exceed described preset time to the waiting time stopping sending after described service data;
Second sending module, if the waiting time for stopping sending after described service data exceedes described preset time, presses
According to described pre-stored address, the service data of storage is sent to described terminal.
9. device according to claim 8 is it is characterised in that described device also includes:
Removing module, if be one for the corresponding pre-stored address of described identification code, is receiving the reading that described terminal sends
After taking feedback command, delete the service data of described storage.
10. device according to claim 7 is it is characterised in that described device also includes:
Extraction module, if during for receiving reading feedback command that described terminal sends, extracts that to be currently at described queue first
The service data of position;
3rd sending module, for sending the service data of extraction to described terminal according to described pre-stored address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611035511.2A CN106412119A (en) | 2016-11-17 | 2016-11-17 | Data distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611035511.2A CN106412119A (en) | 2016-11-17 | 2016-11-17 | Data distribution method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106412119A true CN106412119A (en) | 2017-02-15 |
Family
ID=58081537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611035511.2A Pending CN106412119A (en) | 2016-11-17 | 2016-11-17 | Data distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412119A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103632414A (en) * | 2013-12-05 | 2014-03-12 | 中国铁道科学研究院 | Online monitoring and early warning device in subway train signaling system |
CN103957089A (en) * | 2014-04-28 | 2014-07-30 | 上海大学 | High-reliability linear speed data communication method |
CN104301203A (en) * | 2014-09-10 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Message pushing method and equipment |
CN104378274A (en) * | 2014-11-20 | 2015-02-25 | 中国船舶重工集团公司第七二六研究所 | Non-master network communication system based on CAN bus |
CN105071946A (en) * | 2015-07-03 | 2015-11-18 | 北京奇虎科技有限公司 | System monitoring method and device |
-
2016
- 2016-11-17 CN CN201611035511.2A patent/CN106412119A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103632414A (en) * | 2013-12-05 | 2014-03-12 | 中国铁道科学研究院 | Online monitoring and early warning device in subway train signaling system |
CN103957089A (en) * | 2014-04-28 | 2014-07-30 | 上海大学 | High-reliability linear speed data communication method |
CN104301203A (en) * | 2014-09-10 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Message pushing method and equipment |
CN104378274A (en) * | 2014-11-20 | 2015-02-25 | 中国船舶重工集团公司第七二六研究所 | Non-master network communication system based on CAN bus |
CN105071946A (en) * | 2015-07-03 | 2015-11-18 | 北京奇虎科技有限公司 | System monitoring method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104135424B (en) | A kind of application message method for pushing, server, terminal and system | |
CN107329861A (en) | A kind of multiplex roles method of testing and device | |
CN103209153B (en) | Message treatment method, Apparatus and system | |
CN106649729A (en) | Log running method and system, client and server | |
CN104092717A (en) | Message processing method and system, message destination end device and distributed message system | |
CN110278264B (en) | Block chain-based cross-link communication method and device and transaction system | |
CN110138867A (en) | File transmission and method of reseptance, computer equipment and storage medium | |
CN104679596A (en) | Message processing method and system for improving concurrence performance of server-side | |
CN104935612A (en) | Data processing method and server | |
CN104361692A (en) | Transaction monitoring method, ATM (Automatic Teller Machine) front-end system and ATM transaction system | |
CN105760134B (en) | A kind of data processing method and electronic equipment | |
CN105610730A (en) | Method and system for message interaction between CPU and network equipment | |
CN104407811B (en) | A kind of merging I/O device based on cloud computing | |
CN109934314A (en) | A kind of method for reading data and system of electric power Internet of Things electronic tag | |
CN111932798B (en) | Card-retaining processing method and device | |
CN101826145B (en) | Device and method for realizing label counting in radio frequency recognition system | |
CN110932393B (en) | Substation information protection master station system and data initialization method thereof | |
CN106412119A (en) | Data distribution method and device | |
CN107463450A (en) | The data processing method and device of container | |
CN106339265A (en) | Method and device for processing combined task | |
CN103368944A (en) | Memory shared network architecture and protocol specifications for same | |
CN104881694A (en) | Data read-write method, terminal and system based on RFID double protocols | |
CN102693582A (en) | IC card data interaction method and system and method and system for downloading loss report information | |
CN102073837A (en) | Device and method for realizing label counting in radio frequency identifying system | |
CN104615564A (en) | Data transmission method based on QPI bus and computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20170215 |