CN105530277A - Method and device for cooperative work of devices - Google Patents

Method and device for cooperative work of devices Download PDF

Info

Publication number
CN105530277A
CN105530277A CN201410525101.0A CN201410525101A CN105530277A CN 105530277 A CN105530277 A CN 105530277A CN 201410525101 A CN201410525101 A CN 201410525101A CN 105530277 A CN105530277 A CN 105530277A
Authority
CN
China
Prior art keywords
equipment
information
service
upnp
resource 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
CN201410525101.0A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201410525101.0A priority Critical patent/CN105530277A/en
Publication of CN105530277A publication Critical patent/CN105530277A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a device for cooperative work of devices, relates to the field of communications, and aims to solve the problem that information devices cannot realize cross-platform and cross-operating system resource sharing and cooperative services. The method comprises the steps that in a same local area network, a first device receives a service request message sent by a second device through a router, wherein the service request message is used for the second device to request for resource information for performing synchronous operation with the first device; the first device analyzes the service request message; whether operating systems of the first device and the second device are same or not is determined according to an analysis result; and if the operating systems of the first device and the second device are different, the first device converts an intelligent grouping and resource sharing (IGRS) standard protocol format into a universal plug-and-play (UPnP) protocol format and sends a service response message and the resource information to the second device through the router according to the UPnP protocol format, so that the second device can cooperatively work with the first device according to the resource information. The method and the device provided by embodiments of the invention are used for cooperative work of the devices.

Description

A kind of method and apparatus of equipment room collaborative work
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and apparatus of equipment room collaborative work.
Background technology
Along with widely using of wired and wireless communication hardware, interconnecting between equipment and equipment is also more and more general.Such as, the java applet in mobile phone can control the safety system in user family, and the remote-controlled user mobile phone of the control device in car on panel board carries out conversing etc.
In traditional communication system, increasing communication equipment, as personal computer (PersonalComputer, PC), notebook, mobile phone and TV etc. have all possessed the ability interconnected, for the equipment of same operation system, can be undertaken interconnected by wired or wireless mode, realize resource-sharing and cooperation with service, but for different operating system, due to the interface definition of different operating system, communication language etc. difference, communication apparatus can not be realized cross-platform, the access of cross-system and collaborative, such as can't realize resource-sharing and cooperation with service between android system and IOS system.
Summary of the invention
Embodiments of the invention provide a kind of method and apparatus of equipment room collaborative work, can not realize cross-platform, that cross operating system carries out resource-sharing and cooperation with service problem to solve between information equipment.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, provides a kind of method of equipment room collaborative work, comprising:
In same local area network (LAN), the first equipment receives the service request information that the second equipment is sent by router, and described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Described first equipment is resolved described service request information, to determine that according to analysis result whether described first equipment is identical with the operating system of described second equipment;
If different, then information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by described first equipment, and send service response message and described resource information by described router to described second equipment according to UPnP protocol form, make described second equipment according to described resource information and described first equipment collaboration work.
Described resource information is the shareable resource information of described first equipment or the cooperation with service information of application program.
Described service request information comprises information type, the address information of described first equipment and operation system information;
Wherein, described information type is the described shareable resource information type of request or the cooperation with service information type for the described application program of request.
Information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by described first equipment, and is comprised to described second equipment transmission service response message and described resource information by described router according to UPnP protocol form:
Described first equipment extracts IGRS device description document and the IGRS service description document of this equipment;
Described IGRS device description document is converted into UPnP device and describes document by described first equipment, and by described IGRS service description document and UPnP service description document;
Described first equipment describes document and described UPnP service description document according to described UPnP device and adopts simple object access protocol to send service response message by described router to described second equipment, and describes document and described UPnP service description document according to described UPnP device and adopt Generic Event Notification system GENA to send described resource information by described router to described second equipment.
Second aspect, provides a kind of method of equipment room collaborative work, comprising:
In same local area network (LAN), the second equipment sends service request information by router to the first equipment, and described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Described second equipment receives service response message and the resource information of described first equipment transmission, according to described resource information and described first equipment collaboration work by described router;
Wherein, described service response message and described resource information are described first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and is sent to described second equipment according to described UPnP protocol form.
Described method also comprises:
Described second equipment obtains IP address by dynamic host configuration protocol DHCP or automatic IP;
Described second equipment adopts User Data Protocol UDP to reach the standard grade or off-line notice to described first equipment transmission in the mode of multicast or clean culture according to described IP address.
Described service request information comprises information type, the address information of described first equipment and operation system information, and described resource information is the shareable resource information of described second equipment or the cooperation with service information of application program;
Wherein, described information type is the described shareable resource information type of request or the cooperation with service information type for the described application program of request.
The third aspect, provides a kind of first equipment, comprising:
Receiving element, in same local area network (LAN), receives the service request information that the second equipment is sent by router, and described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Resolution unit, for resolving described service request information, to determine that according to analysis result whether described first equipment is identical with the operating system of described second equipment;
Information equipment resource-sharing cooperation with service IGRS standard agreement format conversion if for different, is then UPnP UPnP protocol form by converting unit;
Transmitting element, for sending service response message and described resource information by described router to described second equipment according to UPnP protocol form, makes described second equipment according to described resource information and described first equipment collaboration work.
Described converting unit is specifically for IGRS device description document and the IGRS service description document of extracting this equipment; Described IGRS device description document is converted into UPnP device and describes document, and by described IGRS service description document and UPnP service description document;
Described transmitting element specifically for: describe document and described UPnP service description document according to described UPnP device and adopt simple object access protocol to send service response message by described router to described second equipment, and describe document and described UPnP service description document according to described UPnP device and adopt Generic Event Notification system GENA to send described resource information by described router to described second equipment.
Fourth aspect, provides a kind of second equipment, comprising:
Transmitting element, in same local area network (LAN), send service request information by router to the first equipment, described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Receiving element, for being received service response message and the resource information of described first equipment transmission by described router, according to described resource information and described first equipment collaboration work;
Wherein, described service response message and described resource information are described first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and is sent to described second equipment according to described UPnP protocol form.
The embodiment of the present invention provides a kind of method and apparatus of equipment room collaborative work, in same local area network (LAN), first equipment receives the service request information that the second equipment is sent by router, service request information carries out the resource information of simultaneous operation for the second device request and the first equipment, first equipment is resolved service request information, to determine that according to analysis result whether the first equipment is identical with the operating system of the second equipment, if different, then information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by the first equipment, and send service response message and resource information by router to the second equipment according to UPnP protocol form, make the second equipment according to resource information and the first equipment collaboration work, because UPnP protocol can give full play to the function of transmission control protocol/Internet Protocol TCP/IP etc. and network technology, not only can carry out seamless link to similar network, but also can net control equipment and the transmission information between them, device driver is not had in UPnP structure, the substitute is common protocol, can solve like this can not realize between information equipment cross-platform, cross operating system carries out the problem of resource-sharing and cooperation with service.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The method flow schematic diagram of a kind of equipment room collaborative work that Fig. 1 provides for the embodiment of the present invention;
A kind of different operating system equipment connection schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The method flow schematic diagram of a kind of equipment room collaborative work that Fig. 3 provides for the embodiment of the present invention;
The method flow schematic diagram of a kind of equipment room collaborative work that Fig. 4 provides for the embodiment of the present invention;
The one first device structure schematic diagram that Fig. 5 provides for the embodiment of the present invention;
The one second device structure schematic diagram that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Information equipment resource-sharing cooperation with service (IntelligentGroupingandResourceSharing, IGRS) standard, i.e. IGRS, it is the criterion of much information terminal constituting criterion, be Intelligent Dynamic networking in limited range, realize the technical foundation that intelligent interconnection, resource-sharing and cooperation with service are applied.
Wherein, intelligent interconnection refers to and is equipped with any personal information terminal of IGRS protocol, information application, other associated terminal of Social Information Service, within the specific limits automatic search, application and service, and on IGRS protocol basis, the network that dynamic generation is new, a kind of intelligency activity of automatic network-building or networking after safety certification.
Resource-sharing refers to that the equipment of intelligent interconnection is by cable network and the available resource of wireless network voluntary publication oneself, and obtains the available resource of other party, as computational resource, memory space, input function etc.Wherein resource can be the function of equipment, also can be the application and service of combination.The equipment shared can be PC, notebook, server, switch, router, printer and mobile phone etc., also can be TV, audio amplifier, projector etc.The application shared can be word processing, image display, animation, video frequency program etc., also can be database, mailing system etc.The service shared can be automatic location, tele-medicine, tourism planning, ecommerce etc.Resource-sharing be IGRS application means, be concentrated numerous resource come for individual, enterprise, social synergy serve key.
Cooperation with service refers on the basis of intelligent interconnection, resource-sharing, passes through the optimum organization of application and resource within the specific limits, mutually cooperates, and being the object of IGRS's application, is the foothold of intelligent interconnection, resource-sharing.
The embodiment of the present invention provides a kind of method of equipment room collaborative work, as shown in Figure 1, comprising:
101, in same local area network (LAN), the first equipment receives the service request information that the second equipment is sent by router, and service request information carries out the resource information of simultaneous operation for the second device request and the first equipment.
102, the first equipment is resolved service request information, to determine that according to analysis result whether the first equipment is identical with the operating system of the second equipment.
If 103 is different, then information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by the first equipment, and send service response message and resource information by router to the second equipment according to UPnP protocol form, make the second equipment according to resource information and the first equipment collaboration work.
Wherein, the first equipment can be the smart machines such as mobile phone, PC, intelligent sound, and the second equipment can be the smart machine with display such as intelligent television, panel computer, mobile phone.Under first equipment and the second equipment are all connected to same local area network (LAN), make this local area network (LAN) at least can comprise the first equipment, the second equipment and router.
In this local area network (LAN), the first equipment and the second equipment comprise IGRS protocol communication module, can be used for request resource and share or cooperation with service.When the second equipment needs request to carry out simultaneous operation with the first equipment, second equipment first can send service request information to router, the resource information of simultaneous operation is carried out for the second device request and the first equipment, this service request information can comprise information type, the address information of the first equipment and operation system information, wherein, information type can be the shareable resource information type of request first equipment or the cooperation with service information type of application program, accordingly, here resource information can be just the shareable resource information of the first equipment or the cooperation with service information of application program.Operating system can be the operating systems such as Android, IOS, Windows.
Then, this service request information is just sent to the first equipment according to the address information of the first equipment in this service request information by router, first equipment is after this service request information of acquisition, according to the operation system information in this service request information, the operation system information of the operation system information of the second equipment and the first equipment self is compared, to confirm that whether the operating system of the first equipment is identical with the operating system of the second equipment, if identical, because the equipment of same operation system can carry out interconnected, like this when the first equipment agrees to that the second equipment obtains the resource information of carrying out simultaneous operation, then the first equipment just first can send response message to the second equipment by router, this response message makes the first equipment and the second equipment connect, then, first equipment just can according to the information type in this service request information, obtain the resource information needed for the first equipment, resource information is sent to the first equipment by router, with the resource information making the first equipment check the second equipment in the display of the first equipment.
When the operating system of the first equipment is not identical with the operating system of the second equipment, if the first equipment is agreed to and the second equipment connection, then the first equipment just responds this service request information.Due to UPnP (UniversalPlugandPlay, UPnP) agreement can give full play to transmission control protocol/Internet Protocol (TransmissionControlProtocol/InternetProtocol, etc. TCP/IP) with the function of network technology, not only can carry out seamless link to similar network, but also can net control equipment and the transmission information between them, device driver is not had in UPnP structure, the substitute is common protocol, so, can IGRS standard agreement be mapped in UPnP protocol, take UPnP protocol as explanation, utilize TCP, User Datagram Protoco (UDP) (UserDatagramProtocol, UDP), HTML (Hypertext Markup Language) (HypertextTransferProtocol, HTTP), the Internet internal object request broker agreement (InternetInter-ORBProtocol, IIOP), RMI (RemoteMethodInvocation, etc. RMI) procotol carries out stating and transmitting, so, the message that service response message is packaged into UPnP protocol form from the packing of IGRS protocol format just can be sent to router by the first equipment, the UPnP protocol Formatting Service response message of following received from the first equipment is sent to the second equipment by router again, first equipment and the second equipment are connected.And while service response message is sent to the first equipment by router, router can receive the second equipment that the first equipment sends needs the resource information of simultaneous operation, this resource information is also send to router by the first equipment with the protocol format of UPnP, this resource information is transferred to the second equipment with the protocol format of UPnP by router again, like this, the display of the second equipment just can show this resource information, and can operate this resource information, that is, second equipment can operate the resource information of the first equipment in equipment of itself, authority by the first equipment is transferred in the second equipment, the second equipment and the first equipment is made to carry out cooperation with service.
Wherein, second equipment needs the application program of the shared resource of rights of using transfer equipment also namely on the first equipment can be that the application programming interface (ApplicationProgrammingInterface, API) provided by the explorer in the second equipment realizes using and managing the collaborative share resource of different operating system.
In above process, the resource of all devices of same local area network (LAN) can when router forwards, router can carry out differentiated control for providing the equipment of resource-sharing and cooperation with service, the equipment of request simultaneous operation according to the differentiated control resource in router, can obtain the resource information of requested equipment.
In addition, before the first equipment and the second equipment collaboration work, addressing operation to first be carried out to add network.Concrete, first equipment and the second equipment can pass through DHCP (DynamicHostConfigurationProtocol, DHCP) or automatically IP (Auto-IP) obtains IP address, like this, the first equipment just can carry out intercommunication with the second equipment by the IP address obtained.
Then, the search between the first equipment and the second equipment is realized by device discovery.Concrete, second equipment can utilize SSDP (SimpleServiceDiscoveryProtocol, SSDP), can be specifically User Datagram Protoco (UDP) (UserDatagramProtocol, UDP), reaching the standard grade and and off-line notification message with the mode finishing equipment of clean culture or multicast (multicast/unicast).Concrete, the form of SSDP can apply mechanically hypertext transfer protocol (Hypertexttransferprotocol, HTTP) the part messages head field of 1.1, but it is different with HTTP again, SSDP adopts UDP transmission, and SSDP does not have MessageBody, in other words, SSDP only has letter head and does not have communications content.
Wherein, the field that SSDP first fills can be star-line, so that the type of this notification message to be described.For example, when this field is " NOTIFY*HTTP/1.1/r/n ", just can illustrate that this SSDP message is notification message.Such as the second equipment will add network or will leave network and just can send this notification message, or first equipment just send this notification message to the second equipment when upgrading oneself service, such second equipment when obtaining this notification message with regard to the equipment state of synchronized update self.In addition, this field is filled in " M-SEARCH*HTTP/1.1/r/n " for another example, can illustrate that this type of message to carry out search operation, if will respond search, this field can be " HTTP/1.1200OK/r/n ".
The field that SSDP second fills can be destination address HOST.If the second equipment exists multiple here, namely multiple second equipment will carry out collaborative work with the first equipment, this field can be filled out " HOST:239.255.255.250:1900 ", " 239.255.255.250 " is multicast address, namely the second equipment can carry out multicast search find the first equipment.Wherein, 1900 is port numbers of SSDP agreement.If destination address HOST is particular address, so this notification message is just clean culture search, at this moment the first equipment is after obtaining this notification message, can in ST field response address responeaddress, the i.e. IP address of the first equipment, so that the second equipment obtains the IP address information of the first equipment.
After the first equipment and the second equipment finishing equipment find, at this moment the first equipment just can according to the service request information of the second equipment transmission, the resource information will asked by second equipment is converted to UPnP protocol form from IGRS protocol format, due to the device description of IGRS agreement, service describing, service call, the device description of event notice and UPnP protocol, service describing, service call, event notice is different, therefore, need the device description document of IGRS agreement and the device description and the service describing that are converted to UPnP protocol, with the service call and the event notice form that by the service call of IGRS and event notice format conversion are UPnP protocol.
Concrete, IGRS agreement and UPnP protocol all adopt the device description of extend markup language (ExtensibleMarkupLanguage, XML), but different in formal definition, need the XML document extracting IGRS to regenerate according to UPnP form.For service describing, IGRS adopts web services definition language (WebServicesDescriptionLanguage, WSDL), and UPnP adopts XML, so need WSDL to be converted to XML.In addition, the service call of IGRS adopts safety/non-security pipeline, UPnP adopts Simple Object Access Protocol (SimpleObjectAccessProtocol, SOAP), therefore, service call is needed to be converted to SOAP form, and, the event notice of IGRS adopts safety/non-security pipeline, UPnP adopts General Event Notification framework (GenericEventNotificationArchitecture, GENA), this just needs event notice to send resource information with GENA form to the second equipment, to complete the subscription and the promotion that complete event message with the second equipment.
In order to ensure reliability, it can be transmission control protocol (TransmissionControlProtocol, TCP) transmission.Wherein, the first equipment can send one group of initializaing variable or state value to the second equipment and realize the synchronous first of the second equipment and the first equipment.Event value (eventkey) can be carried in the event message that first equipment sends, ensure the state consistency of both devices.Such as, the current new events key of first equipment is 6, the eventkey of the second equipment current record is 4, and the second equipment directly just have received the event that eventkey is 6 next time, such explanation second equipment leaks receipts event, therefore can obtain to the first device request the event that eventkey is 5, to ensure the consistent of the second equipment and the first equipment variables value or state.
The embodiment of the present invention provides a kind of method of equipment room collaborative work, in same local area network (LAN), first equipment receives the service request information that the second equipment is sent by router, service request information carries out the resource information of simultaneous operation for the second device request and the first equipment, first equipment is resolved service request information, to determine that according to analysis result whether the first equipment is identical with the operating system of the second equipment, if different, then information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by the first equipment, and send service response message and resource information by router to the second equipment according to UPnP protocol form, make the second equipment according to resource information and the first equipment collaboration work, with solve can not realize between information equipment cross-platform, cross operating system carries out the problem of resource-sharing and cooperation with service.
Implementation in application above-described embodiment, interconnected for carrying out between different operating system, example explanation is carried out with the process realizing resource-sharing and cooperation with service, as shown in Figure 2, specifically for the first equipment be IOS system mobile phone, the second equipment for android system mobile phone and router composition local area network (LAN) be described, which is specifically as shown in Figure 3.
A, android system mobile phone send service request information to router, and this service request information is used for the pictorial information of the IOS system mobile phone under this local area network (LAN) of android system handset requests.
Wherein, carry information type, destination address and operation system information in this service request information, information type is just the shareable resource information of picture category, and the address of IOS system mobile phone and the operation system information of android system mobile phone, be android system.This service request information can be the form of request Android installation kit (AndroidPackage, APK).
IOS system mobile phone and android system mobile phone are all provided with IRGS standard agreement module.
This service request information is sent to IOS system mobile phone by B, router.
C, IOS system mobile phone determines that according to this service request information the operating system of the android system mobile phone asking to connect is different from the operating system of self, if IOS system mobile phone is agreed to connect, then to android system mobile phone feedback response message.
Wherein, this feedback response message is by IRGS standard agreement is converted into UPnP protocol form, sends to android system mobile phone with UPnP protocol form by router.Because UPnP protocol can realize the seamless link of equipment room, but also can net control equipment and the transmission information between them, such android system mobile phone just can realize interconnected with IOS system mobile phone.
Shareable resource information corresponding with this information type in IOS system mobile phone is sent to router according to the information type in this service request information by D, IOS system mobile phone, so that this shareable resource information is sent to android system mobile phone by router.
Concrete, information type is that the shareable resource information of picture/mb-type sends to android system mobile phone with UPnP protocol form by router by IOS system mobile phone.
Here between equipment, coordination sharing resource can be divided into two classes: a class can be the intrinsic shareable resource of equipment self, as static files such as TV box child resource, Intelligent routing storage resources; One class can be application developer provides certain form to other application program service by exploitation, as media playback service, cell phone intelligent terminal access TV box or intelligent router service etc.
The shareable resource information of above-mentioned picture/mb-type is just static file here, this static file can be understood as the resource information that can not send change when application program is run, if android system mobile phone is static file to the request of IOS system mobile phone, then this static file is just sent to router by UPnP form and is routed to android system mobile phone by IOS system mobile phone, when user in android system mobile phone, this static file is increased or the operation such as deletion time, IOS system mobile phone can be synchronized to, make android system mobile phone can obtain the authority operated the static file in IOS system mobile phone, if android system mobile phone is collaboration application to the request of IOS system mobile phone, then this application program is sent to router by IOS system mobile phone, router can create the process of this synergistic application, and perform this synergistic application and carry out, android system mobile phone the resource information of this application process sent to android system mobile phone, so that synchronously can perform this application process with IOS system mobile phone simultaneously.For example, IOS system mobile phone plays a PPT, and the broadcasting of this PPT is carried out being synchronized to android system mobile phone, makes android system mobile phone and IOS system mobile phone cooperation with service.
The embodiment of the present invention provides a kind of method of equipment room collaborative work, in same local area network (LAN), first equipment receives the service request information that the second equipment is sent by router, service request information carries out the resource information of simultaneous operation for the second device request and the first equipment, first equipment is resolved service request information, to determine that according to analysis result whether the first equipment is identical with the operating system of the second equipment, if different, then the first equipment carries out protocol conversion, and send service response message and resource information by router to the second equipment according to the protocol format after conversion, make the second equipment according to resource information and the first equipment collaboration work, wherein, agreement after changing is UPnP form, like this because the agreement after conversion can realize the seamless link of equipment room, but also can net control equipment and the transmission information between them, such android system mobile phone just can realize interconnected with IOS system mobile phone, with solve can not realize between information equipment cross-platform, cross operating system carries out the problem of resource-sharing and cooperation with service.
With the second equipment for executive agent, the embodiment of the present invention also provides a kind of method of equipment room collaborative work, as shown in Figure 4, comprising:
301, in same local area network (LAN), the second equipment sends service request information by router to the first equipment, and service request information carries out the resource information of simultaneous operation for the second device request and the first equipment.
302, the second equipment receives service response message and the resource information of the first equipment transmission by router, according to resource information and the first equipment collaboration work, wherein, service response message and resource information are the first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and is sent to the second equipment according to UPnP protocol form.
In addition, can also comprise: the second equipment obtains IP address by dynamic host configuration protocol DHCP or automatic IP, the second equipment adopts User Data Protocol UDP to reach the standard grade or off-line notice to the first equipment transmission in the mode of multicast or clean culture according to IP address.
Wherein, service request information comprises information type, the address information of the first equipment and operation system information, and resource information is the shareable resource information of the second equipment or the cooperation with service information of application program;
Wherein, information type is request shareable resource information type or the cooperation with service information type for request applications.
The first equipment in the present embodiment and the specific implementation of the second equipment can the embodiments shown in reference diagram 1, repeat no more herein.
The embodiment of the present invention provides a kind of method of equipment room collaborative work, in same local area network (LAN), second equipment sends service request information by router to the first equipment, service request information carries out the resource information of simultaneous operation for the second device request and the first equipment, second equipment receives service response message and the resource information of the first equipment transmission by router, according to resource information and the first equipment collaboration work, cross-platform, that cross operating system carries out resource-sharing and cooperation with service problem can not be realized to solve between information equipment.
See Fig. 5, embodiments provide a kind of first equipment 400, comprising:
Receiving element 401, in same local area network (LAN), receives the service request information that the second equipment is sent by router, and service request information carries out the resource information of simultaneous operation for the second device request and the first equipment 400;
Resolution unit 402, for resolving service request information, to determine that according to analysis result whether the first equipment is identical with the operating system of the second equipment;
Information equipment resource-sharing cooperation with service IGRS standard agreement format conversion if for different, is then UPnP UPnP protocol form by converting unit 403;
Transmitting element 404, for sending service response message and resource information by router to the second equipment according to UPnP protocol form, makes the second equipment according to resource information and the first equipment collaboration work.
Alternatively, resource information is the shareable resource information of the first equipment 400 or the cooperation with service information of application program.
Alternatively, service request information comprises information type, the address information of the first equipment 400 and operation system information;
Wherein, information type is request shareable resource information type or the cooperation with service information type for request applications.
Alternatively, converting unit 403 is specifically for IGRS device description document and the IGRS service description document of extracting this equipment; IGRS device description document is converted into UPnP device and describes document, and by IGRS service description document and UPnP service description document;
Transmitting element 404 specifically for: describe document and described UPnP service description document according to described UPnP device and adopt simple object access protocol to send service response message by described router to described second equipment, and describe document and described UPnP service description document according to described UPnP device and adopt Generic Event Notification system GENA to send described resource information by described router to described second equipment.
In the embodiment of the present invention, the specific implementation of each unit can implementation in the embodiment shown in reference diagram 1, repeats no more here.
The embodiment of the present invention provides a kind of first equipment, comprise receiving element, resolution unit, converting unit and transmitting element, receiving element, for in same local area network (LAN), receive the service request information that the second equipment is sent by router, service request information carries out the resource information of simultaneous operation for the second device request and the first equipment; Resolution unit, for resolving service request information, to determine that according to analysis result whether the first equipment is identical with the operating system of the second equipment; Information equipment resource-sharing cooperation with service IGRS standard agreement format conversion if for different, is then UPnP UPnP protocol form by converting unit; Transmitting element, for sending service response message and resource information by router to the second equipment according to UPnP protocol form, make the second equipment according to resource information and the first equipment collaboration work, cross-platform, that cross operating system carries out resource-sharing and cooperation with service problem can not be realized to solve between information equipment.
See Fig. 6, embodiments provide a kind of second equipment 500, comprising:
Transmitting element 501, in same local area network (LAN), send service request information by router to the first equipment, service request information carries out the resource information of simultaneous operation for the second device request and the first equipment;
Receiving element 502, for being received service response message and the resource information of the first equipment transmission by router, according to resource information and the first equipment collaboration work.
Wherein, service response message and resource information are the first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and is sent to the second equipment according to UPnP protocol form.
Alternatively, the second equipment 500 that the embodiment of the present invention provides also comprises:
Acquiring unit 503, for obtaining IP address by dynamic host configuration protocol DHCP or automatic IP;
Transmitting element 501, also for adopting User Data Protocol UDP to reach the standard grade or off-line notice to the first equipment transmission in the mode of multicast or clean culture according to IP address.
Alternatively, service request information comprises information type, the address information of the first equipment and operation system information, and resource information is the shareable resource information of the second equipment or the cooperation with service information of application program;
Wherein, information type is request shareable resource information type or the cooperation with service information type for request applications.
In the embodiment of the present invention, the specific implementation of each unit can implementation in the embodiment shown in reference diagram 1, repeats no more here.
The embodiment of the present invention provides a kind of second equipment, comprise transmitting element and receiving element, transmitting element is used in same local area network (LAN), sends service request information by router to the first equipment, and service request information carries out the resource information of simultaneous operation for the second device request and the first equipment; Receiving element is used for the service response message and the resource information that are received the first equipment transmission by router, according to resource information and the first equipment collaboration work, wherein, service response message and resource information are the first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and be sent to the second equipment according to UPnP protocol form, cross-platform, that cross operating system carries out resource-sharing and cooperation with service problem can not be realized to solve between information equipment.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-OnlyMemory, be called for short ROM), random access memory (RandomAccessMemory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for equipment room collaborative work, is characterized in that, comprising:
In same local area network (LAN), the first equipment receives the service request information that the second equipment is sent by router, and described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Described first equipment is resolved described service request information, to determine that according to analysis result whether described first equipment is identical with the operating system of described second equipment;
If different, then information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by described first equipment, and send service response message and described resource information by described router to described second equipment according to described UPnP protocol form, make described second equipment according to described resource information and described first equipment collaboration work.
2. method according to claim 1, is characterized in that, described resource information is the shareable resource information of described first equipment or the cooperation with service information of application program.
3. method according to claim 1, is characterized in that, described service request information comprises information type, the address information of described first equipment and operation system information;
Wherein, described information type is the described shareable resource information type of request or the cooperation with service information type for the described application program of request.
4. method according to claim 1, it is characterized in that, information equipment resource-sharing cooperation with service IGRS standard agreement format conversion is UPnP UPnP protocol form by described first equipment, and is comprised to described second equipment transmission service response message and described resource information by described router according to UPnP protocol form:
Described first equipment extracts IGRS device description document, the IGRS service description document of this equipment;
Described IGRS device description document is converted into UPnP device and describes document by described first equipment, and by described IGRS service description document and UPnP service description document;
Described first equipment describes document and described UPnP service description document according to described UPnP device and adopts simple object access protocol to send service response message by described router to described second equipment, and describes document and described UPnP service description document according to described UPnP device and adopt Generic Event Notification system GENA to send described resource information by described router to described second equipment.
5. a method for equipment room collaborative work, is characterized in that, comprising:
In same local area network (LAN), the second equipment sends service request information by router to the first equipment, and described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Described second equipment receives service response message and the resource information of described first equipment transmission, according to described resource information and described first equipment collaboration work by described router;
Wherein, described service response message and described resource information are described first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and is sent to described second equipment according to described UPnP protocol form.
6. method according to claim 5, is characterized in that, described method also comprises:
Described second equipment obtains IP address by dynamic host configuration protocol DHCP or automatic IP;
Described second equipment adopts User Data Protocol UDP to reach the standard grade or off-line notice to described first equipment transmission in the mode of multicast or clean culture according to described IP address.
7. method according to claim 6, it is characterized in that, described service request information comprises information type, the address information of described first equipment and operation system information, and described resource information is the shareable resource information of described second equipment or the cooperation with service information of application program;
Wherein, described information type is the described shareable resource information type of request or the cooperation with service information type for the described application program of request.
8. first equipment, is characterized in that, comprising:
Receiving element, in same local area network (LAN), receives the service request information that the second equipment is sent by router, and described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Resolution unit, for resolving described service request information, to determine that according to analysis result whether described first equipment is identical with the operating system of described second equipment;
Information equipment resource-sharing cooperation with service IGRS standard agreement format conversion if for different, is then UPnP UPnP protocol form by converting unit;
Transmitting element, for sending service response message and described resource information by described router to described second equipment according to UPnP protocol form, makes described second equipment according to described resource information and described first equipment collaboration work.
9. the first equipment according to claim 8, is characterized in that, described converting unit is specifically for IGRS device description document and the IGRS service description document of extracting this equipment; Described IGRS device description document is converted into UPnP device and describes document, and by described IGRS service description document and UPnP service description document;
Described transmitting element specifically for: describe document and described UPnP service description document according to described UPnP device and adopt simple object access protocol to send service response message by described router to described second equipment, and describe document and described UPnP service description document according to described UPnP device and adopt Generic Event Notification system GENA to send described resource information by described router to described second equipment.
10. second equipment, is characterized in that, comprising:
Transmitting element, in same local area network (LAN), send service request information by router to the first equipment, described service request information carries out the resource information of simultaneous operation for described second device request and described first equipment;
Receiving element, for being received service response message and the resource information of described first equipment transmission by described router, according to described resource information and described first equipment collaboration work;
Wherein, described service response message and described resource information are described first equipment is UPnP UPnP protocol form by information equipment resource-sharing cooperation with service IGRS standard agreement format conversion, and is sent to described second equipment according to described UPnP protocol form.
CN201410525101.0A 2014-09-30 2014-09-30 Method and device for cooperative work of devices Pending CN105530277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410525101.0A CN105530277A (en) 2014-09-30 2014-09-30 Method and device for cooperative work of devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410525101.0A CN105530277A (en) 2014-09-30 2014-09-30 Method and device for cooperative work of devices

Publications (1)

Publication Number Publication Date
CN105530277A true CN105530277A (en) 2016-04-27

Family

ID=55772257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410525101.0A Pending CN105530277A (en) 2014-09-30 2014-09-30 Method and device for cooperative work of devices

Country Status (1)

Country Link
CN (1) CN105530277A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070911A (en) * 2017-04-07 2017-08-18 青岛海信网络科技股份有限公司 The method and traffic comprehensive monitoring system of a kind of information transfer
CN107122250A (en) * 2017-03-23 2017-09-01 广州钛启信息科技有限公司 Based on the multi-platform notification message acquisition methods of ANCS protocol-compliants
CN107172165A (en) * 2017-05-25 2017-09-15 万兴科技股份有限公司 A kind of method of data synchronization and device
CN109844715A (en) * 2016-11-01 2019-06-04 惠普发展公司,有限责任合伙企业 It is realized via the service of resource protocol
CN110266705A (en) * 2019-06-25 2019-09-20 珠海格力电器股份有限公司 A kind of control method and system
CN113590079A (en) * 2021-08-05 2021-11-02 广州飞傲电子科技有限公司 Music playing control method and device and computer readable storage medium
CN114095998A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Service information synchronization method for terminal in local area network and terminal
CN114584588A (en) * 2022-03-02 2022-06-03 中国银行股份有限公司 Universal terminal bank service system and working method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090259742A1 (en) * 2008-04-14 2009-10-15 Wong Ha Yin Sandy CONCURRENT IGRS-UPnP
CN201887794U (en) * 2010-12-17 2011-06-29 中国科学院计算技术研究所 Gateway of internet of things
CN102497364A (en) * 2010-12-07 2012-06-13 中国科学院计算技术研究所 Bridge and method for bridging IGRS (intelligent Grouping and Resource Sharing) equipment and UPnP (Universal Plug-n-Play) equipment
CN103561016A (en) * 2013-10-31 2014-02-05 中国海洋大学 UPnP and IGRS protocol conversion system and method based on virtual equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090259742A1 (en) * 2008-04-14 2009-10-15 Wong Ha Yin Sandy CONCURRENT IGRS-UPnP
CN102497364A (en) * 2010-12-07 2012-06-13 中国科学院计算技术研究所 Bridge and method for bridging IGRS (intelligent Grouping and Resource Sharing) equipment and UPnP (Universal Plug-n-Play) equipment
CN201887794U (en) * 2010-12-17 2011-06-29 中国科学院计算技术研究所 Gateway of internet of things
CN103561016A (en) * 2013-10-31 2014-02-05 中国海洋大学 UPnP and IGRS protocol conversion system and method based on virtual equipment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
YUEFANG XIE, XIANGQIAN DING: "Design and Implementation of Interoperable Module between UPnP and IGRS", 《2009 THIRD INTERNATIONAL SYMPOSIUM ON INTELLIGENT INFORMATION TECHNOLOGY APPLICATION》 *
徐元涛: "UPnP和IGRS互操作性研究", 《计算机系统应用》 *
樊金涛: "数字家庭网络中IGRS和UPnP双协议栈研究与实现", 《中国优秀硕士学位论文全文数据库(电子期刊)·信息科技辑》 *
胡艳萍,等: "IGRS和UPnP协议转换引擎的设计方法", 《计算机工程》 *
赵良福: "多屏互动技术的发展和应用现状", 《广播电视信息》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109844715A (en) * 2016-11-01 2019-06-04 惠普发展公司,有限责任合伙企业 It is realized via the service of resource protocol
CN107122250A (en) * 2017-03-23 2017-09-01 广州钛启信息科技有限公司 Based on the multi-platform notification message acquisition methods of ANCS protocol-compliants
CN107070911A (en) * 2017-04-07 2017-08-18 青岛海信网络科技股份有限公司 The method and traffic comprehensive monitoring system of a kind of information transfer
CN107172165A (en) * 2017-05-25 2017-09-15 万兴科技股份有限公司 A kind of method of data synchronization and device
CN107172165B (en) * 2017-05-25 2020-09-11 万兴科技股份有限公司 Data synchronization method and device
CN110266705A (en) * 2019-06-25 2019-09-20 珠海格力电器股份有限公司 A kind of control method and system
CN114095998A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Service information synchronization method for terminal in local area network and terminal
CN114095998B (en) * 2020-07-31 2023-06-20 华为技术有限公司 Service information synchronization method for terminal in local area network and terminal
CN113590079A (en) * 2021-08-05 2021-11-02 广州飞傲电子科技有限公司 Music playing control method and device and computer readable storage medium
CN113590079B (en) * 2021-08-05 2024-03-22 广州飞傲电子科技有限公司 Music playing control method, device and computer readable storage medium
CN114584588A (en) * 2022-03-02 2022-06-03 中国银行股份有限公司 Universal terminal bank service system and working method thereof

Similar Documents

Publication Publication Date Title
CN105530277A (en) Method and device for cooperative work of devices
CN108702389B (en) Architecture for remotely controlling IOT (Internet of things) devices
CN105409183B (en) For realizing the system and equipment of any network function client or server in HTML5 is applied
US7136913B2 (en) Object oriented communication among platform independent systems across a firewall over the internet using HTTP-SOAP
US7603266B2 (en) Generic emulator of devices in a device communications protocol
EP3396899B1 (en) System and method of multi-media conferencing between universal plug and play (upnp) enabled telephony devices and wireless area network (wan) devices
CN110417783B (en) Data transmission method and device based on Internet of things, storage medium and terminal
JP2010231759A (en) Mobile terminal device including mobile cloud platform
CN104104926B (en) Universal plug and play (UPnP) monitoring terminal access method and access device
GB2461930A (en) Building a connection channel between network terminals through a Dynamic Domain Name Server (DDNS)
US20040133896A1 (en) Network device application interface
WO2008087374A2 (en) SYSTEM AND METHOD FOR REMOTELY ACCESSING UNIVERSAL PLUG AND PLAY (UPnP) NETWORKS
CN102763373A (en) Method and apparatus for using service of home network device based on remote access
CN103152234A (en) Method for implementing interconnection of digital home network devices
US8176343B2 (en) Method for providing information for power management of devices on a network
US20090254671A1 (en) Remote control of a device by a terminal
EP3025475B1 (en) Xmpp based upnp device architecture for cloud computing in a network environment
TW200304741A (en) Apparatus and method for managing cable modem based on Web
WO2022222901A1 (en) System architecture for implementing dds communication on basis of autosar, communication method, and device
WO2007071808A1 (en) Instant messaging
EP2617176B1 (en) Device and method for managing a control device in a universal plug and play home network
Kim et al. Internet home network electrical appliance control on the internet with the UPnP expansion
CN114629898A (en) Multi-client cooperation method and electronic equipment
CN101309154A (en) Datagram sending method, sending apparatus and transmission system
CN101785246B (en) Method of receiving/transmitting event message, controlled device, and control point

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160427

RJ01 Rejection of invention patent application after publication