[go: up one dir, main page]

CN106339632B - A method, user equipment and system for allocating M2M device management authority - Google Patents

A method, user equipment and system for allocating M2M device management authority Download PDF

Info

Publication number
CN106339632B
CN106339632B CN201510404339.2A CN201510404339A CN106339632B CN 106339632 B CN106339632 B CN 106339632B CN 201510404339 A CN201510404339 A CN 201510404339A CN 106339632 B CN106339632 B CN 106339632B
Authority
CN
China
Prior art keywords
user equipment
management
request
identifier corresponding
authority
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.)
Active
Application number
CN201510404339.2A
Other languages
Chinese (zh)
Other versions
CN106339632A (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan 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 Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201510404339.2A priority Critical patent/CN106339632B/en
Priority to PCT/CN2016/089427 priority patent/WO2017008705A1/en
Publication of CN106339632A publication Critical patent/CN106339632A/en
Application granted granted Critical
Publication of CN106339632B publication Critical patent/CN106339632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2137Time limited access, e.g. to a computer or data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Automation & Control Theory (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a kind of methods for distributing M2M equipment management permission, has the ability for the administration authority distribution request that M2M equipment is sent to server for user equipment, so that other users equipment is likewise supplied with the administration authority of M2M equipment, to realize that multiple user equipmenies have the administration authority of M2M equipment, user experience is improved.The described method includes: the first user equipment obtains the corresponding specified application identities of second user equipment, first user equipment has the first administration authority of M2M equipment;First user equipment sends the administration authority distribution request of the M2M equipment according to the corresponding specified application identities of the second user equipment to server, so that the server binds the corresponding specified application identities of second user equipment mark corresponding with the M2M equipment, so that the second user equipment has the second administration authority of the M2M equipment.

Description

一种分配M2M设备管理权限的方法、用户设备及系统A method, user equipment and system for allocating M2M device management authority

技术领域technical field

本发明涉及通信技术领域,具体涉及一种分配M2M设备管理权限的方法、用户设备及系统。The present invention relates to the field of communication technologies, in particular to a method, user equipment and system for allocating M2M device management authority.

背景技术Background technique

如今,机器对机器(M2M,machine-to-machine)设备可通过社交应用来实现人、机器之间的智能化、交互式无缝连接,因此,社交应用将成为非常重要的物联网连接器。Today, machine-to-machine (M2M, machine-to-machine) devices can realize intelligent, interactive and seamless connection between people and machines through social applications. Therefore, social applications will become a very important IoT connector.

其中,物联的实现原理是将用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,用户设备通过对应的指定应用标识来控制和操作M2M设备。例如,图1为微信物联的一个主要技术架构,其中,微信物联主要采用的是“云对云”的技术方案,即用户设备对应的微信公众账号与M2M设备对应的设备标识进行绑定,从而使得用户设备具备M2M设备的管理权限,用户设备可通过微信公众账号来控制和操作M2M设备。The implementation principle of the IoT is to bind the designated application identifier corresponding to the user equipment with the identifier corresponding to the M2M device, and the user equipment controls and operates the M2M device through the corresponding designated application identifier. For example, Figure 1 shows a main technical architecture of WeChat IoT, in which WeChat IoT mainly adopts the "cloud-to-cloud" technical solution, that is, the WeChat public account corresponding to the user device is bound to the device ID corresponding to the M2M device. , so that the user equipment has the management authority of the M2M equipment, and the user equipment can control and operate the M2M equipment through the WeChat public account.

然而,当用户设备具备M2M设备的管理权限时,用户设备不具备向服务器发送M2M设备的管理权限分配请求的能力,导致用户设备无法通过服务器把M2M设备的附加管理权限分配给其他用户设备,从而影响用户体验。However, when the user equipment has the management authority of the M2M device, the user equipment does not have the ability to send the management authority assignment request of the M2M device to the server, so that the user equipment cannot assign the additional management authority of the M2M device to other user equipment through the server, thereby affect the user experience.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种分配M2M设备管理权限的方法、用户设备及系统,用于用户设备具备向服务器发送M2M设备的管理权限分配请求的能力,进而通过服务器把M2M设备的附加管理权限分配给其他用户设备,使得其他用户设备同样具备M2M设备的管理权限,从而实现多个用户设备具备M2M设备的管理权限,提高用户体验。Embodiments of the present invention provide a method, user equipment, and system for allocating M2M device management authority, so that the user equipment has the ability to send an M2M device management authority allocation request to a server, and then allocates the M2M equipment additional management authority through the server. For other user equipments, the other user equipments also have the management authority of the M2M equipment, so that multiple user equipments have the management authority of the M2M equipment, and the user experience is improved.

本发明第一方面提供一种分配M2M设备管理权限的方法,包括:A first aspect of the present invention provides a method for allocating M2M device management authority, including:

第一用户设备获取第二用户设备对应的指定应用标识,所述第一用户设备具备M2M设备的第一管理权限,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识;The first user equipment obtains the designated application identifier corresponding to the second user equipment, the first user equipment has the first management authority of the M2M device, and the designated application identifier corresponding to the second user equipment is logged on the second user equipment The specified application ID corresponding to the application of ;

所述第一用户设备根据所述第二用户设备对应的指定应用标识向服务器发送所述M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求用于指示所述服务器将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定,并向所述第二用户设备发送绑定确认信息,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限;The first user equipment sends a management authority assignment request of the M2M device to the server according to the specified application identifier corresponding to the second user equipment, where the management authority assignment request is used to instruct the server to send the second user equipment Sending a management request of the M2M device, where the management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, where the binding request is used to instruct the server to bind the M2M device to the server The specified application identifier corresponding to the second user equipment is bound with the identifier corresponding to the M2M device, and binding confirmation information is sent to the second user equipment, where the binding confirmation information is used to indicate the second user equipment Possess the second management authority of the M2M device;

其中,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识。Wherein, the binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device.

结合第一方面,在第一种可能的实现方式中,Combined with the first aspect, in the first possible implementation manner,

所述管理权限分配请求与所述管理请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识,所述M2M设备对应的标识包括所述M2M设备对应的指定应用标识和/或所述M2M设备对应的设备标识;The management authority assignment request and the management request include the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, device management information and device binding credential information, and the corresponding identifier of the first user equipment. The designated application identifier, the identifier corresponding to the M2M device includes the designated application identifier corresponding to the M2M device and/or the device identifier corresponding to the M2M device;

所述绑定请求中还包含所述M2M设备对应的所述设备绑定凭证信息。The binding request further includes the device binding credential information corresponding to the M2M device.

结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息,所述方法还包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the management authority assignment request further includes authority period information corresponding to the second management authority, and the method further includes:

所述第一用户设备向所述服务器发送权限期限修改请求,所述权限期限修改请求用于指示所述服务器修改所述权限期限信息,并向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;The first user equipment sends a permission period modification request to the server, where the permission period modification request is used to instruct the server to modify the permission period information, and send permission period modification confirmation information to the second user equipment, The authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述权限期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the permission period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

结合第一方面或者第一方面的第一种至第二种中任意一种可能的实现方式,在第三种可能的实现方式中,所述方法还包括:With reference to the first aspect or any one of the possible implementation manners of the first to second aspects of the first aspect, in a third possible implementation manner, the method further includes:

所述第一用户设备向所述服务器发送取消管理权限请求,所述取消管理权限请求用于指示所述服务器解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识之间的绑定关系,并向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示所述第二用户设备不具备所述M2M设备的第二管理权限;The first user equipment sends a request for canceling the management authority to the server, where the request for canceling the management authority is used to instruct the server to cancel the relationship between the specified application identification corresponding to the second user equipment and the identification corresponding to the M2M device. the binding relationship, and send confirmation information for canceling the management authority to the second user equipment, where the confirmation information for canceling the management authority is used to indicate that the second user equipment does not have the second management authority of the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述第一用户设备向所述服务器发送取消管理权限请求之前,还包括:With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, before the first user equipment sends the request for canceling the management authority to the server, the method further includes:

所述第一用户设备删除所述第二用户设备对所述M2M设备的第二管理权限,包括以下任意一种方式:The first user equipment deletes the second management authority of the second user equipment to the M2M device, including any one of the following methods:

所述第一用户设备在所述M2M设备对应的指定应用工具栏界面上,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;The first user equipment selects a rights management interface on the designated application toolbar interface corresponding to the M2M device, and deletes the second management rights of the second user equipment to the M2M device on the rights management interface ;

或者,or,

所述第一用户设备在所述M2M设备对应的指定应用菜单栏选项中,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;The first user equipment selects a rights management interface in the designated application menu bar option corresponding to the M2M device, and deletes the second management rights of the second user equipment to the M2M device on the rights management interface ;

或者,or,

所述第一用户设备在所述M2M设备对应的指定应用对话框界面上,通过语音或者文字命令删除所述第二用户设备对所述M2M设备的第二管理权限;The first user equipment deletes the second management authority of the M2M device by the second user equipment through a voice or text command on the designated application dialog interface corresponding to the M2M device;

或者,or,

所述第一用户设备在所述M2M设备对应的指定应用界面上点击所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;The first user equipment clicks the icon corresponding to the M2M device on the designated application interface corresponding to the M2M device, selects a rights management interface, and deletes the second user equipment's access to the M2M device on the rights management interface. The second management authority of the device;

或者,or,

所述第一用户设备在所述M2M设备对应的指定应用界面上通过长按所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限。The first user equipment selects the rights management interface by long pressing the icon corresponding to the M2M device on the designated application interface corresponding to the M2M device, and deletes the second user equipment on the rights management interface. the second management authority of the M2M device.

结合第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述第一用户设备获取第二用户设备对应的指定应用标识包括:With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the acquiring, by the first user equipment, the specified application identifier corresponding to the second user equipment includes:

所述第一用户设备从所述M2M设备对应的指定应用界面中获取所述第二用户设备对应的指定应用标识;obtaining, by the first user equipment, a designated application identifier corresponding to the second user equipment from a designated application interface corresponding to the M2M device;

或者,or,

所述第一用户设备从所述M2M设备对应的指定应用对话框界面中获取所述第二用户设备对应的指定应用标识。The first user equipment acquires the specified application identifier corresponding to the second user equipment from the specified application dialog interface corresponding to the M2M device.

结合第一方面的第五种可能的实现方式,在第六种可能的实现方式中,所述第一用户设备获取第二用户设备对应的指定应用标识之前,还包括:With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, before the first user equipment acquires the specified application identifier corresponding to the second user equipment, the method further includes:

所述第一用户设备选择所述M2M设备;the first user equipment selects the M2M device;

所述第一用户设备在所述M2M设备的管理界面上选择所述第二用户设备对应的用户图标;The first user equipment selects a user icon corresponding to the second user equipment on the management interface of the M2M device;

所述第一用户设备在所述第二用户设备对应的用户图标的管理界面上选择所述第二用户设备对应的任意一种应用作为指定应用。The first user equipment selects any application corresponding to the second user equipment as the designated application on the management interface of the user icon corresponding to the second user equipment.

本发明第二方面提供一种分配M2M设备管理权限的方法,包括:A second aspect of the present invention provides a method for allocating M2M device management authority, including:

服务器接收第一用户设备发送的M2M设备的管理权限分配请求,所述第一用户设备具备所述M2M设备的第一管理权限,所述M2M设备至少有一个;The server receives a management authority assignment request of an M2M device sent by a first user equipment, the first user equipment has the first management authority of the M2M device, and the M2M device has at least one;

所述服务器根据所述管理权限分配请求向第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求;The server sends a management request of the M2M device to the second user equipment according to the management authority assignment request, where the management request is used to instruct the second user equipment to send the binding request of the M2M device to the server ;

所述服务器接收所述第二用户设备发送的所述绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识;The server receives the binding request sent by the second user equipment, where the binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and the second user equipment The designated application identifier corresponding to the device is the designated application identifier corresponding to the application logged in on the second user equipment;

所述服务器根据所述绑定请求将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定;The server binds the specified application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device according to the binding request;

所述服务器将绑定确认信息发送给所述第二用户设备,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限。The server sends binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the second management authority of the M2M device.

结合第二方面,在第一种可能的实现方式中,所述方法还包括:With reference to the second aspect, in a first possible implementation manner, the method further includes:

所述管理权限分配请求与所述管理请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识,所述M2M设备对应的标识包括所述M2M设备对应的指定应用标识和/或所述M2M设备对应的设备标识;The management authority assignment request and the management request include the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, device management information and device binding credential information, and the corresponding identifier of the first user equipment. The designated application identifier, the identifier corresponding to the M2M device includes the designated application identifier corresponding to the M2M device and/or the device identifier corresponding to the M2M device;

所述绑定请求中还包含所述M2M设备对应的所述设备绑定凭证信息。The binding request further includes the device binding credential information corresponding to the M2M device.

结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息,所述方法还包括:With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the management authority assignment request further includes authority period information corresponding to the second management authority, and the method further includes:

所述服务器接收所述第一用户设备发送的权限期限修改请求;receiving, by the server, a request for modifying the permission period sent by the first user equipment;

所述服务器根据所述权限期限修改请求修改所述权限期限信息;The server modifies the permission term information according to the permission term modification request;

所述服务器向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;sending, by the server, authority period modification confirmation information to the second user equipment, where the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述管理期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the management period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

结合第二方面或者第二方面的第一种可能至第二种中任意一种的实现方式,在第三种可能的实现方式中,所述方法还包括:With reference to the second aspect or any one of the first possible to second possible implementations of the second aspect, in a third possible implementation, the method further includes:

所述服务器接收所述第一用户设备发送的取消管理权限请求;receiving, by the server, a request for canceling the management authority sent by the first user equipment;

所述服务器根据所述取消管理权限请求修改所述权限期限信息;The server modifies the permission period information according to the request for canceling the management permission;

所述服务器向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示取消所述第二用户设备对所述M2M设备的第二管理权限;sending, by the server, confirmation information for canceling management authority to the second user equipment, where the confirmation information for canceling management authority is used to instruct to cancel the second management authority of the second user equipment for the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

本发明第三方面提供一种用户设备,包括:A third aspect of the present invention provides a user equipment, including:

获取模块,用于获取第二用户设备对应的指定应用标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识;an acquisition module, configured to acquire a designated application identifier corresponding to the second user equipment, where the designated application identifier corresponding to the second user equipment is a designated application identifier corresponding to an application logged in on the second user equipment;

发送模块,用于根据所述获取模块获取的所述第二用户设备对应的指定应用标识向服务器发送所述M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求用于指示所述服务器将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定,并向所述第二用户设备发送绑定确认信息,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限;A sending module, configured to send a management authority allocation request of the M2M device to the server according to the specified application identifier corresponding to the second user equipment obtained by the obtaining module, where the management authority allocation request is used to instruct the server to The second user equipment sends a management request of the M2M device, the management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, and the binding request is used to indicate the The server binds the designated application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device, and sends binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate the the second user equipment has the second management authority of the M2M device;

其中,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识。Wherein, the binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device.

结合第三方面,在第一种可能的实现方式中,Combined with the third aspect, in the first possible implementation,

所述管理权限分配请求与所述管理请求中包含所述第二用户设备的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识,所述M2M设备对应的标识包括所述M2M设备对应的指定应用标识和/或所述M2M设备对应的设备标识;The management authority assignment request and the management request include the specified application identifier of the second user equipment, the identifier corresponding to the M2M device, device management information and device binding credential information, and the corresponding identifier of the first user equipment. A designated application identifier, where the identifier corresponding to the M2M device includes a designated application identifier corresponding to the M2M device and/or a device identifier corresponding to the M2M device;

所述绑定请求中还包含所述M2M设备对应的所述设备绑定凭证信息。The binding request further includes the device binding credential information corresponding to the M2M device.

结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,In combination with the first possible implementation manner of the third aspect, in the second possible implementation manner,

所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息;The management authority assignment request further includes authority period information corresponding to the second management authority;

所述发送模块,还用于向所述服务器发送权限期限修改请求,所述权限期限修改请求用于指示所述服务器修改所述权限期限信息,并向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;The sending module is further configured to send a permission period modification request to the server, where the permission period modification request is used to instruct the server to modify the permission period information, and send a permission period modification confirmation to the second user equipment information, the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述权限期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the permission period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

结合第三方面或者第三方面的第一种至第二种中任意一种可能的实现方式,在第三种可能的实现方式中,With reference to the third aspect or any one of the possible implementation manners of the first to the second aspect of the third aspect, in the third possible implementation manner,

所述发送模块,还用于向所述服务器发送取消管理权限请求,所述取消管理权限请求用于指示所述服务器解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识之间的绑定关系,并向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示所述第二用户设备不具备所述M2M设备的第二管理权限;The sending module is further configured to send a request for canceling the management authority to the server, where the request for canceling the management authority is used to instruct the server to cancel the specified application identification corresponding to the second user equipment and the identification corresponding to the M2M device The binding relationship between the two, and send to the second user equipment cancellation management authority confirmation information, the management authority cancellation confirmation information is used to indicate that the second user equipment does not have the second management authority of the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中,还包括:In combination with the third possible implementation manner of the third aspect, the fourth possible implementation manner further includes:

删除模块,用于所述发送模块向所述服务器发送取消管理权限请求之前,删除所述第二用户设备对所述M2M设备的第二管理权限,包括以下任意一种方式:A deletion module, configured to delete the second management authority of the second user equipment to the M2M device before the sending module sends a request for canceling the management authority to the server, including any one of the following methods:

在所述M2M设备对应的指定应用工具栏界面上,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;On the designated application toolbar interface corresponding to the M2M device, select a rights management interface, and delete the second management rights of the second user equipment to the M2M device on the rights management interface;

或者,or,

在所述M2M设备对应的指定应用菜单栏选项中,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;In the designated application menu bar option corresponding to the M2M device, select a rights management interface, and delete the second management rights of the second user equipment to the M2M device on the rights management interface;

或者,or,

在所述M2M设备对应的指定应用对话框界面上,通过语音或者文字命令删除所述第二用户设备对所述M2M设备的第二管理权限;On the designated application dialog interface corresponding to the M2M device, delete the second management authority of the M2M device by the second user equipment through a voice or text command;

或者,or,

在所述M2M设备对应的指定应用界面上点击所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;Click the icon corresponding to the M2M device on the designated application interface corresponding to the M2M device, select the rights management interface, and delete the second management rights of the second user equipment to the M2M device on the rights management interface ;

或者,or,

在所述M2M设备对应的指定应用界面上通过长按所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限。On the designated application interface corresponding to the M2M device, long-press the icon corresponding to the M2M device, select the rights management interface, and delete the second user equipment's second request to the M2M device on the rights management interface. Administrative rights.

结合第三方面的第四种可能的实现方式,在第五种可能的实现方式中,In combination with the fourth possible implementation manner of the third aspect, in the fifth possible implementation manner,

所述获取模块,具体用于从所述M2M设备对应的指定应用界面中获取所述第二用户设备对应的指定应用标识;The obtaining module is specifically configured to obtain the designated application identifier corresponding to the second user equipment from the designated application interface corresponding to the M2M device;

或者,or,

所述获取模块,具体用于从所述M2M设备对应的指定应用对话框界面中获取所述第二用户设备对应的指定应用标识。The obtaining module is specifically configured to obtain the designated application identifier corresponding to the second user equipment from the designated application dialog interface corresponding to the M2M device.

结合第三方面的第五种可能的实现方式,在第六种可能的实现方式中,还包括:With reference to the fifth possible implementation manner of the third aspect, the sixth possible implementation manner further includes:

选择模块,用于所述获取模块获取所述第二用户设备对应的指定应用标识之前,选择所述M2M设备;a selection module, configured to select the M2M device before the acquisition module acquires the specified application identifier corresponding to the second user equipment;

所述选择模块,还用于在所述M2M设备的管理界面上选择所述第二用户设备对应的用户图标;The selection module is further configured to select a user icon corresponding to the second user equipment on the management interface of the M2M device;

所述选择模块,还用于在所述第二用户设备对应的用户图标的管理界面上选择所述第二用户设备对应的任意一种应用作为指定应用。The selection module is further configured to select any application corresponding to the second user equipment as a designated application on the management interface of the user icon corresponding to the second user equipment.

本发明第四方面提供一种服务器,包括:A fourth aspect of the present invention provides a server, comprising:

接收模块,用于接收第一用户设备发送的M2M设备的管理权限分配请求,所述第一用户设备具备所述M2M设备的第一管理权限,所述M2M设备至少有一个;a receiving module, configured to receive a management authority assignment request of an M2M device sent by a first user equipment, where the first user equipment has the first management authority of the M2M device, and the M2M device has at least one;

发送模块,用于根据所述管理权限分配请求向第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求;A sending module, configured to send a management request of the M2M device to the second user equipment according to the management authority assignment request, where the management request is used to instruct the second user equipment to send the binding of the M2M device to the server make a request;

所述接收模块,还用于接收所述第二用户设备发送的所述绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识;The receiving module is further configured to receive the binding request sent by the second user equipment, where the binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, The designated application identifier corresponding to the second user equipment is the designated application identifier corresponding to the application logged in on the second user equipment;

绑定模块,用于根据所述绑定请求将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定;a binding module, configured to bind the specified application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device according to the binding request;

所述发送模块,还用于将绑定确认信息发送给所述第二用户设备,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限。The sending module is further configured to send binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the second management authority of the M2M device.

结合第四方面,在第一种可能的实现方式中,Combined with the fourth aspect, in the first possible implementation manner,

所述管理权限分配请求与所述管理请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识,所述M2M设备对应的标识包括所述M2M设备对应的指定应用标识和/或所述M2M设备对应的设备标识;The management authority assignment request and the management request include the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, device management information and device binding credential information, and the corresponding identifier of the first user equipment. The designated application identifier, the identifier corresponding to the M2M device includes the designated application identifier corresponding to the M2M device and/or the device identifier corresponding to the M2M device;

所述绑定请求中还包含所述M2M设备对应的所述设备绑定凭证信息。The binding request further includes the device binding credential information corresponding to the M2M device.

结合第四方面第一种可能的实现方式,在第二种可能的实现方式中,所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息,所述服务器还包括:With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the management authority assignment request further includes authority period information corresponding to the second management authority, and the server further includes:

所述接收模块,还用于接收所述第一用户设备发送的权限期限修改请求;The receiving module is further configured to receive a permission period modification request sent by the first user equipment;

修改模块,用于根据所述权限期限修改请求修改所述权限期限信息;A modification module, configured to modify the permission period information according to the permission period modification request;

所述发送模块,还用于向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;The sending module is further configured to send authority period modification confirmation information to the second user equipment, where the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述管理期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the management period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

结合第四方面或者第四方面的第一种至第二种中任意一种可能的实现方式,在第三种可能的实现方式中,所述服务器还包括:With reference to the fourth aspect or any one of the possible implementation manners of the first to the second aspect of the fourth aspect, in a third possible implementation manner, the server further includes:

所述接收模块,还用于接收所述第一用户设备发送的取消管理权限请求;The receiving module is further configured to receive a request for canceling the management authority sent by the first user equipment;

解除模块,用于根据所述取消管理权限请求解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识之间的绑定关系;a releasing module, configured to release the binding relationship between the designated application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device according to the request for canceling the management authority;

所述发送模块,还用于向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示取消所述第二用户设备对所述M2M设备的第二管理权限;The sending module is further configured to send confirmation information for cancellation of management authority to the second user equipment, where the confirmation information for cancellation of management authority is used to indicate cancellation of the second management authority of the second user equipment to the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

本发明第五方面提供一种系统,其特征在于,包括:A fifth aspect of the present invention provides a system, characterized in that it includes:

用户设备和服务器;User equipment and servers;

所述用户设备如第三方面所述的用户设备;The user equipment is the user equipment according to the third aspect;

所述服务器如第四方面所述的服务器。The server is the server described in the fourth aspect.

应用以上技术方案,第一用户设备获取第二用户设备对应的指定应用标识,第一用户设备根据所述第二用户设备对应的指定应用标识向服务器发送所述M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,所述绑定请求用于指示所述服务器将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定,并向所述第二用户设备发送绑定确认信息。由于第一用户设备具备M2M设备的第一管理权限,与现有技术不同的是,本发明中第一用户设备具备向服务器发送M2M设备的管理权限分配请求的能力,进而通过服务器将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。By applying the above technical solutions, the first user equipment obtains the specified application identifier corresponding to the second user equipment, and the first user equipment sends the management authority assignment request of the M2M device to the server according to the specified application identifier corresponding to the second user equipment, so the The management authority assignment request is used to instruct the server to send a management request of the M2M device to the second user equipment, and the management request is used to instruct the second user equipment to send the M2M device's information to the server. A binding request, where the binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and the binding request is used to instruct the server to associate the second user equipment with The specified application identifier of the M2M device is bound with the identifier corresponding to the M2M device, and binding confirmation information is sent to the second user equipment. Since the first user equipment has the first management authority of the M2M device, different from the prior art, in the present invention, the first user equipment has the ability to send the management authority assignment request of the M2M device to the server, and then the second user equipment is sent to the server through the server. The designated application identifier corresponding to the device is bound with the identifier corresponding to the M2M device, so that the second user equipment has the second management authority of the M2M device, thereby realizing that multiple user equipments have the management authority of the M2M device and improving user experience.

附图说明Description of drawings

图1为现有技术中微信物联的一个技术架构示意图;1 is a schematic diagram of a technical architecture of WeChat IoT in the prior art;

图2a-2b为现有技术中微信物联的一个实施例示意图;2a-2b are schematic diagrams of an embodiment of WeChat IoT in the prior art;

图3为本发明实施例中分配M2M设备管理权限的方法的一个实施例示意图;3 is a schematic diagram of an embodiment of a method for allocating M2M device management authority in an embodiment of the present invention;

图4为本发明实施例中分配M2M设备管理权限的方法的另一个实施例示意图;4 is a schematic diagram of another embodiment of a method for allocating M2M device management authority in an embodiment of the present invention;

图5为本发明实施例中分配M2M设备管理权限的方法的另一个实施例示意图;5 is a schematic diagram of another embodiment of a method for allocating M2M device management authority in an embodiment of the present invention;

图6为本发明实施例中分配M2M设备管理权限的方法的另一个实施例示意图;6 is a schematic diagram of another embodiment of a method for allocating M2M device management authority in an embodiment of the present invention;

图7为本发明实施例中具体应用场景的一个实施例示意图;FIG. 7 is a schematic diagram of an embodiment of a specific application scenario in an embodiment of the present invention;

图8为本发明实施例中具体应用场景的另一个实施例示意图;8 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图9为本发明实施例中具体应用场景的另一个实施例示意图;FIG. 9 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图10为本发明实施例中具体应用场景的另一个实施例示意图;FIG. 10 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图11为本发明实施例中具体应用场景的另一个实施例示意图;11 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图12为本发明实施例中具体应用场景的另一个实施例示意图;12 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图13为本发明实施例中具体应用场景的另一个实施例示意图;13 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图14为本发明实施例中具体应用场景的另一个实施例示意图;14 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图15为本发明实施例中具体应用场景的另一个实施例示意图;15 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图16本发明实施例中具体应用场景的另一个实施例示意图;16 is a schematic diagram of another embodiment of a specific application scenario in an embodiment of the present invention;

图17为本发明实施例中用户设备的一个实施例示意图;FIG. 17 is a schematic diagram of an embodiment of a user equipment in an embodiment of the present invention;

图18为本发明实施例中服务器的一个实施例示意图;FIG. 18 is a schematic diagram of an embodiment of a server in an embodiment of the present invention;

图19为本发明实施例中系统的一个实施例示意图;19 is a schematic diagram of an embodiment of a system in an embodiment of the present invention;

图20为本发明实施例中分配M2M设备管理权限的一个结构示意图。FIG. 20 is a schematic structural diagram of allocating M2M device management authority in an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种分配M2M设备管理权限的方法、用户设备及系统,用于用户设备具备向服务器发送M2M设备的管理权限分配请求的能力,进而通过服务器把M2M设备的附加管理权限分配给其他用户设备,使得其他用户设备同样具备M2M设备的管理权限,从而提高用户体验。Embodiments of the present invention provide a method, user equipment, and system for allocating M2M device management authority, so that the user equipment has the ability to send an M2M device management authority allocation request to a server, and then allocates the M2M equipment additional management authority through the server. For other user equipments, the other user equipments also have the management authority of the M2M equipment, thereby improving the user experience.

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to Describe a particular order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.

本发明的技术方案,可以应用于各种通信系统,例如:全球移动通信系统(lobalSystem for Mobile Communication,GSM),码分多址(CodeDivision Multiple Access,CDMA)系统,宽带码分多址(Wideband Code DivisionMultiple Access Wireless,WCDMA),通用分组无线业务(General Packet Radio Service,GPRS),长期演进(Long TermEvolution,LTE)等。The technical solution of the present invention can be applied to various communication systems, such as: Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (Wideband Code) Division Multiple Access Wireless, WCDMA), General Packet Radio Service (General Packet Radio Service, GPRS), Long Term Evolution (Long Term Evolution, LTE) and the like.

本发明实施例中的用户设备(UE,User Equipment),也可称之为移动终端(MobileTerminal)、移动用户设备等,可以经无线接入网(例如:RAN,Radio Access Network)与一个或多个核心网进行通信,用户设备可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。User equipment (UE, User Equipment) in this embodiment of the present invention may also be referred to as a mobile terminal (Mobile Terminal), mobile user equipment, etc. The user equipment can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, which can be portable, pocket-sized, hand-held, computer-built-in or vehicle-mounted Mobile devices that exchange language and/or data with the radio access network.

图2a-2b为现有技术中微信物联的一个示例,其中,咕咚手环是支持微信物联的产品,它的主要的功能是利用微信公众账号将用户的运动数据进行分享和排名,用户设备关注咕咚手环的微信公众帐号,从而绑定咕咚手环,用户设备可以将运动数据上传到微信,并且根据健康数据将用户设备对应的用户和其他的用户进行排名,用户可以通过用户设备查看每天的运动排名。此外,用户可以通过微信公众账号来查看咕咚手环的健康数据,设置个人运动计划,设置手环闹铃等,利用微信公众账号来绑定咕咚手环,从而对咕咚手环进行操控管理,然而,当用户想要将咕咚手环的附加管理权限分配给其他用户时,在现有技术中用户设备不具备向服务器发送咕咚手环的管理权限分配请求的能力,从而无法实现用户的想法,影响用户体验,因此展开本发明的论述:Figures 2a-2b are an example of WeChat IoT in the prior art, in which the Codoon bracelet is a product that supports WeChat IoT, and its main function is to share and rank users' exercise data using WeChat public accounts. The device pays attention to the WeChat official account of the Codoon bracelet, so as to bind the Codoon bracelet, the user device can upload the exercise data to WeChat, and rank the users corresponding to the user device and other users according to the health data, and the user can view it through the user device. Daily sports rankings. In addition, users can view the health data of the Codoon bracelet, set a personal exercise plan, set the bracelet alarm, etc. through the WeChat public account, and use the WeChat public account to bind the Codoon bracelet, so as to control and manage the Codoon bracelet. However, , when the user wants to assign the additional management authority of the Codoon bracelet to other users, in the prior art, the user equipment does not have the ability to send a request for the allocation of the management authority of the Codoon bracelet to the server, so the user's idea cannot be realized, affecting User experience, therefore expand the discussion of the present invention:

请参阅图3,本发明实施例中分配M2M设备管理权限的方法的一个实施例包括:Referring to FIG. 3, an embodiment of a method for allocating M2M device management authority in an embodiment of the present invention includes:

301、第一用户设备获取第二用户设备对应的指定应用标识;301. The first user equipment acquires a specified application identifier corresponding to the second user equipment;

所述第一用户设备具备M2M设备的第一管理权限,所述M2M设备至少有一个,其中,第一用户设备可以通过获取M2M设备对应的标识,进而向服务器发送绑定请求,使得服务器将第一用户设备对应的指定应用标识与M2M设备对应的标识绑定,从而获取M2M设备的第一管理权限,还可以通过其他方式获取M2M设备的第一管理权限,此处不做具体限定。The first user equipment has the first management authority of the M2M device, and there is at least one M2M device, wherein the first user equipment can obtain the identifier corresponding to the M2M device, and then send a binding request to the server, so that the server will A designated application identifier corresponding to a user equipment is bound with an identifier corresponding to the M2M device, so as to obtain the first management authority of the M2M device, and the first management authority of the M2M device can also be obtained in other ways, which are not specifically limited here.

本发明实施例中,所述M2M设备对应的标识包括所述M2M设备对应的指定应用标识和/或所述M2M设备对应的设备标识。In this embodiment of the present invention, the identifier corresponding to the M2M device includes a designated application identifier corresponding to the M2M device and/or a device identifier corresponding to the M2M device.

其中,第一管理权限为M2M设备的一个主权限,具备主权限的用户设备可以向服务器发送M2M设备的管理权限分配请求,从而将M2M设备的管理权限通过服务器分配给第二用户设备,使得第一用户设备和第二用户设备同样具有M2M设备的管理权限。The first management authority is a main authority of the M2M device, and the user equipment with the main authority can send the management authority allocation request of the M2M device to the server, so that the management authority of the M2M device is allocated to the second user equipment through the server, so that the first A user equipment and a second user equipment also have the management authority of the M2M equipment.

所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识,比如,在第二用户设备上登录的任意一种社交应用所对应的指定应用标识。The designated application identifier corresponding to the second user equipment is the designated application identifier corresponding to the application logged in on the second user equipment, for example, the designated application identifier corresponding to any social application logged in on the second user equipment .

其中,该指定应用标识为用来标识指定应用的账号或者名称等,也可以是其他用来标识指定应用的符号,此处不做具体限定。在本发明中,指定应用标识可以为指定应用的社交账号或者公众账号等,比如微信公众账号。其中,第二用户设备所对应的任意一种应用可作为指定应用,比如任意一种社交应用,例如:QQ,微信,whatsapp、line、推特twitter、脸谱facebook等。The designated application identifier is an account or name used to identify the designated application, and may also be other symbols used to identify the designated application, which is not specifically limited here. In the present invention, the specified application identifier may be a social account or a public account of the specified application, such as a WeChat public account. Wherein, any application corresponding to the second user equipment can be used as a designated application, for example, any social application, such as: QQ, WeChat, whatsapp, line, twitter, Facebook, and so on.

302、第一用户设备根据第二用户设备对应的指定应用标识向服务器发送M2M设备的管理权限分配请求;302. The first user equipment sends an M2M device management authority allocation request to the server according to the specified application identifier corresponding to the second user equipment;

所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,其中,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,所述绑定请求用于指示所述服务器将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定,并向所述第二用户设备发送绑定确认信息,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限。The management authority assignment request is used to instruct the server to send a management request of the M2M device to the second user equipment, and the management request is used to instruct the second user equipment to send the M2M device to the server The binding request, wherein the binding request includes the specified application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device, and the binding request is used to instruct the server to The specified application identifier corresponding to the user equipment is bound with the identifier corresponding to the M2M device, and binding confirmation information is sent to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has all the second management authority of the M2M device.

其中,第二管理权限为M2M设备的附加管理权限,与第一管理权限相同的是,第二用户设备通过该附加管理权限同样能够对M2M设备进行操控和管理,但是,不同的是,第二管理权限是第二用户设备被动获取的,第一用户设备可以随时向服务器发送取消第二管理权限请求,进而通过服务器取消第二管理权限。The second management authority is an additional management authority of the M2M device. Similar to the first management authority, the second user equipment can also control and manage the M2M device through the additional management authority. However, the difference is that the second user equipment The management authority is passively acquired by the second user equipment, and the first user equipment may send a request for canceling the second management authority to the server at any time, and then cancel the second management authority through the server.

需要说明的是,在本发明中,服务器可以理解为指定应用服务器或者业务服务器,具体可根据实际应用而定。其中,该指定应用服务器可以理解为指定应用对应的服务器(比如:微信服务器,QQ服务器,facebook服务器等一些社交网站服务器等),该业务服务器可以理解为提供M2M设备服务以及管理功能的M2M设备厂商服务器,比如咕咚手环服务器。It should be noted that, in the present invention, a server may be understood as a designated application server or a service server, which may be determined according to the actual application. Among them, the designated application server can be understood as the server corresponding to the designated application (such as: WeChat server, QQ server, Facebook server and other social networking site servers, etc.), and the business server can be understood as an M2M device manufacturer that provides M2M device services and management functions Servers, such as the Gudong bracelet server.

本发明实施例中,由于第一用户设备具备M2M设备的第一管理权限,与现有技术不同的是,第一用户设备向服务器发送M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,进而通过服务器将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。In the embodiment of the present invention, since the first user equipment has the first management authority of the M2M device, different from the prior art, the first user equipment sends a management authority allocation request of the M2M device to the server, and the management authority allocation request uses is used to instruct the server to send a management request of the M2M device to the second user equipment, the management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, the The binding request includes the designated application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device, and then the server binds the designated application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device, so that the first The second user equipment has the second management authority of the M2M equipment, so that multiple user equipments have the management authority of the M2M equipment, and the user experience is improved.

在图3所示实施例的基础上,请参阅图4,本发明实施例中分配M2M设备管理权限的方法的另一个实施例包括:On the basis of the embodiment shown in FIG. 3 , referring to FIG. 4 , another embodiment of the method for allocating M2M device management authority in the embodiment of the present invention includes:

401、第一用户设备关注M2M设备对应的指定应用标识;401. The first user equipment pays attention to the specified application identifier corresponding to the M2M device;

本发明实施例中,M2M设备对应的标识包含M2M设备对应的指定应用标识和所述M2M设备对应的设备标识。In this embodiment of the present invention, the identifier corresponding to the M2M device includes a designated application identifier corresponding to the M2M device and a device identifier corresponding to the M2M device.

第一用户设备可先获取M2M设备对应的指定应用标识,通过该M2M设备对应的指定应用标识在指定应用的搜索工具栏上搜索该M2M设备对应的指定应用标识,进而关注该M2M设备对应的指定应用标识。指定应用标识可参考图3所示实施例中的对指定应用标识的定义。The first user equipment may first obtain the designated application identifier corresponding to the M2M device, search for the designated application identifier corresponding to the M2M device on the search toolbar of the designated application through the designated application identifier corresponding to the M2M device, and then pay attention to the designated application identifier corresponding to the M2M device. App ID. For the designated application identifier, reference may be made to the definition of the designated application identifier in the embodiment shown in FIG. 3 .

402、第一用户设备启用M2M设备;402. The first user equipment enables the M2M device;

第一用户设备关注M2M设备对应的指定应用标识后,进一步可通过扫描M2M设备对应的设备标识(比如:二维码,身份标识号码ID)启用M2M设备,也可通过其他方式启用M2M设备,此处不做具体限定。After paying attention to the designated application identifier corresponding to the M2M device, the first user equipment can further enable the M2M device by scanning the device identifier corresponding to the M2M device (such as a two-dimensional code, an identification number ID), or can also enable the M2M device in other ways. There is no specific limitation.

403、第一用户设备向服务器发送M2M设备的绑定请求;403. The first user equipment sends a binding request of the M2M device to the server;

在本发明实施例中,服务器包括指定应用服务器和业务服务器。In this embodiment of the present invention, the server includes a designated application server and a service server.

第一用户设备启用M2M设备后,通过M2M设备对应的指定应用服务向业务服务器发送M2M设备的绑定请求,该绑定请求中包含所述第一用户设备对应的指定应用标识和所述M2M设备对应的设备标识。After enabling the M2M device, the first user equipment sends a binding request of the M2M device to the service server through the designated application service corresponding to the M2M device, where the binding request includes the designated application identifier corresponding to the first user equipment and the M2M device. The corresponding device ID.

404、服务器将第一用户设备对应的指定应用标识与M2M设备对应的设备标识进行绑定;404. The server binds the specified application identifier corresponding to the first user equipment with the device identifier corresponding to the M2M device;

业务服务器接收第一用户设备发送的M2M设备的绑定请求后,将第一用户设备对应的指定应用标识和M2M设备对应的设备标识进行绑定。After receiving the M2M device binding request sent by the first user equipment, the service server binds the designated application identifier corresponding to the first user equipment and the device identifier corresponding to the M2M device.

405、服务器向第一用户设备发送M2M设备的绑定确认信息;405. The server sends the binding confirmation information of the M2M device to the first user equipment;

业务服务器将第一用户设备对应的指定应用标识和M2M设备对应的设备标识进行绑定后,业务服务器通过指定应用服务器向第一用户设备发送M2M设备的绑定确认信息。After the service server binds the designated application identifier corresponding to the first user equipment with the device identifier corresponding to the M2M device, the service server sends the binding confirmation information of the M2M device to the first user equipment through the designated application server.

406、第一用户设备获取M2M设备的第一管理权限;406. The first user equipment acquires the first management authority of the M2M device;

第一用户设备接收指定应用服务器发送的绑定确认信息,从而具备M2M设备的第一管理权限。The first user equipment receives the binding confirmation information sent by the designated application server, and thus has the first management authority of the M2M device.

407、第一用户设备获取第二用户设备对应的指定应用标识;407. The first user equipment acquires a specified application identifier corresponding to the second user equipment;

第一用户设备具备M2M设备的第一管理权限后,第一用户设备预将M2M设备的管理权限分配给第二用户设备,则第一用户设备先获取第二用户设备的对应指定应用标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识。After the first user equipment has the first management authority of the M2M device, the first user equipment pre-allocates the management authority of the M2M device to the second user equipment, then the first user equipment first obtains the corresponding designated application identifier of the second user equipment, so the The designated application identifier corresponding to the second user equipment is the designated application identifier corresponding to the application logged in on the second user equipment.

在一些可选的实施例中,所述第一用户设备从所述M2M设备对应的指定应用界面中获取所述第二用户设备对应的指定应用标识,比如:第一用户设备在M2M设备对应的社交公众账号界面的输入工具栏上,选择第二用户设备,并接收第二用户设备对应的指定应用标识;或者,所述第一用户设备从所述M2M设备对应的指定应用对话框界面中上获取所述第二用户设备对应的指定应用标识,比如:第一用户设备在与M2M设备对应的指定应用对话框中选择第二用户设备,并接收第二用户设备对应的指定应用标识。具体的获取方法可根据实际情况而定,此处不做具体限定。In some optional embodiments, the first user equipment acquires the specified application identifier corresponding to the second user equipment from the specified application interface corresponding to the M2M device, for example: the first user equipment is in the corresponding M2M device. On the input toolbar of the social public account interface, select the second user equipment, and receive the designated application identifier corresponding to the second user equipment; or, the first user equipment from the designated application dialog interface corresponding to the M2M device. Acquiring the designated application identifier corresponding to the second user equipment, for example: the first user equipment selects the second user equipment in the designated application dialog box corresponding to the M2M device, and receives the designated application identifier corresponding to the second user equipment. The specific acquisition method may be determined according to the actual situation, and is not specifically limited here.

另外,在所述第一用户设备获取第二用户设备对应的指定应用标识之前,还需要确定第二用户设备对应的指定应用,具体为:第一用户设备选择所述M2M设备;第一用户设备在所述M2M设备的管理界面上选择所述第二用户设备对应的用户图标,比如该图标指示第一用户设备预分配M2M设备的管理权限的用户;第一用户设备在所述第二用户设备对应的用户图标的管理界面上选择所述第二用户设备对应的任意一种应用作为指定应用。In addition, before the first user equipment acquires the designated application identifier corresponding to the second user equipment, the designated application corresponding to the second user equipment also needs to be determined, specifically: the first user equipment selects the M2M device; the first user equipment On the management interface of the M2M device, select a user icon corresponding to the second user equipment, for example, the icon indicates a user whose first user equipment has pre-assigned the management authority of the M2M device; the first user equipment is in the second user equipment Any application corresponding to the second user equipment is selected as the designated application on the management interface of the corresponding user icon.

408、第一用户设备向服务器发送M2M设备的管理权限分配请求;408. The first user equipment sends a management authority assignment request of the M2M device to the server;

第一用户设备根据第二用户设备的指定应用标识向指定应用服务器发送M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述指定应用服务器向所述第二用户设备发送所述M2M设备的管理请求。The first user equipment sends a management authority assignment request of the M2M device to the specified application server according to the specified application identifier of the second user equipment, where the management authority assignment request is used to instruct the specified application server to send the specified application server to the second user equipment. Management request for M2M devices.

所述管理权限分配请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识。The management authority assignment request includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, device management information and device binding credential information, and a designated application identifier corresponding to the first user equipment.

所述M2M设备对应的标识包含M2M设备对应的指定应用标识和所述M2M设备对应的设备标识。The identifier corresponding to the M2M device includes a designated application identifier corresponding to the M2M device and a device identifier corresponding to the M2M device.

在本发明实施例中,设备标识为用来标识M2M设备的二维码,身份标识号码,型号,生产日期、厂家信息、生产批次等,为M2M设备的标志特征。设备管理信息包含用来显示M2M设备对应的管理界面图示信息以及该管理界面对应的功能表信息。具有管理权限的用户设备可通过该设备管理信息对M2M设备进行操控和管理。In the embodiment of the present invention, the device identification is a two-dimensional code used to identify the M2M device, the identification number, the model, the production date, the manufacturer information, the production batch, etc., which are the identification features of the M2M device. The device management information includes icon information for displaying the management interface corresponding to the M2M device and function table information corresponding to the management interface. The user equipment with management authority can control and manage the M2M equipment through the equipment management information.

设备绑定凭证信息为服务器绑定第二用户设备对应的指定应用标识和M2M设备对应的标识之前,根据绑定请求进行验证的信息,比如服务器可通过获得的设备绑定凭证信息授权第二用户设备的绑定请求,之后将第二用户设备的指定应用标识与M2M设备对应的标识进行绑定。可选的,服务器可以根据设备绑定凭证信息以及第一用户设备对应的指定应用标识来验证第二用户的绑定请求。The device binding credential information is the information that is verified according to the binding request before the server binds the designated application identifier corresponding to the second user device and the identifier corresponding to the M2M device. For example, the server can authorize the second user through the obtained device binding credential information. device binding request, and then bind the designated application identifier of the second user equipment with the identifier corresponding to the M2M device. Optionally, the server may verify the binding request of the second user according to the device binding credential information and the specified application identifier corresponding to the first user's device.

服务器可通过该设备绑定凭证信息进行验证,验证通过后才能确定将第二用户设备的指定应用标识与M2M设备对应的设备标识进行绑定。The server can perform verification through the device binding credential information, and only after the verification is passed can it be determined to bind the designated application identifier of the second user equipment with the device identifier corresponding to the M2M device.

409、服务器向第二用户设备发送M2M设备的管理请求;409. The server sends a management request of the M2M device to the second user equipment;

指定应用服务器接收第一用户设备发送的M2M设备的管理权限分配请求,进一步向第二用户设备发送M2M设备的管理请求,所述管理请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识,所述管理请求用于指示所述第二用户设备向所述指定应用服务器发送所述M2M设备的绑定请求。The designated application server receives the management authority assignment request of the M2M device sent by the first user equipment, and further sends the management request of the M2M device to the second user equipment, where the management request includes the designated application identifier corresponding to the second user equipment. The identifier corresponding to the M2M device, device management information and device binding credential information, and the designated application identifier corresponding to the first user equipment, and the management request is used to instruct the second user equipment to send the designated application server. The binding request of the M2M device described above.

410、第二用户设备判断是否关注M2M设备对应的指定应用标识,若是,执行步骤411,若否,执行步骤412;410. The second user equipment determines whether to pay attention to the designated application identifier corresponding to the M2M device, if yes, execute step 411, if not, execute step 412;

第二用户设备接收指定应用服务器发送的M2M设备的管理请求,进一步判断是否已经关注M2M设备对应的指定应用标识,若是,执行步骤411,若否,执行步骤412。The second user equipment receives the management request of the M2M device sent by the designated application server, and further determines whether it has paid attention to the designated application identifier corresponding to the M2M device.

411、第二用户设备在M2M对应的指定应用界面上发送指示信息;411. The second user equipment sends indication information on a designated application interface corresponding to M2M;

若第二用户设备已经关注M2M设备对应的指定应用标识,则第二用户设备在M2M对应的指定应用界面上发送指示信息,所述指示信息用于指示所述第二用户设备接受所述管理请求。If the second user equipment has paid attention to the designated application identifier corresponding to the M2M device, the second user equipment sends indication information on the designated application interface corresponding to the M2M device, where the indication information is used to instruct the second user equipment to accept the management request .

412、第二用户设备在系统显示界面上发送指示信息;412. The second user equipment sends indication information on the system display interface;

若第二用户设备没有关注M2M设备对应的指定应用标识,则第二用户设备在系统显示界面上发送指示信息。其中,该系统为第二用户设备对应的系统,比如该第二用户设备为安卓(Android)系统等。需要说明的是,若第二用户设备没有关注M2M设备对应的指定应用标识,则第二用户设备在系统显示界面上发送的指示信息还包括指示第二用户设备接受对M2M设备对应的指定应用标识的关注请求。If the second user equipment does not pay attention to the designated application identifier corresponding to the M2M device, the second user equipment sends indication information on the system display interface. The system is a system corresponding to the second user equipment, for example, the second user equipment is an Android (Android) system. It should be noted that, if the second user equipment does not pay attention to the designated application identifier corresponding to the M2M device, the indication information sent by the second user equipment on the system display interface further includes instructing the second user equipment to accept the designated application identifier corresponding to the M2M device. request for attention.

413、第二用户设备向服务器发送M2M设备的绑定请求;413. The second user equipment sends a binding request of the M2M device to the server;

第二用户设备通过指示信息接受管理请求后,第二用户设备通过指定应用服务器向业务服务器发送M2M设备的绑定请求,所述绑定请求用于指示所述业务服务器将所述第二用户设备对应的指定应用标识与所述M2M设备对应的设备标识进行绑定,并向所述第二用户设备发送绑定确认信息,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限。After the second user equipment accepts the management request through the indication information, the second user equipment sends an M2M device binding request to the service server through the designated application server, where the binding request is used to instruct the service server to bind the second user equipment to the service server. The corresponding designated application identifier is bound with the device identifier corresponding to the M2M device, and binding confirmation information is sent to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the The second management authority of the M2M device.

所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的设备标识以及设备绑定凭证信息。The binding request includes a specified application identifier corresponding to the second user equipment, a device identifier corresponding to the M2M device, and device binding credential information.

可以理解的是,第二用户设备通过M2M设备对应的指定应用服务器向业务服务器发送M2M设备的绑定请求,则业务服务器将第二用户设备对应的指定应用标识和M2M设备对应的设备标识进行绑定。It can be understood that, when the second user equipment sends a binding request of the M2M device to the service server through the designated application server corresponding to the M2M device, the service server binds the designated application identifier corresponding to the second user equipment and the device identifier corresponding to the M2M device. Certainly.

414、服务器将第二用户设备对应的指定应用标识与M2M设备对应的设备标识绑定;414. The server binds the specified application identifier corresponding to the second user equipment with the device identifier corresponding to the M2M device;

业务服务器接收M2M设备的绑定请求,可通过绑定请求中的设备绑定凭证信息进行验证,验证通过后进一步将第二用户设备对应的指定应用标识与M2M设备对应的设备标识进行绑定。The service server receives the binding request of the M2M device, and can verify through the device binding credential information in the binding request, and further binds the designated application identifier corresponding to the second user equipment with the device identifier corresponding to the M2M device after the verification is passed.

415、服务器向第二用户设备发送M2M设备的绑定确认信息;415. The server sends the binding confirmation information of the M2M device to the second user equipment;

业务服务器将第二用户设备对应的指定应用标识与M2M设备对应的设备标识进行绑定后,进一步通过指定应用服务器向第二用户设备发送M2M设备的绑定确认信息。After binding the designated application identifier corresponding to the second user equipment with the device identifier corresponding to the M2M device, the service server further sends the binding confirmation information of the M2M device to the second user equipment through the designated application server.

416、第二用户设备获取M2M设备的第二管理权限,并在对应的指定应用界面上显示绑定确认信息。416. The second user equipment acquires the second management authority of the M2M device, and displays binding confirmation information on the corresponding designated application interface.

第二用户设备接收M2M设备的绑定确认信息,从而具备M2M设备的第二管理权限,并且第二用户设备根据所述绑定确认信息生成所述M2M设备对应的指定应用界面,并在所述M2M设备对应的指定应用界面上显示所述绑定确认信息。The second user equipment receives the binding confirmation information of the M2M device, so as to have the second management authority of the M2M device, and the second user equipment generates a designated application interface corresponding to the M2M device according to the binding confirmation information, and generates the specified application interface corresponding to the M2M device in the The binding confirmation information is displayed on the designated application interface corresponding to the M2M device.

在一些可选的实施例中,所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息。比如:该权限期限为半年,一个月等,该权限期限可以为用户通过第一用户设备设置,也可以为第一用户设备默认设置的,此处不做具体限定。In some optional embodiments, the management authority assignment request further includes authority period information corresponding to the second management authority. For example, the permission period is half a year, one month, etc. The permission period may be set by the user through the first user equipment, or may be set by default on the first user equipment, which is not specifically limited here.

在一些可选的实施例中,所述第一用户设备通过指定应用服务器向业务服务器发送权限期限修改请求,所述权限期限修改请求用于指示所述业务服务器修改所述权限期限信息,并通过指定应用服务器向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;In some optional embodiments, the first user equipment sends a permission period modification request to the service server through a designated application server, where the permission period modification request is used to instruct the service server to modify the permission period information, and send the permission period modification request to the service server through the specified application server. The designated application server sends permission period modification confirmation information to the second user equipment, where the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述权限期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的设备标识以及权限期限修改信息。Wherein, the permission period modification request includes the specified application identifier corresponding to the second user equipment, the device identifier corresponding to the M2M device, and permission period modification information.

在一些可选的实施例中,所述第一用户设备通过指定应用服务器向所述业务服务器发送取消管理权限请求,所述取消管理权限请求用于指示所述业务服务器解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的设备标识之间的绑定关系,并通过指定应用服务器向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示所述第二用户设备不具备所述M2M设备的第二管理权限;In some optional embodiments, the first user equipment sends a management authority cancellation request to the service server through a designated application server, where the management authority cancellation request is used to instruct the service server to cancel the second user equipment The binding relationship between the corresponding designated application identifier and the device identifier corresponding to the M2M device, and sending confirmation information for canceling the management authority to the second user equipment through the designated application server, where the confirmation information for canceling the management authority is used to indicate The second user equipment does not have the second management authority of the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的设备标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the device identifier corresponding to the M2M device, and management authority cancellation information.

另外,在第一用户设备向所述指定应用服务器发送取消管理权限请求之前,第一用户设备删除所述第二用户设备对所述M2M设备的第二管理权限,包括以下任意一种方式:In addition, before the first user equipment sends a request for canceling the management authority to the designated application server, the first user equipment deletes the second management authority of the second user equipment to the M2M device, including any one of the following methods:

所述第一用户设备在所述M2M设备对应的指定应用工具栏界面上,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;或者,所述第一用户设备在所述M2M设备对应的指定应用菜单栏选项中,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;或者,所述第一用户设备在所述M2M设备对应的指定应用对话框界面上,通过语音或者文字命令删除所述第二用户设备对所述M2M设备的第二管理权限;或者,所述第一用户设备在所述M2M设备对应的指定应用界面上点击所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;或者,所述第一用户设备在所述M2M设备对应的指定应用界面上通过长按所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限。第一用户设备删除所述第二用户设备对所述M2M设备的第二管理权限的方式有很多种,此处不做具体限定。The first user equipment selects a rights management interface on the designated application toolbar interface corresponding to the M2M device, and deletes the second management rights of the second user equipment to the M2M device on the rights management interface Or, the first user equipment selects a rights management interface in the designated application menu bar option corresponding to the M2M device, and deletes the first user equipment's first access to the M2M device on the rights management interface. 2. Management authority; or, the first user equipment deletes the second management authority of the M2M device by the second user equipment through a voice or text command on the designated application dialog interface corresponding to the M2M device; or , the first user equipment clicks the icon corresponding to the M2M device on the designated application interface corresponding to the M2M device, selects a rights management interface, and deletes the second user equipment on the rights management interface. The second management authority of the M2M device; or, the first user equipment selects the authority management interface by long-pressing the icon corresponding to the M2M device on the designated application interface corresponding to the M2M device, and selects the authority management interface on the authority management interface. above, delete the second management authority of the second user equipment to the M2M device. There are many ways for the first user equipment to delete the second management authority of the second user equipment to the M2M device, which is not specifically limited here.

在一些可选的实施例中,业务服务器通过指定应用服务器向第二用户设备发送权限期限到期的信息,提示第二用户设备不再具备第二管理权限。In some optional embodiments, the service server sends information that the permission period expires to the second user equipment through the designated application server, prompting the second user equipment that the second user equipment no longer has the second management permission.

需要说明的是,在本发明实施例中,第二用户设备可以为一个或者多个,M2M设备也可以为一个或者多个,当M2M设备有多个时,形成M2M设备对应的列表,具体分配M2M设备管理权限的方法如本发明实施例中的步骤,此处不再赘述。It should be noted that, in this embodiment of the present invention, there may be one or more second user equipments, and one or more M2M devices. When there are multiple M2M devices, a list corresponding to the M2M devices is formed, and the specific allocation The method for managing authority of the M2M device is the same as the steps in the embodiment of the present invention, and details are not repeated here.

在本发明实施例中,第一用户设备具备M2M设备的第一管理权限,与现有技术不同的是,本发明中第一用户设备能够通过指定应用服务器向业务服务器发送M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的设备标识,进而业务服务器将第二用户设备对应的指定应用标识与M2M设备对应的设备标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。另外,本发明中第一用户设备可通过指定应用服务器向业务服务器发送权限期限修改请求或者取消管理权限请求,进而业务服务器修改所述权限期限信息,或者所述业务服务器修改所述权限期限信息,从而实现对权限期限的修改和管理权限的取消,有效提高用户体验。In the embodiment of the present invention, the first user equipment has the first management authority of the M2M device. Different from the prior art, in the present invention, the first user equipment can send the management authority assignment of the M2M device to the service server by specifying the application server. request, the management authority assignment request is used to instruct the server to send a management request of the M2M device to the second user equipment, and the management request is used to instruct the second user equipment to send the server to the server The binding request of the M2M device, the binding request includes the designated application identifier corresponding to the second user equipment and the device identifier corresponding to the M2M device, and then the service server associates the designated application identifier corresponding to the second user equipment with the M2M device. The device identifiers corresponding to the devices are bound, so that the second user equipment has the second management authority of the M2M device, so that multiple user equipments have the management authority of the M2M device, and the user experience is improved. In addition, in the present invention, the first user equipment can send a request for modifying the authority period or canceling the management authority request to the service server through the designated application server, and then the service server modifies the authority period information, or the service server modifies the authority period information, In this way, the modification of the permission period and the cancellation of the management permission are realized, and the user experience is effectively improved.

在图4所示的实施例中,请参阅图5,本发明实施例中分配M2M设备管理权限的方法的另一个实施例包括:In the embodiment shown in FIG. 4 , referring to FIG. 5 , another embodiment of the method for allocating M2M device management authority in the embodiment of the present invention includes:

501、第一用户设备添加M2M设备;501. The first user equipment adds an M2M device;

第一用户设备可通过在指定应用界面上选择添加M2M设备,具体添加方式有很多种,此处不做具体限定。The first user equipment can select to add an M2M device on the specified application interface, and there are many specific adding methods, which are not specifically limited here.

502、第一用户设备启用M2M设备;502. The first user equipment enables the M2M device;

第一用户设备可通过扫描M2M设备对应的二维码启用M2M设备,其中,启用M2M设备可以理解为打开M2M设备的绑定请求界面,具体启用方式很多种,此处不做具体限定。The first user equipment can enable the M2M device by scanning the QR code corresponding to the M2M device, wherein enabling the M2M device can be understood as opening the binding request interface of the M2M device, and there are many specific enabling methods, which are not specifically limited here.

503、第一用户设备向服务器发送M2M设备的绑定请求;503. The first user equipment sends a binding request of the M2M device to the server;

在本发明实施例中,服务器可以理解为指定应用服务器。本发明实施例中可根据具体的指定应用的类型不同,选择不同的服务器。比如,图4和图5所示实施例中的指定应用可以为两种不同类型的指定应用。In this embodiment of the present invention, the server may be understood as a designated application server. In this embodiment of the present invention, different servers may be selected according to different types of specific designated applications. For example, the designated applications in the embodiments shown in FIG. 4 and FIG. 5 may be two different types of designated applications.

504、服务器向第一用户设备发送M2M设备绑定确认信息;504. The server sends M2M device binding confirmation information to the first user equipment;

指定应用服务器接收第一用户设备发送的绑定请求,将第一用户设备对应的指定应用标识与M2M设备对应的指定应用标识进行绑定,进而向第一用户设备发送M2M设备绑定确认信息。The designated application server receives the binding request sent by the first user equipment, binds the designated application identifier corresponding to the first user equipment and the designated application identifier corresponding to the M2M device, and then sends M2M device binding confirmation information to the first user equipment.

505、第一用户设备获取M2M设备的第一管理权限;505. The first user equipment acquires the first management authority of the M2M device;

第一用户设备通过接收指定应用服务器发送的绑定确认信息,从而具备M2M设备的第一管理权限,其中,该第一管理权限为M2M设备的主权限。The first user equipment has the first management authority of the M2M device by receiving the binding confirmation information sent by the designated application server, where the first management authority is the main authority of the M2M device.

506、第一用户设备启动与M2M设备的指定应用对话框;506. The first user equipment starts a designated application dialog with the M2M device;

507、第一用户设备在指定应用对话框界面选择第二用户设备对应的指定应用;507. The first user equipment selects a specified application corresponding to the second user equipment in the specified application dialog interface;

508、第一用户设备获取第二用户设备的指定应用标识;508. The first user equipment acquires the specified application identifier of the second user equipment;

第一用户设备预将M2M设备的管理权限分配给第二用户设备,则第一用户设备根据第二用户设备对应的指定应用获取第二用户设备的指定应用标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识。The first user equipment pre-allocates the management authority of the M2M device to the second user equipment, then the first user equipment acquires the specified application identifier of the second user equipment according to the specified application corresponding to the second user equipment, and the second user equipment corresponds to the specified application identifier. The designated application identifier is a designated application identifier corresponding to an application logged in on the second user equipment.

在一些可选的实施例中,第一用户设备从所述M2M设备对应的指定应用对话框界面中上获取所述第二用户设备的指定应用标识,比如:第一用户设备在与M2M设备对应的指定应用对话框中选择第二用户设备,并接收第二用户设备的指定应用标识。具体的获取方法可根据实际情况而定,此处不做具体限定。In some optional embodiments, the first user equipment acquires the specified application identifier of the second user equipment from the specified application dialog interface corresponding to the M2M device, for example: the first user equipment is corresponding to the M2M device Select the second user equipment in the specified application dialog box, and receive the specified application identifier of the second user equipment. The specific acquisition method may be determined according to the actual situation, and is not specifically limited here.

509、第一用户设备向服务器发送M2M设备的管理权限分配请求;509. The first user equipment sends a management authority assignment request of the M2M device to the server;

在本发明实施例中,所述管理权限分配请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的指定应用标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识。In this embodiment of the present invention, the management authority assignment request includes a designated application identifier corresponding to the second user equipment, a designated application identifier corresponding to the M2M device, device management information and device binding credential information, and the first user equipment. A designated application identifier corresponding to a user equipment.

在一些可选的实施例中,所述管理权限分配请求中还包含M2M设备对应的设备标识,此处不做具体限定。In some optional embodiments, the management authority assignment request further includes a device identifier corresponding to the M2M device, which is not specifically limited here.

510、服务器向第二用户设备发送M2M设备的管理请求;510. The server sends a management request of the M2M device to the second user equipment;

指定应用服务器接收第一用户设备发送的M2M设备的管理权限分配请求,进一步向第二用户设备发送M2M设备的管理请求。The designated application server receives the M2M device management authority assignment request sent by the first user equipment, and further sends the M2M device management request to the second user equipment.

511、第二用户设备接收M2M设备的管理请求,并在M2M对应的指定应用界面上发送指示信息。511. The second user equipment receives the management request of the M2M device, and sends indication information on the designated application interface corresponding to the M2M.

在一些可选的实施例中,第二用户设备在与第一用户设备的通信对话框中提示并且显示M2M设备对应的指定应用标识以及管理请求信息,或者在新好友的申请中显示M2M设备对应的指定应用标识以及管理请求信息,确认后进入步骤512。In some optional embodiments, the second user equipment prompts and displays the specified application identifier and management request information corresponding to the M2M device in a communication dialog with the first user equipment, or displays the corresponding M2M device in the application for a new friend The specified application identifier and management request information are confirmed, and the process proceeds to step 512 .

512、第二用户设备向服务器发送M2M设备的绑定请求;512. The second user equipment sends a binding request of the M2M device to the server;

第二用户设备通过指示信息接受管理请求后,第二用户设备向指定应用服务器发送M2M设备的绑定请求。After the second user equipment accepts the management request through the indication information, the second user equipment sends a binding request of the M2M device to the designated application server.

所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识。The binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device.

本发明实施例中,所述M2M设备对应的标识包括所述M2M设备对应的指定应用标识,或者包含所述M2M设备对应的指定应用标识和所述M2M设备对应的设备标识。In this embodiment of the present invention, the identifier corresponding to the M2M device includes a designated application identifier corresponding to the M2M device, or includes a designated application identifier corresponding to the M2M device and a device identifier corresponding to the M2M device.

513、服务器将第二用户设备对应的指定应用标识与M2M设备对应的指定应用标识进行绑定;513. The server binds the designated application identifier corresponding to the second user equipment with the designated application identifier corresponding to the M2M device;

指定应用服务器接收M2M设备的管理权限分配请求后,指定应用服务器将第二用户设备对应的指定应用标识与M2M设备对应的指定应用标识进行绑定。After the designated application server receives the management authority assignment request from the M2M device, the designated application server binds the designated application identifier corresponding to the second user equipment with the designated application identifier corresponding to the M2M device.

514、服务器向第二用户设备发送绑定确认信息;514. The server sends binding confirmation information to the second user equipment;

指定应用服务器将第二用户设备对应的指定应用标识与M2M设备对应的指定应用标识进行绑定后,进一步向第二用户设备发送M2M设备的绑定确认信息。After binding the designated application identifier corresponding to the second user equipment with the designated application identifier corresponding to the M2M device, the designated application server further sends the binding confirmation information of the M2M device to the second user equipment.

515、第二用户设备获取M2M设备的第二管理权限。515. The second user equipment acquires the second management authority of the M2M device.

第二用户设备接收指定应用服务器发送的M2M设备的绑定确认信息,从而具备M2M设备的第二管理权限。The second user equipment receives the binding confirmation information of the M2M device sent by the designated application server, and thus has the second management authority of the M2M device.

进一步,第二用户设备获取M2M设备的第二管理权限后,在与第一用户设备的指定应用对话框中显示该绑定确认信息。Further, after acquiring the second management authority of the M2M device, the second user equipment displays the binding confirmation information in a designated application dialog with the first user equipment.

在一些可选的实施例中,所述第一用户设备向所述指定应用服务器发送权限期限修改请求,所述权限期限修改请求用于指示所述指定应用服务器修改所述权限期限信息,并向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;In some optional embodiments, the first user equipment sends a permission period modification request to the specified application server, where the permission period modification request is used to instruct the specified application server to modify the permission period information, and send the permission period modification request to the designated application server. sending, by the second user equipment, authority period modification confirmation information, where the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述权限期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的指定应用标识以及权限期限修改信息。Wherein, the permission period modification request includes the specified application identifier corresponding to the second user equipment, the specified application identifier corresponding to the M2M device, and permission period modification information.

在一些可选的实施例中,所述第一用户设备向所述指定应用服务器发送取消管理权限请求,所述取消管理权限请求用于指示所述指定应用服务器解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的指定应用标识之间的绑定关系,并向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示所述第二用户设备不具备所述M2M设备的第二管理权限;In some optional embodiments, the first user equipment sends a request for canceling management rights to the designated application server, where the request for canceling management rights is used to instruct the designated application server to cancel the management rights corresponding to the second user equipment. Specify the binding relationship between the application identifier and the designated application identifier corresponding to the M2M device, and send confirmation information for canceling the management authority to the second user equipment, where the confirmation information for canceling the management authority is used to instruct the second user The device does not have the second management authority of the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的指定应用标识以及管理权限取消信息。The request for canceling the management authority includes a designated application identifier corresponding to the second user equipment, a designated application identifier corresponding to the M2M device, and management authority cancellation information.

另外,在第一用户设备向所述指定应用服务器发送取消管理权限请求之前,第一用户设备删除所述第二用户设备对所述M2M设备的第二管理权限,具体删除方式可参阅本发明图4所示实施例中的相关内容,此处不再赘述。In addition, before the first user equipment sends a request for canceling the management authority to the designated application server, the first user equipment deletes the second management authority of the second user equipment to the M2M device, and the specific deletion method can refer to the diagram of the present invention The relevant content in the embodiment shown in 4 will not be repeated here.

在一些可选的实施例中,指定应用服务器向第二用户设备发送权限期限到期的信息,提示第二用户设备不再具备第二管理权限。In some optional embodiments, the designated application server sends information that the permission period expires to the second user equipment, indicating that the second user equipment no longer has the second management permission.

需要说明的是,在本发明实施例中,第二用户设备可以为一个或者多个,M2M设备也可以为一个或者多个,当M2M设备有多个时,形成M2M设备对应的列表,具体分配M2M设备管理权限的方法如本发明实施例中的步骤,此处不再赘述。It should be noted that, in this embodiment of the present invention, there may be one or more second user equipments, and one or more M2M devices. When there are multiple M2M devices, a list corresponding to the M2M devices is formed, and the specific allocation The method for managing authority of the M2M device is the same as the steps in the embodiment of the present invention, and details are not repeated here.

在本发明实施例中,第一用户设备具备M2M设备的第一管理权限,与现有技术不同的是,本发明中第一用户设备具备向指定应用服务器发送M2M设备的管理权限分配请求的能力,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的指定应用标识,进而指定应用服务器将第二用户设备对应的指定应用标识与M2M设备对应的指定应用标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。另外,本发明中第一用户设备能够向指定应用服务器发送权限期限修改请求或者取消管理权限请求,进而指定应用服务器修改所述权限期限信息,或者所述指定应用服务器修改所述权限期限信息,从而实现对权限期限的修改和管理权限的取消,有效提高用户体验。In the embodiment of the present invention, the first user equipment has the first management authority of the M2M device. Different from the prior art, in the present invention, the first user equipment has the ability to send a management authority assignment request of the M2M device to the designated application server , the management authority assignment request is used to instruct the server to send the management request of the M2M device to the second user equipment, and the management request is used to instruct the second user equipment to send the M2M device to the server The binding request of the device, the binding request includes the designated application identifier corresponding to the second user equipment and the designated application identifier corresponding to the M2M device, and then the designated application server associates the designated application identifier corresponding to the second user equipment with the designated application identifier. The designated application identifier corresponding to the M2M device is bound, so that the second user equipment has the second management authority of the M2M device, so that multiple user equipments have the management authority of the M2M device, and the user experience is improved. In addition, in the present invention, the first user equipment can send a permission period modification request or a management permission cancellation request to the specified application server, and then the specified application server can modify the permission period information, or the specified application server can modify the permission period information, thereby Realize the modification of the permission period and the cancellation of the management permission, effectively improving the user experience.

在上述实施例的基础上,请参阅图6,本发明实施例中分配M2M设备管理权限的方法的另一个实施例包括:On the basis of the foregoing embodiment, referring to FIG. 6 , another embodiment of the method for allocating M2M device management authority in the embodiment of the present invention includes:

601、服务器接收第一用户设备发送的M2M设备的管理权限分配请求;601. The server receives an M2M device management authority allocation request sent by a first user equipment;

本发明实施例中,服务器包括指定应用服务器或者业务服务器。具体可参阅图4或者图5所示实施例中的服务器。In this embodiment of the present invention, the server includes a designated application server or a service server. For details, refer to the server in the embodiment shown in FIG. 4 or FIG. 5 .

所述第一用户设备具备所述M2M设备的第一管理权限,所述M2M设备至少有一个。The first user equipment has the first management authority of the M2M device, and the M2M device has at least one.

602、服务器根据管理权限分配请求向第二用户设备发送M2M设备的管理请求;602. The server sends a management request of the M2M device to the second user equipment according to the management authority allocation request;

所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求。The management request is used to instruct the second user equipment to send a binding request of the M2M device to the server.

603、服务器接收第二用户设备发送的绑定请求;603. The server receives the binding request sent by the second user equipment;

所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,所述M2M设备对应的标识包含M2M设备对应的指定应用标识和所述M2M设备对应的设备标识。The binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and the identifier corresponding to the M2M device includes a designated application identifier corresponding to the M2M device and a device corresponding to the M2M device. logo.

604、服务器根据绑定请求将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定;604. The server binds the specified application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device according to the binding request;

所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识。The designated application identifier corresponding to the second user equipment is the designated application identifier corresponding to the application logged in on the second user equipment.

605、服务器将绑定确认信息发送给第二用户设备,绑定确认信息用于指示第二用户设备具备M2M设备的第二管理权限。605. The server sends the binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the second management authority of the M2M device.

在一些可选的实施例中,所述管理权限分配请求与所述管理请求中都包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识;In some optional embodiments, both the management authority assignment request and the management request include a specified application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, device management information, and device binding Credential information and a designated application identifier corresponding to the first user equipment;

所述绑定请求还中包含所述M2M设备对应的所述设备绑定凭证信息。The binding request further includes the device binding credential information corresponding to the M2M device.

在一些可选的是实施例中,所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息;In some optional embodiments, the management authority assignment request further includes authority period information corresponding to the second management authority;

所述服务器接收所述第一用户设备发送的权限期限修改请求;receiving, by the server, a request for modifying the permission period sent by the first user equipment;

所述服务器根据所述权限期限修改请求修改所述权限期限信息;The server modifies the permission term information according to the permission term modification request;

所述服务器向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;sending, by the server, authority period modification confirmation information to the second user equipment, where the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述管理期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the management period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

在一些可选的实施例中,所述服务器接收所述第一用户设备发送的取消管理权限请求;In some optional embodiments, the server receives a request for canceling the management authority sent by the first user equipment;

所述服务器根据所述取消管理权限请求修改所述权限期限信息;The server modifies the permission period information according to the request for canceling the management permission;

所述服务器向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示取消所述第二用户设备对所述M2M设备的第二管理权限;sending, by the server, confirmation information for canceling management authority to the second user equipment, where the confirmation information for canceling management authority is used to instruct to cancel the second management authority of the second user equipment for the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

需要说明的是,在本发明实施例中,第二用户设备可以为一个或者多个,M2M设备也可以为一个或者多个,当M2M设备有多个时,形成M2M设备对应的列表,具体分配M2M设备管理权限的方法如本发明实施例中的步骤,此处不再赘述。It should be noted that, in this embodiment of the present invention, there may be one or more second user equipments, and one or more M2M devices. When there are multiple M2M devices, a list corresponding to the M2M devices is formed, and the specific allocation The method for managing authority of the M2M device is the same as the steps in the embodiment of the present invention, and details are not repeated here.

本发明实施例中,服务器接收第一用户设备发送的M2M设备的管理权限分配请求,服务器根据管理权限分配请求向第二用户设备发送M2M设备的管理请求;所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识。进而服务器将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。In the embodiment of the present invention, the server receives the management authority assignment request of the M2M device sent by the first user equipment, and the server sends the M2M equipment management request to the second user equipment according to the management authority assignment request; the management request is used to indicate the first user equipment. The second user equipment sends a binding request of the M2M device to the server, where the binding request includes a specified application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device. Then the server binds the designated application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device, so that the second user equipment has the second management authority of the M2M device, thereby realizing that multiple user equipments have the management of the M2M device. Permissions to improve user experience.

结合上述实施例,下面介绍分配M2M设备管理权限的方法的具体应用场景实施例:In combination with the above embodiments, the following describes specific application scenarios of the method for allocating M2M device management authority:

如图7所示,小明想把家中M2M设备(如智能硬件设备电视)的管理权限分配给自己的父亲。具体流程为:小明打开电视的公众账号(比如微信公众号),在公众账号界面中的输入工具栏中选择“联系人权限”,并从“选择联系人”中选择想要授权的用户(如小明的父亲),进一步,如果小明的父亲没有关注该公众账号,则在与小明的系统界面中收到公众账号关注以及管理权限接收确认提示信息,小明的父亲确认后自动关注对应的公众账号,并且获得对电视的管理权限,如果小明的父亲已经关注了该公众账号,则在与小明的通信对话框中收到管理权限接收确认提示信息,小明的父亲确认后获得对电视的管理权限。As shown in Figure 7, Xiao Ming wants to assign the management authority of the M2M device at home (such as a smart hardware device TV) to his father. The specific process is: Xiao Ming opens the TV's public account (such as WeChat public account), selects "Contact Permissions" in the input toolbar in the public account interface, and selects the user you want to authorize from "Select Contact" (such as Xiao Ming's father), further, if Xiao Ming's father does not follow the public account, he will receive the confirmation prompt message of following the public account and receiving the management authority in the system interface with Xiao Ming, and Xiao Ming's father will automatically follow the corresponding public account after confirming, And get the management authority to the TV, if Xiao Ming's father has followed the public account, he will receive the management authority reception confirmation prompt message in the communication dialog with Xiao Ming, and Xiao Ming's father will get the TV management authority after confirmation.

如图8所示,小明想把家中M2M设备(比如:电脑)的管理权限分配给自己的父亲。具体流程为:小明在社交应用(比如:QQ)界面上找到自己的父亲,进一步打开QQ界面后选择“联系人权限”,从“我的设备”中选择要添加的电脑。小明的父亲接收到小明发送的管理权限接收确认提示信息,小明的父亲确认后随即获得了家中电脑的管理权限。As shown in Figure 8, Xiao Ming wants to assign the management authority of the M2M device (such as a computer) at home to his father. The specific process is: Xiao Ming finds his father on the social application (such as: QQ) interface, further opens the QQ interface and selects "Contact Permissions", and selects the computer to be added from "My Devices". Xiao Ming's father received the confirmation message sent by Xiao Ming to receive the management permission. After Xiao Ming's father confirmed it, he immediately obtained the management permission of the home computer.

如图9所示,小明想把家中M2M设备(比如:电脑)的管理权限分配给自己的父亲。具体流程为:小明在社交应用客户端(比如:QQ)“我的界面”中找到电脑,打开对话框后选择“添加联系人权限”,从“我的联系人”中选择自己的父亲。电脑接收到小明发送的小明父亲使用的社交应用账号后自动发送好友添加请求小明父亲使用的社交应用账号,小明的父亲接受电脑添加好友的请求后获得家中电脑的管理权限。As shown in Figure 9, Xiao Ming wants to assign the management authority of the M2M device (such as a computer) at home to his father. The specific process is as follows: Xiaoming finds the computer in the "My Interface" of the social application client (such as: QQ), opens the dialog box and selects "Add Contact Permission", and selects his father from "My Contacts". After the computer receives the social application account used by Xiao Ming's father sent by Xiao Ming, it automatically sends a friend addition request to the social application account used by Xiao Ming's father.

如图10所示,小明把家中的一间空房租赁给了小宇,并通过授权的方式将房间中空调的管理权限分配给小宇,几个月后小宇要搬到其他地方住,小明通过如下办法收回小宇对房间中空调的管理权限。As shown in Figure 10, Xiaoming rented a spare room in his home to Xiaoyu, and assigned the management authority of the air conditioner in the room to Xiaoyu through authorization. After a few months, Xiaoyu would move to another place. Xiaoming Take back Xiaoyu's management authority over the air conditioner in the room through the following methods.

具体流程为:小明在M2M设备(比如:M2M终端)公众账号对话框下面的选项中,长按“联系人权限”,触发进入“权限管理”界面,并在权限管理栏中将用户(小宇)删除;The specific process is as follows: Xiaoming, in the options under the public account dialog box of the M2M device (for example: M2M terminal), long press "Contact Permissions" to trigger access to the "Permission Management" interface, and set the user (Xiaoyu) in the permission management column. )delete;

或者在公众账号的菜单选项中,选中“权限管理”,触发进入“权限管理”界面,并在权限管理栏中将用户(小宇)删除。Or in the menu options of the public account, select "Permission Management", trigger to enter the "Permission Management" interface, and delete the user (Xiaoyu) in the permission management column.

或者在公众账号中,点击语音按钮并说“微信删除一下小宇的权限”,或者通过文字命令“删除小宇的权限”,将用户(小宇)删除。Or in the public account, click the voice button and say "WeChat delete Xiaoyu's permissions", or use the text command "Delete Xiaoyu's permissions" to delete the user (Xiaoyu).

如图11所示,小明还可以通过其他方式收回小宇对房间中空调的管理权限:As shown in Figure 11, Xiaoming can also take back Xiaoyu's management rights to the air conditioner in the room in other ways:

选择M2M设备(空调)的图标,选择“权限管理”栏,并在权限管理栏中将用户(小宇)删除;Select the icon of the M2M device (air conditioner), select the "Permission Management" column, and delete the user (Xiaoyu) in the permission management column;

或者长按M2M设备(空调)的图标,触发进入“权限管理”界面,并在权限管理栏中将用户(小宇)删除。Or long press the icon of the M2M device (air conditioner) to trigger access to the "Permission Management" interface, and delete the user (Xiaoyu) in the permission management column.

进一步,如图12所示,小明的好友小宇周末两天来小明家里暂住,小明将家中的M2M设备(比如:智能硬件设备电视)的管理权限分配给小宇并且规定有效时间为2天。Further, as shown in Figure 12, Xiaoming's friend Xiaoyu came to Xiaoming's house for two days on weekends. Xiaoming assigned the management authority of the M2M devices (such as: smart hardware device TV) to Xiaoyu and stipulated that the effective time was 2 days. .

具体流程为:小明打开电视的公众账号(比如微信公众号),在公众账号界面中的输入工具栏中选择“联系人权限”,并从“选择联系人”中选择想要授权的用户(如小宇),并设置授予的管理期限信息。小宇点击接收管理权限信息,并在与M2M设备的对话框界面上看到小明授予的管理期限为2天。The specific process is: Xiao Ming opens the TV's public account (such as WeChat public account), selects "Contact Permissions" in the input toolbar in the public account interface, and selects the user you want to authorize from "Select Contact" (such as Xiaoyu), and set the granted management period information. Xiaoyu clicks to receive the management permission information, and sees on the dialog interface with the M2M device that the management period granted by Xiaoming is 2 days.

进一步,当小明想修改小宇对空调的管理期限信息时,具体流程如图13所示:Further, when Xiao Ming wants to modify Xiaoyu's management period information for the air conditioner, the specific process is shown in Figure 13:

选择M2M设备(空调)的图标,选择“权限管理”栏,并在权限管理栏中修改该管理期限信息;Select the icon of the M2M device (air conditioner), select the "authority management" column, and modify the management period information in the authority management column;

或者长按M2M设备(空调)的图标,触发进入“权限管理”界面,并在权限管理栏中修改该管理期限信息。Or long press the icon of the M2M device (air conditioner) to trigger access to the "authority management" interface, and modify the management period information in the authority management column.

另外,还可以通过其他方式修改该管理期限信息,具体流程如图14所示:In addition, the management period information can also be modified in other ways. The specific process is shown in Figure 14:

在M2M设备公众账号对话框下面的选项中,按住“联系人权限”,触发进入“权限管理”界面,并在权限管理栏中修改该管理期限信息;In the options below the M2M device public account dialog box, press and hold "Contact Permission" to trigger access to the "Permission Management" interface, and modify the management period information in the permission management column;

或者在公众账号的菜单选项中,选中“权限管理”,触发进入“权限管理”界面,并在权限管理栏中修改该管理期限信息;Or in the menu options of the public account, select "Permission Management", trigger to enter the "Permission Management" interface, and modify the management period information in the permission management column;

或者在公众账号中,点击语音按钮并说“微信更改一下XX的权限时长为N天”,N表示天数,XX表示小宇,或者文字命令“更改一下XX的权限时长为N天”修改该管理期限信息。Or in the public account, click the voice button and say "WeChat to change the permission duration of XX to N days", N represents the number of days, XX represents Xiaoyu, or the text command "Change the permission duration of XX to N days" to modify the management Deadline information.

进一步,如图15所示,小明想将家中电脑,空调,电视等的管理权限都分配给自己的父亲。具体流程为:在社交应用界面上找到自己的父亲,打开界面后通过长按“添加联系人权限”选项,触发从连接设备相关的公众号中中选择多个要添加的M2M设备。小明的父亲接收到小明发送来的管理权限信息并点击每个M2M设备对应的管理权限信息或者批量接受所有M2M设备对应的管理权限信息,随即获得了家中多个设备的管理权限。Further, as shown in Figure 15, Xiao Ming wants to assign the management rights of the home computer, air conditioner, TV, etc. to his father. The specific process is as follows: Find your father on the social application interface, open the interface and long press the "Add Contact Permission" option to trigger the selection of multiple M2M devices to be added from the public accounts related to the connected device. Xiao Ming's father received the management authority information sent by Xiao Ming and clicked the management authority information corresponding to each M2M device or accepted the management authority information corresponding to all M2M devices in batches, and immediately obtained the management authority of multiple devices in the home.

进一步,如图16所示,小明想将家中电脑,空调,电视等管理权限一并分配给自己的父亲。具体流程为:在社交应用界面上找到自己的父亲,打开界面后通过长按“联系人权限”选项,触发从“我的设备”中选择多个要添加的M2M设备。父亲接收到小明发送来的管理权限信息并点击每个M2M设备对应的管理权限信息或者批量接受所有M2M设备对应的管理权限信息,随即获得了家中多个设备的管理权限。Further, as shown in Figure 16, Xiao Ming wants to assign the management rights of the home computer, air conditioner, TV, etc. to his father. The specific process is: find your father on the social application interface, open the interface, and trigger the selection of multiple M2M devices to be added from "My Devices" by long-pressing the "Contact Permissions" option. The father received the management authority information sent by Xiao Ming and clicked on the management authority information corresponding to each M2M device or accepted the management authority information corresponding to all M2M devices in batches, and immediately obtained the management authority for multiple devices at home.

上述具体应用场景的实施例中,实现了对M2M设备的管理权限的分配,对权限期限的修改和管理权限的取消以及多个M2M设备的管理权限的分配,有效提高用户体验。In the embodiments of the above specific application scenarios, the allocation of management authority to M2M devices, the modification of authority period and the cancellation of management authority, and the allocation of management authority of multiple M2M devices are realized, which effectively improves user experience.

为便于更好的实施本发明实施例的上述相关方法,下面还提供用于配合上述方法的相关装置。In order to facilitate better implementation of the above-mentioned related methods in the embodiments of the present invention, a related apparatus for cooperating with the above-mentioned methods is also provided below.

请参阅图17,本发明实施例中用户设备1700的一个实施例包括:获取模块1701和发送模块1702。Referring to FIG. 17 , an embodiment of the user equipment 1700 in the embodiment of the present invention includes: an obtaining module 1701 and a sending module 1702 .

获取模块1701,用于获取第二用户设备对应的指定应用标识,,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识,所述第一用户设备具备M2M设备的第一管理权限,所述M2M设备至少有一个;The obtaining module 1701 is configured to obtain a designated application identifier corresponding to a second user equipment, where the designated application identifier corresponding to the second user equipment is a designated application identifier corresponding to an application logged in on the second user equipment, and the first A user equipment has the first management authority of the M2M device, and the M2M device has at least one;

发送模块1702,用于根据所述获取模块1701获取的所述第二用户设备对应的指定应用标识向服务器发送所述M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求用于指示所述服务器将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定,并向所述第二用户设备发送绑定确认信息,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限其中,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识。A sending module 1702, configured to send a management authority assignment request of the M2M device to a server according to the specified application identifier corresponding to the second user equipment obtained by the obtaining module 1701, where the management authority assignment request is used to instruct the server Sending a management request of the M2M device to the second user equipment, where the management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, where the binding request is used for Instructing the server to bind the specified application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device, and sending binding confirmation information to the second user equipment, where the binding confirmation information is used for Indicate that the second user equipment has the second management authority of the M2M device, wherein the binding request includes a specified application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device.

在本发明实施例中,发送模块向服务器发送M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,进而通过服务器将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。In this embodiment of the present invention, the sending module sends an M2M device management authority assignment request to the server, where the management authority assignment request is used to instruct the server to send the M2M device management request to the second user equipment, the The management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, where the binding request includes the specified application identifier corresponding to the second user equipment and the corresponding M2M device. identification, and then bind the designated application identification corresponding to the second user equipment with the identification corresponding to the M2M device through the server, so that the second user equipment has the second management authority of the M2M device, thereby realizing that multiple user equipment has the M2M device. Device management rights to improve user experience.

在图17所示实施例的基础上,请继续参阅图17,本发明实施例中用户设备的另一个实施例包括:获取模块和发送模块。On the basis of the embodiment shown in FIG. 17 , please continue to refer to FIG. 17 , another embodiment of the user equipment in the embodiment of the present invention includes: an obtaining module and a sending module.

获取模块和发送模块可参阅图17实施例中的获取模块和发送模块。For the acquisition module and the transmission module, reference may be made to the acquisition module and the transmission module in the embodiment of FIG. 17 .

进一步,所述管理权限分配请求与所述管理请求中都包含所述第二用户设备的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识;Further, both the management authority assignment request and the management request include the specified application identifier of the second user equipment, the identifier corresponding to the M2M device, device management information and device binding credential information, and the first user The designated application ID corresponding to the device;

所述绑定请求中还包含所述M2M设备对应所述设备绑定凭证信息。The binding request further includes binding credential information corresponding to the M2M device to the device.

所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息;The management authority assignment request further includes authority period information corresponding to the second management authority;

所述发送模块,还用于向所述服务器发送权限期限修改请求,所述权限期限修改请求用于指示所述服务器修改所述权限期限信息,并向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;The sending module is further configured to send a permission period modification request to the server, where the permission period modification request is used to instruct the server to modify the permission period information, and send a permission period modification confirmation to the second user equipment information, the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述权限期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the permission period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

在一些可选的实施例中,所述发送模块,还用于向所述服务器发送取消管理权限请求,所述取消管理权限请求用于指示所述服务器解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识之间的绑定关系,并向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示所述第二用户设备不具备所述M2M设备的第二管理权限;In some optional embodiments, the sending module is further configured to send a management permission cancellation request to the server, where the management permission cancellation request is used to instruct the server to cancel the specified application corresponding to the second user equipment The binding relationship between the identifier and the identifier corresponding to the M2M device, and sending confirmation information for canceling the management authority to the second user equipment, where the confirmation information for canceling the management authority is used to indicate that the second user equipment does not have all the the second management authority of the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

在一些可选的实施例中,删除模块,用于所述发送模块向所述服务器发送取消管理权限请求之前,删除所述第二用户设备对所述M2M设备的第二管理权限,包括以下任意一种方式:In some optional embodiments, the deletion module is configured to delete the second management authority of the second user equipment to the M2M device before the sending module sends the request for canceling the management authority to the server, including any of the following a method:

在所述M2M设备对应的指定应用工具栏界面上,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;On the designated application toolbar interface corresponding to the M2M device, select a rights management interface, and delete the second management rights of the second user equipment to the M2M device on the rights management interface;

或者,or,

在所述M2M设备对应的指定应用菜单栏选项中,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;In the designated application menu bar option corresponding to the M2M device, select a rights management interface, and delete the second management rights of the second user equipment to the M2M device on the rights management interface;

或者,or,

在所述M2M设备对应的指定应用对话框界面上,通过语音或者文字命令删除所述第二用户设备对所述M2M设备的第二管理权限;On the designated application dialog interface corresponding to the M2M device, delete the second management authority of the M2M device by the second user equipment through a voice or text command;

或者,or,

在所述M2M设备对应的指定应用界面上点击所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限;Click the icon corresponding to the M2M device on the designated application interface corresponding to the M2M device, select the rights management interface, and delete the second management rights of the second user equipment to the M2M device on the rights management interface ;

或者,or,

在所述M2M设备对应的指定应用界面上通过长按所述M2M设备对应的图标,选择权限管理界面,并在所述权限管理界面上删除所述第二用户设备对所述M2M设备的第二管理权限。On the designated application interface corresponding to the M2M device, long-press the icon corresponding to the M2M device, select the rights management interface, and delete the second user equipment's second request to the M2M device on the rights management interface. Administrative rights.

在一些可选的实施例中,所述获取模块,具体用于从所述M2M设备对应的指定应用界面中获取所述第二用户设备对应的指定应用标识;In some optional embodiments, the obtaining module is specifically configured to obtain the specified application identifier corresponding to the second user equipment from the specified application interface corresponding to the M2M device;

或者,or,

所述获取模块,具体用于从所述M2M设备对应的指定应用对话框界面中获取所述第二用户设备对应的指定应用标识;The obtaining module is specifically configured to obtain the designated application identifier corresponding to the second user equipment from the designated application dialog interface corresponding to the M2M device;

在一些可选的实施例中,所述用户设备还包括:选择模块,用于所述获取模块获取所述第二用户设备对应的指定应用标识之前,选择所述M2M设备;In some optional embodiments, the user equipment further includes: a selection module, configured to select the M2M device before the acquisition module acquires the specified application identifier corresponding to the second user equipment;

所述选择模块,还用于在所述M2M设备的管理界面上选择所述第二用户设备对应的用户图标;The selection module is further configured to select a user icon corresponding to the second user equipment on the management interface of the M2M device;

所述选择模块,还用于在所述第二用户设备对应的用户图标的管理界面上选择所述第二用户设备对应的任意一种应用作为指定应用。The selection module is further configured to select any application corresponding to the second user equipment as a designated application on the management interface of the user icon corresponding to the second user equipment.

在本发明实施例中,发送模块向服务器发送M2M设备的管理权限分配请求,所述管理权限分配请求用于指示所述服务器向所述第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,进而服务器将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。另外,本发明中发送模块向服务器发送权限期限修改请求或者取消管理权限请求,进而服务器修改所述权限期限信息,或者所述服务器修改所述权限期限信息,从而实现对权限期限的修改和管理权限的取消,有效提高用户体验。In this embodiment of the present invention, the sending module sends an M2M device management authority assignment request to the server, where the management authority assignment request is used to instruct the server to send the M2M device management request to the second user equipment, the The management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, where the binding request includes the specified application identifier corresponding to the second user equipment and the corresponding M2M device. identification, and then the server binds the designated application identification corresponding to the second user equipment with the identification corresponding to the M2M device, so that the second user equipment has the second management authority of the M2M device, so that multiple user equipments are equipped with the M2M device. management rights to improve user experience. In addition, in the present invention, the sending module sends a request to modify the authority period or cancel the management authority request to the server, and then the server modifies the authority period information, or the server modifies the authority period information, so as to realize the modification of the authority period and the management authority The cancellation can effectively improve the user experience.

在图17所示实施例的基础上,请参阅图18,本发明实施例中服务器1800的一个实施例包括:接收模块1801,发送模块1802和绑定模块1803。On the basis of the embodiment shown in FIG. 17, referring to FIG. 18, an embodiment of the server 1800 in the embodiment of the present invention includes: a receiving module 1801, a sending module 1802, and a binding module 1803.

接收模块1801,用于接收第一用户设备发送的M2M设备的管理权限分配请求,所述第一用户设备具备所述M2M设备的第一管理权限,所述M2M设备至少有一个;A receiving module 1801, configured to receive a management authority assignment request of an M2M device sent by a first user equipment, where the first user equipment has the first management authority of the M2M device, and the M2M device has at least one;

发送模块1802,用于根据所述管理权限分配请求向第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求;Sending module 1802, configured to send a management request of the M2M device to a second user equipment according to the management authority assignment request, where the management request is used to instruct the second user equipment to send the information of the M2M device to the server. bind request;

所述接收模块1801,还用于接收所述第二用户设备发送的所述绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识;The receiving module 1801 is further configured to receive the binding request sent by the second user equipment, where the binding request includes a specified application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device , the designated application identifier corresponding to the second user equipment is the designated application identifier corresponding to the application logged in on the second user equipment;

绑定模块1803,用于根据所述绑定请求将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定;A binding module 1803, configured to bind the specified application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device according to the binding request;

所述发送模块1802,还用于将绑定确认信息发送给所述第二用户设备,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限。The sending module 1802 is further configured to send binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the second management authority of the M2M device.

本发明实施例中,接收模块第一用户设备发送的M2M设备的管理权限分配请求,发送模块根据所述管理权限分配请求向第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,进而绑定模块将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。In the embodiment of the present invention, the receiving module sends the management authority assignment request of the M2M device sent by the first user equipment, and the sending module sends the management authority request of the M2M device to the second user equipment according to the management authority assignment request, and the management request uses instructing the second user equipment to send a binding request of the M2M device to the server, where the binding request includes a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and then The binding module binds the designated application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device, so that the second user equipment has the second management authority of the M2M device, so that multiple user equipments have the M2M device's second management authority. Manage permissions and improve user experience.

在图18所示实施例的基础上,进一步请参阅图18,本发明实施例中服务器的另一个实施例包括:接收模块,发送模块和绑定模块。On the basis of the embodiment shown in FIG. 18 , with reference to FIG. 18 , another embodiment of the server in the embodiment of the present invention includes: a receiving module, a sending module, and a binding module.

接收模块,发送模块和绑定模块可参阅图18所示实施例中的接收模块,发送模块和绑定模块。For the receiving module, the sending module and the binding module, reference may be made to the receiving module, the sending module and the binding module in the embodiment shown in FIG. 18 .

所述管理权限分配请求与所述管理请求中都包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识、设备管理信息和设备绑定凭证信息以及所述第一用户设备对应的指定应用标识;所述绑定请求中还包含所述M2M设备对应的所述设备绑定凭证信息。Both the management authority assignment request and the management request include the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, device management information and device binding credential information, and the first user equipment. The corresponding designated application identifier; the binding request also includes the device binding credential information corresponding to the M2M device.

所述管理权限分配请求中还包含所述第二管理权限对应的权限期限信息,所述服务器还包括:The management authority assignment request further includes authority period information corresponding to the second management authority, and the server further includes:

所述接收模块,还用于接收所述第一用户设备发送的权限期限修改请求;The receiving module is further configured to receive a permission period modification request sent by the first user equipment;

修改模块,用于根据所述权限期限修改请求修改所述权限期限信息;A modification module, configured to modify the permission period information according to the permission period modification request;

所述发送模块,还用于向所述第二用户设备发送权限期限修改确认信息,所述权限期限修改确认信息用于指示所述第二管理权限对应新的权限期限;The sending module is further configured to send authority period modification confirmation information to the second user equipment, where the authority period modification confirmation information is used to indicate that the second management authority corresponds to a new authority period;

其中,所述管理期限修改请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及权限期限修改信息。Wherein, the management period modification request includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and permission period modification information.

在一些可选的实施例中,所述接收模块,还用于接收所述第一用户设备发送的取消管理权限请求;In some optional embodiments, the receiving module is further configured to receive a request for canceling the management authority sent by the first user equipment;

解除模块,用于根据所述取消管理权限请求解除所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识之间的绑定关系;a releasing module, configured to release the binding relationship between the designated application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device according to the request for canceling the management authority;

所述发送模块,还用于向所述第二用户设备发送取消管理权限确认信息,所述取消管理权限确认信息用于指示取消所述第二用户设备对所述M2M设备的第二管理权限;The sending module is further configured to send confirmation information for cancellation of management authority to the second user equipment, where the confirmation information for cancellation of management authority is used to indicate cancellation of the second management authority of the second user equipment to the M2M device;

其中,所述取消管理权限请求中包含所述第二用户设备对应的指定应用标识,所述M2M设备对应的标识以及管理权限取消信息。The request for canceling the management authority includes the specified application identifier corresponding to the second user equipment, the identifier corresponding to the M2M device, and management authority cancellation information.

本发明实施例中,接收模块接收第一应用设备发送的M2M设备的管理权限分配请求,发送模块根据所述管理权限分配请求向第二用户设备发送所述M2M设备的管理请求,所述管理请求用于指示所述第二用户设备向所述服务器发送所述M2M设备的绑定请求,所述绑定请求中包含所述第二用户设备对应的指定应用标识和所述M2M设备对应的标识,进而绑定模块将第二用户设备对应的指定应用标识与M2M设备对应的标识进行绑定,使得第二用户设备具备所述M2M设备的第二管理权限,从而实现多个用户设备都具备M2M设备的管理权限,提高用户体验。另外,修改模块修改所述权限期限信息,或者修改所述权限期限信息,从而实现对权限期限的修改和管理权限的取消,有效提高用户体验。In the embodiment of the present invention, the receiving module receives the management authority assignment request of the M2M device sent by the first application device, and the sending module sends the management authority request of the M2M device to the second user equipment according to the management authority assignment request, and the management request is used to instruct the second user equipment to send a binding request of the M2M device to the server, where the binding request includes a specified application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, Further, the binding module binds the designated application identifier corresponding to the second user equipment with the identifier corresponding to the M2M device, so that the second user equipment has the second management authority of the M2M device, thereby realizing that multiple user equipments have the M2M device. management rights to improve user experience. In addition, the modification module modifies the authority period information, or modifies the authority period information, so as to realize the modification of the authority period and the cancellation of the management authority, and effectively improve the user experience.

进一步,请参阅图19,本发明实施例中系统1900的一个实施例示意图,包括:Further, please refer to FIG. 19 , which is a schematic diagram of an embodiment of a system 1900 in an embodiment of the present invention, including:

用户设备1901和服务器1902;User equipment 1901 and server 1902;

所述用户设备1901如图17实施例中所述的用户设备;The user equipment 1901 is the user equipment described in the embodiment of FIG. 17 ;

所述服务器1902如图18所示实施例中的服务器。The server 1902 is the server in the embodiment shown in FIG. 18 .

图17至图18所示的实施例从功能模块的角度对用户设备和服务器的具体结构进行了说明,以下结合图20的实施例从硬件角度对用户设备和服务器的具体结构进行说明:The embodiments shown in FIGS. 17 to 18 describe the specific structures of the user equipment and the server from the perspective of functional modules. The following describes the specific structures of the user equipment and the server from the hardware perspective in conjunction with the embodiment of FIG. 20 :

本发明实施例涉及的用户设备和服务器可以组合两个或更多个部件,或者可以具有不同的部件配置或设置,各个部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件或硬件和软件的组合实现。The user equipment and the server involved in the embodiments of the present invention may combine two or more components, or may have different component configurations or settings, and each component may be implemented in an integrated circuit including one or more signal processing and/or application-specific integrated circuits. Hardware, software or a combination of hardware and software implementations.

请参阅图20,图20为本发明实施例分配M2M管理权限的一个结构示意图,包括收发器2001、存储器2002、处理器2003以及总线2004,所述收发器2001、存储器2002以及处理器2003与所述总线2004连接,其中:Please refer to FIG. 20. FIG. 20 is a schematic structural diagram of assigning M2M management authority according to an embodiment of the present invention, including a transceiver 2001, a memory 2002, a processor 2003, and a bus 2004. The transceiver 2001, the memory 2002, and the processor 2003 are connected to all The bus 2004 is connected, where:

所述收发器2001用于接收或发送数据;The transceiver 2001 is used to receive or transmit data;

所述存储器2002用于存储程序;The memory 2002 is used to store programs;

所述处理器2003用于调用所述程序执行以下操作:The processor 2003 is configured to call the program to perform the following operations:

获取第二用户设备对应的指定应用标识,所述第二用户设备对应的指定应用标识为所述第二用户设备上登录的应用所对应的指定应用标识。Acquire a designated application identifier corresponding to the second user equipment, where the designated application identifier corresponding to the second user equipment is a designated application identifier corresponding to an application logged in on the second user equipment.

进一步,所述收发器2001用于执行如下操作:Further, the transceiver 2001 is configured to perform the following operations:

根据所述第二用户设备对应的指定应用标识向服务器发送所述M2M设备的管理权限分配请求;Send a management authority assignment request of the M2M device to the server according to the specified application identifier corresponding to the second user equipment;

接收M2M设备的管理权限分配请求;Receive a management authority assignment request from an M2M device;

根据所述管理权限分配请求向第二用户设备发送所述M2M设备的管理请求;Send the management request of the M2M device to the second user equipment according to the management authority assignment request;

接收所述第二用户设备发送的所述绑定请求。The binding request sent by the second user equipment is received.

处理器2003还用于执行如下操作:The processor 2003 is further configured to perform the following operations:

根据所述绑定请求将所述第二用户设备对应的指定应用标识与所述M2M设备对应的标识进行绑定。The specified application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device are bound according to the binding request.

所述收发器2001还用于执行如下操作:The transceiver 2001 is further configured to perform the following operations:

将绑定确认信息发送给所述第二用户设备,所述绑定确认信息用于指示所述第二用户设备具备所述M2M设备的第二管理权限。Sending binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the second management authority of the M2M device.

需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。比如,在图20所述的实施例中没有详述的部分,可以参见上述图3到图6或者图17到图18所示实施例的相关描述。It should be noted that, in the foregoing embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments. For example, for parts that are not described in detail in the embodiment shown in FIG. 20 , reference may be made to the relevant descriptions of the embodiments shown in FIGS. 3 to 6 or FIGS. 17 to 18 above.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Claims (23)

1. A method for assigning M2M device management rights, comprising:
a first user device acquires a designated application identifier corresponding to a second user device, wherein the first user device has a first management authority of M2M equipment, and the designated application identifier corresponding to the second user device is a designated application identifier corresponding to an application logged on the second user device;
the first user equipment sends a management authority allocation request of the M2M device to a server according to a specified application identifier corresponding to the second user equipment, the management authority allocation request is used for indicating the server to send a management request of the M2M device to the second user equipment, the management request is used for indicating the second user equipment to send a binding request of the M2M device to the server, the binding request is used for indicating the server to bind the specified application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device, and binding confirmation information is sent to the second user equipment, and the binding confirmation information is used for indicating that the second user equipment has a second management authority of the M2M device;
wherein, the binding request includes a specific application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device.
2. The method of claim 1,
the management authority allocation request and the management request comprise a specified application identifier corresponding to the second user equipment, an identifier corresponding to the M2M equipment, equipment management information, equipment binding credential information and a specified application identifier corresponding to the first user equipment;
the binding request further includes the device binding credential information corresponding to the M2M device.
3. The method according to claim 2, wherein the management right allocation request further includes right deadline information corresponding to the second management right, and the method further comprises:
the first user equipment sends an authority limit modification request to the server, wherein the authority limit modification request is used for indicating the server to modify the authority limit information, and sends authority limit modification confirmation information to the second user equipment, and the authority limit modification confirmation information is used for indicating that the second management authority corresponds to a new authority limit;
wherein, the permission term modification request includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and permission term modification information.
4. The method according to any one of claims 1 to 3, further comprising:
the first user equipment sends a management canceling permission request to the server, wherein the management canceling permission request is used for indicating the server to release the binding relationship between the designated application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device, and sending management canceling permission confirmation information to the second user equipment, and the management canceling permission confirmation information is used for indicating that the second user equipment does not have the second management permission of the M2M device;
the request for canceling the management authority includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and management authority canceling information.
5. The method of claim 4, wherein before the first user equipment sends the request for canceling the management authority to the server, the method further comprises:
the first user equipment deletes the second management authority of the second user equipment to the M2M device, which includes any one of the following modes:
the first user equipment selects an authority management interface on a designated application toolbar interface corresponding to the M2M equipment, and deletes second management authority of the second user equipment on the M2M equipment on the authority management interface;
or,
the first user equipment selects a permission management interface in a designated application menu bar option corresponding to the M2M device, and deletes second management permission of the second user equipment to the M2M device on the permission management interface;
or,
the first user equipment deletes the second management authority of the second user equipment to the M2M equipment through a voice or word command on a specified application dialog box interface corresponding to the M2M equipment;
or,
the first user equipment clicks an icon corresponding to the M2M equipment on a designated application interface corresponding to the M2M equipment, a right management interface is selected, and second management right of the second user equipment to the M2M equipment is deleted on the right management interface;
or,
and the first user equipment selects an authority management interface by long-pressing an icon corresponding to the M2M device on a designated application interface corresponding to the M2M device, and deletes the second management authority of the second user equipment on the M2M device on the authority management interface.
6. The method of claim 5, wherein the obtaining, by the first user equipment, the designated application identifier corresponding to the second user equipment comprises:
the first user equipment acquires a specified application identifier corresponding to the second user equipment from a specified application interface corresponding to the M2M equipment;
or,
and the first user equipment acquires the specified application identifier corresponding to the second user equipment from the specified application dialog box interface corresponding to the M2M equipment.
7. The method according to claim 6, wherein before the first user equipment obtains the designated application identifier corresponding to the second user equipment, the method further comprises:
the first user device selecting the M2M device;
the first user equipment selects a user icon corresponding to the second user equipment on a management interface of the M2M equipment;
and the first user equipment selects any application corresponding to the second user equipment as a designated application on a management interface of a user icon corresponding to the second user equipment.
8. A method for assigning M2M device management rights, comprising:
a server receives a management authority distribution request of an M2M device sent by a first user device, wherein the first user device has a first management authority of the M2M device;
the server sends a management request of the M2M device to a second user device according to the management authority allocation request, wherein the management request is used for indicating the second user device to send a binding request of the M2M device to the server;
the server receives the binding request sent by the second user equipment, wherein the binding request comprises a specified application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and the specified application identifier corresponding to the second user equipment is a specified application identifier corresponding to an application logged on the second user equipment;
the server binds the specified application identifier corresponding to the second user equipment with the identifier corresponding to the M2M equipment according to the binding request;
and the server sends binding confirmation information to the second user equipment, wherein the binding confirmation information is used for indicating that the second user equipment has the second management authority of the M2M equipment.
9. The method of claim 8, further comprising:
the management authority allocation request and the management request comprise a specified application identifier corresponding to the second user equipment, an identifier corresponding to the M2M equipment, equipment management information, equipment binding credential information and a specified application identifier corresponding to the first user equipment;
the binding request further includes the device binding credential information corresponding to the M2M device.
10. The method according to claim 9, wherein the management right allocation request further includes right deadline information corresponding to the second management right, and the method further comprises:
the server receives a permission deadline modification request sent by the first user equipment;
the server modifies the authority limit information according to the authority limit modification request;
the server sends permission term modification confirmation information to the second user equipment, wherein the permission term modification confirmation information is used for indicating that the second management permission corresponds to a new permission term;
wherein, the permission term modification request includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and permission term modification information.
11. The method according to any one of claims 8 to 10, further comprising:
the server receives a request for canceling the management authority sent by the first user equipment;
the server modifies the authority limit information according to the management authority canceling request;
the server sends cancellation management authority confirmation information to the second user equipment, wherein the cancellation management authority confirmation information is used for indicating that the second management authority of the second user equipment to the M2M equipment is cancelled;
the request for canceling the management authority includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and management authority canceling information.
12. A user device, comprising:
the acquisition module is used for acquiring a designated application identifier corresponding to second user equipment, wherein the designated application identifier corresponding to the second user equipment is a designated application identifier corresponding to an application logged on the second user equipment;
a sending module, configured to send a management permission allocation request of an M2M device to a server according to the designated application identifier corresponding to the second user device obtained by the obtaining module, where the management permission allocation request is used to instruct the server to send a management request of the M2M device to the second user device, the management request is used to instruct the second user device to send a binding request of the M2M device to the server, the binding request is used to instruct the server to bind the designated application identifier corresponding to the second user device and the identifier corresponding to the M2M device, and send binding confirmation information to the second user device, and the binding confirmation information is used to instruct the second user device to have a second management permission of the M2M device;
wherein, the binding request includes a specific application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device.
13. The user equipment of claim 12,
the management authority allocation request and the management request comprise a specified application identifier corresponding to the second user equipment, an identifier corresponding to the M2M equipment, equipment management information, equipment binding credential information and a specified application identifier corresponding to the first user equipment;
the binding request further includes the device binding credential information corresponding to the M2M device.
14. The user equipment of claim 13,
the management authority allocation request also comprises authority limit information corresponding to the second management authority;
the sending module is further configured to send a permission term modification request to the server, where the permission term modification request is used to instruct the server to modify the permission term information, and send permission term modification confirmation information to the second user equipment, where the permission term modification confirmation information is used to instruct the second management permission to correspond to a new permission term;
wherein, the permission term modification request includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and permission term modification information.
15. The user equipment according to any of claims 12 to 14,
the sending module is further configured to send a request for canceling management permission to the server, where the request for canceling management permission is used to instruct the server to release a binding relationship between a designated application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and send information for confirming cancellation management permission to the second user equipment, where the information for confirming cancellation management permission is used to instruct the second user equipment not to have a second management permission of the M2M device;
the request for canceling the management authority includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and management authority canceling information.
16. The user equipment of claim 15, further comprising:
a deleting module, configured to delete the second management permission of the second user device to the M2M device before the sending module sends the request for canceling the management permission to the server, where the deleting module includes any one of the following manners:
selecting a right management interface on a designated application toolbar interface corresponding to the M2M device, and deleting a second management right of the second user device to the M2M device on the right management interface;
or,
selecting a right management interface in a designated application menu bar option corresponding to the M2M device, and deleting a second management right of the second user device to the M2M device on the right management interface;
or,
deleting the second management authority of the second user equipment to the M2M equipment through a voice or word command on a specified application dialog box interface corresponding to the M2M equipment;
or,
clicking an icon corresponding to the M2M device on a designated application interface corresponding to the M2M device, selecting a right management interface, and deleting a second management right of the second user device to the M2M device on the right management interface;
or,
and selecting an authority management interface by long-pressing an icon corresponding to the M2M device on a designated application interface corresponding to the M2M device, and deleting the second management authority of the second user equipment to the M2M device on the authority management interface.
17. The user equipment of claim 16,
the obtaining module is specifically configured to obtain a specified application identifier corresponding to the second user equipment from a specified application interface corresponding to the M2M device;
or,
the obtaining module is specifically configured to obtain the specified application identifier corresponding to the second user equipment from the specified application dialog interface corresponding to the M2M device.
18. The user equipment of claim 17, further comprising:
a selecting module, configured to select the M2M device before the obtaining module obtains the specified application identifier corresponding to the second user equipment;
the selection module is further configured to select a user icon corresponding to the second user equipment on a management interface of the M2M device;
the selection module is further configured to select any one of the applications corresponding to the second user equipment as a designated application on a management interface of a user icon corresponding to the second user equipment.
19. A server, comprising:
a receiving module, configured to receive a management authority allocation request of an M2M device sent by a first user device, where the first user device has a first management authority of the M2M device;
a sending module, configured to send a management request of the M2M device to a second user device according to the management permission allocation request, where the management request is used to instruct the second user device to send a binding request of the M2M device to the server;
the receiving module is further configured to receive the binding request sent by the second user equipment, where the binding request includes an application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device, and the application identifier corresponding to the second user equipment is an application identifier corresponding to an application logged on the second user equipment;
a binding module, configured to bind, according to the binding request, the specified application identifier corresponding to the second user equipment and the identifier corresponding to the M2M device;
the sending module is further configured to send binding confirmation information to the second user equipment, where the binding confirmation information is used to indicate that the second user equipment has the second management authority of the M2M device.
20. The server according to claim 19,
the management authority allocation request and the management request comprise a specified application identifier corresponding to the second user equipment, an identifier corresponding to the M2M equipment, equipment management information, equipment binding credential information and a specified application identifier corresponding to the first user equipment;
the binding request further includes the device binding credential information corresponding to the M2M device.
21. The server according to claim 20, wherein the management right allocation request further includes right duration information corresponding to the second management right, and the server further includes:
the receiving module is further configured to receive an authority deadline modification request sent by the first user equipment;
the modification module is used for modifying the authority limit information according to the authority limit modification request;
the sending module is further configured to send permission term modification confirmation information to the second user equipment, where the permission term modification confirmation information is used to indicate that the second management permission corresponds to a new permission term;
wherein, the permission term modification request includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and permission term modification information.
22. A server according to any one of claims 19 to 21, further comprising:
the receiving module is further configured to receive a request for canceling management permission sent by the first user equipment;
a removing module, configured to remove, according to the request for canceling management authority, a binding relationship between a specified application identifier corresponding to the second user equipment and an identifier corresponding to the M2M device;
the sending module is further configured to send cancellation management authority confirmation information to the second user equipment, where the cancellation management authority confirmation information is used to indicate that a second management authority of the second user equipment to the M2M device is cancelled;
the request for canceling the management authority includes a designated application identifier corresponding to the second user equipment, an identifier corresponding to the M2M device, and management authority canceling information.
23. A system, comprising:
a user device and a server;
the user equipment of any one of claims 12 to 18;
the server according to any of claims 19 to 22.
CN201510404339.2A 2015-07-10 2015-07-10 A method, user equipment and system for allocating M2M device management authority Active CN106339632B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510404339.2A CN106339632B (en) 2015-07-10 2015-07-10 A method, user equipment and system for allocating M2M device management authority
PCT/CN2016/089427 WO2017008705A1 (en) 2015-07-10 2016-07-08 Method, user equipment and system for distributing administration permission of m2m device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510404339.2A CN106339632B (en) 2015-07-10 2015-07-10 A method, user equipment and system for allocating M2M device management authority

Publications (2)

Publication Number Publication Date
CN106339632A CN106339632A (en) 2017-01-18
CN106339632B true CN106339632B (en) 2019-04-26

Family

ID=57756840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510404339.2A Active CN106339632B (en) 2015-07-10 2015-07-10 A method, user equipment and system for allocating M2M device management authority

Country Status (2)

Country Link
CN (1) CN106339632B (en)
WO (1) WO2017008705A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337210B (en) 2017-01-19 2021-05-18 钉钉控股(开曼)有限公司 Device configuration method, device, and system
CN107592301A (en) * 2017-08-16 2018-01-16 珠海格力电器股份有限公司 Device management right transfer method, device, storage medium and server
WO2019100273A1 (en) * 2017-11-23 2019-05-31 华平智慧信息技术(深圳)有限公司 Permission assignment method and system in monitoring system
CN109583178B (en) * 2018-10-09 2023-03-10 创新先进技术有限公司 Conference collaborative participation method and system
CN110809027A (en) * 2019-09-30 2020-02-18 浙江口碑网络技术有限公司 Information processing method, information processing device and electronic equipment
WO2021072749A1 (en) * 2019-10-18 2021-04-22 Oppo广东移动通信有限公司 Device permission control method, device, and storage medium
CN113961907A (en) * 2021-10-29 2022-01-21 北京金山云网络技术有限公司 Management method and device of memory cache service and server
CN116366583B (en) * 2023-04-07 2024-07-16 汉王科技股份有限公司 Method and device for adding friends, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378162A (en) * 2010-08-24 2012-03-14 中国电信股份有限公司 M2M (Machine-to-Machine) terminal, and system and method for M2M terminal remote management
CN103268255A (en) * 2013-05-22 2013-08-28 北京小米科技有限责任公司 Method, device and system for triggering terminal to execute processing
CN103441842A (en) * 2013-07-22 2013-12-11 暨南大学 System and method for controlling internet of things terminal M2M access
CN104106270A (en) * 2011-12-06 2014-10-15 高通股份有限公司 Systems and methods for machine-to-machine device control and triggering
CN104125545A (en) * 2013-04-24 2014-10-29 中兴通讯股份有限公司 Information transmitting and forwarding methods and apparatuses
CN104753761A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Method, server and system for processing messages

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761549B (en) * 2012-07-03 2015-04-22 中国联合网络通信集团有限公司 Processing method and system of resource sharing and service platforms
CN104079565A (en) * 2014-06-13 2014-10-01 小米科技有限责任公司 Authorization method and device
CN104580176B (en) * 2014-12-26 2018-09-21 深圳市海蕴新能源有限公司 Collaborative share method and system
CN104580175A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Equipment authorization method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378162A (en) * 2010-08-24 2012-03-14 中国电信股份有限公司 M2M (Machine-to-Machine) terminal, and system and method for M2M terminal remote management
CN104106270A (en) * 2011-12-06 2014-10-15 高通股份有限公司 Systems and methods for machine-to-machine device control and triggering
CN104125545A (en) * 2013-04-24 2014-10-29 中兴通讯股份有限公司 Information transmitting and forwarding methods and apparatuses
CN103268255A (en) * 2013-05-22 2013-08-28 北京小米科技有限责任公司 Method, device and system for triggering terminal to execute processing
CN103441842A (en) * 2013-07-22 2013-12-11 暨南大学 System and method for controlling internet of things terminal M2M access
CN104753761A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Method, server and system for processing messages

Also Published As

Publication number Publication date
CN106339632A (en) 2017-01-18
WO2017008705A1 (en) 2017-01-19

Similar Documents

Publication Publication Date Title
CN106339632B (en) A method, user equipment and system for allocating M2M device management authority
US10531285B2 (en) Method of changing profile using identification module and electronic device implementing same
US11991249B2 (en) Method, user equipment, server, and apparatus for implementing information sharing
CN109361638B (en) Method, system and storage medium for sharing control authority of intelligent device
JP6135963B2 (en) Method, terminal, server, and system for sharing a virtual SIM card among a plurality of terminals
US9497143B2 (en) Method and system for providing on-air service using official account
KR101834914B1 (en) Wireless local area network wlan access method, terminal, and server
US20170161721A1 (en) Method and system for opening account based on euicc
CN104967997A (en) A wireless network access method, Wi-Fi equipment, terminal equipment and system
EP3386167B1 (en) Cloud operation interface sharing method, related device and system
DE212015000154U1 (en) System for authenticating a user based on a computing device
WO2014198136A1 (en) Method and device for sharing content between different terminals
CN108540433A (en) User identity method of calibration and device
CN105282234A (en) Intelligent device connection method, device and system
CN105306676A (en) Method, apparatus and system for accessing intelligent device
CN105792177A (en) Virtual SIM card registration method, system, terminal device and server
CN111132131A (en) Number copying method, terminal and storage medium
EP3061278B1 (en) Method and apparatus for managing communications with multiple identification profiles
CN105429863A (en) Control method for instant messaging system and instant messaging system
KR20140121218A (en) Things communication system for connecting App
CN105101114A (en) Method for sharing wireless local area network (WLAN) resource and related equipment thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.