CN106231538A - A kind of method and apparatus of OneM2M framework apparatus bound - Google Patents

A kind of method and apparatus of OneM2M framework apparatus bound Download PDF

Info

Publication number
CN106231538A
CN106231538A CN201610616060.5A CN201610616060A CN106231538A CN 106231538 A CN106231538 A CN 106231538A CN 201610616060 A CN201610616060 A CN 201610616060A CN 106231538 A CN106231538 A CN 106231538A
Authority
CN
China
Prior art keywords
equipment
resource
binding
request
registration
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.)
Granted
Application number
CN201610616060.5A
Other languages
Chinese (zh)
Other versions
CN106231538B (en
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.)
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Haier Uplus Intelligent Technology Beijing 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 Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Haier Uplus Intelligent Technology Beijing Co Ltd
Priority to CN201610616060.5A priority Critical patent/CN106231538B/en
Publication of CN106231538A publication Critical patent/CN106231538A/en
Application granted granted Critical
Publication of CN106231538B publication Critical patent/CN106231538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method and apparatus that the invention discloses a kind of OneM2M framework apparatus bound.Wherein, the method in M2M system server includes: the apparatus bound request that first equipment that receives sends;Wherein, apparatus bound request binds the second equipment for the first device request;To the second device forwards apparatus bound request;After the binding receiving the second equipment feedback waiting determines message, obtain the registration resource collection of the second equipment, and the registration resource collection of the second equipment is sent to the first equipment;First equipment that receives concentrates the resource of the required binding chosen from the registration resource of the second equipment, and sets up the first equipment and the binding relationship of the second equipment according to the resource of required binding.The equipment of different resource collection is bound by the present invention so that the equipment after binding has more rich Service Source, provides the user more preferable service experience.

Description

A kind of method and apparatus of OneM2M framework apparatus bound
Technical field
The present invention relates to Internet of Things communication technical field, particularly relate to method and the dress of a kind of OneM2M framework apparatus bound Put.
Background technology
OneM2M is Internet of Things field International Organization for Standardization, provides interoperability mark for M2M and Internet of Things application and development Accurate.M2M (Machine to Machine, machine to machine) is carried out in the case of referring to need not between machine artificially participate in Data communication.In order to meet the demand of the growing automation and networking of user, M2M has been widely used for traffic control The every field such as management, remote meter reading, remotely monitoring, medical monitoring, Intelligent housing.
In whole internet of things, the resource set that different smart machines provides is different.Often due to resource set Limiting, smart machine cannot provide corresponding function.Such as, for automobile, wifi, BT or ZigBee etc. may be supported Wireless communication protocol.But these several communication protocols, are to provide location Based service and session services etc..
But in actual application scenarios, the usual more than one of smart machine that user uses.The driver driven is general Mobile terminal can be carried, therefore can use the mobile communication resources of 3G or 4G of mobile terminal, carry for the automobile in motion Resource for more communications.Therefore, if bound by the smart machine of different resource collection, generate a virtual unit, should Virtual unit will provide the user the service of higher resource set.
Summary of the invention
The embodiment of the present invention provides the method and apparatus of a kind of OneM2M framework apparatus bound, in order to solve in prior art The single problem that more fully Service Source cannot be provided of device resource.
According to one aspect of the present invention, it is provided that a kind of method of OneM2M framework apparatus bound, for machine and machine In the server of M2M system, described method includes:
The apparatus bound request that first equipment that receives sends;Wherein, the request of described apparatus bound is for described first equipment Request binding the second equipment;
Ask to apparatus bound described in described second device forwards;
After the binding receiving described second equipment feedback waiting determines message, obtain the registration resource of described second equipment Collection, and the registration resource collection of described second equipment is sent to described first equipment;
Receive described first equipment and concentrate the resource of the required binding chosen, and root from the registration resource of described second equipment The binding relationship of described first equipment and described second equipment is set up according to the resource of described required binding.
Further, before the apparatus bound request that described reception the first equipment sends, described method also includes;
Receive described first equipment and the registration request of described second equipment;Wherein, described registration request includes equipment Mark and registration resource collection;
Mark and the registration resource collection of described equipment are preserved to local facility information.
Further, the apparatus bound request that described reception the first equipment sends, specifically include:
From the mark of the first equipment described in described apparatus bound acquisition request;
The mark that whether there is described first equipment is inquired about in described facility information;
If existing, then authentication is passed through, and continues binding and processes;Otherwise, failed authentication, terminate binding and process.
Further, the described resource according to described required binding sets up tying up of described first equipment and described second equipment Determine relation, specifically include:
Judge that the registration resource of described first equipment concentrates corresponding resources-type of the resource whether comprising described required binding Type;
If comprising, then described in the registration resource collection by described first equipment, the resource value of the resource of required binding is revised as The registration resource of described second equipment concentrates the resource value of corresponding resource type;
If not comprising, then by described, resource type corresponding for the resource of binding required described in the first equipment is added to institute The registration resource stating the first equipment is concentrated, and the resource value of the resource bound needed for described is revised as the note of described second equipment The resource value of corresponding resource type in volume resource set.
Further, the resource of described required binding at least includes network service resource.
Further, the binding that the described resource according to described required binding sets up described first equipment and the second equipment is closed After system, described method farther includes, and sends the response message of binding success to described first equipment.
According to one aspect of the present invention, it is provided that a kind of apparatus bound method, for machine and the first of machine M2M system In equipment, described method includes:
The apparatus bound request for binding described second equipment is sent to server;
Receive the registration resource collection of described second equipment that described server sends;
Obtain the resource of the required binding that the registration resource collection from described second equipment is chosen, and by described required binding Resource sends to described server.
Further, described method also includes:
Receive the response message of the binding success that described server sends;
Ask the mark of described second equipment carried in locally created binding resource set according to described apparatus bound;
With described second equipment negotiation communication, and the network access mode of described second equipment is added to the most described binding money Source is concentrated.
Further, described binding resource set specifically for:
When monitoring this locality and having event update, according to described network access mode, described event is sent to described second Equipment, is sent described event to described server by described second equipment.
According to one aspect of the present invention, it is provided that a kind of method of OneM2M framework apparatus bound, for machine and machine In second equipment of M2M system, including:
Receive the apparatus bound request that server forwards;Wherein, the request of described apparatus bound is for the request of the first equipment Bind described second equipment;
After determining and setting up binding relationship with described first equipment, binding is determined, and message sends to described server;
Ask the mark of described first equipment carried in locally created binding resource set according to described apparatus bound;
With described first equipment negotiation communication, and the network access mode of described first equipment is added to the most described binding money Source is concentrated.
Further, described binding resource set specifically for, when receive described server send set with described first During for the event being correlated with, according to described network access mode, described event is sent to described first equipment.
According to one aspect of the present invention, it is provided that the device of a kind of OneM2M framework apparatus bound, for machine and machine In the server of M2M system, described device includes:
First receives unit, for receiving the apparatus bound request that the first equipment sends;Wherein, described apparatus bound request The second equipment is bound for described first device request;
First transmitting element, for asking to apparatus bound described in described second device forwards;
Second receives unit, determines message for receiving the binding of described second equipment feedback;
Second transmitting element, for treating that described second receives unit and receive the binding of described second equipment feedback and determine and disappear After breath, obtain the registration resource collection of described second equipment, and the registration resource collection of described second equipment is sent to described first Equipment;
3rd receives unit, the institute chosen for receiving described first equipment to concentrate from the registration resource of described second equipment The resource that need to bind;
Binding unit, sets up described first for receiving the resource of the described required binding that unit receives according to the described 3rd Equipment and the binding relationship of described second equipment.
Further, described device also includes registering unit, specifically for;
Described first receive unit receive first equipment send apparatus bound request before, receive described first equipment and The registration request of described second equipment;Wherein, described registration request includes mark and the registration resource collection of equipment;
Mark and the registration resource collection of described equipment are preserved to local facility information.
Further, described first receive unit specifically for:
From the mark of the first equipment described in described apparatus bound acquisition request;
The mark that whether there is described first equipment is inquired about in described facility information;
If existing, then authentication is passed through, and continues binding and processes;Otherwise, failed authentication, terminate binding and process.
Further, described binding unit specifically for:
Judge that the registration resource of described first equipment concentrates corresponding resources-type of the resource whether comprising described required binding Type;
If comprising, then described in the registration resource collection by described first equipment, the resource value of the resource of required binding is revised as The registration resource of described second equipment concentrates the resource value of corresponding resource type;
If not comprising, then by described, resource type corresponding for the resource of binding required described in the first equipment is added to institute The registration resource stating the first equipment is concentrated, and the resource value of the resource bound needed for described is revised as the note of described second equipment The resource value of corresponding resource type in volume resource set.
Further, the resource of the described required binding that described binding unit processes at least includes network service resource.
Further, described device also includes the 3rd transmitting element, for described binding unit according to described required binding Resource set up the binding relationship of described first equipment and the second equipment after, send the response of binding success to described first equipment Message.
According to one aspect of the present invention, it is provided that the device of a kind of OneM2M framework apparatus bound, for machine and machine In first equipment of M2M system, described device includes:
First transmitting element, for sending the apparatus bound request for binding described second equipment to server;
First receives unit, for receiving the registration resource collection of described second equipment that described server sends;
Second transmitting element, the resource of the required binding that the registration resource collection for obtaining from described second equipment is chosen, And the resource bound needed for described is sent to described server.
Further, described device also includes:
Second receives unit, for receiving the response message of the binding success that described server sends;
Set up unit, receive unit for described second and receive the response message of the binding success that described server sends After, ask the mark of described second equipment carried in locally created binding resource set according to described apparatus bound;
Adding device, is used for and described second equipment negotiation communication, and the network access mode of described second equipment is added Add in described binding resource set.
Further, described set up unit set up binding resource set specifically for:
When monitoring this locality and having event update, according to described network access mode, described event is sent to described second Equipment, is sent described event to described server by described second equipment.
According to one aspect of the present invention, it is provided that the device of a kind of OneM2M framework apparatus bound, for machine and machine In second equipment of M2M system, including:
Receive unit, for receiving the apparatus bound request that server forwards;Wherein, the request of described apparatus bound is for the Described second equipment is bound in the request of one equipment;
Transmitting element, for after determining and setting up binding relationship with described first equipment, determines that by binding message sends extremely In described server;
Setting up unit, the mark of described first equipment for carrying according to the request of described apparatus bound is tied up locally created Determine resource set;
Adding device, is used for and described first equipment negotiation communication, and the network access mode of described first equipment is added Add in described binding resource set.
Further, described set up unit set up binding resource set specifically for, when receive described server send With described first device-dependent event time, according to described network access mode described event sent to described first and sets Standby.
The method have the advantages that
The method and device of OneM2M framework apparatus bound provided by the present invention, binds second in the first device request and sets Standby, after the second equipment determines binding, the resource of the second equipment is sent to the first equipment, the first equipment determines as required Need the resource of binding.The equipment of different resource collection is bound by the present invention so that the equipment after binding has more rich Service Source, provides the user more preferable service experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only Some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of method of apparatus bound in the embodiment of the present invention for server;
Fig. 2 is the flow chart of method of apparatus bound in the embodiment of the present invention for the first equipment;
Fig. 3 is the flow chart of method of apparatus bound in the embodiment of the present invention for the second equipment;
Fig. 4 is the flow chart of the method for the apparatus bound of the present invention one specific embodiment;
Fig. 5 is the schematic diagram of a concrete application scenarios in Fig. 4 after apparatus bound;
Fig. 6 is the structured flowchart of apparatus bound device in the embodiment of the present invention for server;
Fig. 7 is the flow chart of apparatus bound device in the embodiment of the present invention for the first equipment;
Fig. 8 is the flow chart of apparatus bound device in the embodiment of the present invention for the second equipment.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of OneM2M framework apparatus bound, in the server of M2M system, as Shown in Fig. 1, specifically include following steps:
Step 101, the apparatus bound request that first equipment that receives sends;Wherein, apparatus bound request is for the first equipment Request binding the second equipment.
Wherein, the first equipment and the second equipment register relevant device information the most in the server, specifically:
Receive the first equipment and the registration request of the second equipment;Wherein, registration request include equipment mark ID and Registration resource collection;Mark and the registration resource collection of equipment are preserved to local facility information.Wherein, registration resource Ji Bao The equipment of including can be the Service Source that external equipment provides.
Wherein, the apparatus bound request that the first equipment sends includes the first device identification ID and the second device identification ID, Certainly other information relevant to binding, such as binding age information etc. can also be included.
Further, after server receives the apparatus bound request that the first equipment sends, the method also includes:
Obtain the first device identification ID carried in apparatus bound request;
Facility information registered in advance is inquired about and whether there is the first device identification ID;
When inquiring the first device identification ID, then authenticate successfully, and continue follow-up bindings;If not retrieving first During device identification ID, then terminate this time binding flow process, and send the response message without log-on message to the first equipment.
Step 102, to the second device forwards apparatus bound request, the binding receiving the second equipment feedback waiting determines message After, obtain the registration resource collection of the second equipment, and the registration resource collection of the second equipment is sent to the first equipment.
Wherein, server, after receiving apparatus bound request, determines whether the second equipment is supported to bind: support to be determined After binding, carrying out follow-up binding flow process;Otherwise terminate this time operation.
Specifically, from apparatus bound acquisition request the second device identification ID.According to the second device identification ID, by apparatus bound Request is forwarded in the second equipment, the second equipment decide whether to bind the first equipment.After the second equipment determines support binding, Binding acknowledgement message is sent to server.After server receives binding acknowledgement message, according to the second device identification ID from registration Facility information in obtain the registration resource collection of the second equipment, and this registration resource collection is sent to the first equipment.
Step 103, first equipment that receives concentrates the resource of the required binding chosen, and root from the registration resource of the second equipment The first equipment and the binding relationship of the second equipment is set up according to the resource of required binding.
Wherein, the first equipment selects the resource of required binding according to demand from the resource set of the second equipment, and will binding Resource feed back in server.Wherein, the resource of required binding can be: performance is better than the resource or first of the first equipment The resource not having in equipment.Second equipment and the first equipment are set up binding relationship according to concrete resource by server.This binding When relational representation needs the resource of first equipment that obtains required binding, obtain from the second equipment.
Specifically, in an embodiment, the binding setting up the first equipment and the second equipment according to the resource of required binding is closed When being, specifically include:
Judge that the registration resource of the first equipment is concentrated and whether comprise the resource type that the required resource bound is corresponding;
If comprising, then the registration resource of the first equipment is concentrated the resource value of the resource of required binding be revised as the second equipment Registration resource concentrate the resource value of corresponding resource type;
If not comprising, the resource type that in the most just first equipment, the resource of required binding is corresponding is added to the first equipment Registration resource is concentrated, and the registration resource that the resource value of the resource of required binding is revised as the second equipment is concentrated corresponding resources-type The resource value of type.
Illustrate, when the first equipment needs the network service resource (including network access mode) of the second equipment of binding, And this network service resource is at registration resource collection, the resource value of the network service resource in the first equipment is revised as the second equipment Resource value, i.e. access-in point information is revised as the access-in point information of the second equipment.And for voice call service resource, first sets Remarks volume resource set does not exists, the most directly adds getting final product this resource type, and provided this money by the second equipment for the first equipment The resource value of Source Type.
Wherein, the resource of required binding at least includes network service resource, certainly can also include location-based service resource, language Any one or more in sound session services resource or short message service resource.So, the first equipment and the second apparatus bound net After network Service Source, sharing an IP address, for external equipment, two bound device are a virtual equipment. After resource is bound, the first equipment can directly obtain the resource of the second equipment, and provides service for external equipment.
Further, set up the binding relationship of the first equipment and the second equipment according to the resource of required binding after, to first Equipment sends binding success message.After first equipment determines binding, provide in locally created binding according to mark ID of the second equipment Source collection.According to this binding resource set, it is achieved the data interaction between the first equipment and the second equipment.Concrete implementation process, after Literary composition is introduced.
Understanding based on above-mentioned, in the embodiment of the present invention, the resource of the second equipment and the first equipment is tied up by server end After Ding, when external equipment needs the related resource obtaining the first equipment, can directly be obtained by the second equipment, so that First equipment can provide more rich resource information.The smart machine of different resource collection can be integrated by the present invention so that Smart machine provides the user more diversified service, promotes the service experience of user.
The embodiment of the present invention provides a kind of method of OneM2M framework apparatus bound, in the first equipment of M2M system, As in figure 2 it is shown, specifically include following steps:
Step 201, sends apparatus bound request to server;Wherein, apparatus bound request is for the request of the first equipment Bind the second equipment.
Wherein, for the triggering of apparatus bound request, can be that external environment condition is triggered, it is also possible to be that equipment touches automatically Send out.Such as, when user needs to bind designated equipment, then triggering transmission apparatus bound after receiving the binding instruction of user please Ask;Or, when the reduction that the first equipment Inspection to self-ability causes because of environmental change (when such as cannot connect WIFI) Automatically triggering, this situation is applicable to request and binds the equipment of same user;Or, broadcast the required of oneself in a local network Resource, and after obtaining the address that respective resources equipment (namely after the second equipment) can be provided, automatically sending out to server Play bind request.
Wherein, the first equipment registers facility information the most in the server, including device identification ID and available money Source collection.The first device identification ID and the second device identification ID is included, it is also possible to bag in the apparatus bound request sent to server Containing the information that other are relevant to binding, the such as concrete timeliness bound.
After sending apparatus bound request to server, the first equipment is authenticated by server, determines that the first equipment is No can bind other equipment.When server authentication by after, obtain the resource set of the second facility registration;When after failed authentication, Failed authentication message is sent to the second equipment.After first equipment receives failed authentication message, terminate binding flow process.
Further, when server is after this apparatus bound of the second device forwards is asked, if the second equipment refusal foundation is tied up Determine relation, then the second device-to-server sends refusal binding message, and this refusal binding message is forwarded to first and sets by server In Bei.After first equipment receives the refusal binding message of the second equipment transmission that server forwards, terminate binding flow process.
Step 202, receives the registration resource collection of the second equipment that server sends;
Step 203, obtains the resource of the required binding that the registration resource collection from the second equipment is chosen, and by required binding Resource sends to server.
Wherein, the resource of this binding at least includes network service resource, certainly can also include location-based service resource, voice Other resource informations that can bind such as session services resource or short message service resource.
Specifically, when the resource of the required binding that the registration resource collection obtained from the second equipment is chosen, can be by user Registration resource according to the second equipment received concentrates the resource of selected required binding;Can also be by the first equipment Inspection to a certain Resource because of environmental change (when such as cannot connect WIFI) cannot provide time, obtain according to concentrating from the registration resource of the second equipment Corresponding resource, meets self needs;Or, when broadcasting oneself required resource in a local network, from the second equipment Registration resource collection obtains the resource of required binding.
Further, after the resource of the first equipment feedback binding to server, the binding success monitoring server transmission disappears Breath:
After receiving binding success message, the second device identification ID carried in asking according to apparatus bound builds in this locality Vertical binding resource set;Wherein, this binding resource set determines the facility information bound with it, the such as second equipment for the first equipment Mark ID.
With the second equipment negotiation communication relation, the network access mode of the second equipment is added to binding resource set.Root According to the information of the second equipment in binding resource set, with the second equipment negotiation communication, obtain the network access mode of the second equipment, Set up to be connected with the second equipment and communicate.
Wherein, when with the second equipment negotiation communication relation, wifi/zigbee/BT communication protocol, or its can be passed through The communication protocol that he is privately owned.Here the communication protocol connected for foundation does not do concrete restriction.
After server end realizes two apparatus bounds, for the ease of the communication between equipment, need to tie up locally located Determine resource set;And the network access mode of the second equipment is added to binding resource set.So, according in binding resource set Network access mode, sets up with the second equipment after being connected, realizes the mutual of data by the second equipment and server end.
Specifically, when monitoring this locality and having event update, send event into the second equipment according to network access mode, Server is sent event into by the second equipment.Such as, it is connected with server foundation by WIFI when automobile, it is achieved automobile and hands After the binding of machine;When automobile loses WIFi connection, according to the access-in point information of the second equipment in binding resource set, by automobile Event information sent to the business platform in server by mobile phone..
The embodiment of the present invention also provides for a kind of method of OneM2M framework apparatus bound, for the second equipment of M2M system In, as it is shown on figure 3, specifically include:
Step 301, receives the apparatus bound request that server forwards;Wherein, apparatus bound request is for the first equipment Request binding the second equipment.
Wherein, apparatus bound request include the first device identification ID and the second device identification ID, it is also possible to comprise other with The information that binding is relevant, the concrete timeliness such as bound.After receiving the request of this apparatus bound, the request that obtains from request is tied up The device identification ID of locking equipment, and prompt the user whether to bind.
Step 302, after determining and setting up binding relationship with the first equipment, determines that by binding message sends to server.
Wherein, determine whether to set up binding relationship with the first equipment according to the instruction of user.Determine that binding refers to if receiving Order, determines and sets up binding relationship with the first equipment, and determine message to server transmission binding, in order to after prompting server is carried out Continuous binding flow process;If receiving refusal binding instruction, then refusal and the first equipment set up binding relationship, and will refuse binding message Send to server, server be forwarded in the first equipment.
Step 303, is locally generated binding resource set according to the first device identification ID that apparatus bound request is carried.
Step 304, when with the first equipment negotiation communication, adds the network access mode of the first equipment to binding resource Concentrate.
The facility information bound with it, mark ID of the such as first equipment is determined according to binding resource set the second equipment.Tool Body ground, binding resource set specifically for, when receive server send with the first device-dependent event time, according to network visit The mode of asking sends event into the first equipment.
With a specific embodiment, the present invention is described below, relate in this embodiment the first equipment (automobile), Two equipment (mobile phone) and server (business platform).
As shown in Figure 4, automobile and mobile phone are registered in advance on business platform, the remote resource collection that automobile is registered as RemoteCSE1, the remote resource of mobile telephone registration integrates as remoteCSE2.Automobile is as follows with the detailed process of the binding of mobile phone:
Step 401, apparatus bound request (carrying CSE-ID=mobile phone logo ID) that automobile sends to business platform;Step 402, business platform carries out authentication and assert automobile;
Step 403, business platform is to mobile phone forwarding unit bind request;
Step 404, mobile phone sends binding success to business platform and confirms message, and is locally generated and comprises CSE-ID=vapour Binding resource set bindingCSE1 of car mark ID;
Step 405, business platform sends the negotiation resource request of carrying mobile phone remoteCSE2 resource set to automobile;
Step 406, automobile selects the resource of mobile phone of binding to mobile phone feedback, respectively access-in point information Network and Positional information Location;
Step 407, in business platform amendment remoteCSE1, Network and Location information is remoteCSE2;Or Person generates virtual unit (remoteCSE3) for the equipment after binding, uses the mode of anounce, is synchronized to remoteCSE3;
Step 408, business platform sends the response message of binding success to automobile;
Step 409, automobile is locally generated binding resource set bindingCSE2 comprising CSE-ID=mobile phone logo;
Step 410, automobile and mobile phone negotiation communication mode;
Step 411, the access-in point information of bindingCSE1 is revised as the accessofpoint of mobile phone by automobile;Mobile phone exists Access-in point information in bindingCSE2 is revised as the accessofpoint of automobile.
Fig. 5 is a concrete application scenarios in Fig. 4.After binding relationship set up by automobile and mobile phone, mobile phone it is whole Bound device provides network service resource.Specifically,
Step 501, when automobile 1 listens to event generation (such as fault), checks the resource of local binding resource set, The type of message is sent to mobile phone with information of vehicles:
Step 502, the type of message is sent to business platform by mobile phone 1 with information of vehicles;
Step 503, business platform receives type and the information of vehicles of the message that mobile phone 1 sends, pushes thing to other mobile phones 2 The concrete message of part;
Step 504, concrete for event message is being sent to automobile 2 by mobile phone 2;
Step 505, after automobile 2 receives event message, does concrete process to event.
Seeing Fig. 6, the embodiment of the present invention also provides for the device of a kind of OneM2M framework apparatus bound, in server, Specifically include:
First receives unit 61, for receiving the apparatus bound request that the first equipment sends;Wherein, apparatus bound request is used The second equipment is bound in the first device request;
First transmitting element 62, for the second device forwards apparatus bound request;
Second receives unit 63, determines message for receiving the binding of the second equipment feedback;
Second transmitting element 64, for until the second reception unit receive second equipment feedback binding determine message after, Obtain the registration resource collection of the second equipment, and the registration resource collection of the second equipment is sent to the first equipment;
3rd receives unit 65, the required binding chosen for receiving the first equipment to concentrate from the registration resource of the second equipment Resource;
Binding unit 66, sets up the first equipment and second for receiving the resource of the required binding that unit receives according to the 3rd The binding relationship of equipment.
Further, device also includes registering unit 67, specifically for;
Before first receives the apparatus bound request that unit receives the first equipment transmission, receive the first equipment and the second equipment Registration request;Wherein, registration request includes mark and the registration resource collection of equipment;
Mark and the registration resource collection of equipment are preserved to local facility information.
Further, first receive unit 61 specifically for:
Mark from apparatus bound acquisition request the first equipment;
The mark that whether there is the first equipment is inquired about in facility information;
If existing, then authentication is passed through, and continues binding and processes;Otherwise, failed authentication, terminate binding and process.
Further, binding unit 66 specifically for:
Judge that the registration resource of the first equipment is concentrated and whether comprise the resource type that the required resource bound is corresponding;
If comprising, then the registration resource of the first equipment is concentrated the resource value of the resource of required binding be revised as the second equipment Registration resource concentrate the resource value of corresponding resource type;
If not comprising, the resource type that in the most just first equipment, the resource of required binding is corresponding is added to the first equipment Registration resource is concentrated, and the registration resource that the resource value of the resource of required binding is revised as the second equipment is concentrated corresponding resources-type The resource value of type.
Further, the resource of the required binding that binding unit 66 processes at least includes network service resource.
Further, device also includes the 3rd transmitting element 67, sets up according to the resource of required binding for binding unit After the binding relationship of the first equipment and the second equipment, send the response message of binding success to the first equipment.
Seeing Fig. 7, the embodiment of the present invention also provides for a kind of apparatus bound device, in the first equipment, specifically includes:
According to one aspect of the present invention, it is provided that the device of a kind of OneM2M framework apparatus bound, for machine and machine In first equipment of M2M system, device includes:
First transmitting element 71, for sending the apparatus bound request for binding the second equipment to server;
First receives unit 72, for receiving the registration resource collection of the second equipment that server sends;
Second transmitting element 73, for obtaining the money of the required binding that user chooses according to the registration resource collection of the second equipment Source, and the resource of required binding is sent to server.
Further, device also includes:
Second receives unit 74, for receiving the response message of the binding success that server sends;
Set up unit 75, after the second response message receiving the binding success that unit receives server transmission, according to The mark of the second equipment that apparatus bound request is carried is in locally created binding resource set;
Adding device 76, is used for and the second equipment negotiation communication, and adds the network access mode of the second equipment to tying up Determine in resource set.
Further, set up unit 75 set up binding resource set specifically for:
When monitoring this locality and having event update, send event into the second equipment according to network access mode, by second Equipment sends event into server.
Seeing Fig. 8, the embodiment of the present invention also provides for the device of a kind of OneM2M framework apparatus bound, for M2M system In second equipment, including:
Receive unit 81, for receiving the apparatus bound request that server forwards;Wherein, apparatus bound request is for first The second equipment is bound in the request of equipment;
Transmitting element 82, for after determining and setting up binding relationship with the first equipment, determines that by binding message sends to clothes In business device;
Set up unit 83, for asking the mark of the first equipment carried in locally created binding resource according to apparatus bound Collection;
Adding device 84, is used for and the first equipment negotiation communication, and adds the network access mode of the first equipment to tying up Determine in resource set.
Further, set up binding resource set that unit 83 sets up specifically for, when receive that server sends with the During one device-dependent event, send event into the first equipment according to network access mode.
One of ordinary skill in the art will appreciate that all or part of flow process in the method realizing above-described embodiment, be can Completing instructing relevant hardware by computer program, program can be stored in computer read/write memory medium, should Program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Although describing the application by embodiment, it will be apparent to one skilled in the art that the application has many deformation and becomes Change without departing from the spirit and scope of the present invention.So, if these amendments of the present invention and modification belong to right of the present invention and want Ask and within the scope of equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (22)

1. the method for an OneM2M framework apparatus bound, it is characterised in that for the server of machine Yu machine M2M system In, described method includes:
The apparatus bound request that first equipment that receives sends;Wherein, the request of described apparatus bound is for described first device request Bind the second equipment;
Asking to apparatus bound described in described second device forwards, the binding receiving described second equipment feedback waiting determines message After, obtain the registration resource collection of described second equipment, and the registration resource collection transmission of described second equipment is set to described first Standby;
Receive described first equipment and concentrate the resource of the required binding chosen from the registration resource of described second equipment, and according to institute The resource stating required binding sets up the binding relationship of described first equipment and described second equipment.
2. the method for claim 1, it is characterised in that the apparatus bound that described reception the first equipment sends asks it Before, described method also includes;
Receive described first equipment and the registration request of described second equipment;Wherein, described registration request includes the mark of equipment Know and registration resource collection;
Mark and the registration resource collection of described equipment are preserved to local facility information.
3. method as claimed in claim 2, it is characterised in that the apparatus bound request that described reception the first equipment sends, tool Body includes:
From the mark of the first equipment described in described apparatus bound acquisition request;
The mark that whether there is described first equipment is inquired about in described facility information;
If existing, then authentication is passed through, and continues binding and processes;Otherwise, failed authentication, terminate binding and process.
4. the method for claim 1, it is characterised in that the described resource according to described required binding sets up described first Equipment and the binding relationship of described second equipment, specifically include:
Judge that the registration resource of described first equipment is concentrated and whether comprise the resource type that the described required resource bound is corresponding;
If comprising, then described in the registration resource collection by described first equipment, the resource value of the resource of required binding is revised as described The registration resource of the second equipment concentrates the resource value of corresponding resource type;
If not comprising, then resource type corresponding for the resource of binding required described in the first equipment added described to the most described the The registration resource of one equipment is concentrated, and the registration that the resource value of the described required resource bound is revised as described second equipment provides The resource value of corresponding resource type is concentrated in source.
5. the method as described in claim 1 or 4, it is characterised in that the resource of described required binding at least includes network service Resource.
6. the method for claim 1, it is characterised in that the described resource according to described required binding sets up described first After the binding relationship of equipment and the second equipment, described method farther includes, and sends answering of binding success to described first equipment Answer message.
7. the method for an OneM2M framework apparatus bound, it is characterised in that for the first equipment of machine Yu machine M2M system In, described method includes:
Apparatus bound request is sent to server;Wherein, the request of described apparatus bound is for the request binding second of the first equipment Equipment;
Receive the registration resource collection of described second equipment that described server sends;
Obtain the resource of the required binding chosen from the registration resource collection of described second equipment, and the resource will bound needed for described Send to described server.
8. method as claimed in claim 7, it is characterised in that described method also includes:
Receive the response message of the binding success that described server sends;
Ask the mark of described second equipment carried in locally created binding resource set according to described apparatus bound;
With described second equipment negotiation communication, and the network access mode of described second equipment is added to described binding resource set In.
9. method as claimed in claim 8, it is characterised in that described binding resource set specifically for:
When monitoring this locality and having event update, according to described network access mode, the transmission of described event is set to described second Standby, described second equipment described event is sent to described server.
10. the method for an OneM2M framework apparatus bound, it is characterised in that set with the second of machine M2M system for machine In Bei, including:
Receive the apparatus bound request that server forwards;Wherein, the request of described apparatus bound is for the request binding of the first equipment Described second equipment;
After determining and setting up binding relationship with described first equipment, binding is determined, and message sends to described server;
Ask the mark of described first equipment carried in locally created binding resource set according to described apparatus bound;
With described first equipment negotiation communication, and the network access mode of described first equipment is added to described binding resource set In.
11. methods as claimed in claim 10, it is characterised in that described binding resource set specifically for, described when receiving Server send with described first device-dependent event time, according to described network access mode by described event send to institute State the first equipment.
The device of 12. 1 kinds of OneM2M framework apparatus bounds, it is characterised in that for the server of machine Yu machine M2M system In, described device includes:
First receives unit, for receiving the apparatus bound request that the first equipment sends;Wherein, the request of described apparatus bound is used for Described first device request binds the second equipment;
First transmitting element, for asking to apparatus bound described in described second device forwards;
Second receives unit, determines message for receiving the binding of described second equipment feedback;
Second transmitting element, for treat described second receive unit receive described second equipment feedback binding determine message After, obtain the registration resource collection of described second equipment, and the registration resource collection transmission of described second equipment is set to described first Standby;
3rd receives unit, ties up needed for the registration resource concentration of described second equipment is chosen for receiving described first equipment Fixed resource;
Binding unit, sets up described first equipment for receiving the resource of the described required binding that unit receives according to the described 3rd Binding relationship with described second equipment.
13. devices as claimed in claim 12, it is characterised in that described device also includes registering unit, specifically for;
Described first receives before unit receives the apparatus bound request that the first equipment sends, and receives described first equipment and described The registration request of the second equipment;Wherein, described registration request includes mark and the registration resource collection of equipment;
Mark and the registration resource collection of described equipment are preserved to local facility information.
14. devices as claimed in claim 13, it is characterised in that described first receive unit specifically for:
From the mark of the first equipment described in described apparatus bound acquisition request;
The mark that whether there is described first equipment is inquired about in described facility information;
If existing, then authentication is passed through, and continues binding and processes;Otherwise, failed authentication, terminate binding and process.
15. devices as claimed in claim 12, it is characterised in that described binding unit specifically for:
Judge that the registration resource of described first equipment is concentrated and whether comprise the resource type that the described required resource bound is corresponding;
If comprising, then described in the registration resource collection by described first equipment, the resource value of the resource of required binding is revised as described The registration resource of the second equipment concentrates the resource value of corresponding resource type;
If not comprising, then resource type corresponding for the resource of binding required described in the first equipment added described to the most described the The registration resource of one equipment is concentrated, and the registration that the resource value of the described required resource bound is revised as described second equipment provides The resource value of corresponding resource type is concentrated in source.
16. devices as described in claim 12 or 15, it is characterised in that the described required binding that described binding unit processes Resource at least includes network service resource.
17. devices as claimed in claim 12, it is characterised in that described device also includes the 3rd transmitting element, for described After binding unit sets up the binding relationship of described first equipment and the second equipment according to the resource of described required binding, to described the One equipment sends the response message of binding success.
The device of 18. 1 kinds of OneM2M framework apparatus bounds, it is characterised in that set with the first of machine M2M system for machine In Bei, described device includes:
First transmitting element, for sending apparatus bound request to server;Wherein, the request of described apparatus bound sets for first The second equipment is bound in standby request;
First receives unit, for receiving the registration resource collection of described second equipment that described server sends;
Second transmitting element, the resource of the required binding that the registration resource collection for obtaining from described second equipment is chosen, and will The resource of described required binding sends to described server.
19. devices as claimed in claim 18, it is characterised in that described device also includes:
Second receives unit, for receiving the response message of the binding success that described server sends;
Set up unit, after the described second response message receiving the binding success that unit receives the transmission of described server, root Ask the mark of described second equipment carried in locally created binding resource set according to described apparatus bound;
Adding device, is used for and described second equipment negotiation communication, and the network access mode of described second equipment is added extremely In described binding resource set.
20. devices as claimed in claim 18, it is characterised in that the described binding resource set setting up unit foundation is specifically used In:
When monitoring this locality and having event update, according to described network access mode, the transmission of described event is set to described second Standby, described second equipment described event is sent to described server.
The device of 21. 1 kinds of OneM2M framework apparatus bounds, it is characterised in that set with the second of machine M2M system for machine In Bei, including:
Receive unit, for receiving the apparatus bound request that server forwards;Wherein, the request of described apparatus bound sets for first Described second equipment is bound in standby request;
Transmitting element, for after determining and setting up binding relationship with described first equipment, determines that by binding message sends to the most described In server;
Setting up unit, the mark of described first equipment for carrying according to the request of described apparatus bound provides in locally created binding Source collection;
Adding device, is used for and described first equipment negotiation communication, and the network access mode of described first equipment is added extremely In described binding resource set.
22. devices as claimed in claim 21, it is characterised in that the described binding resource set setting up unit foundation is specifically used In, when receive described server send with described first device-dependent event time, according to described network access mode will Described event sends to described first equipment.
CN201610616060.5A 2016-07-29 2016-07-29 Method and device for binding OneM2M architecture equipment Active CN106231538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610616060.5A CN106231538B (en) 2016-07-29 2016-07-29 Method and device for binding OneM2M architecture equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610616060.5A CN106231538B (en) 2016-07-29 2016-07-29 Method and device for binding OneM2M architecture equipment

Publications (2)

Publication Number Publication Date
CN106231538A true CN106231538A (en) 2016-12-14
CN106231538B CN106231538B (en) 2019-12-27

Family

ID=57535498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610616060.5A Active CN106231538B (en) 2016-07-29 2016-07-29 Method and device for binding OneM2M architecture equipment

Country Status (1)

Country Link
CN (1) CN106231538B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218142A (en) * 2017-06-30 2019-01-15 中兴通讯股份有限公司 One kind being based on OneM2M agreement platform of internet of things terminal access method and device
WO2019101071A1 (en) * 2017-11-22 2019-05-31 京东方科技集团股份有限公司 Target resource operation method, node device, terminal device and computer-readable storage medium
CN110365587A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Communication between devices method, apparatus, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188821A (en) * 2011-12-29 2013-07-03 华为技术有限公司 Network equipment binding method and communication method and communication device and communication system
US20140330929A1 (en) * 2013-05-06 2014-11-06 Convida Wireless LLC Semantics Support and Management in M2M Systems
US20150245205A1 (en) * 2012-09-12 2015-08-27 Lg Electronics Inc. Method and device for requesting for specific right acquisition on specific resource in wireless communication system
CN104955153A (en) * 2015-05-29 2015-09-30 青岛海尔智能家电科技有限公司 Method, device and appliances for discovering resources
US20160192111A1 (en) * 2013-09-27 2016-06-30 Lg Electronics Inc. Method for delivering notification messages in m2m system and devices for same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188821A (en) * 2011-12-29 2013-07-03 华为技术有限公司 Network equipment binding method and communication method and communication device and communication system
US20150245205A1 (en) * 2012-09-12 2015-08-27 Lg Electronics Inc. Method and device for requesting for specific right acquisition on specific resource in wireless communication system
US20140330929A1 (en) * 2013-05-06 2014-11-06 Convida Wireless LLC Semantics Support and Management in M2M Systems
US20160192111A1 (en) * 2013-09-27 2016-06-30 Lg Electronics Inc. Method for delivering notification messages in m2m system and devices for same
CN104955153A (en) * 2015-05-29 2015-09-30 青岛海尔智能家电科技有限公司 Method, device and appliances for discovering resources

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ONEM2M: "《TS-0001-V1.13.1》", 29 February 2016 *
吴志勇等: "基于语义推理的智能家居系统研究", 《电视技术》 *
贾雪琴等: "物联网国际标准化活动及其标准综述", 《集成技术》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218142A (en) * 2017-06-30 2019-01-15 中兴通讯股份有限公司 One kind being based on OneM2M agreement platform of internet of things terminal access method and device
WO2019101071A1 (en) * 2017-11-22 2019-05-31 京东方科技集团股份有限公司 Target resource operation method, node device, terminal device and computer-readable storage medium
US11539640B2 (en) 2017-11-22 2022-12-27 Beijing Boe Technology Development Co., Ltd. Target resource operation method, node device, terminal device and computer-readable storage medium
CN110365587A (en) * 2018-03-26 2019-10-22 阿里巴巴集团控股有限公司 Communication between devices method, apparatus, equipment and storage medium
CN110365587B (en) * 2018-03-26 2022-04-19 阿里巴巴集团控股有限公司 Inter-device communication method, device and storage medium

Also Published As

Publication number Publication date
CN106231538B (en) 2019-12-27

Similar Documents

Publication Publication Date Title
EP3690684A1 (en) Data management method, apparatus, device, system and storage medium for smart lock
RU2659805C2 (en) Method and device for determining the location of the target portable device
CN110366112B (en) Positioning method and related equipment
CN110719372B (en) Method, device and system for remote communication with vehicle
CN112565439A (en) Internet of things communication method and system
CN204761538U (en) Control system in car based on mobile terminal
CN109168171A (en) configuration information obtaining method, device, equipment and system
WO2012174722A1 (en) Method and apparatus for providing a virtual sim for mobile communications
CN106231538A (en) A kind of method and apparatus of OneM2M framework apparatus bound
CN105592019A (en) Method for bidirectional access to application between dual execution environments
CN102104603A (en) Method, system and device for registering mobile terminal in WEB server
JP5931224B2 (en) Data access method and apparatus
CN114025349B (en) Network service method, device, system and storage medium
CN110831074A (en) Direct communication method, AMF, access network functional entity and computer storage medium
CN101720085B (en) Application method and device of intelligent card
JP7428265B2 (en) Communication terminal and its method
CN106845974B (en) Method and device for realizing point-to-point communication of near field communication
CN115729585A (en) Software upgrading method, device, equipment and readable storage medium
CN114173429A (en) Communication method and system for wireless access network and edge computing platform under 5G private network
EP3520366B1 (en) Method, data sending control server, storage server, processing server and system for sending data to at least one device
CN114557045A (en) Communication method and related device
CN107211479B (en) Method and device for selecting access network
CN114710830B (en) Network registration method and related device
CN111818144B (en) Message transmission method, device and system under remote service calling framework
CN114584963B (en) Call method, device and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant