CN105635339A - Data transmission method and device among internal controllers of distributed device - Google Patents

Data transmission method and device among internal controllers of distributed device Download PDF

Info

Publication number
CN105635339A
CN105635339A CN201511032435.5A CN201511032435A CN105635339A CN 105635339 A CN105635339 A CN 105635339A CN 201511032435 A CN201511032435 A CN 201511032435A CN 105635339 A CN105635339 A CN 105635339A
Authority
CN
China
Prior art keywords
controller
link layer
layer address
internal
described target
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
CN201511032435.5A
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201511032435.5A priority Critical patent/CN105635339A/en
Publication of CN105635339A publication Critical patent/CN105635339A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3005Mechanisms for avoiding name conflicts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats

Abstract

The embodiment of the invention provides a data transmission method and device among internal controllers of a distributed device. The method comprises following steps: determining a target controller for receiving data; judging whether the target controller is an internal controller; if so, determining the controller number of the target controller; carrying out data encapsulation by taking the controller number as a destination address; obtaining the link layer address of the target controller through the controller number, wherein each controller in the distributed device is equipped with a unique controller number; and sending the encapsulated data to the target controller according to the link layer address. The internal communication of the distributed device is carried out through the controller number; the occupation of IP address resources is reduced; the internal communication and the external communication are distinguished clearly; the IP address resources are prevented from confusions and conflicts; and the distributed device can be deployed in a network conveniently.

Description

Data transmission method and device between a kind of distributed apparatus internal controller
Technical field
The present invention relates to communication technical field, particularly relate to data transmission method and device between a kind of distributed apparatus internal controller.
Background technology
In distributed apparatus, one device interior has multiple controller, each controller is respectively provided with the software system of oneself, need mutually to transmit data between these controllers of device interior, and in order to realize mutually transmitting data between distributed apparatus internal controller, it is necessary to a kind of for the intercommunicating method between distributed apparatus internal controller. At present, the intercommunication of distributed apparatus is carried out typically via IP address, each controller within distributed apparatus all distributes an IP address, when carrying out intercommunication, to carry out intercommunication with this target controller as destination address using the IP address of the target controller that need to communicate. But, between each distributed apparatus, when when between each controller, striding equipment carries out PERCOM peripheral communication, also generally use IP address to communicate, so, the intercommunication causing distributed apparatus is all employed IP address with PERCOM peripheral communication and carries out, take more IP address resource, easily cause IP address resource obscure and conflict, and be not conducive to distributed apparatus deployment in a network.
Summary of the invention
In view of this, the embodiment of the present invention provides data transmission method and device between a kind of distributed apparatus internal controller, all employ IP address and carry out solving the intercommunication of distributed apparatus and PERCOM peripheral communication in prior art, take more IP address resource, it is not conducive to distributed apparatus deployment in a network, and easily causes the problem that IP address resource is obscured and conflicted.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
Data transmission method between a kind of distributed apparatus internal controller, including:
Determine the target controller receiving data, it is judged that whether described target controller is internal controller;
If, then determine the controller number of described target controller, described controller number is carried out data encapsulation as destination address, and is obtained the link layer address of described target controller by described controller number, wherein, the controller number that in distributed apparatus, each controller has is all unique;
According to described link layer address, data after encapsulation are sent to described target controller.
Wherein, the described link layer address obtaining described target controller by described controller lookup includes:
Judge whether to find the controller number of described target controller in controller number to the mapping table of link layer address;
If finding, then obtain described controller number regional to the link layer that the controller number of target controller described in the mapping table of link layer address is corresponding, obtain the link layer address of described target controller;
If not finding, then broadcasting to all internal controllers, obtaining the link layer address of all internal controllers, choose, after all link layer address obtained, the link layer address obtaining described target controller.
Wherein, described also include from after choosing, after all link layer address obtained, the link layer address obtaining described target controller: be added into described controller number to the mapping table of link layer address by corresponding with the link layer address of described target controller for the controller number of described target controller.
Wherein, include before judging whether to search the controller number of described target controller described in controller number to the mapping table of link layer address:
Judge whether the controller number mapping table to link layer address;
If being absent from, then set up the controller number mapping table to link layer address.
Wherein, described link layer address is MAC Address.
Wherein, also include before the described target controller determining reception data:
All add unique mark for all controllers in distributed apparatus inside, obtain the controller number of the internal each controller of described distributed apparatus.
Data transmission device between a kind of distributed apparatus internal controller, including: judge module, package module and transport module; Wherein,
Described judge module, for determining the target controller receiving data, it is judged that whether described target controller is internal controller;
Described package module, for when described judge module judges described target controller as internal controller, determine the controller number of described target controller, described controller number is carried out data encapsulation as destination address, and the link layer address of described target controller is obtained by described controller number, wherein, the controller number that in distributed apparatus, each controller has is all unique;
Described transport module, for being sent to described target controller according to described link layer address by data after encapsulation.
Wherein, described package module includes: the first judging unit, the first acquiring unit and second acquisition unit; Wherein,
Described first judging unit, for judging whether to find the controller number of described target controller in controller number to the mapping table of link layer address;
Described first acquiring unit, for when described first judging unit judges the controller finding described target controller in controller number to the mapping table of link layer address, obtain described controller number regional to the link layer that the controller number of target controller described in the mapping table of link layer address is corresponding, obtain the link layer address of described target controller;
Described second acquisition unit, for when described first judging unit judges the controller not finding described target controller in controller number to the mapping table of link layer address, broadcast to all internal controllers, obtain the link layer address of all internal controllers, choose, after all link layer address obtained, the link layer address obtaining described target controller.
Wherein, described package module also includes: map adding device and/or the second judging unit; Wherein,
Described mapping adding device, for at described second acquisition unit from after choosing the link layer address obtaining described target controller after all link layer address obtained, be added into described controller number in the mapping table of link layer address by corresponding with the link layer address of described target controller for the controller number of described target controller;
Described second judging unit, for judge whether to search the controller number of described target controller in controller number to the mapping table of link layer address at described first judging unit before, judge whether the controller number mapping table to link layer address, if being absent from, then set up the controller number mapping table to link layer address.
Wherein, between described distributed apparatus internal controller, data transmission device also includes: mark module, for all adding unique mark for all controllers in distributed apparatus inside, obtains the controller number of the internal each controller of described distributed apparatus.
Based on technique scheme, data transmission method and device between the distributed apparatus internal controller that the embodiment of the present invention provides, when needs transmit data, first determine the target controller receiving data, whether the target controller judging this reception number is internal controller, namely judge whether the target controller of these reception data is arranged in same distributed apparatus with the controller sending data, if, then determine the controller number of this target controller, the controller number of this target controller is carried out data encapsulation as destination address, and the link layer address of this target controller is obtained by the controller number of this target controller, wherein, the controller number that in distributed apparatus, each controller has is all unique, after obtaining the link layer address of target controller, according to this link layer address, data after encapsulation are sent to described target controller. when distributed apparatus carries out communication between internal controller, controller number is carried out data transmission as destination address, namely the intercommunication of distributed apparatus is carried out by controller number, decrease taking of IP address resource, intercommunication and the PERCOM peripheral communication of distributed apparatus are clearly distinguished, avoid IP address resource obscure and conflict, distributed apparatus deployment in a network of being more convenient for.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of data transmission method between the distributed apparatus internal controller that Fig. 1 provides for the embodiment of the present invention;
Data transmission method is obtained between the distributed apparatus internal controller that Fig. 2 provides for the embodiment of the present invention method flow diagram of the link layer address of target controller by controller lookup;
Data transmission method is obtained between the distributed apparatus internal controller that Fig. 3 provides for the embodiment of the present invention other method flow chart of the link layer address of target controller by controller lookup;
Data transmission method is obtained between the distributed apparatus internal controller that Fig. 4 provides for the embodiment of the present invention the another method flow diagram of the link layer address of target controller by controller lookup;
The system block diagram of data transmission device between the distributed apparatus internal controller that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of package module 200 in data transmission device between the distributed apparatus internal controller that Fig. 6 provides for the embodiment of the present invention;
Another structured flowchart of package module 200 in data transmission device between the distributed apparatus internal controller that Fig. 7 provides for the embodiment of the present invention;
The another structured flowchart of package module 200 in data transmission device between the distributed apparatus internal controller that Fig. 8 provides for the embodiment of the present invention;
Another system block diagram of data transmission device between the distributed apparatus internal controller that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The flow chart of data transmission method between the distributed apparatus internal controller that Fig. 1 provides for the embodiment of the present invention, the intercommunication of distributed apparatus is carried out by controller number, decrease taking of IP address resource, intercommunication and the PERCOM peripheral communication of distributed apparatus are clearly distinguished, avoid IP address resource obscure and conflict, distributed apparatus deployment in a network of being more convenient for; With reference to Fig. 1, between this distributed apparatus internal controller, data transmission method may include that
Step S100: determine the target controller receiving data;
When needs transmit data, first determine the target controller receiving data.
Optionally, before determining the target controller receiving data, first can all add unique mark for the internal all controllers of distributed apparatus, obtain the controller number of the internal each controller of distributed apparatus. It is to say, in distributed apparatus, the controller number that each controller has is all unique.
Step S110: judge whether described target controller is internal controller;
After determining the target controller receiving data, it is judged that whether the target controller of these reception data is internal controller, namely judge whether the target controller of these reception data is arranged in same distributed apparatus with the controller sending data.
Step S120: if, then determine the controller number of described target controller, described controller number is carried out data encapsulation as destination address, and the link layer address of described target controller is obtained by described controller number, wherein, the controller number that in distributed apparatus, each controller has is all unique;
If it is determined that the target controller receiving data is internal controller, it is determined that the controller number of this target controller, this controller number is carried out data encapsulation as destination address, and is obtained the link layer address of this target controller by this controller number. Wherein, the controller number that in distributed apparatus, each controller has is all unique.
Optionally, in controller number to the mapping table of link layer address, can search, by the controller number of target controller, the link layer address obtaining this target controller.
Optionally, can pass through to search the controller number of target controller in controller number to the mapping table of link layer address, when after the controller number finding this target controller in controller number to the mapping table of link layer address, obtain this controller number regional to the link layer that the controller number of this target controller in the mapping table of link layer address is corresponding, controller number to the mapping table of link layer address is searched by the controller number of target controller the link layer address obtaining this target controller.
Optionally, if the link layer address of this target controller cannot be obtained by the controller lookup of target controller in controller number to the mapping table of link layer address, then can by broadcasting to all internal controllers, obtain the link layer address of all internal controllers, then choose, after all link layer address obtained, the link layer address obtaining target controller.
Optionally, by broadcasting to all internal controllers, obtain the link layer address of all internal controllers, then after choosing, after all link layer address obtained, the link layer address obtaining target controller, can also by corresponding with the link layer address of this target controller obtained for the controller number of this target controller controller number that is added into in the mapping table of link layer address, to improve the controller number mapping table content to link layer address, make next when transmitting data to this target controller, the link layer address obtaining this target controller can be searched by the controller number of this target controller at the mapping table of this controller number to link layer address.
Optionally, before controller number to the mapping table of link layer address searches, by the controller number of target controller, the link layer address obtaining this target controller, also can first judge whether the controller number mapping table to link layer address, if existing, then directly in this controller number to the mapping table of link layer address, search, by the controller number of target controller, the link layer address obtaining this target controller, if being absent from, then first set up the controller number mapping table to link layer address, search, by the controller number of target controller, the link layer address obtaining this target controller again in the controller number of this foundation to the mapping table of link layer address.
Optionally, as between distributed apparatus internal controller, link layer uses Ethernet, then the link layer address searched can be MAC Address (physical address).
Step S130: data after encapsulation are sent to described target controller according to described link layer address.
After obtaining the link layer address of target controller, according to this link layer address, data after encapsulation are sent to described target controller, it is achieved carried out the intercommunication of distributed apparatus by controller number.
Based on technique scheme, data transmission method between the distributed apparatus internal controller that the embodiment of the present invention provides, when needs transmit data, first determine the target controller receiving data, whether the target controller judging these reception data is internal controller, namely judge whether the target controller of these reception data is arranged in same distributed apparatus with the controller sending data, if, then determine the controller number of this target controller, the controller number of this target controller is carried out data encapsulation as destination address, and the link layer address of this target controller is obtained by the controller number of this target controller, wherein, the controller number that in distributed apparatus, each controller has is all unique, after obtaining the link layer address of target controller, according to this link layer address, data after encapsulation are sent to described target controller. when distributed apparatus carries out communication between internal controller, controller number is carried out data transmission as destination address, namely the intercommunication of distributed apparatus is carried out by controller number, decrease taking of IP address resource, intercommunication and the PERCOM peripheral communication of distributed apparatus are clearly distinguished, avoid IP address resource obscure and conflict, distributed apparatus deployment in a network of being more convenient for.
Optionally, Fig. 2 illustrates the method flow diagram of the link layer address being obtained target controller between the distributed apparatus internal controller that the embodiment of the present invention provides in data transmission method by controller lookup, with reference to Fig. 2, should be may include that by the method for the link layer address that controller lookup obtains target controller
Step S200: judge whether to find the controller number of described target controller in controller number to the mapping table of link layer address;
Optionally, because being likely to the mapping table being absent from controller number to link layer address in system, therefore, before judging whether to find the controller number of described target controller in controller number to the mapping table of link layer address, also can first judge whether the controller number mapping table to link layer address, if existing, then judge whether to find the controller number of described target controller in controller number to the mapping table of link layer address, if being absent from, then first set up the controller number mapping table to link layer address, judge whether that the controller number in this foundation is to the controller number finding described target controller in the mapping table of link layer address again.
Step S210: if finding, then obtain described controller number regional to the link layer that the controller number of target controller described in the mapping table of link layer address is corresponding, obtain the link layer address of described target controller;
If finding the controller number of target controller in controller number to the mapping table of link layer address, then can according to the mapping relations between the mapping table middle controller number of controller number to link layer address and link layer address, the link layer area that the controller number that comes with this target controller is corresponding, obtains the link layer address of this target controller.
Step S220: if not finding, then broadcast to all internal controllers, obtains the link layer address of all internal controllers, chooses, after all link layer address obtained, the link layer address obtaining described target controller.
If not finding the controller number of target controller in controller number to the mapping table of link layer address, then can by broadcasting to all internal controllers, obtain the link layer address of all internal controllers, then choose, after all link layer address obtained, the link layer address obtaining target controller.
Optionally, by broadcasting to all internal controllers, obtain the link layer address of all internal controllers, then after choosing, after all link layer address obtained, the link layer address obtaining target controller, can also by corresponding with the link layer address of this target controller obtained for the controller number of this target controller controller number that is added into in the mapping table of link layer address, to improve the controller number mapping table content to link layer address, make next when transmitting data to this target controller, the link layer address obtaining this target controller can be searched by the controller number of this target controller at the mapping table of this controller number to link layer address.
Optionally, Fig. 3 illustrates the other method flow chart of the link layer address being obtained target controller between the distributed apparatus internal controller that the embodiment of the present invention provides in data transmission method by controller lookup.
Optionally, with reference to Fig. 3, on the basis of Fig. 2, in step S220 from after choosing the link layer address obtaining described target controller after all link layer address obtained, can also being included by the method for the link layer address that controller lookup obtains target controller:
Step S230: be added into described controller number in the mapping table of link layer address by corresponding with the link layer address of described target controller for the controller number of described target controller.
By corresponding with passing through to broadcast the link layer address of this target controller obtained for the controller number of the target controller controller number that is added into in the mapping table of link layer address, improve the controller number mapping table content to link layer address, so, upper once when transmitting data to this target controller, can be searched, at the mapping table of this controller number to link layer address, the link layer address obtaining this target controller by the controller number of this target controller.
Optionally, Fig. 4 illustrates the another method flow diagram of the link layer address being obtained target controller between the distributed apparatus internal controller that the embodiment of the present invention provides in data transmission method by controller lookup.
Optionally, with reference to Fig. 4, on the basis of Fig. 3, judge whether to find the controller number of described target controller in controller number to the mapping table of link layer address in step S200 before, can also should be included by the method for the link layer address that controller lookup obtains target controller:
Step S240: judge whether the controller number mapping table to link layer address, if existing, then enters step S200, if being absent from, then enters step S250;
Owing to being likely to the mapping table being absent from controller number to link layer address in system, therefore, before judging whether to find the controller number of described target controller in controller number to the mapping table of link layer address, also can first judge whether the controller number mapping table to link layer address.
If it is determined that there is the controller number mapping table to link layer address, then can directly judge whether to find the controller number of described target controller in this controller number to the mapping table of link layer address.
Step S250: set up the controller number mapping table to link layer address, enter step S200.
If it is determined that be absent from the controller number mapping table to link layer address, then first set up controller number to the mapping table of link layer address, then judge whether that the controller number in this foundation is to the controller number finding described target controller in the mapping table of link layer address.
Data transmission method between the distributed apparatus internal controller that the embodiment of the present invention provides, the intercommunication of distributed apparatus is carried out by controller number, decrease taking of IP address resource, intercommunication and the PERCOM peripheral communication of distributed apparatus are clearly distinguished, avoid IP address resource obscure and conflict, distributed apparatus deployment in a network of being more convenient for.
Between the distributed apparatus the internal controller below embodiment of the present invention provided, data transmission device is introduced, and between distributed apparatus internal controller described below, between data transmission device and above-described distributed apparatus internal controller, data transmission method can mutually to should refer to.
The system block diagram of data transmission device between the distributed apparatus internal controller that Fig. 5 provides for the embodiment of the present invention, with reference to Fig. 5, between this distributed apparatus internal controller, data transmission device may include that judge module 100, package module 200 and transport module 300; Wherein,
Judge module 100, for determining the target controller receiving data, it is judged that whether described target controller is internal controller;
Package module 200, for when judge module 100 judges described target controller as internal controller, determine the controller number of described target controller, described controller number is carried out data encapsulation as destination address, and the link layer address of described target controller is obtained by described controller number, wherein, the controller number that in distributed apparatus, each controller has is all unique;
Transport module 300, for being sent to described target controller according to described link layer address by data after encapsulation.
Optionally, Fig. 6 illustrates between the distributed apparatus internal controller that the embodiment of the present invention provides the structured flowchart of package module 200 in data transmission device, with reference to Fig. 6, this package module 200 may include that the first judging unit the 210, first acquiring unit 220 and second acquisition unit 230; Wherein,
First judging unit 210, for judging whether to find the controller number of described target controller in controller number to the mapping table of link layer address;
First acquiring unit 220, for when the first judging unit 210 judges the controller finding described target controller in controller number to the mapping table of link layer address, obtain described controller number regional to the link layer that the controller number of target controller described in the mapping table of link layer address is corresponding, obtain the link layer address of described target controller;
Second acquisition module 230, for when the first judging unit 210 judges the controller not finding described target controller in controller number to the mapping table of link layer address, broadcast to all internal controllers, obtain the link layer address of all internal controllers, choose, after all link layer address obtained, the link layer address obtaining described target controller.
Optionally, Fig. 7 illustrates between the distributed apparatus internal controller that the embodiment of the present invention provides another structured flowchart of package module 200 in data transmission device, and with reference to Fig. 7, this package module 200 can also include: map adding device 240.
Map adding device 240, for at second acquisition unit 230 from after choosing the link layer address obtaining described target controller after all link layer address obtained, be added into described controller number in the mapping table of link layer address by corresponding with the link layer address of described target controller for the controller number of described target controller.
Optionally, Fig. 8 illustrates between the distributed apparatus internal controller that the embodiment of the present invention provides the another structured flowchart of package module 200 in data transmission device, and with reference to Fig. 8, this package module 200 can also include: the second judging unit 250.
Second judging unit 250, for judge whether to search the controller number of described target controller in controller number to the mapping table of link layer address at the first judging unit 210 before, judge whether the controller number mapping table to link layer address, if being absent from, then set up the controller number mapping table to link layer address.
Optionally, Fig. 9 illustrates another system block diagram of data transmission device between the distributed apparatus internal controller that the embodiment of the present invention provides, and with reference to Fig. 9, between this distributed apparatus internal controller, data transmission device can also include: mark module 400.
Mark module 400, for all adding unique mark for all controllers in distributed apparatus inside, obtains the controller number of the internal each controller of described distributed apparatus.
Data transmission device between the distributed apparatus internal controller that the embodiment of the present invention provides, the intercommunication of distributed apparatus is carried out by controller number, decrease taking of IP address resource, intercommunication and the PERCOM peripheral communication of distributed apparatus are clearly distinguished, avoid IP address resource obscure and conflict, distributed apparatus deployment in a network of being more convenient for.
In description, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part.
Professional further appreciates that, the unit of each example described in conjunction with the embodiments described herein and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, generally describe composition and the step of each example in the above description according to function. These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme. Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments. Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. data transmission method between a distributed apparatus internal controller, it is characterised in that including:
Determine the target controller receiving data, it is judged that whether described target controller is internal controller;
If, then determine the controller number of described target controller, described controller number is carried out data encapsulation as destination address, and is obtained the link layer address of described target controller by described controller number, wherein, the controller number that in distributed apparatus, each controller has is all unique;
According to described link layer address, data after encapsulation are sent to described target controller.
2. data transmission method between distributed apparatus internal controller according to claim 1, it is characterised in that the described link layer address obtaining described target controller by described controller lookup includes:
Judge whether to find the controller number of described target controller in controller number to the mapping table of link layer address;
If finding, then obtain described controller number regional to the link layer that the controller number of target controller described in the mapping table of link layer address is corresponding, obtain the link layer address of described target controller;
If not finding, then broadcasting to all internal controllers, obtaining the link layer address of all internal controllers, choose, after all link layer address obtained, the link layer address obtaining described target controller.
3. data transmission method between distributed apparatus internal controller according to claim 2, it is characterized in that, described also include from after choosing, after all link layer address obtained, the link layer address obtaining described target controller: be added into described controller number to the mapping table of link layer address by corresponding with the link layer address of described target controller for the controller number of described target controller.
4. data transmission method between distributed apparatus internal controller according to claim 2, it is characterised in that described in judge whether to search the controller number of described target controller in controller number to the mapping table of link layer address before include:
Judge whether the controller number mapping table to link layer address;
If being absent from, then set up the controller number mapping table to link layer address.
5. data transmission method between distributed apparatus internal controller according to claim 1, it is characterised in that described link layer address is MAC Address.
6. data transmission method between distributed apparatus internal controller according to claim 1, it is characterised in that also include before the described target controller determining reception data:
All add unique mark for all controllers in distributed apparatus inside, obtain the controller number of the internal each controller of described distributed apparatus.
7. data transmission device between a distributed apparatus internal controller, it is characterised in that including: judge module, package module and transport module; Wherein,
Described judge module, for determining the target controller receiving data, it is judged that whether described target controller is internal controller;
Described package module, for when described judge module judges described target controller as internal controller, determine the controller number of described target controller, described controller number is carried out data encapsulation as destination address, and the link layer address of described target controller is obtained by described controller number, wherein, the controller number that in distributed apparatus, each controller has is all unique;
Described transport module, for being sent to described target controller according to described link layer address by data after encapsulation.
8. data transmission device between distributed apparatus internal controller according to claim 7, it is characterised in that described package module includes: the first judging unit, the first acquiring unit and second acquisition unit; Wherein,
Described first judging unit, for judging whether to find the controller number of described target controller in controller number to the mapping table of link layer address;
Described first acquiring unit, for when described first judging unit judges the controller finding described target controller in controller number to the mapping table of link layer address, obtain described controller number regional to the link layer that the controller number of target controller described in the mapping table of link layer address is corresponding, obtain the link layer address of described target controller;
Described second acquisition unit, for when described first judging unit judges the controller not finding described target controller in controller number to the mapping table of link layer address, broadcast to all internal controllers, obtain the link layer address of all internal controllers, choose, after all link layer address obtained, the link layer address obtaining described target controller.
9. data transmission device between distributed apparatus internal controller according to claim 8, it is characterised in that described package module also includes: map adding device and/or the second judging unit; Wherein,
Described mapping adding device, for at described second acquisition unit from after choosing the link layer address obtaining described target controller after all link layer address obtained, be added into described controller number in the mapping table of link layer address by corresponding with the link layer address of described target controller for the controller number of described target controller;
Described second judging unit, for judge whether to search the controller number of described target controller in controller number to the mapping table of link layer address at described first judging unit before, judge whether the controller number mapping table to link layer address, if being absent from, then set up the controller number mapping table to link layer address.
10. data transmission device between distributed apparatus internal controller according to claim 7, it is characterized in that, also include: mark module, for all adding unique mark for all controllers in distributed apparatus inside, obtain the controller number of the internal each controller of described distributed apparatus.
CN201511032435.5A 2015-12-31 2015-12-31 Data transmission method and device among internal controllers of distributed device Pending CN105635339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511032435.5A CN105635339A (en) 2015-12-31 2015-12-31 Data transmission method and device among internal controllers of distributed device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511032435.5A CN105635339A (en) 2015-12-31 2015-12-31 Data transmission method and device among internal controllers of distributed device

Publications (1)

Publication Number Publication Date
CN105635339A true CN105635339A (en) 2016-06-01

Family

ID=56049805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511032435.5A Pending CN105635339A (en) 2015-12-31 2015-12-31 Data transmission method and device among internal controllers of distributed device

Country Status (1)

Country Link
CN (1) CN105635339A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100695025B1 (en) * 1998-10-08 2007-03-14 소니 가부시끼 가이샤 Reproduction apparatus and reproduction method
CN102215263A (en) * 2011-06-07 2011-10-12 邱柏康 Data transmission and remote control method for self-organizing wireless internet of things (IoT) system
CN102484657A (en) * 2009-09-16 2012-05-30 西门子公司 A method of running a substation of an electric power supply system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100695025B1 (en) * 1998-10-08 2007-03-14 소니 가부시끼 가이샤 Reproduction apparatus and reproduction method
CN102484657A (en) * 2009-09-16 2012-05-30 西门子公司 A method of running a substation of an electric power supply system
CN102215263A (en) * 2011-06-07 2011-10-12 邱柏康 Data transmission and remote control method for self-organizing wireless internet of things (IoT) system

Similar Documents

Publication Publication Date Title
CN112165725B (en) Message processing method and device
WO2017049521A1 (en) Synchronization method, user equipment, and base station
US20180198643A1 (en) Packet transmission method and apparatus
US11343056B2 (en) Data transmission method, sending device, and receiving device
US20150289191A1 (en) Device-to-device communication method, module and terminal device
CN104796849A (en) Method and equipment for processing data packets
CN103716908A (en) Indoor integration network system based on visible light communication and communication access method
CN103780486A (en) Mirror image message transmission method in transparent interconnection of lots of link (TRILL) network and device
CN104022956A (en) Method and device for data message processing in location/ID separation protocol network
CN107005430A (en) A kind of communication means based on data link layer, equipment and system
CN104009937A (en) Enhanced-transmission-selection configuration information transmission method and device
CN109391400B (en) Multi-carrier frequency transmission method, equipment and system
WO2016119269A1 (en) Service data stream data packet processing method and device
CN105376800A (en) Micro base station networking communication method, system and centralized control equipment
CN109639707B (en) Data transmission method, device, system and medium based on gatekeeper
CN106878177A (en) A kind of route processing method and device
CN105635339A (en) Data transmission method and device among internal controllers of distributed device
CN104079479A (en) Control method and control device
CN111510949B (en) Data transmission method, device and storage medium
WO2021023298A1 (en) Sidelink measurement result acquisition and transmission method, and terminal
CN116097688A (en) Communication method, device and system
CN114830696A (en) Sideline communication method and device
US20180167956A1 (en) Device-to-device d2d data transmission method, apparatus, and system
US10880198B2 (en) Aggregating targeted and exploration queries
CN105766042B (en) Method, access point and the website of direct point-to-point data link

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: 20160601