WO2016206082A1 - Terminal apparatus management method and device - Google Patents

Terminal apparatus management method and device Download PDF

Info

Publication number
WO2016206082A1
WO2016206082A1 PCT/CN2015/082476 CN2015082476W WO2016206082A1 WO 2016206082 A1 WO2016206082 A1 WO 2016206082A1 CN 2015082476 W CN2015082476 W CN 2015082476W WO 2016206082 A1 WO2016206082 A1 WO 2016206082A1
Authority
WO
WIPO (PCT)
Prior art keywords
shared
user
terminal device
deleted
role
Prior art date
Application number
PCT/CN2015/082476
Other languages
French (fr)
Chinese (zh)
Inventor
陈志军
高建平
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Priority to PCT/CN2015/082476 priority Critical patent/WO2016206082A1/en
Publication of WO2016206082A1 publication Critical patent/WO2016206082A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present application relates to the field of terminal device management technologies, and in particular, to a terminal device management method and device.
  • terminal devices play an increasingly important role in people's daily life and production applications. If effective authority management cannot be performed on terminal devices, the management rights of terminal devices are often disordered. problem.
  • the present application provides a terminal device management method and apparatus, which avoids the problem of disordered management authority of the terminal device by managing rights of the terminal device.
  • a terminal device management method includes:
  • the method further includes:
  • each first to-be-shared device Determining, by the first to-be-shared device information, each first to-be-shared device, where the first to-be The sharing device is a target terminal device bound to the target user;
  • first to-be-shared users For each of the first to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
  • the method further includes:
  • each of the second to-be-shared users are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
  • the method further includes:
  • the method further includes:
  • each of the first to-be-shared users they are respectively bound to each of the second to-be-shared devices, and are assigned a second role.
  • the method further includes:
  • each of the first to-be-shared users is unbound.
  • the method further includes:
  • the binding time of the second to-be-deleted user and the first to-be-shared device exceeds a preset first threshold
  • the second to-be-deleted user is shared with each of the first to-be-reviewed users.
  • the device is unbound.
  • the method further includes:
  • the binding time of the second to-be-deleted device and the first to-be-shared user exceeds a preset second threshold
  • the second to-be-deleted device is shared with each of the first to-be-disabled devices. User unbind.
  • the method further includes:
  • each of the first to-be-shared users is decoupled from each of the first to-be-shared devices.
  • the method further includes:
  • the method further includes:
  • a terminal device management device includes:
  • a request receiving unit configured to receive a request sent by the user to bind the target terminal device
  • a binding unit configured to bind the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state
  • a determining unit configured to determine whether the current binding state of the target terminal device meets a first preset condition, where the binding state includes the number of currently bound users of the target terminal device;
  • a role assignment unit configured to allocate a first role to the user when the current binding state of the target terminal device meets the first preset condition; and when the current binding state of the target terminal device does not satisfy the first pre- When the condition is set, the user is assigned a second role, wherein only the first role has the right to manage the target terminal device.
  • the present invention provides a terminal device management method and apparatus, by receiving a request of a binding target terminal device sent by a user, and binding the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state; Assigning a first role to the user when the current binding state of the target terminal device meets the first preset condition; and assigning the second role to the user when the current binding state of the target terminal device does not satisfy the first preset condition (where Only the first role has the authority to manage the target terminal device, and the rights management of the terminal device is realized, thereby avoiding the problem that the terminal device management authority is disordered.
  • FIG. 1 is a flowchart of a method for managing a terminal device according to Embodiment 1 of the present application;
  • FIG. 2 is another terminal device tube provided on the basis of FIG. 1 above according to Embodiment 1 of the present application; Method flow chart;
  • FIG. 3 is a schematic structural diagram of a terminal device management apparatus according to Embodiment 2 of the present application.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 is a flowchart of a terminal device management method according to Embodiment 1 of the present application.
  • the method includes:
  • S101 Receive a request for binding a target terminal device sent by a user.
  • the user terminal when the user needs to operate a certain terminal device, the user terminal first needs to send a request for binding the target terminal device (the target terminal device here is a certain terminal device that the user needs to operate).
  • the operation target terminal device includes using the target terminal device, managing and using the target terminal device, and the like.
  • the using the terminal device includes: the terminal device sends the alarm information to the user (eg, when the camera monitors the entry of the person, sends the corresponding alarm information to the user who uses the camera), and the linkage between the terminal devices (eg, the camera and the camera)
  • the sounder is used by the user at the same time, when the camera monitors the entry of the person, an alarm message can be sent to the buzzer to control the buzzer alarm).
  • the user after receiving the request of the binding target terminal device sent by the user, it is required to detect whether the state of the target terminal device is the sharing-on state, and when the state of the target terminal device is the sharing-on state. , the user is bound to the target terminal device.
  • the execution is stopped, which means that the user fails to bind to the target terminal device.
  • the above is only a preferred mode of the embodiment of the present application.
  • the inventor can arbitrarily set the state of the target terminal device according to the needs of the user, such as the status of the shared inquiry, which is not limited herein.
  • the state of the target terminal device is the sharing query state, it is required to query whether the target terminal device can be bound by the user, and when yes, bind the user to the target terminal device; When no, the execution is stopped, which means that the user fails to bind to the target terminal device.
  • step S103 determining whether the current binding state of the target terminal device meets the first preset condition; when satisfied, step S104 is performed; when not satisfied, step S105 is performed;
  • the user after the user is bound to the target terminal device, it is required to determine whether the current binding state of the target terminal device meets the first preset condition, where the binding state includes the current target device. The number of users that have been bound.
  • step S104 when the number of users bound on the current target terminal device is greater than 1, the current binding of the target terminal device is determined. The state does not satisfy the first preset condition, and then step S105 is performed.
  • the above is only a preferred mode of the embodiment of the present application.
  • the inventor can arbitrarily set the specific content of the current binding state of the target terminal device according to the needs of the user, and determine whether the current binding state of the target terminal device meets the first preset condition.
  • the way is not limited here.
  • the user when the user needs to operate the target terminal device, the user needs to be bound to the target terminal device, and after the user is assigned the corresponding role, the user can operate the terminal device.
  • the first role is assigned to the user, that is, the user needs to operate the target as the first role. Terminal Equipment.
  • the second role is assigned to the user, that is, the user needs to operate the identity as the second role.
  • Target terminal device preferably, when the current binding state of the target terminal device does not satisfy the first preset condition, the second role is assigned to the user, that is, the user needs to operate the identity as the second role.
  • the difference between the first role and the second role is that only the first role has the right to manage the target terminal device.
  • the first role and the second role have the right to use the target terminal device.
  • the above is only the preferred mode of the embodiment of the present application, and the inventor can arbitrarily set the first role according to his own needs.
  • the common authority with the second role but it is necessary to ensure that only the first role has the right to manage the target terminal device, that is, the user with only the first role has the management of the target terminal device. Permissions.
  • the present application provides a terminal device management method, by receiving a request from a user to bind a target terminal device; and when detecting that the state of the target terminal device is a sharing open state, binding the user to the target terminal device; and when the target When the current binding state of the terminal device meets the first preset condition, the first role is assigned to the user; when the current binding state of the target terminal device does not satisfy the first preset condition, the second role is assigned to the user (where only The first role has the right to manage the rights of the target terminal device, and the rights management of the terminal device is realized, thereby avoiding the problem that the terminal device management authority is disordered.
  • the status of the target terminal device (eg, sharing open state, sharing closed state, etc.) is determined by the target terminal.
  • the device itself controls; when there is a user who is the first role corresponding to the target terminal device, the state of the target terminal device is controlled by the user who is the first role corresponding to the target terminal device.
  • FIG. 2 On the basis of the terminal device management method shown in FIG. 1 provided in the first embodiment of the present application, another terminal device management method is further included, as shown in FIG. 2 .
  • the method includes:
  • S201 Receive a device sharing request sent by a target user that is the first role, where the device sharing request includes the first to-be-shared device information and the first to-be-shared user information.
  • the user can be bound to several terminal devices by using the terminal device management method shown in FIG. 1 above, and a first role is assigned to each terminal device to enable the user.
  • the management of the corresponding terminal device is implemented by the identity of the first role.
  • the user when the user is bound to the target terminal device and assigned the first role, the user can share the target terminal device to other users.
  • the method further includes: receiving a device sharing request sent by a user who is the first role, and the user who is the first role may
  • the target sharing user includes the first to-be-shared device information and the first to-be-shared user information.
  • S202 Determine, by using the first to-be-shared device information, the first to-be-shared device, where the first to-be-shared device is a target terminal device that is bound to the target user;
  • the first to-be-shared device information in the device sharing request sent by the target user that is received as the first role is determined, and each of the first to-be-shared devices is determined, and the determined each to be shared.
  • the device is a target terminal device that is bound to the target user.
  • S203 Determine, according to the first to-be-shared user information, each first to-be-shared user.
  • the following process is performed: binding the first to-be-shared user to each first to-be-shared device, and the first to-be-shared user is bound After the device to be shared is configured, the first to-be-shared user is assigned a second role, so that the user manages the device to be shared with the second role by the identity of the second role.
  • the user who is the second role has the same management authority as the user of the device to be shared, and is not described here.
  • the application scenario in which the target user performs device sharing may be: the target user establishes a sharing group, and the first to-be-shared device and the first to-be-shared user are pulled into the sharing group, and the confirmation button is clicked.
  • the device sharing request is sent by the target user, and the device sharing request includes the first device information to be shared (the first device to be shared device is pulled into the sharing group).
  • the first to-be-shared device determines) and the first to-be-shared user information (the first to-be-shared user information is determined by the first to-be-shared user that is pulled into the sharing group), and further passes through the terminal device as shown in FIG. 2
  • the management method can implement the sharing process of the terminal device, that is, sharing each of the first to-be-shared devices in the sharing group to each of the first to-be-shared users in the sharing group.
  • the present application further provides a terminal device management method as shown in FIG. 2 on the basis of the terminal device management method shown in FIG. 1 provided above, so that the target user as the first role can share the terminal device bound thereto. To the corresponding user, the flexibility of the terminal device management method provided by the embodiment of the present application is effectively increased.
  • the terminal device management method provided by the embodiment of the present application further includes: receiving, by the target user, a first to-be-shared user addition request corresponding to the device sharing request, where the first to-be-shared user addition request includes the second The user information to be shared is determined; and each of the second to-be-shared users is determined according to the second to-be-shared user information; and, for each second to-be-shared user, each of the first to-be-shared devices is separately bound and Assign a second role.
  • the user may also need to add other users to share the first ones on the basis of the device sharing.
  • the device to be shared in this case, the target user needs to send a first to-be-shared user addition request corresponding to the device sharing request, where the first to-be-shared user addition request includes the second to-be-shared user information, and the second to-be-shared user
  • the user information may determine each of the second to-be-shared users, and then perform the following process for each second to-be-shared user.
  • the process includes: binding the second to-be-shared user to each of the first to-be-shared devices, and each time After the second to-be-shared user is bound to the first to-be-shared device, the second to-be-shared user is assigned a second role corresponding to the first to-be-shared device, so that the second to-be-shared user can pass the second role.
  • the identity of the first to-be-shared device is managed to share the first to-be-shared device with each of the first to-be-shared users.
  • the second object of the user to be shared.
  • the terminal device management method provided by the embodiment of the present application further includes: receiving a to-be-shared user deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared user deletion request includes the first to-be-deleted user information And, according to the first user information to be deleted Determining each of the first to-be-shared users, and the first to-be-removed user is the first to-be-shared user or the second to-be-shared user; and, for each of the first to-be-deleted users, respectively, unbinding each of the first to-be-shared devices set.
  • the target user shares the first to-be-shared device with each of the first to-be-shared user and the second to-be-shared user
  • the user information may be determined according to the first to-be-deleted user information, and the following process is performed for each of the first to-be-deleted users.
  • the process includes: the first to-be-deleted user and each first to-be-deleted The sharing device is unbound, and the first to-be-removed user cannot be managed to share the first to-be-shared device with the second to-be-shared device. User's purpose.
  • the method further includes: receiving a device to be shared device request corresponding to the device sharing request sent by the target user, where the device to be shared device includes the second device to be shared device And determining, according to the second to-be-shared device information, the second to-be-shared device, the second to-be-shared device being the target terminal device bound to the target user; and, for each of the first to-be-shared users, respectively The second to-be-shared device is bound and assigned a second role.
  • the other users may be bound to the target users based on the sharing of the devices.
  • the target terminal device is shared with each of the first to-be-shared users.
  • the target user needs to send a device to be shared request corresponding to the device sharing request, and the device to be shared device includes the second device to be shared.
  • the second to-be-shared device information may be used to determine the second to-be-shared device, and the following process is performed for each of the first to-be-shared users.
  • the process includes: binding the first to-be-shared user to each second to-be-shared device.
  • the second role corresponding to the second to-be-shared device is allocated to the first to-be-shared user, so that the first to-be-shared user utilizes the first Two
  • the identity of the role is managed by the second to-be-shared device.
  • the second device to be shared is shared with each of the first to-be-shared users.
  • the method further includes: receiving a to-be-shared device deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared device deletion request includes the first to-be-deleted device information And determining, according to the first to-be-deleted device information, the first to-be-deleted device is the first to-be-shared device or the second to-be-shared device; and, for each of the first to-be-deleted devices, respectively Each first share to be shared is unbound.
  • the first to-be-shared device or the second device to be shared may not be shared.
  • the target user needs to send a device to be shared request corresponding to the device sharing request, and the to-be-shared device deletion request includes the first device to be deleted, according to the first device to be deleted.
  • the information may be determined by each of the first to be deleted devices, and the following process is performed for each of the first to be deleted devices.
  • the process includes: unbinding the first to-be-deleted device with each first to-be-shared user, and unbinding each The first to-be-shared user cannot manage the first to-be-discarded device in the identity of the second role, so as to achieve the purpose of not sharing the first to-be-deleted device with each of the first to-be-shared users.
  • the terminal device management method provided by the embodiment of the present application further includes: receiving a first timing deletion request that is sent by the target user and corresponding to the device sharing request, where the first timing deletion request includes the second to-be-deleted user information. And determining, according to the second to-be-deleted user information, the second to-be-removed user, the second to-be-deleted user being the first to-be-shared user; and detecting the binding time of the second to-be-deleted user and the first to-be-shared device When the preset first threshold is exceeded, the second to-be-disconnected user is decoupled from each of the first to-be-shared devices.
  • the target user shares the first to-be-shared device to each of the first to-be-shared users, there may be a situation that the first user to be shared is periodically deleted.
  • the target user needs to send the first timer corresponding to the device sharing request.
  • the first timing deletion request includes the second to-be-deleted user information, and each second to-be-deleted user is determined according to the second to-be-deleted user information, and then the following process is performed for each second to-be-deleted user (the process includes: When the binding time of the second to-be-removed user and the first to-be-shared device exceeds a preset first threshold, the second to-be-deleted user is unbounded from each of the first to-be-shared devices, The deleting user can no longer manage each of the first to-be-shared devices in the identity of the second role, so as to delete the second to-be-deleted user periodically, and not share the first to-be-shared device with the second to-be-deleted user.
  • the terminal device management method provided by the embodiment of the present application further includes: receiving a second timing deletion request that is sent by the target user and corresponding to the device sharing request, where the second timing deletion request includes the second to-be-deleted device information. And determining, according to the second to-be-deleted device information, the second device to be deleted, the second to-be-deleted device being the first device to be shared; and detecting the binding time of the second device to be deleted and the first user to be shared When the second threshold is exceeded, the second to-be-deleted device is decoupled from each of the first to-be-shared users.
  • the target user after the target user shares the first to-be-shared device to each of the first to-be-shared users, there may be a situation that the first device to be shared is periodically deleted.
  • the target user needs to send a second timing deletion request corresponding to the device sharing request, where the second timing deletion request includes the second to-be-deleted device information, and the second to-be-deleted device is determined according to the second to-be-deleted device information, and then
  • the second to-be-deleted device performs the following process: the process includes: when it is detected that the binding time of the second to-be-deleted device and the first to-be-shared user exceeds a preset second threshold, the second to-be-deleted device and each first
  • the shared user is unbound, and the first to-be-shared user can no longer manage the second to-be-deleted device by the second role.
  • the method further includes: receiving a third timing deletion request that is sent by the target user and corresponding to the device sharing request; and detecting a time when the current time and the receiving device share the request And, when the time interval exceeds the preset third threshold, each of the first to-be-shared users is decoupled from each of the first to-be-shared devices.
  • the target user after the target user shares the first to-be-shared device with each of the first to-be-shared users, there may be a situation that the sharing is cancelled periodically.
  • the target user needs to send And a third timing deletion request corresponding to the device sharing request, and detecting a current time (the current time here, that is, a time when the third timing deletion request is received) and a time interval for sharing the request with the receiving device; and, when the time interval exceeds the pre-
  • the third threshold is set, each of the first to-be-shared users is de-bound to each of the first to-be-shared devices, so that each of the first to-be-shared users cannot be managed as the second role.
  • the purpose of the device to be shared The purpose of the device to be shared.
  • the terminal device management method provided by the embodiment of the present application further includes: receiving a second to-be-shared user addition request corresponding to the device sharing request sent by the first to-be-shared user, and the second to-be-shared user adding request The third to-be-shared user information is included; and when the second to-be-shared user addition request satisfies the second preset condition, each third to-be-shared user is determined according to the third to-be-shared user information; and, for each third to-be-shared The user binds each of them to each of the first to-be-shared devices and assigns a second role to them.
  • the target user shares the first to-be-shared device to each of the first to-be-shared users
  • the first to-be-shared user needs to be the first one.
  • the device to be shared is shared with a user.
  • the first to-be-shared user needs to send a second to-be-shared user addition request corresponding to the device sharing request, and the second to-be-shared user addition request includes the third to-be-shared user information.
  • the third to-be-shared user may be determined according to the third to-be-shared user information, and for each The third to-be-shared user performs the following process.
  • the process includes: binding the third to-be-shared user to each of the first to-be-shared devices, and each time the third to-be-shared user is bound to the first to-be-shared device, The third to-be-shared user allocates a second role corresponding to the first to-be-shared device, so that the third to-be-shared user manages the first to-be-subscribed by using the identity of the second role.
  • the device is configured to share the first to-be-shared device with the third to-be-shared user.
  • the second preset condition includes: the second to-be-shared user addition request is allowed by the target user, that is, only after the second to-be-shared user addition request is confirmed by the target user, Each third shared user to be shared in the user add request can be divided into Achievement each of the first devices to be shared.
  • the method further includes: responding to the request for releasing the target terminal device binding sent by the user who is the first role or the second role, and the user and the target terminal The device is unbound.
  • the target user shares the first to-be-shared device to each of the first to-be-shared users
  • the user who is the first role the target user
  • the user who is the second role needs to release the binding with the target terminal device.
  • the user who is the first role or the second role needs to send a request to release the binding of the target terminal device, and then receive and release the request.
  • the request of the target terminal device is bound, responding to the request, and unbinding the user with the target terminal device, so that the user who is the first role can no longer manage the target terminal device as the identity of the first role, and The user of the second role can no longer manage the target terminal device as the second role.
  • the user who is the first role is unbound from the target terminal device, the user who is the second role that is shared by the target terminal device cannot be The identity of the second role manages the target terminal device.
  • the above is only a preferred mode of the embodiment of the present application.
  • the inventor can arbitrarily set other processing modes after the user who is the first role or the user of the second role is unbound from the target terminal device according to the needs of the present application, which is not limited herein. .
  • the terminal device management method provided by the embodiment of the present application is more clear and complete, and is convenient for those skilled in the art to understand.
  • FIG. 3 is a schematic structural diagram of a terminal device management apparatus according to Embodiment 2 of the present application.
  • the device comprises:
  • the request receiving unit 1 is configured to receive a request of the binding target terminal device sent by the user;
  • the binding unit 2 is configured to: when detecting that the state of the target terminal device is a sharing open state, Bind the user to the target terminal device;
  • the determining unit 3 is configured to determine whether the current binding state of the target terminal device meets the first preset condition, where the binding state includes the number of users currently bound by the target terminal device;
  • a role assignment unit 4 configured to allocate a first role to the user when the current binding state of the target terminal device meets the first preset condition; and when the current binding state of the target terminal device does not satisfy the first When the condition is preset, the user is assigned a second role, wherein only the first role has the right to manage the target terminal device.
  • the present application provides a terminal device management apparatus, by receiving a request of a binding target terminal device sent by a user, and binding the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state; and when the target When the current binding state of the terminal device meets the first preset condition, the first role is assigned to the user; when the current binding state of the target terminal device does not satisfy the first preset condition, the second role is assigned to the user (where only The first role has the right to manage the rights of the target terminal device, and the rights management of the terminal device is realized, thereby avoiding the problem that the terminal device management authority is disordered.

Abstract

A terminal apparatus management method and device. The method comprises: receiving a request for binding a target terminal apparatus and transmitted by a user (S101); upon detecting that a state of the target terminal apparatus is a sharing initiation state, binding the user and the target terminal apparatus (S102); when a current binding state of the target terminal apparatus satisfies a first preset condition, allocating a first role for the user (S103, S104); and when the current binding state of the target terminal apparatus does not satisfy the first preset condition, allocating a second role for the user (S104, S105), wherein only the first role has a permission for managing the target terminal apparatus. The method manages the permission of the terminal apparatus, and addresses the problem of a disorder of the terminal apparatus management permission.

Description

一种终端设备管理方法及装置Terminal device management method and device 技术领域Technical field
本申请涉及终端设备管理技术领域,特别是涉及一种终端设备管理方法及装置。The present application relates to the field of terminal device management technologies, and in particular, to a terminal device management method and device.
背景技术Background technique
谷歌从收购终端硬件单品入手,苹果先搭平台在圈硬件。在它们的号召下,家电企业、终端硬件生产商、互联网巨头等纷纷进军终端硬件平台战略。2013年被称为终端硬件爆发的元年,一时间终端硬件产品层出不穷,如:空调、冰箱、监控设备等。Google started with the acquisition of terminal hardware items, and Apple first took the platform hardware. Under their call, home appliance companies, terminal hardware manufacturers, and Internet giants have entered the terminal hardware platform strategy. In 2013, it was called the first year of terminal hardware explosion. At one time, terminal hardware products emerged in an endless stream, such as air conditioners, refrigerators, and monitoring equipment.
也就是随着终端硬件产品的层出不穷,终端设备在人们的日常生活以及生产应用中起着越来越重要的作用,若不能对终端设备进行有效权限管理,通常会导致终端设备的管理权限紊乱的问题。That is to say, with the endless emergence of terminal hardware products, terminal devices play an increasingly important role in people's daily life and production applications. If effective authority management cannot be performed on terminal devices, the management rights of terminal devices are often disordered. problem.
发明内容Summary of the invention
有鉴于此,本申请提供一种终端设备管理方法及装置,通过对终端设备的权限管理,避免终端设备的管理权限紊乱的问题。In view of this, the present application provides a terminal device management method and apparatus, which avoids the problem of disordered management authority of the terminal device by managing rights of the terminal device.
为了实现上述目的,本发明实施例提供的技术方案如下:In order to achieve the above objective, the technical solution provided by the embodiment of the present invention is as follows:
一种终端设备管理方法,包括:A terminal device management method includes:
接收用户发送的绑定目标终端设备的请求;Receiving a request sent by the user to bind the target terminal device;
当检测到所述目标终端设备的状态为分享开启状态时,将所述用户与所述目标终端设备绑定;Binding the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state;
判断所述目标终端设备当前的绑定状态是否满足第一预设条件,所述绑定状态包括所述目标终端设备当前已绑定用户的数量;Determining whether the current binding state of the target terminal device meets a first preset condition, where the binding state includes the number of currently bound users of the target terminal device;
若是,为所述用户分配第一角色;若否,为所述用户分配第二角色,其中,仅所述第一角色具备管理所述目标终端设备的权限。If yes, assign the first role to the user; if not, assign the second role to the user, wherein only the first role has the right to manage the target terminal device.
优选的,还包括:Preferably, the method further includes:
接收作为第一角色的目标用户发送的设备分享请求,所述设备分享请求包括第一待分享设备信息和第一待分享用户信息;Receiving a device sharing request sent by the target user as the first role, where the device sharing request includes the first to-be-shared device information and the first to-be-shared user information;
利用所述第一待分享设备信息确定各个第一待分享设备,所述第一待 分享设备为与所述目标用户绑定的目标终端设备;Determining, by the first to-be-shared device information, each first to-be-shared device, where the first to-be The sharing device is a target terminal device bound to the target user;
根据所述第一待分享用户信息确定各个第一待分享用户;Determining, according to the first to-be-shared user information, each first to-be-shared user;
针对每个所述第一待分享用户,将其分别与每个所述第一待分享设备绑定,并为其分配第二角色。For each of the first to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的第一待分享用户添加请求,所述第一待分享用户添加请求包括第二待分享用户信息;Receiving, by the target user, a first to-be-shared user addition request corresponding to the device sharing request, where the first to-be-shared user addition request includes second to-be-shared user information;
根据所述第二待分享用户信息确定各个第二待分享用户;Determining, according to the second to-be-shared user information, each second to-be-shared user;
针对每个所述第二待分享用户,将其分别与每个所述第一待分享设备绑定,并为其分配第二角色。For each of the second to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的待分享用户删除请求,所述待分享用户删除请求包括第一待删除用户信息;Receiving a to-be-shared user deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared user deletion request includes the first to-be-deleted user information;
根据所述第一待删除用户信息确定各个第一待删除用户,所述第一待删除用户为所述第一待分享用户或第二待分享用户;Determining, according to the first to-be-deleted user information, the first to-be-removed user, the first to-be-deleted user being the first to-be-shared user or the second to-be-shared user;
针对每个所述第一待删除用户,将其分别与每个所述第一待分享设备解除绑定。And for each of the first to-be-deleted users, respectively, unbinding each of the first to-be-shared devices.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的待分享设备添加请求,所述待分享设备添加请求包括第二待分享设备信息;And receiving, by the target user, a to-be-shared device addition request corresponding to the device sharing request, where the to-be-shared device addition request includes second to-be-shared device information;
根据所述第二待分享设备信息确定各个第二待分享设备,所述第二待分享设备为与所述目标用户绑定的目标终端设备;Determining, according to the second to-be-shared device information, the second to-be-shared device, where the second to-be-shared device is a target terminal device that is bound to the target user;
针对每个所述第一待分享用户,将其分别与每个所述第二待分享设备绑定,并为其分配第二角色。For each of the first to-be-shared users, they are respectively bound to each of the second to-be-shared devices, and are assigned a second role.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的待分享设备删除请求,所述待分享设备删除请求包括第一待删除设备信息;Receiving a to-be-shared device deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared device deletion request includes first to-be-deleted device information;
根据所述第一待删除设备信息确定各个第一待删除设备,所述第一待删除设备为第一待分享设备或第二待分享设备; Determining, according to the first information to be deleted, the first to be deleted device, where the first to be deleted device is the first to be shared device or the second to be shared device;
针对每个所述第一待删除设备,将其分别每个所述第一待分享用户解除绑定。For each of the first to-be-deleted devices, each of the first to-be-shared users is unbound.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的第一定时删除请求,所述第一定时删除请求包括第二待删除用户信息;Receiving, by the target user, a first timing deletion request corresponding to the device sharing request, where the first timing deletion request includes second user information to be deleted;
根据所述第二待删除用户信息确定各个第二待删除用户,所述第二待删除用户为所述第一待分享用户;Determining, according to the second to-be-deleted user information, each second to-be-deleted user, where the second to-be-deleted user is the first to-be-shared user;
当检测到所述第二待删除用户与所述第一待分享设备的绑定时间超过预设第一阈值时,针对所述第二待删除用户,将其与每个所述第一待分享设备解绑定。When it is detected that the binding time of the second to-be-deleted user and the first to-be-shared device exceeds a preset first threshold, the second to-be-deleted user is shared with each of the first to-be-reviewed users. The device is unbound.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的第二定时删除请求,所述第二定时删除请求包括第二待删除设备信息;Receiving, by the target user, a second timing deletion request corresponding to the device sharing request, where the second timing deletion request includes second device information to be deleted;
根据所述第二待删除设备信息确定各个第二待删除设备,所述第二待删除设备为所述第一待分享设备;Determining, according to the second information to be deleted, the second device to be deleted, where the second device to be deleted is the first device to be shared;
当检测到所述第二待删除设备与所述第一待分享用户的绑定时间超过预设第二阈值时,针对所述第二待删除设备,将其与每个所述第一待分享用户解绑定。When it is detected that the binding time of the second to-be-deleted device and the first to-be-shared user exceeds a preset second threshold, the second to-be-deleted device is shared with each of the first to-be-disabled devices. User unbind.
优选的,还包括:Preferably, the method further includes:
接收所述目标用户发送的与所述设备分享请求对应的第三定时删除请求;Receiving, by the target user, a third timing deletion request corresponding to the device sharing request;
检测当前时间与接收所述设备分享请求的时间间隔;Detecting a time interval between a current time and a request to share the device;
当所述时间间隔超过预设第三阈值时,针对每个所述第一待分享用户,将其分别与每个所述第一待分享设备解绑定。When the time interval exceeds the preset third threshold, each of the first to-be-shared users is decoupled from each of the first to-be-shared devices.
优选的,还包括:Preferably, the method further includes:
接收所述第一待分享用户发送的与所述设备分享请求对应的第二待分享用户添加请求,所述第二待分享用户添加请求包括第三待分享用户信息;Receiving, by the first to-be-shared user, a second to-be-shared user addition request corresponding to the device sharing request, where the second to-be-shared user addition request includes third to-be-shared user information;
当所述第二待分享用户添加请求满足第二预设条件时,根据所述第三待分享用户信息确定各个第三待分享用户; Determining, according to the third to-be-shared user information, each third to-be-shared user, when the second to-be-shared user addition request meets the second preset condition;
针对每个所述第三待分享用户,将其分别与每个所述第一待分享设备绑定,并为其分配第二角色。For each of the third to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
优选的,还包括:Preferably, the method further includes:
响应接收到作为所述第一角色或第二角色的用户发送的解除目标终端设备绑定的请求,将所述用户与所述目标终端设备解除绑定。And disconnecting the user from the target terminal device in response to receiving a request to release the target terminal device binding sent by the user of the first role or the second role.
一种终端设备管理装置,包括:A terminal device management device includes:
请求接收单元,用于接收用户发送的绑定目标终端设备的请求;a request receiving unit, configured to receive a request sent by the user to bind the target terminal device;
绑定单元,用于当检测到所述目标终端设备的状态为分享开启状态时,将所述用户与所述目标终端设备绑定;a binding unit, configured to bind the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state;
判断单元,用于判断所述目标终端设备当前的绑定状态是否满足第一预设条件,所述绑定状态包括所述目标终端设备当前已绑定用户的数量;a determining unit, configured to determine whether the current binding state of the target terminal device meets a first preset condition, where the binding state includes the number of currently bound users of the target terminal device;
角色分配单元,用于当所述目标终端设备当前的绑定状态满足第一预设条件时,为所述用户分配第一角色;当所述目标终端设备当前的绑定状态不满足第一预设条件时,为所述用户分配第二角色,其中,仅所述第一角色具备管理所述目标终端设备的权限。a role assignment unit, configured to allocate a first role to the user when the current binding state of the target terminal device meets the first preset condition; and when the current binding state of the target terminal device does not satisfy the first pre- When the condition is set, the user is assigned a second role, wherein only the first role has the right to manage the target terminal device.
本申请提供一种终端设备管理方法及装置,通过接收用户发送的绑定目标终端设备的请求;并当检测到目标终端设备的状态为分享开启状态时,将用户与目标终端设备绑定;以及当目标终端设备当前的绑定状态满足第一预设条件时,为用户分配第一角色;当目标终端设备当前的绑定状态不满足第一预设条件时,为用户分配第二角色(其中,仅第一角色具备管理目标终端设备的权限)的方式,实现了对终端设备的权限管理,避免了终端设备管理权限紊乱的问题。The present invention provides a terminal device management method and apparatus, by receiving a request of a binding target terminal device sent by a user, and binding the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state; Assigning a first role to the user when the current binding state of the target terminal device meets the first preset condition; and assigning the second role to the user when the current binding state of the target terminal device does not satisfy the first preset condition (where Only the first role has the authority to manage the target terminal device, and the rights management of the terminal device is realized, thereby avoiding the problem that the terminal device management authority is disordered.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings according to the provided drawings without any creative work.
图1为本申请实施例一提供的一种终端设备管理方法流程图;1 is a flowchart of a method for managing a terminal device according to Embodiment 1 of the present application;
图2为本申请实施例一在上述图1的基础上提供的另一种终端设备管 理方法流程图;FIG. 2 is another terminal device tube provided on the basis of FIG. 1 above according to Embodiment 1 of the present application; Method flow chart;
图3为本申请实施例二提供的一种终端设备管理装置的结构示意图。FIG. 3 is a schematic structural diagram of a terminal device management apparatus according to Embodiment 2 of the present application.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一:Embodiment 1:
图1为本申请实施例一提供的一种终端设备管理方法流程图。FIG. 1 is a flowchart of a terminal device management method according to Embodiment 1 of the present application.
如图1所示,该方法包括:As shown in Figure 1, the method includes:
S101、接收用户发送的绑定目标终端设备的请求;S101. Receive a request for binding a target terminal device sent by a user.
在本申请实施例中,优选的,当用户需要操作某个终端设备时,首先需发送绑定目标终端设备的请求(这里的目标终端设备即为用户需要操作的某个终端设备。In the embodiment of the present application, preferably, when the user needs to operate a certain terminal device, the user terminal first needs to send a request for binding the target terminal device (the target terminal device here is a certain terminal device that the user needs to operate).
在本申请实施例中,优选的,操作目标终端设备包括使用目标终端设备、管理和使用目标终端设备等。In the embodiment of the present application, preferably, the operation target terminal device includes using the target terminal device, managing and using the target terminal device, and the like.
具体的,使用终端设备包括:终端设备发送报警信息给用户(如,当摄像头监控到人员进入时,发送相应报警信息给使用该摄像头的用户)、终端设备之间的联动(如:摄像头和嗡鸣器同时被用户使用时,当摄像头监控到人员进入,可发出报警信息给嗡鸣器,以控制嗡鸣器报警)等。Specifically, the using the terminal device includes: the terminal device sends the alarm information to the user (eg, when the camera monitors the entry of the person, sends the corresponding alarm information to the user who uses the camera), and the linkage between the terminal devices (eg, the camera and the camera) When the sounder is used by the user at the same time, when the camera monitors the entry of the person, an alarm message can be sent to the buzzer to control the buzzer alarm).
以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置操作目标终端设备的方式,在此不做限定。The above is only a preferred mode of the embodiment of the present application, and the inventor can arbitrarily set the manner of operating the target terminal device according to his own needs, which is not limited herein.
S102、当检测到目标终端设备的状态为分享开启状态时,将用户与目标终端设备绑定;S102. Bind the user to the target terminal device when detecting that the state of the target terminal device is the sharing open state.
在本申请实施例中,优选的,当接收到用户发送的绑定目标终端设备的请求后,需要检测该目标终端设备的状态是否为分享开启状态,当目标终端设备的状态为分享开启状态时,则将用户与目标终端设备绑定。In the embodiment of the present application, after receiving the request of the binding target terminal device sent by the user, it is required to detect whether the state of the target terminal device is the sharing-on state, and when the state of the target terminal device is the sharing-on state. , the user is bound to the target terminal device.
进一步的,在本申请实施例中,优选的,当检测到的目标终端设备的 状态为分享关闭状态时,则停止执行,也就代表用户与目标终端设备绑定失败。Further, in the embodiment of the present application, preferably, when the detected target terminal device is When the status is shared off, the execution is stopped, which means that the user fails to bind to the target terminal device.
以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置目标终端设备的状态,如分享询问状态等,在此不做限定。The above is only a preferred mode of the embodiment of the present application. The inventor can arbitrarily set the state of the target terminal device according to the needs of the user, such as the status of the shared inquiry, which is not limited herein.
在本申请实施例中,优选的,当目标终端设备的状态为分享询问状态时,需询问目标终端设备是否可以被该用户绑定,当是时,则将该用户与目标终端设备绑定;当否时,则停止执行,也就代表用户与目标终端设备绑定失败。In the embodiment of the present application, preferably, when the state of the target terminal device is the sharing query state, it is required to query whether the target terminal device can be bound by the user, and when yes, bind the user to the target terminal device; When no, the execution is stopped, which means that the user fails to bind to the target terminal device.
S103、判断目标终端设备当前的绑定状态是否满足第一预设条件;当满足时,执行步骤S104;当不满足时,执行步骤S105;S103, determining whether the current binding state of the target terminal device meets the first preset condition; when satisfied, step S104 is performed; when not satisfied, step S105 is performed;
在本申请实施例中,优选的,当将用户与目标终端设备绑定后,需要判断该目标终端设备当前的绑定状态是否满足第一预设条件,其中,绑定状态包括目标终端设备当前已绑定用户的数量。In the embodiment of the present application, after the user is bound to the target terminal device, it is required to determine whether the current binding state of the target terminal device meets the first preset condition, where the binding state includes the current target device. The number of users that have been bound.
具体的,在本申请实施例中,优选的,当将用户与目标终端设备绑定后,计算当前目标终端设备上绑定的用户的数量,当当前目标终端设备上绑定的用户的数量为1时,则确定目标终端设备当前的绑定状态满足第一预设条件,进而执行步骤S104;当当前目标终端设备上绑定的用户的数量大于1时,则确定目标终端设备当前的绑定状态不满足第一预设条件,进而执行步骤S105。Specifically, in the embodiment of the present application, after the user is bound to the target terminal device, the number of users bound to the current target terminal device is calculated, and the number of users bound on the current target terminal device is At 1 o'clock, it is determined that the current binding state of the target terminal device meets the first preset condition, and then step S104 is performed; when the number of users bound on the current target terminal device is greater than 1, the current binding of the target terminal device is determined. The state does not satisfy the first preset condition, and then step S105 is performed.
以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置目标终端设备当前的绑定状态的具体内容,以及判断目标终端设备当前的绑定状态是否满足第一预设条件的方式,在此不做限定。The above is only a preferred mode of the embodiment of the present application. The inventor can arbitrarily set the specific content of the current binding state of the target terminal device according to the needs of the user, and determine whether the current binding state of the target terminal device meets the first preset condition. The way is not limited here.
S104、为用户分配第一角色;S104. Assign a first role to the user.
在本申请实施例中,优选的,当用户需要操作目标终端设备时,需要将该用户与目标终端设备绑定,并在为该用户分配相应的角色后,该用户才可操作该终端设备。In the embodiment of the present application, preferably, when the user needs to operate the target terminal device, the user needs to be bound to the target terminal device, and after the user is assigned the corresponding role, the user can operate the terminal device.
在本申请实施例中,优选的,当目标终端设备当前的绑定状态满足第一预设条件时,为该用户分配第一角色,也就是说,用户需要以第一角色的身份操作该目标终端设备。 In the embodiment of the present application, preferably, when the current binding state of the target terminal device meets the first preset condition, the first role is assigned to the user, that is, the user needs to operate the target as the first role. Terminal Equipment.
S105、为用户分配第二角色。S105. Assign a second role to the user.
在本申请实施例中,优选的,当目标终端设备当前的绑定状态不满足第一预设条件时,为该用户分配第二角色,也就是说,用户需要以第二角色的身份操作该目标终端设备。In the embodiment of the present application, preferably, when the current binding state of the target terminal device does not satisfy the first preset condition, the second role is assigned to the user, that is, the user needs to operate the identity as the second role. Target terminal device.
在本申请实施例中,优选的,第一角色和第二角色的区别在于,仅有第一角色具备管理目标终端设备的权限。In the embodiment of the present application, preferably, the difference between the first role and the second role is that only the first role has the right to manage the target terminal device.
在本申请实施例中,优选的,第一角色和第二角色均有使用该目标终端设备的权限,以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置第一角色和第二角色的共同权限,但是,需保证第一角色和第二角色中,仅有第一角色具有管理目标终端设备的权限,也即仅有第一角色的用户具备该目标终端设备的管理员权限。In the embodiment of the present application, preferably, the first role and the second role have the right to use the target terminal device. The above is only the preferred mode of the embodiment of the present application, and the inventor can arbitrarily set the first role according to his own needs. The common authority with the second role, but it is necessary to ensure that only the first role has the right to manage the target terminal device, that is, the user with only the first role has the management of the target terminal device. Permissions.
本申请提供一种终端设备管理方法,通过接收用户发送的绑定目标终端设备的请求;并当检测到目标终端设备的状态为分享开启状态时,将用户与目标终端设备绑定;以及当目标终端设备当前的绑定状态满足第一预设条件时,为用户分配第一角色;当目标终端设备当前的绑定状态不满足第一预设条件时,为用户分配第二角色(其中,仅第一角色具备管理目标终端设备的权限)的方式,实现了对终端设备的权限管理,避免了终端设备管理权限紊乱的问题。The present application provides a terminal device management method, by receiving a request from a user to bind a target terminal device; and when detecting that the state of the target terminal device is a sharing open state, binding the user to the target terminal device; and when the target When the current binding state of the terminal device meets the first preset condition, the first role is assigned to the user; when the current binding state of the target terminal device does not satisfy the first preset condition, the second role is assigned to the user (where only The first role has the right to manage the rights of the target terminal device, and the rights management of the terminal device is realized, thereby avoiding the problem that the terminal device management authority is disordered.
在本申请实施例中,优选的,当不存在与目标终端设备对应的作为第一角色的用户时,该目标终端设备的状态(如:分享开启状态、分享关闭状态等)是由该目标终端设备自己控制的;当存在与目标终端设备对应的作为第一角色的用户后,该目标终端设备的状态是由与该目标终端设备对应的作为第一角色的用户控制的。In the embodiment of the present application, preferably, when there is no user as the first role corresponding to the target terminal device, the status of the target terminal device (eg, sharing open state, sharing closed state, etc.) is determined by the target terminal. The device itself controls; when there is a user who is the first role corresponding to the target terminal device, the state of the target terminal device is controlled by the user who is the first role corresponding to the target terminal device.
以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置目标终端设备的状态的控制者,以及控制时间,在此不做限定。The above is only a preferred mode of the embodiment of the present application, and the inventor can arbitrarily set the controller of the state of the target terminal device according to his own needs, and the control time, which is not limited herein.
进一步的,在本申请实施例一提供的如图1所示的终端设备管理方法的基础上,还包括另一种终端设备管理方法,参见图2。Further, on the basis of the terminal device management method shown in FIG. 1 provided in the first embodiment of the present application, another terminal device management method is further included, as shown in FIG. 2 .
如图2所示,该方法包括: As shown in Figure 2, the method includes:
S201、接收作为第一角色的目标用户发送的设备分享请求,设备分享请求包括第一待分享设备信息和第一待分享用户信息;S201: Receive a device sharing request sent by a target user that is the first role, where the device sharing request includes the first to-be-shared device information and the first to-be-shared user information.
在本申请实施例中,优选的,用户通过上述如图1所示的终端设备管理方法,可与若干个终端设备进行绑定,并针对每个终端设备被分配一个第一角色,以使得用户通过该第一角色的身份实现对相应终端设备的管理。In the embodiment of the present application, preferably, the user can be bound to several terminal devices by using the terminal device management method shown in FIG. 1 above, and a first role is assigned to each terminal device to enable the user. The management of the corresponding terminal device is implemented by the identity of the first role.
在本申请实施例中,优选的,当用户与目标终端设备绑定,并被分配第一角色后,该用户即可将该目标终端设备分享给其他用户。In the embodiment of the present application, preferably, when the user is bound to the target terminal device and assigned the first role, the user can share the target terminal device to other users.
具体的,在本申请实施例提供的如图1所示的终端设备管理方法的基础上,进一步包括:接收作为第一角色的用户发送的设备分享请求,此时该作为第一角色的用户可称为目标用户,且该设备分享请求中包括第一待分享设备信息和第一待分享用户信息。Specifically, on the basis of the terminal device management method shown in FIG. 1 provided by the embodiment of the present application, the method further includes: receiving a device sharing request sent by a user who is the first role, and the user who is the first role may The target sharing user includes the first to-be-shared device information and the first to-be-shared user information.
S202、利用第一待分享设备信息确定各个第一待分享设备,第一待分享设备为与目标用户绑定的目标终端设备;S202: Determine, by using the first to-be-shared device information, the first to-be-shared device, where the first to-be-shared device is a target terminal device that is bound to the target user;
具体的,在本申请实施例中,可利用接收到的作为第一角色的目标用户发送的设备分享请求中的第一待分享设备信息,确定各个第一待分享设备,该确定的各个待分享设备为与目标用户绑定的目标终端设备。Specifically, in the embodiment of the present application, the first to-be-shared device information in the device sharing request sent by the target user that is received as the first role is determined, and each of the first to-be-shared devices is determined, and the determined each to be shared. The device is a target terminal device that is bound to the target user.
S203、根据第一待分享用户信息确定各个第一待分享用户;S203. Determine, according to the first to-be-shared user information, each first to-be-shared user.
S204、针对每个第一待分享用户,将其分别与每个第一待分享设备绑定,并为其分配第二角色。S204. Bind each of the first to-be-shared devices to each of the first to-be-shared devices, and assign a second role to them.
在本申请实施例中,优选的,针对每个第一待分享用户,均执行以下过程:将第一待分享用户分别与每个第一待分享设备绑定,并且该第一待分享用户绑定一个待分享设备后,就为该第一待分享用户分配一个第二角色,以使得该用户通过第二角色的身份管理与其绑定的待分享设备。In the embodiment of the present application, preferably, for each first to-be-shared user, the following process is performed: binding the first to-be-shared user to each first to-be-shared device, and the first to-be-shared user is bound After the device to be shared is configured, the first to-be-shared user is assigned a second role, so that the user manages the device to be shared with the second role by the identity of the second role.
在本申请实施例中,作为第二角色的用户对与其对应的待分享设备的管理权限与上述所提到的第二角色的用户的权限相同,在此不再赘述。In the embodiment of the present application, the user who is the second role has the same management authority as the user of the device to be shared, and is not described here.
在本申请实施例中,优选的,目标用户进行设备分享的应用场景可以为:目标用户建立分享组,将各个第一待分享设备和第一待分享用户拉入该分享组,点击确认键,即可认为目标用户发送了设备分享请求,该设备分享请求包括第一待分享设备信息(第一待分享设备信息由被拉入分享组 的第一待分享设备确定)和第一待分享用户信息(第一待分享用户信息由被拉入分享组的第一待分享用户确定),进而通过上述如图2所示的中的终端设备管理方法,即可实现终端设备的分享过程,即:将分享组中的每个第一待分享设备分享给该分享组中的每个第一待分享用户。In the embodiment of the present application, the application scenario in which the target user performs device sharing may be: the target user establishes a sharing group, and the first to-be-shared device and the first to-be-shared user are pulled into the sharing group, and the confirmation button is clicked. The device sharing request is sent by the target user, and the device sharing request includes the first device information to be shared (the first device to be shared device is pulled into the sharing group). The first to-be-shared device determines) and the first to-be-shared user information (the first to-be-shared user information is determined by the first to-be-shared user that is pulled into the sharing group), and further passes through the terminal device as shown in FIG. 2 The management method can implement the sharing process of the terminal device, that is, sharing each of the first to-be-shared devices in the sharing group to each of the first to-be-shared users in the sharing group.
本申请通过在上述提供的图1所示的终端设备管理方法的基础上,进一步提供如图2所示的终端设备管理方法,以便作为第一角色的目标用户可以将与其绑定的终端设备分享给相应用户,进而有效增加本申请实施例提供的终端设备管理方法的灵活性。The present application further provides a terminal device management method as shown in FIG. 2 on the basis of the terminal device management method shown in FIG. 1 provided above, so that the target user as the first role can share the terminal device bound thereto. To the corresponding user, the flexibility of the terminal device management method provided by the embodiment of the present application is effectively increased.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的第一待分享用户添加请求,第一待分享用户添加请求包括第二待分享用户信息;以及,根据第二待分享用户信息确定各个第二待分享用户;以及,针对每个第二待分享用户,将其分别与每个第一待分享设备绑定,并为其分配第二角色。Further, the terminal device management method provided by the embodiment of the present application further includes: receiving, by the target user, a first to-be-shared user addition request corresponding to the device sharing request, where the first to-be-shared user addition request includes the second The user information to be shared is determined; and each of the second to-be-shared users is determined according to the second to-be-shared user information; and, for each second to-be-shared user, each of the first to-be-shared devices is separately bound and Assign a second role.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能还需在上述设备分享的基础上,添加其他用户来分享上述各个第一待分享设备,此时,该目标用户需发送与上述设备分享请求对应的第一待分享用户添加请求,该第一待分享用户添加请求中包括第二待分享用户信息,通过该第二待分享用户信息可确定各个第二待分享用户,进而针对每个第二待分享用户执行以下过程(该过程包括:将第二待分享用户分别与每个第一待分享设备绑定,并当每次第二待分享用户与第一待分享设备绑定后,为该第二待分享用户分配与该第一待分享设备对应的第二角色,以使得该第二待分享用户可以通过该第二角色的身份管理该第一待分享设备),以实现将各个第一待分享设备在分享给各个第一待分享用户的同时,分享给各个第二待分享用户的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device to each of the first to-be-shared users, the user may also need to add other users to share the first ones on the basis of the device sharing. The device to be shared, in this case, the target user needs to send a first to-be-shared user addition request corresponding to the device sharing request, where the first to-be-shared user addition request includes the second to-be-shared user information, and the second to-be-shared user The user information may determine each of the second to-be-shared users, and then perform the following process for each second to-be-shared user. The process includes: binding the second to-be-shared user to each of the first to-be-shared devices, and each time After the second to-be-shared user is bound to the first to-be-shared device, the second to-be-shared user is assigned a second role corresponding to the first to-be-shared device, so that the second to-be-shared user can pass the second role. The identity of the first to-be-shared device is managed to share the first to-be-shared device with each of the first to-be-shared users. The second object of the user to be shared.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的待分享用户删除请求,待分享用户删除请求包括第一待删除用户信息;以及,根据第一待删除用户信息 确定各个第一待删除用户,第一待删除用户为第一待分享用户或第二待分享用户;以及,针对每个第一待删除用户,将其分别与每个第一待分享设备解除绑定。Further, the terminal device management method provided by the embodiment of the present application further includes: receiving a to-be-shared user deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared user deletion request includes the first to-be-deleted user information And, according to the first user information to be deleted Determining each of the first to-be-shared users, and the first to-be-removed user is the first to-be-shared user or the second to-be-shared user; and, for each of the first to-be-deleted users, respectively, unbinding each of the first to-be-shared devices set.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户和第二待分享用户后,可能存在一种情况,即将第一待分享设备不在分享给第一待分享用户和第二待分享用户中的某个用户,此时,该目标用户需发送与上述设备分享请求对应的待分享用户删除请求,该待分享用户删除请求包括第一待删除用户信息,根据该第一待删除用户信息可确定各个第一待删除用户,进而针对每个第一待删除用户执行以下过程(该过程包括:将该第一待删除用户与每个第一待分享设备解除绑定,解除绑定后该第一待删除用户即不可在以第二角色的身份管理该第一待分享设备),来实现不在将各个第一待分享设备分享给第一待删除用户的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device with each of the first to-be-shared user and the second to-be-shared user, there may be a situation that the first device to be shared is not shared. Providing a user to be shared by the first user to be shared and the second user to be shared, wherein the target user needs to send a user to be shared request corresponding to the device sharing request, and the to-be-shared user deletion request includes the first to be deleted. The user information may be determined according to the first to-be-deleted user information, and the following process is performed for each of the first to-be-deleted users. The process includes: the first to-be-deleted user and each first to-be-deleted The sharing device is unbound, and the first to-be-removed user cannot be managed to share the first to-be-shared device with the second to-be-shared device. User's purpose.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的待分享设备添加请求,待分享设备添加请求包括第二待分享设备信息;以及,根据第二待分享设备信息确定各个第二待分享设备,第二待分享设备为与目标用户绑定的目标终端设备;以及,针对每个第一待分享用户,将其分别与每个第二待分享设备绑定,并为其分配第二角色。Further, in the terminal device management method provided by the embodiment of the present application, the method further includes: receiving a device to be shared device request corresponding to the device sharing request sent by the target user, where the device to be shared device includes the second device to be shared device And determining, according to the second to-be-shared device information, the second to-be-shared device, the second to-be-shared device being the target terminal device bound to the target user; and, for each of the first to-be-shared users, respectively The second to-be-shared device is bound and assigned a second role.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能还需在上述设备分享的基础上,将其他的与该目标用户绑定目标终端设备分享给上述各个第一待分享用户,此时,该目标用户需发送与上述设备分享请求对应的待分享设备添加请求,该待分享设备添加请求中包括第二待分享设备信息,通过该第二待分享设备信息可确定各个第二待分享设备,进而针对每个第一待分享用户执行以下过程(该过程包括:将第一待分享用户分别与每个第二待分享设备绑定,并当每次第一待分享用户与第二待分享设备绑定后,为该第一待分享用户分配与该第二待分享设备对应的第二角色,以便该第一待分享用户利用第二 角色的身份管理该第二待分享设备),以实现在将各个第一待分享设备分享给各个第一待分享用户的同时,将各个第二待分享设备分享给各个第一待分享用户。In the embodiment of the present application, after the target users share the first to-be-shared devices to each of the first to-be-shared users, the other users may be bound to the target users based on the sharing of the devices. The target terminal device is shared with each of the first to-be-shared users. The target user needs to send a device to be shared request corresponding to the device sharing request, and the device to be shared device includes the second device to be shared. The second to-be-shared device information may be used to determine the second to-be-shared device, and the following process is performed for each of the first to-be-shared users. The process includes: binding the first to-be-shared user to each second to-be-shared device. And each time the first to-be-shared user is bound to the second to-be-shared device, the second role corresponding to the second to-be-shared device is allocated to the first to-be-shared user, so that the first to-be-shared user utilizes the first Two The identity of the role is managed by the second to-be-shared device. The second device to be shared is shared with each of the first to-be-shared users.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的待分享设备删除请求,待分享设备删除请求包括第一待删除设备信息;以及,根据第一待删除设备信息确定各个第一待删除设备,第一待删除设备为第一待分享设备或第二待分享设备;以及,针对每个第一待删除设备,将其分别每个第一待分享用户解除绑定。Further, in the terminal device management method provided by the embodiment of the present application, the method further includes: receiving a to-be-shared device deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared device deletion request includes the first to-be-deleted device information And determining, according to the first to-be-deleted device information, the first to-be-deleted device is the first to-be-shared device or the second to-be-shared device; and, for each of the first to-be-deleted devices, respectively Each first share to be shared is unbound.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能存在一种情况,即第一待分享设备或者第二待分享设备不在分享给各个第一待分享用户,此时,该目标用户需发送与上述设备分享请求对应的待分享设备删除请求,该待分享设备删除请求包括第一待删除设备信息,根据该第一待删除设备信息可确定各个第一待删除设备,进而针对每个第一待删除设备执行以下过程(该过程包括:将第一待删除设备与每个第一待分享用户解除绑定,解除绑定后各个第一待分享用户即不可在以第二角色的身份管理该第一待删除设备),来实现不在将第一待删除设备分享给各个第一待分享用户的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device to each of the first to-be-shared users, the first to-be-shared device or the second device to be shared may not be shared. For the first to be shared user, the target user needs to send a device to be shared request corresponding to the device sharing request, and the to-be-shared device deletion request includes the first device to be deleted, according to the first device to be deleted. The information may be determined by each of the first to be deleted devices, and the following process is performed for each of the first to be deleted devices. The process includes: unbinding the first to-be-deleted device with each first to-be-shared user, and unbinding each The first to-be-shared user cannot manage the first to-be-discarded device in the identity of the second role, so as to achieve the purpose of not sharing the first to-be-deleted device with each of the first to-be-shared users.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的第一定时删除请求,第一定时删除请求包括第二待删除用户信息;以及,根据第二待删除用户信息确定各个第二待删除用户,第二待删除用户为第一待分享用户;以及,当检测到第二待删除用户与第一待分享设备的绑定时间超过预设第一阈值时,针对第二待删除用户,将其与每个第一待分享设备解绑定。Further, the terminal device management method provided by the embodiment of the present application further includes: receiving a first timing deletion request that is sent by the target user and corresponding to the device sharing request, where the first timing deletion request includes the second to-be-deleted user information. And determining, according to the second to-be-deleted user information, the second to-be-removed user, the second to-be-deleted user being the first to-be-shared user; and detecting the binding time of the second to-be-deleted user and the first to-be-shared device When the preset first threshold is exceeded, the second to-be-disconnected user is decoupled from each of the first to-be-shared devices.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能存在一种情况,即定时删除某个第一待分享用户,此时,该目标用户需要发送与设备分享请求对应的第一定时删 除请求,该第一定时删除请求包括第二待删除用户信息,根据第二待删除用户信息确定各个第二待删除用户,进而针对每个第二待删除用户执行以下过程(该过程包括:当检测到第二待删除用户与第一待分享设备的绑定时间超过预设第一阈值时,将该第二待删除用户分别与每个第一待分享设备解除绑定,进而使得第二待删除用户不能再以第二角色的身份管理各个第一待分享设备),以实现定时删除第二待删除用户、不在将各个第一待分享设备分享给第二待删除用户的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device to each of the first to-be-shared users, there may be a situation that the first user to be shared is periodically deleted. The target user needs to send the first timer corresponding to the device sharing request. In addition to the request, the first timing deletion request includes the second to-be-deleted user information, and each second to-be-deleted user is determined according to the second to-be-deleted user information, and then the following process is performed for each second to-be-deleted user (the process includes: When the binding time of the second to-be-removed user and the first to-be-shared device exceeds a preset first threshold, the second to-be-deleted user is unbounded from each of the first to-be-shared devices, The deleting user can no longer manage each of the first to-be-shared devices in the identity of the second role, so as to delete the second to-be-deleted user periodically, and not share the first to-be-shared device with the second to-be-deleted user.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的第二定时删除请求,第二定时删除请求包括第二待删除设备信息;以及,根据第二待删除设备信息确定各个第二待删除设备,第二待删除设备为第一待分享设备;以及,当检测到第二待删除设备与第一待分享用户的绑定时间超过预设第二阈值时,针对第二待删除设备,将其与每个第一待分享用户解绑定。Further, the terminal device management method provided by the embodiment of the present application further includes: receiving a second timing deletion request that is sent by the target user and corresponding to the device sharing request, where the second timing deletion request includes the second to-be-deleted device information. And determining, according to the second to-be-deleted device information, the second device to be deleted, the second to-be-deleted device being the first device to be shared; and detecting the binding time of the second device to be deleted and the first user to be shared When the second threshold is exceeded, the second to-be-deleted device is decoupled from each of the first to-be-shared users.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能存在一种情况,即定时删除某个第一待分享设备,此时,该目标用户需要发送与设备分享请求对应的第二定时删除请求,该第二定时删除请求包括第二待删除设备信息,根据第二待删除设备信息确定各个第二待删除设备,进而针对每个第二待删除设备执行以下过程(该过程包括:当检测到第二待删除设备与第一待分享用户的绑定时间超过预设第二阈值时,将第二待删除设备与每个第一待分享用户解绑定,进而使得各个第一待分享用户不能再以第二角色的身份管理第二待删除设备),以实现定时删除第二待删除设备、不在将第二待删除设备分享给各个第一待分享用户的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device to each of the first to-be-shared users, there may be a situation that the first device to be shared is periodically deleted. The target user needs to send a second timing deletion request corresponding to the device sharing request, where the second timing deletion request includes the second to-be-deleted device information, and the second to-be-deleted device is determined according to the second to-be-deleted device information, and then The second to-be-deleted device performs the following process: the process includes: when it is detected that the binding time of the second to-be-deleted device and the first to-be-shared user exceeds a preset second threshold, the second to-be-deleted device and each first The shared user is unbound, and the first to-be-shared user can no longer manage the second to-be-deleted device by the second role. The purpose of each first share to be shared.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收目标用户发送的与设备分享请求对应的第三定时删除请求;以及,检测当前时间与接收设备分享请求的时间间隔;以及,当时间间隔超过预设第三阈值时,针对每个第一待分享用户,将其分别与每个第一待分享设备解绑定。 Further, in a terminal device management method provided by the embodiment of the present application, the method further includes: receiving a third timing deletion request that is sent by the target user and corresponding to the device sharing request; and detecting a time when the current time and the receiving device share the request And, when the time interval exceeds the preset third threshold, each of the first to-be-shared users is decoupled from each of the first to-be-shared devices.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能存在一种情况,即定时解除该分享,此时,该目标用户需要发送与设备分享请求对应的第三定时删除请求,并检测当前时间(这里的当前时间,即为接收到第三定时删除请求的时间)与接收设备分享请求的时间间隔;以及,当时间间隔超过预设第三阈值时,针对每个第一待分享用户,将其分别与每个第一待分享设备解绑定,进而实现每个第一待分享用户均不能作为第二角色管理任意一个第一待分享设备的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device with each of the first to-be-shared users, there may be a situation that the sharing is cancelled periodically. At this time, the target user needs to send And a third timing deletion request corresponding to the device sharing request, and detecting a current time (the current time here, that is, a time when the third timing deletion request is received) and a time interval for sharing the request with the receiving device; and, when the time interval exceeds the pre- When the third threshold is set, each of the first to-be-shared users is de-bound to each of the first to-be-shared devices, so that each of the first to-be-shared users cannot be managed as the second role. The purpose of the device to be shared.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:接收第一待分享用户发送的与设备分享请求对应的第二待分享用户添加请求,第二待分享用户添加请求包括第三待分享用户信息;以及,当第二待分享用户添加请求满足第二预设条件时,根据第三待分享用户信息确定各个第三待分享用户;以及,针对每个第三待分享用户,将其分别与每个第一待分享设备绑定,并为其分配第二角色。Further, the terminal device management method provided by the embodiment of the present application further includes: receiving a second to-be-shared user addition request corresponding to the device sharing request sent by the first to-be-shared user, and the second to-be-shared user adding request The third to-be-shared user information is included; and when the second to-be-shared user addition request satisfies the second preset condition, each third to-be-shared user is determined according to the third to-be-shared user information; and, for each third to-be-shared The user binds each of them to each of the first to-be-shared devices and assigns a second role to them.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,可能存在一种情况,该情况为:第一待分享用户需要将各个第一待分享设备分享给某个用户,此时,第一待分享用户需要发送与设备分享请求对应的第二待分享用户添加请求,该第二待分享用户添加请求中包括第三待分享用户信息;当接收到给第二待分享用户添加请求,并且该第三待分享用户添加请求满足第二预设条件后,则可根据第三待分享用户信息确定各个第三待分享用户,并针对每个第三待分享用户执行以下过程(该过程包括:将第三待分享用户与每个第一待分享设备绑定,并当每次第三待分享用户与第一待分享设备绑定后,为该第三待分享用户分配与该第一待分享设备对应的第二角色,以便该第三待分享用户利用第二角色的身份管理该第一待分享设备),以实现将各个第一待分享设备分享给第三待分享用户的目的。In the embodiment of the present application, after the target user shares the first to-be-shared device to each of the first to-be-shared users, there may be a situation in which the first to-be-shared user needs to be the first one. The device to be shared is shared with a user. In this case, the first to-be-shared user needs to send a second to-be-shared user addition request corresponding to the device sharing request, and the second to-be-shared user addition request includes the third to-be-shared user information. After receiving the request to add to the second to-be-shared user, and the third to-be-shared user addition request satisfies the second preset condition, the third to-be-shared user may be determined according to the third to-be-shared user information, and for each The third to-be-shared user performs the following process. The process includes: binding the third to-be-shared user to each of the first to-be-shared devices, and each time the third to-be-shared user is bound to the first to-be-shared device, The third to-be-shared user allocates a second role corresponding to the first to-be-shared device, so that the third to-be-shared user manages the first to-be-subscribed by using the identity of the second role. The device is configured to share the first to-be-shared device with the third to-be-shared user.
在本申请实施例中,优选的,第二预设条件包括:第二待分享用户添加请求被目标用户允许,也就是说,只有在第二待分享用户添加请求被目标用户确认后,第二待分享用户添加请求中的各个第三待分享用户才可分 享各个第一待分享设备。In the embodiment of the present application, preferably, the second preset condition includes: the second to-be-shared user addition request is allowed by the target user, that is, only after the second to-be-shared user addition request is confirmed by the target user, Each third shared user to be shared in the user add request can be divided into Enjoy each of the first devices to be shared.
以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置第二预设条件的具体表现形式,在此不做限定。The above is only a preferred mode of the embodiment of the present application, and the inventor can arbitrarily set the specific expression of the second preset condition according to his own needs, which is not limited herein.
进一步的,在本申请实施例提供的一种终端设备管理方法中,还包括:响应接收到作为第一角色或第二角色的用户发送的解除目标终端设备绑定的请求,将用户与目标终端设备解除绑定。Further, in a terminal device management method provided by the embodiment of the present application, the method further includes: responding to the request for releasing the target terminal device binding sent by the user who is the first role or the second role, and the user and the target terminal The device is unbound.
在本申请实施例中,优选的,上述目标用户将各个第一待分享设备分享给各个第一待分享用户后,还可能存在一种情况,该情况为:作为第一角色的用户(目标用户)或者作为第二角色的用户,需要解除与目标终端设备的绑定,此时,作为第一角色或第二角色的用户需要发送解除目标终端设备绑定的请求,进而当接收到与该解除目标终端设备绑定的请求后,响应该请求,并将该用户与该目标终端设备解除绑定,以使得作为第一角色的用户不能再以第一角色的身份管理该目标终端设备,而作为第二角色的用户也不能再以第二角色的身份管理该目标终端设备。In the embodiment of the present application, after the target user shares the first to-be-shared device to each of the first to-be-shared users, there may be a situation in which the user who is the first role (the target user) Or the user who is the second role needs to release the binding with the target terminal device. At this time, the user who is the first role or the second role needs to send a request to release the binding of the target terminal device, and then receive and release the request. After the request of the target terminal device is bound, responding to the request, and unbinding the user with the target terminal device, so that the user who is the first role can no longer manage the target terminal device as the identity of the first role, and The user of the second role can no longer manage the target terminal device as the second role.
并且,进一步的,在本申请实施例中,优选的,当作为第一角色的用户与目标终端设备解除绑定后,该目标终端设备被分享的作为第二角色的用户也就不能够在以第二角色的身份管理该目标终端设备。Further, in the embodiment of the present application, preferably, after the user who is the first role is unbound from the target terminal device, the user who is the second role that is shared by the target terminal device cannot be The identity of the second role manages the target terminal device.
以上仅仅是本申请实施例的优选方式,发明人可根据自己的需求任意设置当作为第一角色的用户或者第二角色的用户与目标终端设备解除绑定后的其他处理方式,在此不作限定。The above is only a preferred mode of the embodiment of the present application. The inventor can arbitrarily set other processing modes after the user who is the first role or the user of the second role is unbound from the target terminal device according to the needs of the present application, which is not limited herein. .
通过上述对本申请实施例提供的一种终端设备管理方法的进一步介绍,使得本申请实施例提供的一种终端设备管理方法更加清晰、完整,便于本领域技术人员理解。The terminal device management method provided by the embodiment of the present application is more clear and complete, and is convenient for those skilled in the art to understand.
图3为本申请实施例二提供的一种终端设备管理装置的结构示意图。FIG. 3 is a schematic structural diagram of a terminal device management apparatus according to Embodiment 2 of the present application.
如图3所示,该装置包括:As shown in Figure 3, the device comprises:
请求接收单元1,用于接收用户发送的绑定目标终端设备的请求;The request receiving unit 1 is configured to receive a request of the binding target terminal device sent by the user;
绑定单元2,用于当检测到目标终端设备的状态为分享开启状态时, 将用户与目标终端设备绑定;The binding unit 2 is configured to: when detecting that the state of the target terminal device is a sharing open state, Bind the user to the target terminal device;
判断单元3,用于判断目标终端设备当前的绑定状态是否满足第一预设条件,绑定状态包括目标终端设备当前已绑定用户的数量;The determining unit 3 is configured to determine whether the current binding state of the target terminal device meets the first preset condition, where the binding state includes the number of users currently bound by the target terminal device;
角色分配单元4,用于当所述目标终端设备当前的绑定状态满足第一预设条件时,为所述用户分配第一角色;当所述目标终端设备当前的绑定状态不满足第一预设条件时,为所述用户分配第二角色,其中,仅所述第一角色具备管理所述目标终端设备的权限。a role assignment unit 4, configured to allocate a first role to the user when the current binding state of the target terminal device meets the first preset condition; and when the current binding state of the target terminal device does not satisfy the first When the condition is preset, the user is assigned a second role, wherein only the first role has the right to manage the target terminal device.
本申请提供一种终端设备管理装置,通过接收用户发送的绑定目标终端设备的请求;并当检测到目标终端设备的状态为分享开启状态时,将用户与目标终端设备绑定;以及当目标终端设备当前的绑定状态满足第一预设条件时,为用户分配第一角色;当目标终端设备当前的绑定状态不满足第一预设条件时,为用户分配第二角色(其中,仅第一角色具备管理目标终端设备的权限)的方式,实现了对终端设备的权限管理,避免了终端设备管理权限紊乱的问题。The present application provides a terminal device management apparatus, by receiving a request of a binding target terminal device sent by a user, and binding the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state; and when the target When the current binding state of the terminal device meets the first preset condition, the first role is assigned to the user; when the current binding state of the target terminal device does not satisfy the first preset condition, the second role is assigned to the user (where only The first role has the right to manage the rights of the target terminal device, and the rights management of the terminal device is realized, thereby avoiding the problem that the terminal device management authority is disordered.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
以上仅是本申请的优选实施方式,使本领域技术人员能够理解或实现本申请。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above is only a preferred embodiment of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments are obvious to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the application is not limited to the embodiments shown herein, but is to be accorded the broadest scope of the principles and novel features disclosed herein.

Claims (12)

  1. 一种终端设备管理方法,其特征在于,包括:A terminal device management method, comprising:
    接收用户发送的绑定目标终端设备的请求;Receiving a request sent by the user to bind the target terminal device;
    当检测到所述目标终端设备的状态为分享开启状态时,将所述用户与所述目标终端设备绑定;Binding the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state;
    判断所述目标终端设备当前的绑定状态是否满足第一预设条件,所述绑定状态包括所述目标终端设备当前已绑定用户的数量;Determining whether the current binding state of the target terminal device meets a first preset condition, where the binding state includes the number of currently bound users of the target terminal device;
    若是,为所述用户分配第一角色;若否,为所述用户分配第二角色,其中,仅所述第一角色具备管理所述目标终端设备的权限。If yes, assign the first role to the user; if not, assign the second role to the user, wherein only the first role has the right to manage the target terminal device.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    接收作为第一角色的目标用户发送的设备分享请求,所述设备分享请求包括第一待分享设备信息和第一待分享用户信息;Receiving a device sharing request sent by the target user as the first role, where the device sharing request includes the first to-be-shared device information and the first to-be-shared user information;
    利用所述第一待分享设备信息确定各个第一待分享设备,所述第一待分享设备为与所述目标用户绑定的目标终端设备;Determining, by the first to-be-shared device information, the first to-be-shared device, where the first to-be-shared device is a target terminal device that is bound to the target user;
    根据所述第一待分享用户信息确定各个第一待分享用户;Determining, according to the first to-be-shared user information, each first to-be-shared user;
    针对每个所述第一待分享用户,将其分别与每个所述第一待分享设备绑定,并为其分配第二角色。For each of the first to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
  3. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的第一待分享用户添加请求,所述第一待分享用户添加请求包括第二待分享用户信息;Receiving, by the target user, a first to-be-shared user addition request corresponding to the device sharing request, where the first to-be-shared user addition request includes second to-be-shared user information;
    根据所述第二待分享用户信息确定各个第二待分享用户;Determining, according to the second to-be-shared user information, each second to-be-shared user;
    针对每个所述第二待分享用户,将其分别与每个所述第一待分享设备绑定,并为其分配第二角色。For each of the second to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
  4. 根据权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的待分享用户删除请求,所述待分享用户删除请求包括第一待删除用户信息;Receiving a to-be-shared user deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared user deletion request includes the first to-be-deleted user information;
    根据所述第一待删除用户信息确定各个第一待删除用户,所述第一待删除用户为所述第一待分享用户或第二待分享用户;Determining, according to the first to-be-deleted user information, the first to-be-removed user, the first to-be-deleted user being the first to-be-shared user or the second to-be-shared user;
    针对每个所述第一待删除用户,将其分别与每个所述第一待分享设备 解除绑定。For each of the first to-be-deleted users, respectively, and each of the first to-be-shared devices Unbind.
  5. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的待分享设备添加请求,所述待分享设备添加请求包括第二待分享设备信息;And receiving, by the target user, a to-be-shared device addition request corresponding to the device sharing request, where the to-be-shared device addition request includes second to-be-shared device information;
    根据所述第二待分享设备信息确定各个第二待分享设备,所述第二待分享设备为与所述目标用户绑定的目标终端设备;Determining, according to the second to-be-shared device information, the second to-be-shared device, where the second to-be-shared device is a target terminal device that is bound to the target user;
    针对每个所述第一待分享用户,将其分别与每个所述第二待分享设备绑定,并为其分配第二角色。For each of the first to-be-shared users, they are respectively bound to each of the second to-be-shared devices, and are assigned a second role.
  6. 根据权利要求5所述的方法,其特征在于,还包括:The method of claim 5, further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的待分享设备删除请求,所述待分享设备删除请求包括第一待删除设备信息;Receiving a to-be-shared device deletion request corresponding to the device sharing request sent by the target user, where the to-be-shared device deletion request includes first to-be-deleted device information;
    根据所述第一待删除设备信息确定各个第一待删除设备,所述第一待删除设备为第一待分享设备或第二待分享设备;Determining, according to the first information to be deleted, the first to be deleted device, where the first to be deleted device is the first to be shared device or the second to be shared device;
    针对每个所述第一待删除设备,将其分别每个所述第一待分享用户解除绑定。For each of the first to-be-deleted devices, each of the first to-be-shared users is unbound.
  7. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的第一定时删除请求,所述第一定时删除请求包括第二待删除用户信息;Receiving, by the target user, a first timing deletion request corresponding to the device sharing request, where the first timing deletion request includes second user information to be deleted;
    根据所述第二待删除用户信息确定各个第二待删除用户,所述第二待删除用户为所述第一待分享用户;Determining, according to the second to-be-deleted user information, each second to-be-deleted user, where the second to-be-deleted user is the first to-be-shared user;
    当检测到所述第二待删除用户与所述第一待分享设备的绑定时间超过预设第一阈值时,针对所述第二待删除用户,将其与每个所述第一待分享设备解绑定。When it is detected that the binding time of the second to-be-deleted user and the first to-be-shared device exceeds a preset first threshold, the second to-be-deleted user is shared with each of the first to-be-reviewed users. The device is unbound.
  8. 根据权利要求7所述的方法,其特征在于,还包括:The method of claim 7 further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的第二定时删除请求,所述第二定时删除请求包括第二待删除设备信息;Receiving, by the target user, a second timing deletion request corresponding to the device sharing request, where the second timing deletion request includes second device information to be deleted;
    根据所述第二待删除设备信息确定各个第二待删除设备,所述第二待删除设备为所述第一待分享设备;Determining, according to the second information to be deleted, the second device to be deleted, where the second device to be deleted is the first device to be shared;
    当检测到所述第二待删除设备与所述第一待分享用户的绑定时间超过 预设第二阈值时,针对所述第二待删除设备,将其与每个所述第一待分享用户解绑定。When it is detected that the binding time of the second to-be-deleted device and the first to-be-shared user exceeds When the second threshold is preset, it is debinding to each of the first to-be-shared users for the second to-be-deleted device.
  9. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    接收所述目标用户发送的与所述设备分享请求对应的第三定时删除请求;Receiving, by the target user, a third timing deletion request corresponding to the device sharing request;
    检测当前时间与接收所述设备分享请求的时间间隔;Detecting a time interval between a current time and a request to share the device;
    当所述时间间隔超过预设第三阈值时,针对每个所述第一待分享用户,将其分别与每个所述第一待分享设备解绑定。When the time interval exceeds the preset third threshold, each of the first to-be-shared users is decoupled from each of the first to-be-shared devices.
  10. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    接收所述第一待分享用户发送的与所述设备分享请求对应的第二待分享用户添加请求,所述第二待分享用户添加请求包括第三待分享用户信息;Receiving, by the first to-be-shared user, a second to-be-shared user addition request corresponding to the device sharing request, where the second to-be-shared user addition request includes third to-be-shared user information;
    当所述第二待分享用户添加请求满足第二预设条件时,根据所述第三待分享用户信息确定各个第三待分享用户;Determining, according to the third to-be-shared user information, each third to-be-shared user, when the second to-be-shared user addition request meets the second preset condition;
    针对每个所述第三待分享用户,将其分别与每个所述第一待分享设备绑定,并为其分配第二角色。For each of the third to-be-shared users, they are respectively bound to each of the first to-be-shared devices, and are assigned a second role.
  11. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    响应接收到作为所述第一角色或第二角色的用户发送的解除目标终端设备绑定的请求,将所述用户与所述目标终端设备解除绑定。And disconnecting the user from the target terminal device in response to receiving a request to release the target terminal device binding sent by the user of the first role or the second role.
  12. 一种终端设备管理装置,其特征在于,包括:A terminal device management device, comprising:
    请求接收单元,用于接收用户发送的绑定目标终端设备的请求;a request receiving unit, configured to receive a request sent by the user to bind the target terminal device;
    绑定单元,用于当检测到所述目标终端设备的状态为分享开启状态时,将所述用户与所述目标终端设备绑定;a binding unit, configured to bind the user to the target terminal device when detecting that the state of the target terminal device is a sharing open state;
    判断单元,用于判断所述目标终端设备当前的绑定状态是否满足第一预设条件,所述绑定状态包括所述目标终端设备当前已绑定用户的数量;a determining unit, configured to determine whether the current binding state of the target terminal device meets a first preset condition, where the binding state includes the number of currently bound users of the target terminal device;
    角色分配单元,用于当所述目标终端设备当前的绑定状态满足第一预设条件时,为所述用户分配第一角色;当所述目标终端设备当前的绑定状态不满足第一预设条件时,为所述用户分配第二角色,其中,仅所述第一角色具备管理所述目标终端设备的权限。 a role assignment unit, configured to allocate a first role to the user when the current binding state of the target terminal device meets the first preset condition; and when the current binding state of the target terminal device does not satisfy the first pre- When the condition is set, the user is assigned a second role, wherein only the first role has the right to manage the target terminal device.
PCT/CN2015/082476 2015-06-26 2015-06-26 Terminal apparatus management method and device WO2016206082A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/082476 WO2016206082A1 (en) 2015-06-26 2015-06-26 Terminal apparatus management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/082476 WO2016206082A1 (en) 2015-06-26 2015-06-26 Terminal apparatus management method and device

Publications (1)

Publication Number Publication Date
WO2016206082A1 true WO2016206082A1 (en) 2016-12-29

Family

ID=57584609

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/082476 WO2016206082A1 (en) 2015-06-26 2015-06-26 Terminal apparatus management method and device

Country Status (1)

Country Link
WO (1) WO2016206082A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184517A1 (en) * 2001-05-31 2002-12-05 Bijan Tadayon Method and apparatus for hierarchical assignment of rights to documents and documents having such rights
CN101207639A (en) * 2007-12-03 2008-06-25 华为技术有限公司 Method and apparatus of classifying for user
CN104079543A (en) * 2013-03-29 2014-10-01 珠海格力电器股份有限公司 Method, device and system for obtaining intelligent home system monitoring permissions
CN104580176A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Equipment sharing method and system
CN104615004A (en) * 2014-12-31 2015-05-13 北京海尔广科数字技术有限公司 Intelligent household electrical appliance operating authorization control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184517A1 (en) * 2001-05-31 2002-12-05 Bijan Tadayon Method and apparatus for hierarchical assignment of rights to documents and documents having such rights
CN101207639A (en) * 2007-12-03 2008-06-25 华为技术有限公司 Method and apparatus of classifying for user
CN104079543A (en) * 2013-03-29 2014-10-01 珠海格力电器股份有限公司 Method, device and system for obtaining intelligent home system monitoring permissions
CN104580176A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Equipment sharing method and system
CN104615004A (en) * 2014-12-31 2015-05-13 北京海尔广科数字技术有限公司 Intelligent household electrical appliance operating authorization control method and device

Similar Documents

Publication Publication Date Title
US20160381475A1 (en) System and method for integrating a home media system and other home systems
US10182043B2 (en) Methods and system for user and device management of an IoT network
CN105100708B (en) Request processing method and device
MX2018007258A (en) Sharing video footage from audio/video recorpding and communication devices.
DE602005014879D1 (en) Resource access control for customer-driven and network-controlled queries
WO2015137740A1 (en) Home network system using robot and control method thereof
WO2016039963A3 (en) Resource sharing between two resource allocation systems
JP2013085208A5 (en)
JP2016526310A5 (en)
WO2017045299A1 (en) Connection releasing method and device
WO2017020410A1 (en) Method, device and system for activating target function
CN108737440B (en) Method, server and computer readable storage medium for equipment management
KR20130035673A (en) Method for registering a device to server and apparatus having the same
US20240029702A1 (en) System and method for integrating a home media system and other home systems
JP2015119279A (en) Wide area management system, wide area management device, building management device, wide area management method, sensor information transmission method, data acquisition method, and program
JP2016507192A5 (en)
MX2018003712A (en) Service bearing congestion control method and apparatus.
US11190734B2 (en) Multiway audio-video conferencing with multiple communication channels per device
CN102045379A (en) Method and system for IP storage and storage equipment
EP3570573A3 (en) Method and device for facilitating restricted proximity discovery of an application user
WO2016206082A1 (en) Terminal apparatus management method and device
US9510307B2 (en) Method and system for implementing multi-terminal collaborative operation based on a projection mobile hotspot
JP2008522276A (en) Control points that control devices over the network
WO2020183785A1 (en) Information output method, information output device, and program
TW201440476A (en) System and method for desktop sharing

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15895982

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15895982

Country of ref document: EP

Kind code of ref document: A1