[go: up one dir, main page]

CN201063621Y - Device for implementing communication of peer-to-peer equipment - Google Patents

Device for implementing communication of peer-to-peer equipment Download PDF

Info

Publication number
CN201063621Y
CN201063621Y CNU2007200048646U CN200720004864U CN201063621Y CN 201063621 Y CN201063621 Y CN 201063621Y CN U2007200048646 U CNU2007200048646 U CN U2007200048646U CN 200720004864 U CN200720004864 U CN 200720004864U CN 201063621 Y CN201063621 Y CN 201063621Y
Authority
CN
China
Prior art keywords
slave
unit
main frame
communication
subsystem
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.)
Expired - Fee Related
Application number
CNU2007200048646U
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNU2007200048646U priority Critical patent/CN201063621Y/en
Application granted granted Critical
Publication of CN201063621Y publication Critical patent/CN201063621Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The utility model provides a device realizing communication between peer-to-peer equipments. The device comprises a transmitting unit, a judgment unit, a slave computer communication unit, a slave computer updating unit and a receiving unit, wherein, the transmitting unit is used to broadcast the service information needed by a slave computer, or to broadcast updating information and provided service information when the slave computer is updated to a host computer; the judgment unit is used to confirm whether the host computer providing the services exists; the slave computer communication unit is used to position the communication unit as a slave computer when the host computer exists, and is connected and communicated with the host computer; the slave computer updating unit is used to update the updating unit to a host computer when the host computer does not exist; moreover, the receiving unit is used to receive the information during communicating with the host computer. Because the utility model renovates each slave computer, the attribute of each slave computer can be changed, i.e. one slave computer can be updated to a host computer; therefore, a plurality of slave computers can still communicate with one another in the absence of a host computer.

Description

A kind of device of realizing communication between the peer device
Technical field
The utility model relates to communication field, relates in particular to the device of realizing communication between the peer device.
Background technology
Along with the continuous progress of mechanics of communication, the application mode of controlling platform such as a lot of composite aircrafts, mobile phone and bluetooth earphone to a plurality of subsystems appearred in modern's life for convenience.The main frame of composite aircraft can to handset provide service, but lacking under the situation of main frame between a plurality of handsets and can not directly carry out communication because there is not the ISP.Between present mobile phone and the basket tooth earphone also is to have this problem, have only mobile phone can and bluetooth earphone between carry out communication, but a plurality of basket tooth earphones between can not carry out communication.
The reason that causes this phenomenon is because same equipment can not be realized two kinds of device attributes.Because before these equipment dispatch from the factory, all unify to be provided with device attribute, can only be main frame or slave.Main frame also is server, and being used for provides service for equipment; Slave also is equipment, and slave can only carry out communication with main frame, but can not carry out communication between a plurality of slaves.
The utility model content
The technical problem that the utility model embodiment will solve provides a kind of method and device of realizing communication between the peer device.
For solving the problems of the technologies described above, the utility model provides a kind of device of realizing communication between the peer device, it is characterized in that, this device comprises: transmitting element, judging unit, slave communication unit, slave upgrading unit, receiving element;
Transmitting element is used to broadcast the information on services of slave needs, or slave broadcasting upgrade information and information on services of providing when upgrading to main frame;
Whether judging unit is used to confirm to have the main frame that described service is provided to exist;
The slave communication unit is used for when main frame exists, with self poisoning be slave and with main frame connect the service and communication;
Slave upgrading unit is used for when main frame does not exist self being upgraded to main frame;
Receiving element is used for receiving the information with the host communication process.
Wherein, this device further comprises monitoring means;
Transmitting element also is used for the periodic connection signal that is used to monitor main frame that sends;
Monitoring means, be used for the host communication process, judge receiving element whether receive with monitor main frame be connected the corresponding feedback signal of signal;
Receiving element, also be used to receive be used for the monitoring main frame the connection signal to corresponding feedback signal;
Slave upgrading unit, also be used for monitoring means do not receive with monitor main frame survey main frame be connected the corresponding feedback signal of signal the time, oneself is upgraded to main frame.
Wherein, this slave upgrading unit specifically comprises: slave judging unit, sequence of addresses judging unit, upgrading unit;
The slave judging unit, be used for do not receive at monitoring means with monitor main frame survey main frame be connected the corresponding feedback signal of signal the time, judge whether to exist a plurality of slaves;
The sequence of addresses judging unit is used for drawing when existing a plurality of slaves as a result when the slave judging unit, judges whether the sequence of addresses of self is the highest;
The upgrading unit is used for obtaining self sequence of addresses when the highest at the sequence of addresses judging unit, and self is upgraded to main frame.
Wherein, the slave communication unit specifically comprises: positioning unit, service unit connects;
Positioning unit, being used for when main frame exists self poisoning is slave;
The service unit that connects is used for when positioning unit is slave with self poisoning, and the notice transmitting element sends to main frame and links up service request; And the notice receiving element receives the information of main frame to the reception service request of its feedback; After the service of connecting, trigger the information that transmitting element receives main frame or the transmission of other slaves; Trigger self and send information to main frame or other slaves.
Wherein, this device is arranged in the subsystem of controlling platform one-to-many.
Wherein, the subsystem of controlling platform one-to-many is the family expenses composite aircraft.
Wherein, the subsystem of controlling platform one-to-many is a bluetooth cellular phone.
Wherein, the subsystem of controlling platform one-to-many is the cluster intercom.
Wherein, the subsystem of controlling platform one-to-many is the multimedia controlling platform of family expenses.
Above technical scheme because the utility model is transformed in each slave, makes the attribute of each slave to change as can be seen, and promptly slave can escalate into main frame, makes lacking under the situation of main frame, still can carry out communication between a plurality of slaves.
Description of drawings
Fig. 1 is the utility model realization flow figure;
Fig. 2 is the utility model implement device figure.
Embodiment
The utility model embodiment can not realize two kinds of device attributes in order to solve same equipment, slave can only carry out communication with main frame, but can not carry out the problem of communication between a plurality of slaves, propose the process of dynamic update, method and the device of realizing communication between the peer device are provided.
Describe the implementation procedure of the utility model embodiment below in detail, referring to Fig. 1:
Step 101: slave start;
Step 102: the information on services that broadcasting needs, confirm whether to have the main frame that described service is provided to exist; If then execution in step 108 is arranged; If there is not then execution in step 103;
The method whether affirmation described in this step has the main frame of the service of providing to exist is that slave sends connection request to main frame in start certain hour scope, if receive the feedback signal of responding this connection request, illustrate that then main frame exists; If do not receive the feedback signal of responding this connection request, illustrate that then main frame does not exist.
Step 103: confirm whether to have only a slave to exist; It is execution in step 104 then; Otherwise execution in step 105;
Step 104: when having only a slave to exist, upgrade service, broadcasting upgrade information and the information on services that provides are provided or withdraw from service;
The upgrade service of carrying out described herein refers at first disengaging service, restarts this equipment then, and service is provided.
Step 105: if a plurality of slaves when existing, sort according to sequence of addresses, judge whether this slave is that sequence of addresses is the highest, if execution in step 106 then; Execution in step 107 then if not;
Address described in this step has global uniqueness, so according to accessing unique putting in order.
Step 106: the information on services that carries out upgrade service and broadcast upgrade information and provide.
Step 107: upgrade execution in step 102 if not then wait for the highest slave of sequence of addresses;
The upgrade service of carrying out described herein refers at first disengaging service, restarts this equipment then, and service is provided.
Step 108: after inquiring the existence of main frame, send connection request to main frame;
Step 109: receive the link information of main frame feedback, successfully connect and communication.
In order better to realize the communication between the peer device, to withdraw from when service is provided at main frame, the uninterruptedly communication between the slave is monitored in main frame and slave carry out the process of communication and is connected link.
Step 110: monitoring connects link, judges whether main frame breaks away from service; It is execution in step 103 then; Otherwise continue execution in step 110, the monitoring link;
The similar process whether the inquiry main frame of monitoring connection link described in this step and step 102 exists.Only the monitoring described in this step connects in fact a kind of protection mechanism of link, is a virtual aerial connection, and slave regularly sends signal to main frame, and the monitoring feedback signal, if feedback signal is received in monitoring, illustrates that then main frame exists; If behind certain hour, do not receive the response feedback signal, illustrate that then main frame breaks away from service.
Corresponding to this method, the utility model also provides a kind of device of realizing communication between the peer device, and this device comprises: transmitting element, judging unit, slave communication unit, slave upgrading unit, receiving element;
Transmitting element is used to broadcast the information on services of slave needs, or slave broadcasting upgrade information and information on services of providing when upgrading to main frame;
Whether judging unit is used to confirm to have the main frame that described service is provided to exist;
The slave communication unit is used for when main frame exists, with self poisoning be slave and with main frame connect the service and communication;
Slave upgrading unit is used for when main frame does not exist self being upgraded to main frame;
Receiving element is used for receiving the information with the host communication process.
Corresponding to the protection step of monitoring, this device further comprises monitoring means;
Corresponding transmitting element also is used for the periodic connection signal that is used to monitor main frame that sends;
Monitoring means, be used for the host communication process, judge receiving element whether receive with monitor main frame be connected the corresponding feedback signal of signal;
Receiving element, also be used to receive be used for the monitoring main frame the connection signal to corresponding feedback signal;
Slave upgrading unit, also be used for monitoring means do not receive with monitor main frame survey main frame be connected the corresponding feedback signal of signal the time, oneself is upgraded to main frame.
Wherein said slave upgrading unit specifically comprises: slave judging unit, sequence of addresses judging unit, upgrading unit;
The slave judging unit, be used for do not receive at monitoring means with monitor main frame survey main frame be connected the corresponding feedback signal of signal the time, judge whether to exist a plurality of slaves;
The sequence of addresses judging unit is used for drawing when existing a plurality of slaves as a result when the slave judging unit, judges whether the sequence of addresses of self is the highest;
The upgrading unit is used for obtaining self sequence of addresses when the highest at the sequence of addresses judging unit, and self is upgraded to main frame.
Wherein said slave communication unit specifically comprises: positioning unit, the service unit that connects;
Positioning unit, being used for when main frame exists self poisoning is slave;
The service unit that connects is used for when positioning unit is slave with self poisoning, and the notice transmitting element sends to main frame and links up service request; And the notice receiving element receives the information of main frame to the reception service request of its feedback; After the service of connecting, trigger the information that transmitting element receives main frame or the transmission of other slaves; Trigger self and send information to main frame or other slaves.
The utility model can embed aspects such as family expenses composite aircraft (a plurality of handsets break away from machine tools carry out work), cluster intercom, mobile phone basket tooth, the multimedia controlling platform of family expenses with the work between the multimedia etc., so long as the controlling platform of one-to-many can be used the utility model to the cluster work of multiple subsystem.
When for example the utility model is on being applied to Bluetooth of mobile phone, when mobile phone communication, in the time of need carrying out Bluetooth transmission, at first search main frame, finding behind the main frame self poisoning is slave, thereby set up and main frame between communication, when not finding main frame and address information priority then self is upgraded to main equipment when the highest, and provide service.Thereby a plurality of mobile phone times can be carried out bluetooth communication.
More than a kind ofly realize that the method and apparatus of communication is described in detail between the peer device to provided by the utility model, used specific case herein principle of the present utility model and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present utility model and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present utility model, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as restriction of the present utility model.

Claims (9)

1. a device of realizing communication between the peer device is characterized in that, this device comprises: transmitting element, judging unit, slave communication unit, slave upgrading unit, receiving element;
Transmitting element is connected with slave communication unit and slave upgrading unit respectively, is used to broadcast the information on services of slave needs, or the slave information on services of broadcasting upgrade information and providing when upgrading to main frame;
Whether judging unit is connected with slave upgrading unit with the slave communication unit respectively, be used to confirm to have the main frame that described service is provided to exist;
The slave communication unit is connected with judging unit, receiving element and transmitting element respectively, be used for when main frame exists, with self poisoning be slave and with main frame connect the service and communication;
Slave upgrading unit is connected with judging unit, receiving element and transmitting element respectively, is used for when main frame does not exist self being upgraded to main frame;
Receiving element is connected with slave communication unit and slave upgrading unit respectively, is used for receiving the information with the host communication process.
2. the device of communication is characterized in that between the realization peer device according to claim 1, and this device further comprises monitoring means;
Transmitting element also is connected with monitoring means, also is used for the periodic connection signal that is used to monitor main frame that sends;
Monitoring means is connected with transmitting element with slave communication unit, slave upgrading unit, receiving element respectively, be used for the host communication process, judge receiving element whether receive with monitor main frame be connected the corresponding feedback signal of signal;
Receiving element also is connected with monitoring means, also be used to receive be used for the monitoring main frame the connection signal to corresponding feedback signal;
Slave upgrading unit also is connected with monitoring means, also be used for monitoring means do not receive with monitor main frame survey main frame be connected the corresponding feedback signal of signal the time, oneself is upgraded to main frame.
3. the device of communication is characterized in that between the realization peer device according to claim 2, and this slave upgrading unit specifically comprises: slave judging unit, sequence of addresses judging unit, upgrading unit;
The slave judging unit is connected with the sequence of addresses judging unit, be used for monitoring means do not receive with monitor main frame be connected the corresponding feedback signal of signal the time, judge whether to exist a plurality of slaves;
The sequence of addresses judging unit is connected with the slave judging unit with the upgrading unit respectively, is used for drawing when existing a plurality of slaves as a result when the slave judging unit, judges whether the sequence of addresses of self is the highest;
The upgrading unit is connected with the sequence of addresses judging unit, is used for obtaining self sequence of addresses when the highest at the sequence of addresses judging unit, and self is upgraded to main frame.
4. according to the device of communication between one of them described realization peer device of claim 1 to 3, it is characterized in that the slave communication unit specifically comprises: positioning unit, service unit connects;
Positioning unit is connected with the service unit that connects, and being used for when main frame exists self poisoning is slave;
The service unit that connects is connected with positioning unit, is used for when positioning unit is slave with self poisoning, and the notice transmitting element sends to main frame and links up service request; And the notice receiving element receives the information of main frame to the reception service request of its feedback; After the service of connecting, trigger the information that transmitting element receives main frame or the transmission of other slaves; Trigger self and send information to main frame or other slaves.
5. the subsystem of a controlling platform one-to-many is characterized in that, this subsystem includes aforesaid right requirement 1 to 3 one of them described device.
6. the subsystem of a controlling platform one-to-many is characterized in that, this subsystem is the family expenses composite aircraft, and described family expenses composite aircraft embeds aforesaid right requirement 1 to 3 one of them described device.
7. the subsystem of a controlling platform one-to-many is characterized in that, this subsystem is a bluetooth cellular phone, and described bluetooth cellular phone embeds aforesaid right requirement 1 to 3 one of them described device.
8. the subsystem of a controlling platform one-to-many is characterized in that, this subsystem is the cluster intercom, and described cluster intercom embeds aforesaid right requirement 1 to 3 one of them described device.
9. the subsystem of a controlling platform one-to-many is characterized in that, this subsystem is the multimedia controlling platform of family expenses, and the multimedia controlling platform of described family expenses embeds aforesaid right requirement 1 to 3 one of them described device.
CNU2007200048646U 2007-02-12 2007-02-12 Device for implementing communication of peer-to-peer equipment Expired - Fee Related CN201063621Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007200048646U CN201063621Y (en) 2007-02-12 2007-02-12 Device for implementing communication of peer-to-peer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007200048646U CN201063621Y (en) 2007-02-12 2007-02-12 Device for implementing communication of peer-to-peer equipment

Publications (1)

Publication Number Publication Date
CN201063621Y true CN201063621Y (en) 2008-05-21

Family

ID=39452008

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007200048646U Expired - Fee Related CN201063621Y (en) 2007-02-12 2007-02-12 Device for implementing communication of peer-to-peer equipment

Country Status (1)

Country Link
CN (1) CN201063621Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102597955A (en) * 2009-11-02 2012-07-18 国际商业机器公司 Intelligent rolling upgrade for data storage systems
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102597955A (en) * 2009-11-02 2012-07-18 国际商业机器公司 Intelligent rolling upgrade for data storage systems
US9037923B2 (en) 2009-11-02 2015-05-19 International Business Machines Corporation Intelligent rolling upgrade for data storage systems
US9298526B2 (en) 2009-11-02 2016-03-29 International Business Machines Corporation Intelligent rolling upgrade for data storage systems
US9946587B2 (en) 2009-11-02 2018-04-17 International Business Machines Corporation Intelligent rolling upgrade for data storage systems
CN108848163A (en) * 2018-06-15 2018-11-20 歌尔科技有限公司 The upgrade method and TWS earphone of TWS earphone
CN108848163B (en) * 2018-06-15 2022-04-05 歌尔科技有限公司 Upgrading method of TWS earphone and TWS earphone

Similar Documents

Publication Publication Date Title
CN105024839B (en) Method and device for upgrading software version
CN105409187B (en) Support the device and method that wireless docking operation is executed in the communication system of general plug-and-play protocol
CN101742737B (en) Intelligent emergent wireless command system
EP1498822A3 (en) State migration in multiple NIC RDMA enabled devices
WO2010110594A3 (en) Method and apparatus for handover in a mobile communication system
CN104205998A (en) Method and apparatus for relaying data communications in a bluetooth network
CN101888304A (en) Updating method, device and system for routing equipment
CN106339236A (en) Software upgrading method, client, interphone and soft upgrading system
CN103747091A (en) Distributed data synchronization system and method for embedded equipment
CN103036719A (en) Cross-regional service disaster method and device based on main cluster servers
KR20120064883A (en) Communication control method for dual standby portable device and dual standby portable device supporting the same
CN102866925B (en) Communication method and system for middleware and user interface
CN103731562B (en) For the method and apparatus of smart machine Adaptive matching bluetooth equipment
CN100547995C (en) The data transmission method of equipment room in a kind of network
CN104955001A (en) Dual-mode talkback terminal and talkback method thereof and communication system
CN104317496A (en) Application sharing method and device
CN101026393B (en) Method and device for realizing communication between peer devices
CN201063621Y (en) Device for implementing communication of peer-to-peer equipment
CN102571311B (en) Master-slave switching communication system and master-slave switching communication method
US20110238740A1 (en) Device management methods and related apparatus
US20100046736A1 (en) Voice communication system, equipment and program
CN102185925A (en) System, terminal and method for supporting terminal data processing of computer
CN103092721B (en) Application backing up method, electronic equipment and system
CN102111754A (en) Multi-mode equipment and method for upgrading software thereof
KR102290944B1 (en) Management capabilities for a wireless docking experience

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080521

Termination date: 20100212