Summary of the invention
For above-mentioned defect, the embodiment of the present invention provides a kind of synchronous data transmission method, improves synchronous data transmission efficiency.
Embodiment of the present invention first aspect provides a kind of synchronous data transmission method, comprising:
In lead code, increase the destination address of receiving node;
Transmission adds the lead code of receiving node destination address, so that described receiving node judges whether to receive the Frame under this lead code according to the destination address in this lead code when receiving lead code.
Second aspect present invention also provides a kind of synchronous data transmission method, comprising:
The lead code of co-channel Frame in reception and sending node synchronous transmission frequency, and resolve the destination address carrying in described lead code;
If described destination address conforms to self physical address, receive the Frame under described lead code;
If described destination address and self physical address are not inconsistent, scan other channel in described synchronous transmission frequency.
Third aspect present invention also provides a kind of communication apparatus, comprising:
Setting unit, for increasing the destination address of receiving node in lead code;
Transmitting element, for sending the lead code that adds receiving node destination address, so that described receiving node judges whether to receive the Frame under this lead code according to the destination address in this lead code when receiving lead code.
Fourth aspect present invention also provides a kind of communication apparatus, comprising:
Receiving element, for receiving the lead code of co-channel Frame, and resolves the destination address carrying in described lead code;
Judging unit, if conform to self physical address for described destination address, receives the Frame under described lead code; If described destination address and self physical address are not inconsistent, scan other channel in described synchronous transmission frequency.
Fifth aspect present invention also provides a kind of Synthronous data transmission system, comprising: the communication apparatus providing as the third aspect and fourth aspect.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the synchronous data transmission method that the embodiment of the present invention provides, sending node is before sending lead code, by add the destination address that represents receiving node in lead code, then will add the lead code of destination address to send to receiving node, co-channel under receiving node scan-synchronized transmission frequency, when receiving co-channel (adjective) lead code, by analyzing the destination address in lead code, if destination address is the physical address of receiving node self, by the whole Frame under this lead code of reception, if destination address is not the physical address of self, scan other channel under this synchronous transmission frequency, analyze the destination address of lead code, receive the Frame that destination address meets self physical address, the lead code of the different channel under can scan-synchronized transmission frequency, the interference producing while avoiding synchronous transmitting data frame, effectively improve data synchronous transmission efficiency.
Embodiment
Below in conjunction with the accompanying drawing of the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of synchronous data transmission method, can avoid the interference producing in synchronous data transmission process, improve synchronous data transmission efficiency, be applicable to national grid power information acquisition system, certainly, those skilled in the art will appreciate that technical scheme provided by the present invention is also applicable to taxation information acquisition system, traffic information acquisition system etc., in this no limit.Correspondingly, in the embodiment of the present invention, also provide a kind of Synthronous data transmission system and associated communication, will be described in detail the embodiment of the present invention below, referred to Fig. 1 to Fig. 2-c.
As shown in Figure 1, a kind of synchronous data transmission method, comprising:
110, in lead code, increase the destination address of receiving node;
Wherein, in cordless communication network, the up task at sending node place and descending task may occur simultaneously, in order to realize up task and descending tasks synchronization is carried out, by sending in lead code, add cell type information and identification information, while making receiving node obtain lead code, just can judge whether synchronously to receive the Frame under this group lead code by flag information.Further, improve between node and node bidirectional data transfers efficiency and transfer of data is not interfere with each other.
120, send the lead code add receiving node destination address, so that described receiving node judges whether to receive the Frame under this lead code according to the destination address in this lead code when receiving lead code.
Wherein, utilize the mode of the destination address increase receiving node in lead code, the destination address in the lead code that receiving node can receive by analysis judges whether to receive the Frame under this lead code,
Sending node in the embodiment of the present invention is by sending lead code, realize the synchronous of transfer of data frequency, and before sending lead code, in lead code, increase the destination address of receiving node, make receiving node when receiving lead code according to the destination address in lead code, judge and need to receive the affiliated Frame of this lead code, still will abandon receiving the affiliated Frame of this lead code.The embodiment of the present invention can improve synchronous data transmission efficiency, guarantees that synchronous data transmission does not interfere with each other.
Above-described embodiment is from sending node, and by the angle from receiving node, embodiments of the present invention is further illustrated below.
The embodiment of the present invention also provides a kind of synchronous data transmission method, can comprise: the lead code of co-channel Frame in reception and sending node synchronous transmission frequency, and resolve the destination address carrying in described lead code; If described destination address conforms to self physical address, receive the Frame under described lead code; If described destination address and self physical address are not inconsistent, scan other channel in described synchronous transmission frequency.Wherein, the co-channel reception lead code under receiving node scan-synchronized transmission frequency, the destination address carrying in lead code judges whether to receive the Frame under this lead code, reduces the interference of transceiving data frame, improves synchronous data transmission efficiency.
Particularly, as shown in Figure 2, a kind of synchronous data transmission method can comprise:
210, the lead code of co-channel Frame in reception and sending node synchronous transmission frequency;
Wherein, owing to being synchronous transmitting data between node, node also channel under scan-synchronized transmission frequency when sending data, when receiving lead code, carries out labor to the destination address in lead code.
Additionally, for a Frame, may there is N group lead code, this N is more than or equal to 1 positive integer, the transmitting time that sending node sends this N group lead code in embodiments of the present invention wants to cover the total time of receiving node scan-synchronized transmission frequency channel, wherein, as shown in Fig. 2-a, Fig. 2-a be in the embodiment of the present invention transmission frequency synchronous realize schematic diagram, wherein, sending node, before sending each group lead code, increases destination address in lead code, send after lead code, then send valid data in the affiliated Frame of lead code.Receiving node adopts the scan mechanism of transfer of data frequency, and sending node sends the transmitting time of N group lead code, at least will be equal to the total time of receiving node scan-synchronized transmission channel.Make both sides complete data frame transfer synchronous.
220, judge whether the destination address that carries in described lead code conforms to self physical address;
Wherein, at receiving node, receive after lead code, by the destination address in lead code, judge, whether conform to self physical address.
If 230 described destination addresses conform to self physical address, turn to step 250;
Wherein, the destination address by judgement in lead code, if destination address is exactly the physical address of receiving node, by the Frame receiving under this lead code.
If 240 described destination addresses and self physical address are not inconsistent, turn to step 260;
Wherein, at judgement destination address while not being self physical address, abandon the Frame under this lead code.
250, receive the affiliated Frame of described lead code;
260, scan other channel outside channel described in described synchronous transmission frequency, turn to step 210.
Wherein, if the destination address in lead code is not the physical address of receiving node self, continue other channel under scan-synchronized transmission frequency, then receive the lead code of the transmission under other channel, continue to look for the lead code meeting with physical address own.
In embodiments of the present invention, receiving node scan-synchronized transmission channel, receive the lead code under co-channel, whether the destination address that judges lead code is the physical address of self, if, receive the affiliated Frame of this lead code, if not, continue other channel under scan-synchronized transmission channel, continue to search the lead code that destination address conforms to physical address own, sending node is by being added to the simple operations of the destination address of receiving node in lead code, make receiving node can find as soon as possible the Frame that sends to oneself, improve the efficiency that receiving node receives data, and then improved the efficiency of synchronous data transmission.
As shown in Fig. 2-b to Fig. 2-c, in practical operation, suppose to have upstream node A, C and descendant node B, D, wherein, as shown in Fig. 2-b, node A sends Frame on channel CH0, Frame will send to Node B, and then in the lead code of Frame, increase the destination address of Node B, when Node B and node D scan channel CH0, receive the lead code that A node sends, the destination address that Node B is carried in lead code by analysis, conform to self physical address, and then the Frame of reception A transmission, and node D knows that destination address and self physical address in lead code are not inconsistent by analysis, abandon this Frame, transfer other channel under scan-synchronized transmission frequency.As shown in Fig. 2-c, node C sends Frame on channel CH5, Frame will send to node D, and the lead code that now node D is just sending on channel CH0 at receiving node A, it is not oneself that node D is resolved to destination node address before node A sends Frame in lead code, abandon receiving the Frame that A sends, and then node D continues scanning, in the time of on scanning CH5 channel, receive the lead code that node C sends, receive this lead code and this lead code is analyzed, know that destination address in lead code conforms to self physical address, receive this Frame.
As shown in Figure 3, the embodiment of the present invention also correspondingly provides a kind of communication apparatus 300, can comprise:
Setting unit 310, for increasing the destination address of receiving node in lead code;
Transmitting element 320, for sending the lead code that adds receiving node destination address, so that described receiving node judges whether to receive the Frame under this lead code according to the destination address in this lead code when receiving lead code.
The communication apparatus 300 that the embodiment of the present invention provides comprises setting unit 310 and transmitting element 320, setting unit 310 is by before sending Frame, utilize lead code to increase the destination address of receiving node, after by transmitting element 320, sent, make receiving node according to the destination address in lead code, clearly need the Frame receiving, transceiving data frame is carried out smoothly, exempt to send on different channel at one time the loss of data, in semiduplex transmission mode, realized the transmitted in both directions efficiency of data.As shown in Figure 4, the embodiment of the present invention also provides a kind of communication apparatus 400 on the other hand, can comprise:
Receiving element 410, for receiving the lead code of co-channel Frame, and resolves the destination address carrying in described lead code;
Judging unit 420, if conform to self physical address for described destination address, receives the Frame under described lead code; If described destination address and self physical address are not inconsistent, scan other channel in described synchronous transmission frequency.
In embodiments of the present invention, receiving element is when scanning the lead code of sending under co-channel, receive after lead code, judging unit is analyzed the destination address in lead code, if destination address is the physical address of self, by the Frame under this lead code of reception, if not, abandon this Frame, if the destination address in lead code is the physical address of self, receive the affiliated Frame of this lead code.
As shown in Figure 5 and Figure 6, the embodiment of the present invention also provides a kind of Synthronous data transmission system 500, can comprise communication apparatus 300 as shown in Figure 3, and communication apparatus as shown in Figure 4 400;
Wherein, communication apparatus 300 comprises: setting unit 310, for increase the destination address of receiving node in lead code;
Transmitting element 320, for sending the lead code that adds receiving node destination address, so that described receiving node judges whether to receive the Frame under this lead code according to the destination address in this lead code when receiving lead code.
Communication apparatus 400 comprises: receiving element 410, for receiving the lead code of co-channel Frame, and resolve the destination address carrying in described lead code;
Judging unit 420, if conform to self physical address for described destination address, continues to receive the Frame under described lead code; If described destination address and self physical address are not inconsistent, abandon receiving these frame data, scan other channel in described synchronous transmission frequency.
Communication apparatus 300 is by before sending Frame in embodiments of the present invention, in lead code, increase the destination address of communication apparatus 400, so that communication apparatus 400 judges whether it is self physical address according to the destination address in lead code, if, receive this Frame, if not, abandon this Frame, continue scanning with other channel under transmission frequency.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
Above a kind of synchronous data transmission method provided by the present invention, equipment and system are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.