CN109413169A - Communication between devices method, apparatus, computer equipment and storage medium - Google Patents

Communication between devices method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN109413169A
CN109413169A CN201811194973.8A CN201811194973A CN109413169A CN 109413169 A CN109413169 A CN 109413169A CN 201811194973 A CN201811194973 A CN 201811194973A CN 109413169 A CN109413169 A CN 109413169A
Authority
CN
China
Prior art keywords
communication
target
associate device
equipment
identification information
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
CN201811194973.8A
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.)
Beijing Dongtu Jinyue Technology Co Ltd
Original Assignee
Beijing Dongtu Jinyue Technology 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 Beijing Dongtu Jinyue Technology Co Ltd filed Critical Beijing Dongtu Jinyue Technology Co Ltd
Priority to CN201811194973.8A priority Critical patent/CN109413169A/en
Publication of CN109413169A publication Critical patent/CN109413169A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0018Communication with or on the vehicle or train
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format

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)
  • Mechanical Engineering (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of communication between devices method, apparatus, computer equipment and storage mediums.The described method includes: target device executes the operation for interacting respective communication identification information at least one associate device using at least two communication modes;The target device is according to the communication identification information received, the destinations traffic mode used when determining the communication identification information received described in the target association equipment and target association equipment transmission of the communication identification information received described in sending;The target device updates the mapping relations between communication mode and associate device according to the destinations traffic mode and preset communication mode priority of the target association equipment;The target device is communicated according to the mapping relations at least one described associate device.The communication mode of equipment room can be adjusted flexibly in the embodiment of the present invention, improve the reliability of each communication between devices.

Description

Communication between devices method, apparatus, computer equipment and storage medium
Technical field
The present embodiments relate to the communications field more particularly to a kind of communication between devices method, apparatus, computer equipment with And storage medium.
Background technique
The features such as rail traffic is quick with it, safe, punctual, freight volume is big, it has also become the backbone network of Traffic Systems. It in the train control system of rail traffic, needs to communicate each compartment, grasps the dynamic in each section compartment in real time, with reply Emergency situations.
Usually there are two types of modes for communication between compartment: wired communication mode and communication.Wherein, train Each compartment wire communication, or the wireless communication by being set in each compartment are realized by the network line of deployment ON TRAINS Equipment realizes wireless communication.
If open circuit conditions once occurs in the network line on train, communication cannot achieve between some compartments, and, it is difficult to Network line is repaired in time;Wireless telecom equipment is installed if each compartment, each compartment is only wirelessly led to Letter, since wireless transmission bandwidth is lower than wire transmission bandwidth, message transmission rate can be reduced, simultaneously as the road of train driving The factors such as condition, environment are wirelessly difficult to ensure that the communication between each compartment is difficult to ensure accurately and timely.
Summary of the invention
It, can be with the embodiment of the invention provides a kind of communication between devices method, apparatus, computer equipment and storage medium The communication mode of equipment room is adjusted flexibly, improves the reliability of each communication between devices.
In a first aspect, the embodiment of the invention provides a kind of communication between devices methods, comprising:
Target device, which is executed, interacts respective communication identification at least one associate device using at least two communication modes The operation of information;
The target device determines the communication identification information received described in sending according to the communication identification information received Target association equipment and the target association equipment send described in receive communication identification information when the target that uses it is logical Letter mode;
The target device is according to the destinations traffic mode of the target association equipment and preset communication mode Priority updates the mapping relations between communication mode and associate device;
The target device is communicated according to the mapping relations at least one described associate device.
Second aspect, the embodiment of the invention also provides a kind of communication between devices devices, comprising:
Communication identification information exchange module is executed for target device using at least two communication modes and at least one pass Join the operation of the respective communication identification information of equipment interaction;
Communication identification information receiving module determines hair for the target device according to the communication identification information received What the target association equipment and the target association equipment of the communication identification information received described in sending received described in sending The destinations traffic mode used when communication identification information;
Mapping relations update module, for the target device according to the destinations traffic side of the target association equipment Formula and preset communication mode priority update the mapping relations between communication mode and associate device;
Communication module is carried out for the target device according to the mapping relations at least one described associate device Communication.
The third aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in It is realized on memory and when processor described in the computer program that can run on a processor executes described program as the present invention is real Apply any communication between devices method in example.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the communication between devices method as described in any in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention is interacted using communication with associate device by target device, based on interactive communication The communication mode and communication mode priority of identification information update the mapping relations between communication mode and associate device, from And feasible and highest priority the communication mode of target device and associate device is obtained, it solves and is only capable of passing through in the prior art Wired or wireless way is communicated, it is difficult to while guaranteeing the timely problem of reliable communications, pass through the interaction of communication identification information The feasible communication mode between target device and associate device is obtained, realizes and is communicated based on feasible communication mode, mentioned The reliability of high communication between devices, meanwhile, communication mode is further determined according to priority in feasible communication mode, is realized Communication mode is adjusted flexibly, further increases communication quality.
Detailed description of the invention
Fig. 1 a is a kind of flow chart for communication between devices method that the embodiment of the present invention one provides;
Fig. 1 b is a kind of schematic diagram of the application scenarios for communication between devices method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of communication between devices method provided by Embodiment 2 of the present invention;
Fig. 3 a is a kind of flow chart for communication between devices method that the embodiment of the present invention three provides;
Fig. 3 b is a kind of schematic diagram for concrete application scene that the embodiment of the present invention three is applicable in;
Fig. 3 c is the schematic diagram for another concrete application scene that the embodiment of the present invention three is applicable in;
Fig. 3 d is the schematic diagram for another concrete application scene that the embodiment of the present invention three is applicable in;
Fig. 4 is a kind of structural schematic diagram for communication between devices device that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 a is a kind of flow chart for communication between devices method that the embodiment of the present invention one provides, and the present embodiment is applicable to Equipment room selects the situation of optimal communication modes from communication, and this method can be set by provided in an embodiment of the present invention Communication device executes between standby, and the mode which can be used software and/or hardware is realized, and can be generally integrated in and can be passed through In each equipment that at least two communication modes interact.As shown in Figure 1a, the method for the present embodiment specifically includes:
S110, target device, which is executed, interacts respective communication at least one associate device using at least two communication modes The operation of identification information.
Target device and associate device refer to the equipment that can interact communication, and communication mode is including but not limited to wired Communication or wireless communication, wherein wire communication refers to the technology for needing that information transmission is carried out by tangible transmission media, tangible biography Defeated medium mainly includes electric wire or optical cable at present, and wire communication influences signal by external environment in transmission process, can protect The stability and reliability of signal transmission are demonstrate,proved, and not will cause apparent radiation pollution, but its construction cost is often higher, and And it is limited to transmission medium, once transmission medium breaks down or destroyed, it will largely influence the transmission of information; Wireless communication refers to the technology that information transmission is carried out using invisible transmission medium, and invisible transmission medium includes electromagnetic wave, not by ground The limitation in domain, but it is be easy to cause the leakage of the information, and the signal that biggish radiation pollution can be generated, and transmitted Between also will cause and interfere with each other, influence the accuracy and reliability of information transmission.
To, communication is only used with wired communication mode or only, there is communication defect, it is above-mentioned in order to solve Problem, the embodiment of the present invention therefrom select most suitable communication party by the way that at least two communication modes are arranged in each equipment Formula avoids only causing communication reliability poor with a kind of communication mode, realizes the reliability for improving communication between devices.
Communication identification information determines that the association for sending communication identification information is set according to communication identification information for target device It is standby, it can refer to the identification information of associate device, can specifically include the media access control layer (Media of associate device Access Control, MAC) address, the title of associate device or timestamp etc. other can be different from other associate devices Identification information etc..In addition, communication identification information can also add other information, for example, the parameter information of associate device and communication The communication mode etc. of identification information.
Wherein, the interactive mode of communication identification information may include broadcast, from equipment using at least two communication modes to The communication identification information of other all associate device sending devices;Multicast, associate device sending device into setting range Communication identification information;Unicast, to the communication identification information of an associate device sending device.
In the present embodiment, target device can send target device pair to associate device using at least two communication modes The communication identification information answered, equally, associate device can be sent using identical at least two communication mode to target device should The corresponding communication identification information of associate device.Wherein, communication identification information may be the same or different, such as can be The communication identification information that the MAC Address or target device of equipment are sent is the MAC Address of target device, and associate device is sent out The communication identification information sent is the name information of the associate device.Meanwhile the communication identification sent using different communication modes Information may be the same or different, for example, further including the phase of wire communication using the communication identification information of wired communication mode It closes information (identification information of such as wire communication), the communication identification information using communication further includes the phase of wireless communication Close information.
S120, the target device determine that the communication received described in sending is known according to the communication identification information received It is used when the communication identification information received described in the target association equipment of other information and target association equipment transmission Destinations traffic mode.
Target device, which passes through the communication identification information received, can determine that the sender i.e. target of communication identification information is closed Join equipment, and the mode, that is, destinations traffic mode sent.Since communication identification information has the mark action of equipment, target is set It is standby that the target association equipment for sending the communication identification information can be directly determined according to communication identification information;It can be set simultaneously with target The standby destinations traffic mode that the communication identification information is determined according to the reception mode of the communication identification information or receiving port, this Outside, target device can also be according to the wire communication identification information or channel radio beacon for including in the communication identification information received Information is known to determine the destinations traffic mode of the communication identification information.
It should be noted that target association equipment can use a variety of communications in the communication identification information transmitted and received Mode namely target association equipment can use at least one destinations traffic mode when sending communication identification information.But target is set For when receiving a communication identification information, it can only determine that the communication identification information at current time is by first object communication party What formula was sent;Then if target device receives the communication identification information again, the communication identification letter at current time can only be determined Breath is sent by the second destinations traffic mode, that is to say, that can only determine that a target is logical by a communication identification information Letter mode, wherein first object communication mode and the second destinations traffic mode are identical or different.
S130, the target device is according to the destinations traffic mode of the target association equipment and preset logical Letter mode priority updates the mapping relations between communication mode and associate device.
Specifically, preset communication mode priority can be each in preset at least two communication mode of user lead to The priority of letter mode.Mapping relations between communication mode and associate device are used to indicate target device logical with associate device Communication mode is selected when letter.
In the present embodiment, target device can be obtained according to the mapping relations of updated communication mode and associate device The communication mode currently with the highest priority of the associate device is taken, available communication can be filtered out from communication Mode, and or filter out user from communication and need communication mode (as most reliable or most without geographical restrictions), To realize the communication mode that target device and associate device is adjusted flexibly.
S140, the target device are communicated according to the mapping relations at least one described associate device.
Specifically, target device can determine the communication mode with each associate device according to mapping relations, need with When associate device communicates, the communication mode communicated with the associate device can be obtained based on mapping relations, and obtain the communication party The relevant parameter of formula learns the MAC Address of the associate device, specific: to obtain the MAC Address of associate device, and lead to this is received The corresponding port of letter mode and the MAC Address establish mapping relations, and generate corresponding map entry, are saved in MAC Address column In table.The communication with the associate device is established as a result, is communicated to realize at least one associate device.
The embodiment of the present invention is interacted using communication with associate device by target device, based on interactive communication The communication mode and communication mode priority of identification information update the mapping relations between communication mode and associate device, from And feasible and highest priority the communication mode of target device and associate device is obtained, it solves and is only capable of passing through in the prior art Wired or wireless way is communicated, it is difficult to while guaranteeing the timely problem of reliable communications, pass through the interaction of communication identification information The feasible communication mode between target device and associate device is obtained, realizes and is communicated based on feasible communication mode, mentioned The reliability of high communication between devices, meanwhile, communication mode is further determined according to priority in feasible communication mode, is realized Communication mode is adjusted flexibly, further increases communication quality.
On the basis of the above embodiments, target device and at least one associate device can be separately positioned on train In different compartments.In a specific application scenarios, as shown in Figure 1 b, equipment is set, each equipment can lead in each compartment It crosses base station to carry out wireless communication, or wire communication is carried out by Wireline.
In general, the communication mode in train between the equipment of each compartment configuration is wire communication and wireless communication, can Choosing, first communication party formula is wired communication mode, and second communication method is communication.Further, target device The operation for interacting respective communication identification information at least one associate device using at least two communication modes is executed, can wrap Include: target device, which is executed, interacts respective lead to at least one associate device using wired connection port and wireless communication port Believe identification information operation;Target device determines the communication identification information transmitted and received according to the communication identification information received Target association equipment and target association equipment transmit and receive communication identification information when the destinations traffic mode that uses, It may include: the communication knowledge that target device receives target association equipment using wired communication mode transmission by wired connection port Other information;With or target device by wireless communication port receive target association equipment sent using communication it is logical Believe identification information;Wherein, wired communication port and wireless communication port is respectively configured in target device and associate device, and has Line communication port and wireless communication port are mutually isolated.
Specifically, can select a port as cable port in multiple ports in target device, with communication line It is directly connected to, for carrying out wire communication by communication line and associate device;It is selected in multiple ports in target device simultaneously A port is selected as radio port, radio port is directly connected to wireless device, for sending by wireless device to base station Wireless signal, then the wireless signal is sent from base station to the wireless device that the radio port of associate device connects, to realize target Wireless signal connection between equipment and associate device.
In the specific implementation process: when wire communication is normal, target device receives target association by wire communication The communication identification information that equipment is sent in the form of broadcasting packet;When wirelessly communicating normal, target device is by wireless communication Receive the communication identification information that target association equipment is sent in the form of broadcasting packet.
Wherein it is possible to realize being isolated between wired connection port and wireless communication port by setting shielding rules, keep away Exempt from data cross occur between two ports, causes communication to be interfered, to improve the reliability of communication.
In addition, it is wireless to respectively correspond configuration for each equipment when using communication to be communicated between each equipment Bandwidth avoids the bandwidth of the wireless communication between other two equipment of the bandwidth occupancy of the wireless communication between two equipment.
Optionally, communication identification information includes: the media access control layer address of equipment;Target device is according to target association The destinations traffic mode of equipment and preset communication mode priority update the mapping between communication mode and associate device Relationship may include: that target device is preferential according to the destinations traffic mode of target association equipment and preset communication mode Grade updates the mapping relations between communication mode and the media access control layer address of associate device.
Specifically, MAC Address is used to define the position of the network equipment.In general, target device with associate device In communication process, communication data is really sent to target MAC (Media Access Control) address from source MAC, wherein source MAC is target The position of equipment, and target MAC (Media Access Control) address is the position of associate device.To transmit data to associate device in communication process MAC Address, that is, transmit data to associate device, i.e. mapping relations between update communication mode and associate device, Namely the mapping relations between update communication mode MAC Address corresponding with associate device.
In addition, target device can correspond to different communication modes by the way that communication port is arranged, and by communication port and MAC Corresponding mapping relations are established in address, to set up the mapping relations of communication mode and MAC Address.By the way that communication identification is believed Breath is set as MAC Address, the accuracy that communication mode determines can be improved with accurate identification associate device, while MAC Address is logical It is the messaging parameter that must be provided during letter, avoids also needing further to obtain again after the communication mode for determining associate device The MAC Address of associate device is taken, to improve the efficiency that communication mode determines.
Embodiment two
Fig. 2 is a kind of flow chart of communication between devices method provided by Embodiment 2 of the present invention, and the present embodiment is with the present invention Further materialization has been made based on embodiment one, and target device has been executed using at least two communication modes and at least one The operation of the respective communication identification information of associate device interaction, is embodied as: target device is periodically executed using at least two Kind communication mode interacts the operation of respective communication identification information at least one associate device;It is same in the mapping relations Associate device corresponds to an age timer;The method also includes: the target device is in the aging for detecting associate device When timing duration in timer meets failure condition, the associate device of failure is deleted from the mapping relations, and will be with The corresponding age timer of the associate device being not present in the mapping relations is purged.
As shown in Fig. 2, this method specifically includes:
S210, target device, which is periodically executed, to be interacted respectively using at least two communication modes at least one associate device From communication identification information operation.
Target device can judge the communication party according to by the way that whether a kind of communication mode receives communication identification information Whether formula is feasible, that is to say, that target device is to judge whether communication line disconnects by interactively communicating identification information, setting Interactive operation is periodically executed, can be asked to avoid still being communicated in the case where communication line disconnects and leading to data degradation etc. Topic can find the communication line disconnected in time, and then be switched to feasible communication line in time, improve the reliability of communication. Wherein, the period can be set according to actual needs, and be not specifically limited to this embodiment of the present invention.
S220, the target device determine that the communication received described in sending is known according to the communication identification information received It is used when the communication identification information received described in the target association equipment of other information and target association equipment transmission Destinations traffic mode.
Wherein, communication identification information, the determination of target association equipment and the determination of destinations traffic mode can refer to upper State the description of embodiment.
S230, the target device is according to the destinations traffic mode of the target association equipment and preset logical Letter mode priority updates the mapping relations between communication mode and associate device;Wherein, in the mapping relations, a pass Join the corresponding age timer of equipment.
Target device needs to carry out before a communication MAC address learning, i.e., by the relevant information of MAC Address (such as source MAC The information such as address, target MAC (Media Access Control) address and corresponding port information) it records, the relevant information based on MAC Address Target device may be implemented and the communication of other equipment (target MAC (Media Access Control) address corresponding equipment).In order to save storage resource, improve Equipment operating efficiency, it will usually which ageing time is set, and after ageing time, MAC Address is not used by always, MAC Address It will be deleted from record.Age timer is for counting ageing time, when the timing duration that age timer is counted reaches old When changing the time, shows the MAC address aging, need to clear up the MAC Address.
Wherein, the mapping relations of the present embodiment can also include the MAC Address of target device, associate device MAC Address, For establishing in the port information and associate device that communicate with associate device for being communicated with target device foundation in target device The information such as port information.
S240, the target device are communicated according to the mapping relations at least one described associate device.
S250, the target device, will be described when detecting that the timing duration in age timer meets failure condition The associate device of the corresponding failure of age timer is deleted from the mapping relations, and will be not present in the mapping relations The corresponding age timer of associate device be purged.
Failure condition can refer to that the timing duration of age timer statistics reaches preset ageing time, work as timing duration When meeting failure condition, show the corresponding MAC address aging of associate device, the associate device can be found from mapping relations simultaneously It deletes, or even information relevant to the associate device in mapping relations (can also be set in such as target device for being associated with this For establishing the port information communicated with target device in the standby port information and the associate device for establishing communication) delete, from And when can fail to avoid communication modes all between target device and associate device, the case where being communicated is continued to, from And it realizes and saves the communication resource.It also needs for age timer to be purged simultaneously, leads to the wasting of resources to prevent timing always.
In the specific implementation process, it can judge that timing duration is in any stage in the implementation procedure of S210-S240 It is no to meet failure condition, mapping relations are constantly updated, therefore, the sequencing of S250 and aforementioned S210-S240 are unlimited.
The embodiment of the present invention is by configuring age timer, the corresponding association of the MAC Address of aging for each associate device Equipment is deleted from mapping relations, to update mapping relations, is avoided in the case where the failure of the communication mode of associate device still The case where continuing communication saves the communication resource, improves flexibility, accuracy and the timeliness of communication mode adjustment.
On the basis of the above embodiments, it can be correspondingly arranged at least based at least two communication modes in mapping relations Two associate device set.Optionally, mapping relations include: the first associate device set corresponding with first communication party formula, with And the second associate device set corresponding with second communication method;The priority of first communication party formula is higher than second communication method Priority.
Specifically, the first associate device set can have with the second associate device set it is overlapping, it can while including phase Same associate device;Can also be entirely different, i.e., do not include identical associate device completely.For example, can be with an associate device It can exist simultaneously in two associate device set, or can only exist in an associate device set.First communication party formula Priority be higher than the priority of second communication method, thus, in succeeding target equipment with associate device when communicate, if The associate device exists simultaneously in two associate device set, and the high communication mode of target device selection priority is associated with this Equipment is communicated, such as first communication party formula.
In a specific example, select the high communication mode of priority may is that target device according to priority from High to Low sequence successively inquires associate device in corresponding associate device set, if inquiring the associate device, It is communicated using the corresponding communication mode of associate device set, to realize in the feasible communication mode of the associate device Obtain the communication mode of highest priority.
In another specific example, the communication mode for selecting priority high may is that target device according to priority Sequence from high to low successively inquires associate device in corresponding associate device set, if inquiring the pass for the first time Join equipment, then it is corresponding in other associate device set to delete the associate device;It is set according to the association of associate device unique match It is communicated for corresponding communication mode is gathered, equally may be implemented to obtain in the feasible communication mode of the associate device preferential The highest communication mode of grade.
It on the basis of the above embodiments, include the corresponding relationship of associate device and age timer in mapping relations, from And configuration age timer is also needed while updating mapping relations, if age timer exists, age timer is updated, If age timer is not present, age timer is established.Due to only when associate device is present in associate device set, the pass Join the corresponding age timer of equipment to exist, to need first to judge whether there is in each associate device set in mapping relations The associate device updates age timer when there are associate device, and when associate device is not present, associate device is added In matched associate device set, and establish age timer.
In another of the invention optional embodiment, target device according to the destinations traffic mode of target association equipment, And preset communication mode priority, the mapping relations between communication mode and associate device are updated, may include: that target is set It is standby if it is determined that destinations traffic mode is first communication party formula, then whether verify in the first associate device set includes target association Equipment;If so, updating the age timer of target association equipment;Otherwise, target is added in the first associate device set to close Join equipment, and the existence of the age timer according to target association equipment, establishes or update the old of target association equipment Change timer;Target device if it is determined that destinations traffic mode be second communication method, then verify in the first associate device set It whether include target association equipment;If so, abandoning the update to mapping relations;Otherwise, it verifies in the second associate device set It whether include target association equipment;If so, updating the age timer of target association equipment;Otherwise, in the second associate device Target association equipment is added in set, and establishes the age timer of target association equipment.
Specifically, the priority of first communication party formula is higher than the priority of second communication method due in mapping relations, If it is determined that target device and the first communication party formula and second communication method of target association equipment are feasible, can only be closed when target When the destinations traffic mode for joining equipment is first communication party formula, age timer is updated, meanwhile, when the target of target association equipment Communication mode be second communication method when, abandon update mapping relations, specially abandon update age timer, and abandon by Target association equipment is added in the second associate device set.
By setting first communication party formula and second communication method, and first communication party formula is corresponded in mapping relations and is set Set the first associate device set, corresponding second communication method is arranged the second associate device set, and based on destinations traffic mode, the The priority of one communication mode and the priority of second communication method update the first associate device set in mapping relations, the Two associate device set and the corresponding age timer of associate device may be implemented excellent based on communication mode and communication mode First grade can determine the communication mode of highest priority for each associate device, so that most suitable communication mode is filtered out, Improve communication reliability.
Optionally, target device is communicated, comprising: target device according to mapping relations at least one associate device It is communicated with the first associate device for including in the first associate device set according to first communication party formula;Target device and second It include removing the second associate device except the first associate device to be led to according to second communication method in associate device set Letter.
Specifically, when target device is communicated at least one associate device, in mapping relations, if it is above-mentioned at least One associate device exists simultaneously in multiple associate device set, can set in the corresponding association of the high communication mode of priority In standby set, the associate device that can be communicated by the high communication mode of priority is obtained.It is subsequent according to from priority height To low order, successively obtains and set in the association that the corresponding associate device set of the higher communication mode of above-mentioned priority is not present It is standby, namely the associate device for not determining communication mode in above-mentioned steps is successively obtained, to realize true for each associate device Determine the communication mode of highest priority, to filter out most suitable communication mode, improves communication reliability.
Optionally, target device is after determining that destinations traffic mode is first communication party formula, further includes: target device is tested Whether include target association equipment, if so, the delete target in the second associate device set if demonstrate,proving in the second associate device set Associate device.
In the present embodiment, target device selects a communication mode for each associate device from communication It is communicated, communication data redundancy and communication resource wave can be caused to avoid being communicated simultaneously using communication The case where taking be based on said circumstances, can the only highest priority in each associate device set where associate device it is logical Retain associate device in the corresponding associate device set of letter mode, and deletes the association in other each associate device set and set It is standby.In this way in the communication process of target device and at least one associate device, each associate device only retains a communication party Formula, to avoid the appearance for filtering out the communication mode of highest priority from the corresponding viable communication mode of each associate device The situation of mistake improves the accuracy that communication mode determines, while can reduce the subsequent communication party for judging associate device one by one The step of formula, improves the efficiency that communication mode determines.
Optionally, target device is communicated according to mapping relations at least one associate device, may include: target The third associate device for including in equipment and the first associate device set is communicated according to first communication party formula;Target device with The 4th associate device for including in second associate device set is communicated according to second communication method.
Specifically, only being deposited in all associate device set after passing through the step of deleting duplicate associate device In an associate device, that is to say, that the associate device in each associate device set is all different, thus, when the first association is set There are when third associate device in standby set, third associate device is not present in the second associate device set;When the second association is set There are when four associate devices in standby set, the 4th associate device is not present in the first associate device.It is possible thereby to accurately be associated with One-to-one relationship is established between equipment and communication mode, improves the accuracy that communication mode determines.
Embodiment three
Fig. 3 a is a kind of flow chart for communication between devices method that the embodiment of the present invention three provides, and the present embodiment combines aforementioned The content of embodiment provides a kind of specific example.As shown in Figure 3a, it specifically includes:
S300, target device periodically pass through wired connection port and wireless communication port and at least one associate device The respective communication identification information of interaction;
S301, judges whether target device receives the communication identification information of target association equipment transmission;If it is, holding Row S302;Otherwise S300 is executed.
S302 judges the communication port for receiving communication identification information, knows if it is communication is received by wired connection port Other information, then execute S303;Communication identification information is received if it is port by wireless communication, then executes S308.
S303 judges with the presence or absence of the target association equipment in the second associate device set, if so, executing S304;Otherwise S305 is executed;
S304 deletes the target association equipment in the second associate device set, refreshes the target association equipment pair The age timer answered executes S313;
S305 judges in the first associate device set with the presence or absence of the target association equipment;If it is, executing Otherwise S306 executes S307;
S306 refreshes the age timer, executes S313;
The target association equipment is added the first associate device set, starts the age timer, executed by S307 S313;
S308 judges with the presence or absence of the target association equipment in the first associate device set, if it is, executing S309;Otherwise S310 is executed;
S309 ignores the communication identification message, executes S313;
S310 judges with the presence or absence of the target association equipment in the second associate device set, if it is, executing Otherwise S311 executes S312;
S311 refreshes the age timer, executes S313;
The target association equipment is added the second associate device set, starts the age timer, executed by S312 S313;
S313, judges whether the timing duration of age timer reaches setting time, target association equipment pair described in aging The media access control layer address answered executes S300.
In a concrete application scene, as shown in Fig. 3 b-3d, each compartment device configuration wired connection port and channel radio Believe port, wired connection port and wireless communication port carry out port isolation.Wired connection port is for each compartment equipment room Wired connection, wireless communication port send data by wireless base station for each compartment equipment.Each compartment equipment passes through cable modem Believe that port and wireless communication port send broadcasting packet, broadcasts the MAC Address of oneself.
In fig 3b, when the Wireline of each compartment equipment is normal, the MAC Address of oneself is broadcasted, other compartment equipment A broadcasting packet can be respectively received from wired connection port and wireless communication port, include transmission broadcasting packet in broadcasting packet The corresponding MAC Address of compartment equipment.According to wire communication priority principle, each compartment equipment is by the MAC of other compartment equipment at this time Address learning guarantees that each compartment equipment takes wire communication when Wireline can be used in wired connection port.
It should be noted that by MAC address learning communication port it is practical refer to establish reflecting for MAC Address and communication port Penetrate relationship.The wired principle of wire communication refers to that the priority of wired communication mode is higher than the priority of communication.
For another example shown in figure 3c, when the Wireline between the first compartment equipment and the second compartment equipment disconnects, other Compartment equipment only in wireless communication port receives the broadcasting packet of the first compartment equipment, when other compartment equipment within the set time Wired connection port when not receiving the broadcasting packet of the first compartment equipment, other compartment equipment will learn at wire communication end The corresponding MAC Address of first compartment equipment of mouth is deleted, after wireless communication port receives the broadcasting packet, by the first compartment equipment MAC address learning in wireless communication port;Similarly the first compartment equipment also exists the MAC address learning of other compartment equipment Wireless communication port guarantees that each compartment equipment can be by wirelessly being communicated with the first vehicle compartment equipment.When the first compartment is set When standby recovery wired with the second compartment equipment, other each compartment equipment receive the broadcast of the first compartment equipment from wired connection port Message, other each compartment equipment can will wirelessly communicate end by the MAC address learning of the first compartment equipment in wired connection port First compartment device mac address of mouth study is deleted, or can not also be deleted.Meanwhile first compartment equipment also in cable modem Letter port receives the broadcasting packet of other compartment equipment, other compartment learning equipments are deleted in the MAC Address of wireless communication port It removes, and learns MAC Address in wired connection port, to restore the wire communication of each compartment equipment room.
For another example shown in figure 3d, when the second compartment equipment and the disconnection of third compartment equipment Wireline, the second compartment is set The standby broadcasting packet that the first compartment equipment can be received from wired connection port, the first compartment equipment can also be received from wired connection port To the broadcasting packet of the second compartment equipment, the first compartment equipment and the second compartment equipment can only be set by wirelessly receiving third compartment Standby and the 4th vehicle broadcasting packet, third compartment equipment and the 4th compartment equipment also can only be by wirelessly receiving the first compartment equipment With the broadcasting packet of the second compartment equipment.So the first compartment equipment and the second compartment equipment will MAC address learnings each other at this time In wired connection port;First compartment equipment and the second compartment equipment are respectively by the MAC Address and the 4th vehicle of third compartment equipment The MAC address learning of compartment equipment in wireless communication port, meanwhile, third compartment equipment and the 4th compartment equipment are respectively by the first vehicle The MAC Address of compartment equipment and the MAC address learning of the second compartment equipment are in wireless communication port;Third compartment equipment and the 4th vehicle Compartment equipment will each other MAC address learning in wired connection port.To be taken between the first compartment equipment and the second compartment equipment Wire communication;Between first compartment equipment and third compartment equipment, between the first compartment equipment and the 4th compartment equipment, the second vehicle Wireless communication is taken between the second compartment equipment and the 4th compartment equipment between compartment equipment and third compartment equipment;Third vehicle Wire communication is used between compartment equipment and the 4th compartment equipment.
Example IV
Fig. 4 is the schematic diagram for the communication between devices device that the embodiment of the present invention four provides.The present embodiment is to realize the present invention The related device of communication between devices method provided by the above embodiment, described device specifically include:
Communication identification information exchange module 410 executes for target device and uses at least two communication modes and at least one The operation of the respective communication identification information of a associate device interaction;
Communication identification information receiving module 420 is determined for the target device according to the communication identification information received The target association equipment of the communication identification information received described in transmission and the target association equipment receive described in sending Communication identification information when the destinations traffic mode that uses;
Mapping relations update module 430, it is logical according to the target of the target association equipment for the target device Letter mode and preset communication mode priority update the mapping relations between communication mode and associate device;
Communication module 440, for the target device according to the mapping relations, at least one described associate device into Row communication.
The embodiment of the present invention is interacted using communication with associate device by target device, based on interactive communication The communication mode and communication mode priority of identification information update the mapping relations between communication mode and associate device, from And feasible and highest priority the communication mode of target device and associate device is obtained, it solves and is only capable of passing through in the prior art Wired or wireless way is communicated, it is difficult to while guaranteeing the timely problem of reliable communications, pass through the interaction of communication identification information The feasible communication mode between target device and associate device is obtained, realizes and is communicated based on feasible communication mode, mentioned The reliability of high communication between devices, meanwhile, communication mode is further determined according to priority in feasible communication mode, is realized Communication mode is adjusted flexibly, further increases communication quality.
Further, the communication identification information exchange module 410 is specifically used for: target device periodically executes use At least two communication modes interact the operation of respective communication identification information at least one associate device;The mapping relations In, the corresponding age timer of an associate device.
Further, described device is specifically used for: the target device is detecting the timing duration in age timer When meeting failure condition, the associate device of the corresponding failure of the age timer is deleted from the mapping relations, and will Age timer corresponding with the associate device being not present in the mapping relations is purged.
Further, the mapping relations include: the first associate device set corresponding with first communication party formula, Yi Jiyu The corresponding second associate device set of second communication method;The priority of the first communication party formula is higher than the second communication party The priority of formula.
Further, the mapping relations update module 430 is specifically used for: the target device is if it is determined that the target Communication mode is the first communication party formula, then whether verify in the first associate device set includes that the target association is set It is standby;If so, updating the age timer of the target association equipment;Otherwise, it is added in the first associate device set Institute is established or updated to the target association equipment, and the existence of the age timer according to the target association equipment State the age timer of target association equipment;The target device is if it is determined that the destinations traffic mode is second communication Whether mode, then verifying in the first associate device set includes the target association equipment;If so, abandoning reflecting to described Penetrate the update of relationship;Otherwise, whether verify in the second associate device set includes the target association equipment;If so, Update the age timer of the target association equipment;Otherwise, the target is added in the second associate device set to close Join equipment, and establishes the age timer of the target association equipment.
Further, the communication module 440 is specifically used for: in the target device and the first associate device set Including the first associate device communicated according to the first communication party formula;The target device and second associate device It include removing the second associate device except first associate device to be led to according to the second communication method in set Letter.
Further, described device is specifically used for: the target device verify in the second associate device set whether Including the target association equipment, if so, deleting the target association equipment in the second associate device set.
Further, the communication module 440 is specifically used for: in the target device and the first associate device set Including third associate device communicated according to the first communication party formula;The target device and second associate device The 4th associate device for including in set is communicated according to the second communication method.
Further, the first communication party formula is wired communication mode, and the second communication method is side wireless communication Formula.
Further, the communication identification information exchange module 410 is specifically used for: target device, which executes, uses wire communication Port and wireless communication port interact respective communication identification information operation at least one associate device.
Further, the communication identification information receiving module specific 420 is specifically used for: the target device passes through described Wired connection port receives the communication identification information that target association equipment uses wired communication mode to send;With or the target Equipment receives the communication identification information that target association equipment uses communication to send by the wireless communication port;Its In, wired communication port and wireless communication port is respectively configured in the target device and the associate device, and described has Line communication port and the wireless communication port are mutually isolated.
Further, the communication identification information includes: the media access control layer address of equipment.
Further, the mapping relations update module 430 is specifically used for: the target device is according to the target association The destinations traffic mode and preset communication mode priority of equipment update the media of communication mode and associate device Mapping relations between access control layer address.
Further, the target device and at least one described associate device are separately positioned on the different compartments of train In.
Communication between devices method provided by any embodiment of the invention can be performed in communication device between above equipment, has and holds The capable corresponding functional module of communication between devices method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to Realize the block diagram of the exemplary computer device 501 of embodiment of the present invention.The computer equipment 501 that Fig. 5 is shown is only one A example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, computer equipment 501 is showed in the form of universal computing device.The component of computer equipment 501 can To include but is not limited to: one or more processor or processing unit 502, system storage 503 connect not homologous ray group The bus 504 of part (including system storage 503 and processing unit 502).
Bus 504 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (Industry Standard Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing Type isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local Bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Computer equipment 501 typically comprises a variety of computer system readable media.These media can be it is any can The usable medium accessed by computer equipment 501, including volatile and non-volatile media, moveable and immovable Jie Matter.
System storage 503 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (Random Access Memory, RAM) 505 and/or cache memory 506.Computer equipment 501 can be with It further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, Storage system 507 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 5 do not show, commonly referred to as " hard drive Device ").Although being not shown in Fig. 5, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven Dynamic device, and to removable anonvolatile optical disk (such as compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other Optical medium) read-write CD drive.In these cases, each driver can be connect by one or more data medium Mouth is connected with bus 504.Memory 503 may include at least one program product, the program product have one group (for example, at least One) program module, these program modules are configured to perform the function of various embodiments of the present invention.
Program/utility 509 with one group of (at least one) program module 508, can store in such as memory In 503, such program module 508 includes --- but being not limited to --- operating system, one or more application program, other It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey Sequence module 508 usually executes function and/or method in embodiment described in the invention.
Computer equipment 501 can also be with one or more external equipments 510 (such as keyboard, sensing equipment, display 511 etc.) it communicates, the equipment interacted with the computer equipment 501 communication can be also enabled a user to one or more, and/or (such as network interface card is adjusted with any equipment for enabling the computer equipment 501 to be communicated with one or more of the other calculating equipment Modulator-demodulator etc.) communication.This communication can be carried out by input/output (Input/Output, I/O) interface 512.And And computer equipment 501 can also pass through network adapter 513 and one or more network (such as local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN) and/or public network, such as internet) communication. As shown, network adapter 513 is communicated by bus 504 with other modules of computer equipment 501.Although should be understood that It is not shown in Fig. 5, other hardware and/or software module can be used in conjunction with computer equipment 501, including but not limited to: micro- generation Code, device driver, redundant processing unit, external disk drive array, disk array (Redundant Arrays of Inexpensive Disks, RAID) system, tape drive and data backup storage system etc..
Processing unit 502 by the program that is stored in system storage 503 of operation, thereby executing various function application with And data processing, such as realize a kind of communication between devices method provided by the embodiment of the present invention.
That is, the processing unit is realized when executing described program: target device is executed using at least two communication modes The operation of respective communication identification information is interacted at least one associate device;The target device is known according to the communication received Other information determines the target association equipment and target association equipment hair of the communication identification information received described in sending The destinations traffic mode used when sending the communication identification information received;The target device is set according to the target association The standby destinations traffic mode and preset communication mode priority updates reflecting between communication mode and associate device Penetrate relationship;The target device is communicated according to the mapping relations at least one described associate device.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The communication between devices method provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, realization when the program is executed by processor: target device execution is using at least two communication modes and at least The operation of the one respective communication identification information of associate device interaction;The target device is believed according to the communication identification received Breath determines that the target association equipment of the communication identification information received described in sending and the target association equipment send institute The destinations traffic mode used when stating the communication identification information received;The target device is according to the target association equipment The destinations traffic mode and preset communication mode priority, the mapping updated between communication mode and associate device are closed System;The target device is communicated according to the mapping relations at least one described associate device.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, RAM, read-only memory (Read Only of one or more conducting wires Memory, ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable CD-ROM, light storage device, magnetic memory device or above-mentioned any appropriate combination. In this document, it includes or the tangible medium of storage program that the program can be by that computer readable storage medium, which can be any, Instruction execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium other than computer readable storage medium, which can send, propagate or Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, radio frequency (RadioFrequency, RF) etc. or above-mentioned any appropriate group It closes.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? It is related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN or WAN --- even It is connected to subscriber computer, or, it may be connected to outer computer (such as pass through internet using ISP Connection).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (12)

1. a kind of communication between devices method characterized by comprising
Target device, which is executed, interacts respective communication identification information at least one associate device using at least two communication modes Operation;
The target device determines the mesh of the communication identification information received described in sending according to the communication identification information received The destinations traffic side used when the communication identification information received described in mark associate device and target association equipment transmission Formula;
The target device is preferential according to the destinations traffic mode of the target association equipment and preset communication mode Grade updates the mapping relations between communication mode and associate device;
The target device is communicated according to the mapping relations at least one described associate device.
2. the method according to claim 1, wherein the target device, which executes, uses at least two communication modes The operation of respective communication identification information is interacted at least one associate device, comprising:
Target device, which is periodically executed, interacts respective communication at least one associate device using at least two communication modes The operation of identification information;
In the mapping relations, the corresponding age timer of an associate device;The method also includes:
The target device is when detecting that the timing duration in age timer meets failure condition, by the age timer The associate device of corresponding failure is deleted from the mapping relations, and by with the associate device that is not present in the mapping relations Corresponding age timer is purged.
3. according to the method described in claim 2, it is characterized in that, the mapping relations include: corresponding with first communication party formula The first associate device set, and the second associate device set corresponding with second communication method;The first communication party formula Priority be higher than the second communication method priority;
The target device is preferential according to the destinations traffic mode of the target association equipment and preset communication mode Grade updates the mapping relations between communication mode and associate device, comprising:
The target device if it is determined that the destinations traffic mode be the first communication party formula, then verify it is described first association It whether include the target association equipment in cluster tool;If so, updating the age timer of the target association equipment;It is no Then, the target association equipment is added in the first associate device set, and according to the aging of the target association equipment The age timer of the target association equipment is established or updated to the existence of timer;
The target device if it is determined that the destinations traffic mode be the second communication method, then verify it is described first association It whether include the target association equipment in cluster tool;If so, abandoning the update to the mapping relations;Otherwise, it verifies It whether include the target association equipment in the second associate device set;If so, updating the target association equipment Age timer;Otherwise, the target association equipment is added in the second associate device set, and establishes the target and closes Join the age timer of equipment.
4. according to the method described in claim 3, it is characterized in that, the target device according to the mapping relations, and it is described At least one associate device is communicated, comprising:
The first associate device for including in the target device and the first associate device set is according to the first communication party Formula is communicated;
It include removing second except first associate device in the target device and the second associate device set Associate device is communicated according to the second communication method.
5. according to the method described in claim 3, it is characterized in that, the target device is determining that the destinations traffic mode is After the first communication party formula, further includes:
Whether it includes the target association equipment that the target device is verified in the second associate device set, if so, The target association equipment is deleted in the second associate device set.
6. according to the method described in claim 5, it is characterized in that, the target device according to the mapping relations, and it is described At least one associate device is communicated, comprising:
The third associate device for including in the target device and the first associate device set is according to the first communication party Formula is communicated;
The 4th associate device for including in the target device and the second associate device set is according to the second communication party Formula is communicated.
7. method according to claim 1-6, which is characterized in that the first communication party formula is wire communication side Formula, the second communication method are communication;
The target device, which is executed, interacts respective communication identification at least one associate device using at least two communication modes The operation of information, comprising:
Target device execution is interacted using wired connection port and wireless communication port at least one associate device respective The operation of communication identification information;
The target device determines the mesh of the communication identification information received described in sending according to the communication identification information received The destinations traffic side used when the communication identification information received described in mark associate device and target association equipment transmission Formula, comprising:
The target device is received target association equipment by the wired connection port and is led to using what wired communication mode was sent Believe identification information;With or the target device pass through the wireless communication port receive target association equipment using wireless communication The communication identification information that mode is sent;
Wherein, wired communication port and wireless communication port is respectively configured in the target device and the associate device, and The wired connection port and the wireless communication port are mutually isolated.
8. method according to claim 1-6, which is characterized in that the communication identification information includes: equipment Media access control layer address;
The target device is preferential according to the destinations traffic mode of the target association equipment and preset communication mode Grade updates the mapping relations between communication mode and associate device, comprising:
The target device is preferential according to the destinations traffic mode of the target association equipment and preset communication mode Grade updates the mapping relations between communication mode and the media access control layer address of associate device.
9. method according to claim 1-6, which is characterized in that the target device and it is described at least one Associate device is separately positioned in the different compartments of train.
10. a kind of communication between devices device characterized by comprising
Communication identification information exchange module is associated with at least one using at least two communication modes for target device execution and is set The operation of the standby respective communication identification information of interaction;
Communication identification information receiving module determines for the target device according to the communication identification information received and sends institute State the communication received described in the target association equipment and target association equipment transmission of the communication identification information received The destinations traffic mode used when identification information;
Mapping relations update module, for the target device according to the destinations traffic mode of the target association equipment, And preset communication mode priority, update the mapping relations between communication mode and associate device;
Communication module is communicated for the target device according to the mapping relations at least one described associate device.
11. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes the equipment as described in any in claim 1-9 when executing described program Between communication means.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The communication between devices method as described in any in claim 1-9 is realized when execution.
CN201811194973.8A 2018-10-15 2018-10-15 Communication between devices method, apparatus, computer equipment and storage medium Pending CN109413169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811194973.8A CN109413169A (en) 2018-10-15 2018-10-15 Communication between devices method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811194973.8A CN109413169A (en) 2018-10-15 2018-10-15 Communication between devices method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109413169A true CN109413169A (en) 2019-03-01

Family

ID=65467906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811194973.8A Pending CN109413169A (en) 2018-10-15 2018-10-15 Communication between devices method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109413169A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925125A (en) * 2010-04-23 2010-12-22 清华大学 Method of multipath TCP having mobility and combined with mobile IP (internet protocol)
CN102938704A (en) * 2011-08-16 2013-02-20 中兴通讯股份有限公司 Access management method, device and system
CN103929377A (en) * 2014-04-30 2014-07-16 浙江大学 Wired network and wireless network combined dispatching method and system and related devices
CN106034073A (en) * 2015-03-20 2016-10-19 网宿科技股份有限公司 Multipath transmission optimization method based on content distribution network
EP3244581A1 (en) * 2016-05-09 2017-11-15 Alcatel Lucent Multi-path wireless communication
CN108418751A (en) * 2013-06-06 2018-08-17 苹果公司 The foundation of multipath TCP subflows and control system and method
CN108476208A (en) * 2015-12-28 2018-08-31 亚马逊技术股份有限公司 Multi-path transmission designs

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101925125A (en) * 2010-04-23 2010-12-22 清华大学 Method of multipath TCP having mobility and combined with mobile IP (internet protocol)
CN102938704A (en) * 2011-08-16 2013-02-20 中兴通讯股份有限公司 Access management method, device and system
CN108418751A (en) * 2013-06-06 2018-08-17 苹果公司 The foundation of multipath TCP subflows and control system and method
CN103929377A (en) * 2014-04-30 2014-07-16 浙江大学 Wired network and wireless network combined dispatching method and system and related devices
CN106034073A (en) * 2015-03-20 2016-10-19 网宿科技股份有限公司 Multipath transmission optimization method based on content distribution network
CN108476208A (en) * 2015-12-28 2018-08-31 亚马逊技术股份有限公司 Multi-path transmission designs
EP3244581A1 (en) * 2016-05-09 2017-11-15 Alcatel Lucent Multi-path wireless communication

Similar Documents

Publication Publication Date Title
US7852788B2 (en) Method of organizing nodes of a network into groupings of nodes, computer program for implementing such a method and communication device forming a node of a network of nodes
CN106789526A (en) Method and device for connecting multiple system networks
CN110505254A (en) A kind of communication means, system and the terminal of platooning's traveling
CN106713296B (en) Data isolation method for main line and test line and communication equipment used for method
JP2006352835A (en) One-to-multiple information transmission method and system using wireless lan
CN102315964B (en) Loopback method for testing message and exchange device
CN102497443A (en) Vehicle-mounted station based on Internet, system and communication method thereof
CN113179518A (en) Data transmission method, data transmission device, data transmission equipment and terminal
CN105557045A (en) Access network node, core network node and paging method
EP3038430A1 (en) System and method for data transmission using a terrestrial link and a satellite link
CN101262448A (en) IP data packet transmission method and system
CN101686150A (en) Installation method of network element, network element, DHCP server and network system
CN112688817B (en) Network service issuing method, system and device based on government affair cloud and storage medium
US20070198702A1 (en) Traffic Routing Based on Geophysical Location
CN109413169A (en) Communication between devices method, apparatus, computer equipment and storage medium
CN105763378B (en) A kind of relayed surveillanced network address distribution method based on passenger information system
CN106301955A (en) A kind of message processing method and device
CN115334174B (en) Multi-channel matching method and communication method based on Subset-037 protocol
CN114157350B (en) Optical fiber misconnection detection method and system
CN103840875B (en) Relaying method and system for wireless repeater, and wireless repeater
WO2022007649A1 (en) Message processing method and apparatus
CN110519791B (en) Vehicle-mounted wireless terminal device, system and method
CN101783712B (en) Method, user terminal and network node for identifying LTE (Long Term Evolution) version
WO2020257984A1 (en) Link establishment method for short-wave communication, communication system, and storage medium
CN107005420A (en) Group business feedback method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination