WO2018145432A1 - Method for obtaining permission, method for opening permission, terminal, and server - Google Patents

Method for obtaining permission, method for opening permission, terminal, and server Download PDF

Info

Publication number
WO2018145432A1
WO2018145432A1 PCT/CN2017/097717 CN2017097717W WO2018145432A1 WO 2018145432 A1 WO2018145432 A1 WO 2018145432A1 CN 2017097717 W CN2017097717 W CN 2017097717W WO 2018145432 A1 WO2018145432 A1 WO 2018145432A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
terminal
access address
server
information
Prior art date
Application number
PCT/CN2017/097717
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 深圳市沃特沃德股份有限公司
Publication of WO2018145432A1 publication Critical patent/WO2018145432A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Definitions

  • the present invention relates to the field of communication information processing technologies, and in particular, to a rights acquisition method, a rights release method, a terminal, and a server.
  • the main object of the present invention is to provide a rights management method, server and system, which aim to solve the existing technical problems, provide other users with the most appropriate rights conveniently and quickly, and accelerate the use of the pet wearing device.
  • the first aspect of the present application provides a method for obtaining a privilege, including: acquiring, by a first terminal, preset permission information set by a rights management user; sending the preset permission information to a server, so that the server generates the The access address corresponding to the permission information is received; the access address returned by the server is received; the access address is encoded into a two-dimensional code; and the two-dimensional code is sent to the terminal of the authority acquiring user, so that the The terminal of the authority obtaining user identifies the two-dimensional code, obtains the access address, and accesses the corresponding permission page of the rights management user by using the access address.
  • the method further includes: sending, by the first terminal, a device input request input by the user to the server, where the request to carry the pet wearable device identifier And causing the server to return an access address of the administrator authority registration page; receiving an access address of the administrator authority registration page returned by the server; generating an initial two-dimensional code according to the access address of the administrator authority registration page, for the user to pick up Enter, the user is registered as the rights management user
  • the second aspect of the present application provides a method for granting a permission, comprising: receiving, by a server, a preset authority information sent by a user through a first terminal; and generating, by the server, a corresponding access address according to the preset authority information; Returning the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address; the server receiving the right to obtain an access address sent by the user through the terminal, where the access address is The privilege acquisition user obtains the two-dimensional code generated by the first terminal by the terminal, and the server queries the preset privilege information according to the access address, and the privilege management user and the preset privilege information. The corresponding permission page is released to the permission to obtain the user.
  • the server further includes: the server receiving a device request sent by the user through the first terminal, where the request to carry the pet wearing device Determining, by the server, whether the corresponding pet wearing device is activated according to the pet wearing device identifier, and if not, returning an access address of the administrator authority registration page to the first terminal, according to the management by the first terminal
  • the access address of the privilege registration page generates an initial two-dimensional code, and the user identifies the two-dimensional code to obtain an access address for access, and the user registers as the rights management user.
  • the server according to the access address, before the corresponding permission page of the rights management user is released to the user to obtain the user identity, the server further includes: obtaining the identity of the user by using the server; The first terminal of the rights management user sends the query information, where the query information carries the rights to obtain the identity of the user, and the query information is used to query whether the rights management user has the preset rights information.
  • the server receives, by the rights management user, permission modification information that is sent by the first terminal and is bound to the identity of the user to obtain the user identity;
  • Querying the access address, querying the preset permission information, and releasing the permission page corresponding to the preset permission information to the permission acquiring user includes: the server replacing the modification information with the pre- The permission information is set, a new access address is generated according to the modification information, and the new access address is sent to the authority acquisition user.
  • the third aspect of the present application provides a terminal, including: an obtaining unit, configured to acquire preset permission information set by a rights management user by a first terminal, and a sending unit, configured to send the preset permission information to a server, Having the server generate an access address corresponding to the preset authority information; a receiving unit, configured to receive an access address returned by the server; and a coding unit, configured to encode the access address into a two-dimensional code; a code sending unit, configured to send the two-dimensional code to a terminal of the right acquiring user, so that the terminal of the right acquiring user identifies the two-dimensional code, obtains the access address, and passes the access address Accessing the corresponding permission page of the rights management user.
  • the method further includes: a requesting unit, configured to send, by the first terminal, a device input request input by the user to the server, where the request for carrying the pet wearing device identifier is performed, and the server returns the administrator authority registration page.
  • the access result receiving unit is configured to receive an access address of the administrator authority registration page returned by the server; and an initial two-dimensional code generating unit, configured to generate an initial two-dimensional according to the access address of the administrator authority registration page The code is accessed by the user, and the user is registered as the rights management user.
  • the fourth aspect of the present application provides a server, including: a receiving unit, configured to receive, by a server, a preset authority information sent by a user through a first terminal; and a generating unit, configured to generate, by the server, the corresponding information according to the rights information An access address, a returning unit, configured to: return, by the server, the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address; and an access address receiving unit, configured to be used by the server Receiving the access address obtained by the user through the terminal, where the access address is obtained by the user acquiring the two-dimensional code generated by the terminal by the terminal, and the permission release unit is configured to be used by the server according to the Entering an address, querying the preset permission information, and releasing the permission page corresponding to the preset authority information to the authority obtaining user.
  • the method further includes: a request receiving unit, configured to receive, by the server, a device request sent by the user by using the first terminal, where the request for carrying the pet wearing device identifier is used; The pet wearing device identifier determines whether the corresponding pet wearing device is activated; a unit, configured to: when the determining result of the determining unit is negative, returning an access address of the administrator authority registration page to the first terminal, where the first terminal generates an access address according to the administrator authority registration page An initial two-dimensional code for access by the user, the user being registered as the rights management user
  • the method further includes: a query information sending unit, configured to send, by the server, the query information to the first terminal of the rights management user, where the query information carries the rights to obtain the identity identifier of the user, The query information is used to query whether the rights management user modifies the preset permission information.
  • the modification information receiving unit is configured to receive, by the server, the identity of the user that is sent by the rights management user and sent by the first terminal. Defining the bound permission modification information; the permission release unit is specifically configured to: replace the modification information with the preset permission information, generate a new access address according to the modification information, and generate the new access address The ingress address is sent to the permission to obtain the user.
  • the privilege acquisition method, the privilege release method, the terminal, and the server provided by the application acquires the preset privilege information set by the privilege management user, and sends the preset privilege information to the server, so that the server generates and presets the privilege
  • the access address corresponding to the information, the access address returned by the server is received and encoded into a two-dimensional code, and finally the two-dimensional code is sent to the terminal of the authority acquisition user, so that the terminal of the authority acquisition user recognizes the two-dimensional code, and obtains the The access address is accessed, and the corresponding permission page of the rights management user is accessed through the access address.
  • the highest operating authority of the pet wearing device can provide the most appropriate authority to other users conveniently and quickly according to the needs of various operating scenarios, and accelerate the use of the pet wearing device, which provides a convenient and convenient way for the pet breeding industry.
  • the function fills a gap in the field.
  • FIG. 3 is a flowchart of a method for issuing rights according to the present application.
  • FIG. 4 is a flowchart of another method for granting rights according to the present application.
  • FIG. 5 is a flowchart of another method for granting rights according to the present application.
  • FIG. 6 is a schematic structural diagram of a terminal according to the present application.
  • FIG. 7 is a schematic structural diagram of another terminal of the present application.
  • FIG. 8 is a schematic structural diagram of a server according to the present application.
  • FIG. 9 is a schematic structural diagram of another server of the present application.
  • the user who uses the pet wearing device pre-sets an account, and the specific process of setting the account may be: the user performs registration on the server side, and performs the identity of the user and the device identifier of the pet wearing device. Bind. It is worth noting that the device number of the pet wearing device is saved in advance on the server side. Further, after the user wears the pet wearing device, the terminal can use the terminal to manage various data on the pet wearing device, and therefore, the user's The identity is also tied to the terminal.
  • an embodiment of the present application provides a method for obtaining a right, which may include the following steps:
  • the first terminal acquires preset authority information set by the rights management user.
  • the rights management user refers to the user who currently uses the pet wear device.
  • the user can bind the user's own identification code to the device number of the pet device through registration.
  • the user who is bound to the device number of the pet device is the rights management user.
  • the pet device may authorize the user by sending a password, a verification code, a two-dimensional code, and a barcode to the terminal of the user who uses the pet device.
  • the user can be authenticated and enter the management page to manage the pet device.
  • the pet device can be bound to the user.
  • the bound user is the rights management user and has the highest authority. Assign management to the rights of users who want to make friends with pets.
  • the rights management user can also transfer administrator rights to other users (indicated by the second user). For example, the registered rights management user logs out the current account, allows the second user to re-register the account, and binds to the device number of the pet device, then the second user Become a rights management user.
  • Some feasible implementation manners may also be: The second user registers in the above manner by using a password, a verification code, a two-dimensional code, and a barcode, thereby obtaining authorization.
  • the first terminal is a terminal that the rights management user logs in.
  • the first terminal may be a pet wearing device, or may be a terminal that is connected to the pet wearing device and used to control various data on the pet wearing device. limited.
  • the above-mentioned first terminal does not include the meaning of the quantity and the order, and is only an expression of the terminal to which the rights management user logs in.
  • the preset permission information is permission information preset by the rights management user, and the rights information firstly sets the rights of all other users who want to establish an association relationship with the rights management user by default.
  • the rights management user A sets the preset permission information as: Add a friend, a friend circle is visible, and a comment is not allowed.
  • the privilege acquisition user 8 the privilege acquisition user C, the privilege acquisition user D, and the like want to establish an association relationship with the privilege management user A
  • the privilege management user grants the privilege acquisition user B, the privilege acquisition user C, and the privilege acquisition user D.
  • the same permissions namely adding friends, friends circle visible, not allowing comments.
  • the permission acquisition user B, the permission acquisition user C, and the permission acquisition user D can be added as a friend with the rights management user A, and the rights management user A's friend circle can be read, but the friend circle cannot be commented. .
  • the above-mentioned authority acquisition user refers to: other users who want to establish an association relationship with the rights management user.
  • the user can set the rights of other users according to their own needs and actual conditions.
  • the rights management user may send the rights information to the first terminal, and the rights information may be the rights information of all users who want to associate with the rights management user, or may be set differently according to the category, distance or user type of different users. Permission information.
  • S102 Send preset permission information to the server, and enable the server to generate an access address corresponding to the preset authority information.
  • the first terminal sends the preset permission information set by the rights management user to the server, the server stores the rights information, and generates a corresponding access address according to the rights information, and the server returns the access address to the first terminal. .
  • the subsequent permission obtains the page for the user to access the rights management user through the access address, that is, the permission set by the rights management user.
  • S103 Receive an access address returned by the server.
  • S104 Encode the access address into a two-dimensional code.
  • the access address is encoded into a two-dimensional code, and the two-dimensional code is subsequently decoded to obtain an access address.
  • the two-dimensional code can be saved on the first terminal side, the user can obtain the user ⁇ when the request is associated, and the first terminal displays the two-dimensional code, and the privilege acquisition user acquires the two-dimensional code by identifying the two-dimensional code. It is very convenient to get the authorization by entering the address.
  • the two-dimensional code may also be printed on the first terminal, and the rights acquisition user may directly scan the two-dimensional codes to obtain corresponding rights.
  • S105 Send the two-dimensional code to the terminal of the authority acquiring user, so that the terminal of the authority acquiring user identifies the two-dimensional code, obtains an access address, and accesses the rights management user by using the access address.
  • the step S105 of sending the two-dimensional code to the terminal of the privilege acquisition user includes:
  • the two-dimensional code is sent to the terminal of the authority acquisition user through the wireless network, or the two-dimensional code is obtained by scanning the two-dimensional code of the user's terminal through the authority acquisition.
  • the permission acquisition user After obtaining the two-dimensional code, the permission acquisition user obtains an access address by identifying the two-dimensional code, and accesses the rights management user according to the access address.
  • the method before the step S101 of the first terminal acquiring the preset permission information set by the rights management user, the method further includes:
  • the first terminal sends a device request input by the user to the server.
  • the above request carries the pet wearing device identifier, and sends a device request to the server, so that the server returns the access address of the administrator authority registration page.
  • S1011 Receive an access address of an administrator authority registration page returned by the server.
  • S1012 Generate an initial two-dimensional code according to an access address of the administrator authority registration page, for the user to access, and the user registers as the rights management user.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1
  • an embodiment of the present application provides a method for releasing a permission, including:
  • the server receives the preset authority information sent by the user through the first terminal.
  • the first terminal may be a pet wearing device, or may be worn with a pet.
  • the rights management user is the user currently using the pet wear device.
  • the server generates a corresponding access address according to the preset authority information.
  • the server After receiving the preset permission information, the server stores the preset permission information. Since the permission information has content indicating that other users can access and cannot be accessed, the server generates a corresponding access address according to the content, and the subsequent authority acquires the user. According to the access address, the user data corresponding to the zoom permission can be accessed.
  • S203 The server returns the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address.
  • the server returns the access address to the first terminal, and the first terminal encodes the access address into a two-dimensional code, and the first terminal saves the two-dimensional code locally.
  • the rights management user may display the two-dimensional code to obtain the user's terminal through the first terminal, or directly send the two-dimensional code to the terminal for obtaining the user. In order for the authority acquisition to identify the two-dimensional code through the terminal.
  • the server receives the access authority to obtain an access address sent by the user through the terminal.
  • the access address is obtained by the user acquiring the two-dimensional code generated by the user through the terminal to the first terminal.
  • the terminal of the authority acquisition user decodes the two-dimensional code generated by the first terminal, and the access address included in the two-dimensional code can be identified.
  • S205 The server queries the preset permission information according to the access address, and the corresponding permission page of the preset permission information is released to the authority acquiring user.
  • the server before the step S201 of the server receiving the preset authority information sent by the first terminal, the server further includes:
  • S2010 The server receives a device request sent by the user through the first terminal.
  • the above request carries the pet wearing device identification.
  • the server After receiving the device request sent by the first terminal, the server knows the pet wearing device identifier, and the server can know which pet device needs to be activated, and then returns the corresponding registration page to the user. For details, please continue to refer to Step S2011.
  • S2011 The server determines, according to the pet wearing device identifier, whether the corresponding pet wearing device is activated.
  • the access address of the administrator authority registration page is returned to the first terminal for registration by the user who needs to use the pet device.
  • the identity of the user is bound to the device identifier of the pet wearable device, and the user who binds the user identifier is bound. That is, the rights management user.
  • the first terminal After the server returns the access address of the registration page to the first terminal, the first terminal generates an initial two-dimensional code according to the access address of the administrator authority registration page, for the user to identify the two-dimensional code, and obtain the two-dimensional code.
  • the user accesses the access address, and the user becomes the rights management user after registration.
  • the first terminal may be a pet wearing device, or may be a terminal connected to the pet wearing device, that is, the user may directly register through the pet wearing device, or may use the terminal connected to the pet wearing device to register.
  • the server queries the preset permission information according to the access address, and releases the corresponding permission page with the preset permission information to the permission.
  • the method further includes:
  • S2051 The server acquires the right to acquire the identity of the user.
  • S2052 The server sends the query information to the first terminal of the rights management user.
  • the query information carrying permission is used to obtain the identity of the user, and the identity of the user is used to notify the first terminal of the current authority to obtain the identity of the user, and the query information is used to query whether the rights management user is The preset permission information is modified.
  • the first terminal After receiving the query information of the server, the first terminal obtains the permission in the query information to obtain the identity of the user, and displays the identity of the user to the rights management user.
  • the rights management user may according to actual needs. Determine whether to modify the preset permission information. If the modification is required, the rights management user can obtain different permission information for different users, thereby placing different permissions on different users. For example, the permission to get the user E setting can see the circle of friends, but can not comment. For the permission to get the user F settings, you can see the circle of friends, you can also comment and so on. Refer to steps S2053-S205 4 for the specific modification process.
  • the server receives the permission modification information that is sent by the user through the first terminal and is bound to the identity of the user.
  • the server sends the corresponding permission page of the rights management user according to the access address ⁇
  • the step S205 of the privilege acquisition user includes:
  • the server replaces the modification information with the preset permission information, generates a new access address according to the modification information, and sends the new access address to the rights acquisition user.
  • the permission acquisition user can enter the corresponding permission page according to the new access address.
  • the permission acquisition user E is set to see the circle of friends, but can not comment
  • the permission to get the user E to enter the page can see the circle of friends, but click on the comment, the page does not respond.
  • the permission to get the user E can be set to see the circle of friends, you can also comment, click on the comment, the message box will be generated to give permission to the user E to comment
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the present invention provides a terminal, including:
  • the obtaining unit 30 is configured to acquire preset authority information set by the rights management user.
  • the sending unit 31 is configured to send the preset permission information to the server, and enable the server to generate an access address corresponding to the preset permission information.
  • the receiving unit 32 is configured to receive an access address returned by the server.
  • the encoding unit 33 is configured to encode the access address into a two-dimensional code.
  • the two-dimensional code sending unit 34 is configured to send the two-dimensional code to the terminal of the right acquiring user, so that the terminal of the right acquiring user identifies the two-dimensional code to obtain the access address, and Accessing the corresponding permission page of the rights management user by using the access address.
  • the method further includes:
  • [0091] also includes:
  • the request unit 35 is configured to send a device input request input by the user to the server, where the request is to carry the pet wearable device identifier, so that the server returns the access address of the administrator authority registration page;
  • the request result receiving unit 36 is configured to receive an access address of an administrator authority registration page returned by the server;
  • the initial two-dimensional code generating unit 37 is configured to generate an initial address according to the access address of the administrator authority registration page.
  • the first two-dimensional code is accessed by the user, and the user is registered as the rights management user.
  • the present invention provides a server, including:
  • the receiving unit 40 is configured to receive preset permission information sent by the rights management user through the first terminal;
  • the generating unit 41 is configured to generate a corresponding access address according to the rights information
  • a returning unit 42 is configured to return the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address;
  • the access address receiving unit 43 is configured to receive, by the access authority, an access address sent by the user through the terminal, where the access address is obtained by the user acquiring the two-dimensional code generated by the terminal by the terminal by the terminal.
  • the permission release unit 44 is configured to query the preset permission information according to the access address, and release the permission page corresponding to the preset permission information to the permission acquisition. user.
  • the method further includes:
  • the request receiving unit 45 is configured to receive a device initiating request sent by the user by using the first terminal, where the request to carry the pet wearing device identifier is performed;
  • the determining unit 46 is configured to determine, according to the pet wearing device identifier, whether the corresponding pet wearing device is activated;
  • the instructing unit 47 is configured to: when the determining result of the determining unit is negative, return an access address of the administrator authority registration page to the first terminal, and the first terminal is configured according to the administrator
  • the access address of the rights registration page generates an initial two-dimensional code for the user to access, and the user registers as the rights management user.
  • the method further includes:
  • the obtaining unit 48 is configured to acquire an identity of the user acquiring the identity
  • the query information sending unit 49 is configured to send the query information to the first terminal of the rights management user, where the query information carries the identity to obtain the identity of the user, and the query information is used to query Whether the rights management user modifies the preset permission information;
  • the modification information receiving unit 50 is configured to receive the permission modification information that is sent by the rights management user and is bound by the first terminal to the identity of the user. [0110]
  • the permission release unit 44 is specifically configured to:

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

According to a method for obtaining permission, a method for opening permission, a terminal, and a server which are provided in the present application: a first terminal acquires preset permission information which is configured by a permission management user, sends the preset permission information to a server such that the server generates an access address corresponding to the preset permission information, receives the access address which is returned by the server and encodes the same into a two-dimensional code, and finally sends the two-dimensional code into a terminal of a user obtaining a permission such that the terminal of the user obtaining the permission recognizes the two-dimensional code, obtains the access address, and accesses a permission page corresponding to the permission management user by means of the access address. Thus, the administrator having the highest operating permission of a device worn by a pet may conveniently and quickly provide the most suitable permission to other users according to the needs of various application scenarios, which accelerates the use of the device worn by the pet, provides an extremely convenient function for the pet industry, and fills a gap in the field.

Description

权限获取方法、 权限幵放方法、 终端及服务器 技术领域  Privilege acquisition method, privilege release method, terminal and server
[0001] 本发明涉及通信信息处理技术领域, 尤其涉及一种权限获取方法、 权限幵放方 法、 终端及服务器。  [0001] The present invention relates to the field of communication information processing technologies, and in particular, to a rights acquisition method, a rights release method, a terminal, and a server.
背景技术  Background technique
[0002] 随着人们生活水平的提高, 饲养宠物的家庭越来越多, 有些家庭已经把宠物当 作家庭的一份子了, 给予了很高的优待。 很多宠物主人会为宠物佩戴宠物穿戴 设备。 宠物穿戴设备不仅可以实吋地监控宠物的各项生理及运动指标, 让人们 随吋随地了解宠物的心情情绪及健康状况等, 也可以基于宠物穿戴设备以及与 之配合的服务器及移动智能终端幵发很多功能, 比如宠物的朋友圈, 宠物导航 , 宠物训练, 宠物生活记录等等。  [0002] With the improvement of people's living standards, more and more families are keeping pets. Some families have already treated pets as a part of their families and have given them a high degree of preferential treatment. Many pet owners wear pets for their pets. The pet wearing device can not only monitor the physiological and sports indicators of the pet, but also let people know the mood and health of the pet, and also based on the pet wearing device and the server and mobile intelligent terminal. Send a lot of features, such as pet friends circle, pet navigation, pet training, pet life record and so on.
[0003] 但是, 现有技术中, 有吋候有些功能操作需要授权给其他人, 信息也需要分享 给其他人, 但是, 宠物主往往也要求保留某一些权限, 即也需要保留某些权限 , 不幵放给其他用户, 不允许分享的所有人都有权限操作这些功能或者看到这 些信息。 更进一步, 宠物主要求对不同的用户设置不同的权限。  [0003] However, in the prior art, there are some functions that need to be authorized to others, and the information needs to be shared with other people. However, the pet owner often requires certain rights to be reserved, that is, some rights need to be reserved. Not for other users, everyone who does not allow sharing has the right to operate these features or see this information. Further, the pet owner requires different permissions for different users.
[0004] 然而现有技术中暂吋还没有一种解决以上技术问题的方法。  [0004] However, in the prior art, there is no method for solving the above technical problems.
技术问题  technical problem
[0005] 本发明的主要目的在于提供一种权限管理方法、 服务器及系统, 旨在解决现有 的技术问题, 给其他的用户方便快捷地提供最合适的权限, 加速了宠物穿戴设 备的使用。  [0005] The main object of the present invention is to provide a rights management method, server and system, which aim to solve the existing technical problems, provide other users with the most appropriate rights conveniently and quickly, and accelerate the use of the pet wearing device.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0006] 本申请第一方面提供了一种权限获取方法, 包括: 第一终端获取权限管理用户 设置的预设权限信息; 将所述预设权限信息发送至服务器, 使服务器生成与所 述预设权限信息对应的接入地址; 接收所述服务器返回的接入地址; 将所述接 入地址编码成二维码; 将所述二维码发送至权限获取用户的终端中, 使得所述 权限获取用户的终端识别所述二维码, 获得所述接入地址, 并通过所述接入地 址对所述权限管理用户相应的权限页面进行访问。 The first aspect of the present application provides a method for obtaining a privilege, including: acquiring, by a first terminal, preset permission information set by a rights management user; sending the preset permission information to a server, so that the server generates the The access address corresponding to the permission information is received; the access address returned by the server is received; the access address is encoded into a two-dimensional code; and the two-dimensional code is sent to the terminal of the authority acquiring user, so that the The terminal of the authority obtaining user identifies the two-dimensional code, obtains the access address, and accesses the corresponding permission page of the rights management user by using the access address.
[0007] 进一步的, 所述第一终端获取权限管理用户设置的预设权限信息之前还包括: 第一终端将用户输入的设备幵启请求发送至服务器, 所述幵启请求携带宠物穿 戴设备标识, 使服务器返回管理员权限注册页面的访问地址; 接收所述服务器 返回的管理员权限注册页面的访问地址; 根据所述管理员权限注册页面的访问 地址生成初始二维码, 供所述用户接入, 所述用户注册成为所述权限管理用户  [0007] Further, before the first terminal acquires the preset permission information set by the rights management user, the method further includes: sending, by the first terminal, a device input request input by the user to the server, where the request to carry the pet wearable device identifier And causing the server to return an access address of the administrator authority registration page; receiving an access address of the administrator authority registration page returned by the server; generating an initial two-dimensional code according to the access address of the administrator authority registration page, for the user to pick up Enter, the user is registered as the rights management user
[0008] 本申请第二方面提供一种权限幵放方法, 包括: 服务器接收权限管理用户通过 第一终端发送的预设权限信息; 服务器根据所述预设权限信息生成对应的接入 地址; 服务器将所述接入地址返回至所述第一终端, 使得所述第一终端根据所 述接入地址生成二维码; 服务器接收权限获取用户通过终端发送的接入地址, 所述接入地址由所述权限获取用户通过终端对所述第一终端生成的二维码解码 得到; 服务器根据所述接入地址, 査询预设权限信息, 并将所述权限管理用户 与所述预设权限信息相应的权限页面幵放给所述权限获取用户。 [0008] The second aspect of the present application provides a method for granting a permission, comprising: receiving, by a server, a preset authority information sent by a user through a first terminal; and generating, by the server, a corresponding access address according to the preset authority information; Returning the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address; the server receiving the right to obtain an access address sent by the user through the terminal, where the access address is The privilege acquisition user obtains the two-dimensional code generated by the first terminal by the terminal, and the server queries the preset privilege information according to the access address, and the privilege management user and the preset privilege information. The corresponding permission page is released to the permission to obtain the user.
[0009] 进一步的, 所述服务器接收权限管理用户通过第一终端发送的预设权限信息之 前还包括: 服务器接收用户通过第一终端发送的设备幵启请求, 所述幵启请求 携带宠物穿戴设备标识; 服务器根据所述宠物穿戴设备标识判断对应的宠物穿 戴设备是否幵启, 若否, 则返回管理员权限注册页面的访问地址至所述第一终 端, 由所述第一终端根据所述管理员权限注册页面的访问地址生成初始二维码 , 供所述用户识别所述二维码获取接入地址进行接入, 所述用户注册成为所述 权限管理用户。  [0009] Further, before the server receives the preset permission information sent by the first terminal, the server further includes: the server receiving a device request sent by the user through the first terminal, where the request to carry the pet wearing device Determining, by the server, whether the corresponding pet wearing device is activated according to the pet wearing device identifier, and if not, returning an access address of the administrator authority registration page to the first terminal, according to the management by the first terminal The access address of the privilege registration page generates an initial two-dimensional code, and the user identifies the two-dimensional code to obtain an access address for access, and the user registers as the rights management user.
[0010] 进一步的, 所述服务器根据所述接入地址, 将所述权限管理用户的相应权限页 面幵放给所述权限获取用户之前, 还包括: 服务器获取权限获取用户的身份标 识; 服务器向所述权限管理用户的第一终端发送査询信息, 所述査询信息携带 所述权限获取用户的身份标识, 所述査询信息用于询问所述权限管理用户是否 对所述预设权限信息进行修改; 服务器接收所述权限管理用户通过第一终端发 送的与所述权限获取用户的身份标识绑定的权限修改信息; 所述服务器根据所 述接入地址, 査询预设权限信息, 并将所述权限管理用户与所述预设权限信息 相应的权限页面幵放给所述权限获取用户包括: 服务器将所述修改信息替换所 述预设权限信息, 根据所述修改信息生成新的接入地址, 并将所述新的接入地 址发送给所述权限获取用户。 [0010] Further, the server, according to the access address, before the corresponding permission page of the rights management user is released to the user to obtain the user identity, the server further includes: obtaining the identity of the user by using the server; The first terminal of the rights management user sends the query information, where the query information carries the rights to obtain the identity of the user, and the query information is used to query whether the rights management user has the preset rights information. Performing a modification; the server receives, by the rights management user, permission modification information that is sent by the first terminal and is bound to the identity of the user to obtain the user identity; Querying the access address, querying the preset permission information, and releasing the permission page corresponding to the preset permission information to the permission acquiring user includes: the server replacing the modification information with the pre- The permission information is set, a new access address is generated according to the modification information, and the new access address is sent to the authority acquisition user.
[0011] 本申请第三方面提供一种终端, 包括: 获取单元, 用于第一终端获取权限管理 用户设置的预设权限信息; 发送单元, 用于将所述预设权限信息发送至服务器 , 使服务器生成与所述预设权限信息对应的接入地址; 接收单元, 用于接收所 述服务器返回的接入地址; 编码单元, 用于将所述接入地址编码成二维码; 二 维码发送单元, 用于将所述二维码发送至权限获取用户的终端中, 使得所述权 限获取用户的终端识别所述二维码, 获得所述接入地址, 并通过所述接入地址 对所述权限管理用户相应的权限页面进行访问。  [0011] The third aspect of the present application provides a terminal, including: an obtaining unit, configured to acquire preset permission information set by a rights management user by a first terminal, and a sending unit, configured to send the preset permission information to a server, Having the server generate an access address corresponding to the preset authority information; a receiving unit, configured to receive an access address returned by the server; and a coding unit, configured to encode the access address into a two-dimensional code; a code sending unit, configured to send the two-dimensional code to a terminal of the right acquiring user, so that the terminal of the right acquiring user identifies the two-dimensional code, obtains the access address, and passes the access address Accessing the corresponding permission page of the rights management user.
[0012] 进一步的, 还包括: 幵启请求单元, 用于第一终端将用户输入的设备幵启请求 发送至服务器, 所述幵启请求携带宠物穿戴设备标识, 使服务器返回管理员权 限注册页面的访问地址; 请求结果接收单元, 用于接收所述服务器返回的管理 员权限注册页面的访问地址; 初始二维码生成单元, 用于根据所述管理员权限 注册页面的访问地址生成初始二维码, 供所述用户接入, 所述用户注册成为所 述权限管理用户。  [0012] Further, the method further includes: a requesting unit, configured to send, by the first terminal, a device input request input by the user to the server, where the request for carrying the pet wearing device identifier is performed, and the server returns the administrator authority registration page. The access result receiving unit is configured to receive an access address of the administrator authority registration page returned by the server; and an initial two-dimensional code generating unit, configured to generate an initial two-dimensional according to the access address of the administrator authority registration page The code is accessed by the user, and the user is registered as the rights management user.
[0013] 本申请第四方面提供一种服务器, 包括: 接收单元, 用于服务器接收权限管理 用户通过第一终端发送的预设权限信息; 生成单元, 用于服务器根据所述权限 信息生成对应的接入地址; 返回单元, 用于服务器将所述接入地址返回至所述 第一终端, 使得所述第一终端根据所述接入地址生成二维码; 接入地址接收单 元, 用于服务器接收权限获取用户通过终端发送的接入地址, 所述访问地址由 所述权限获取用户通过终端对所述第一终端生成的二维码解码得到; 权限幵放 单元, 用于服务器根据所述接入地址, 査询预设权限信息, 并将所述权限管理 用户与所述预设权限信息相应的权限页面幵放给所述权限获取用户。  [0013] The fourth aspect of the present application provides a server, including: a receiving unit, configured to receive, by a server, a preset authority information sent by a user through a first terminal; and a generating unit, configured to generate, by the server, the corresponding information according to the rights information An access address, a returning unit, configured to: return, by the server, the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address; and an access address receiving unit, configured to be used by the server Receiving the access address obtained by the user through the terminal, where the access address is obtained by the user acquiring the two-dimensional code generated by the terminal by the terminal, and the permission release unit is configured to be used by the server according to the Entering an address, querying the preset permission information, and releasing the permission page corresponding to the preset authority information to the authority obtaining user.
[0014] 进一步的, 还包括: 幵启请求接收单元, 用于服务器接收用户通过第一终端发 送的设备幵启请求, 所述幵启请求携带宠物穿戴设备标识; 判断单元, 用于服 务器根据所述宠物穿戴设备标识判断对应的宠物穿戴设备是否幵启; 幵启指示 单元, 用于在所述判断单元的判断结果为否吋, 返回管理员权限注册页面的访 问地址至所述第一终端, 由所述第一终端根据所述管理员权限注册页面的访问 地址生成初始二维码, 供所述用户接入, 所述用户注册成为所述权限管理用户 [0014] Further, the method further includes: a request receiving unit, configured to receive, by the server, a device request sent by the user by using the first terminal, where the request for carrying the pet wearing device identifier is used; The pet wearing device identifier determines whether the corresponding pet wearing device is activated; a unit, configured to: when the determining result of the determining unit is negative, returning an access address of the administrator authority registration page to the first terminal, where the first terminal generates an access address according to the administrator authority registration page An initial two-dimensional code for access by the user, the user being registered as the rights management user
[0015] 进一步的, 还包括: 査询信息发送单元, 用于服务器向所述权限管理用户的第 一终端发送査询信息, 所述査询信息携带所述权限获取用户的身份标识, 所述 査询信息用于询问所述权限管理用户是否对所述预设权限信息进行修改; 修改 信息接收单元, 用于服务器接收所述权限管理用户通过第一终端发送的与所述 权限获取用户的身份标识绑定的权限修改信息; 所述权限幵放单元具体用于: 将所述修改信息替换所述预设权限信息, 根据所述修改信息生成新的接入地址 , 并将所述新的接入地址发送给所述权限获取用户。 [0015] Further, the method further includes: a query information sending unit, configured to send, by the server, the query information to the first terminal of the rights management user, where the query information carries the rights to obtain the identity identifier of the user, The query information is used to query whether the rights management user modifies the preset permission information. The modification information receiving unit is configured to receive, by the server, the identity of the user that is sent by the rights management user and sent by the first terminal. Defining the bound permission modification information; the permission release unit is specifically configured to: replace the modification information with the preset permission information, generate a new access address according to the modification information, and generate the new access address The ingress address is sent to the permission to obtain the user.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0016] 本申请提供的权限获取方法、 权限幵放方法、 终端及服务器, 第一终端获取权 限管理用户设置的预设权限信息, 将预设权限信息发送至服务器, 使服务器生 成与预设权限信息对应的接入地址, 接收服务器返回的接入地址并编码成二维 码, 最后将二维码发送至权限获取用户的终端中, 使得权限获取用户的终端识 别所述二维码, 获得所述接入地址, 并通过接入地址对所述权限管理用户相应 的权限页面进行访问。 从而拥有宠物穿戴设备的最高操作权限管理员可以根据 各种运用场景的需要, 给其他的用户方便快捷地提供最合适的权限, 加速了宠 物穿戴设备的使用, 给宠物的饲养业提供了非常便捷的功能, 填补了该领域的 一项空白。  [0016] The privilege acquisition method, the privilege release method, the terminal, and the server provided by the application, the first terminal acquires the preset privilege information set by the privilege management user, and sends the preset privilege information to the server, so that the server generates and presets the privilege The access address corresponding to the information, the access address returned by the server is received and encoded into a two-dimensional code, and finally the two-dimensional code is sent to the terminal of the authority acquisition user, so that the terminal of the authority acquisition user recognizes the two-dimensional code, and obtains the The access address is accessed, and the corresponding permission page of the rights management user is accessed through the access address. Therefore, the highest operating authority of the pet wearing device can provide the most appropriate authority to other users conveniently and quickly according to the needs of various operating scenarios, and accelerate the use of the pet wearing device, which provides a convenient and convenient way for the pet breeding industry. The function fills a gap in the field.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0017] 图 1为本申请的一种权限获取方法的流程图;  1 is a flowchart of a method for acquiring rights according to the present application;
[0018] 图 2为本申请的另一种权限获取方法的流程图; 2 is a flowchart of another method for obtaining rights according to the present application;
[0019] 图 3为本申请的一种权限幵放方法的流程图; [0019] FIG. 3 is a flowchart of a method for issuing rights according to the present application;
[0020] 图 4为本申请的另一种权限幵放方法的流程图; [0021] 图 5为本申请的另一种权限幵放方法的流程图; 4 is a flowchart of another method for granting rights according to the present application; [0021] FIG. 5 is a flowchart of another method for granting rights according to the present application;
[0022] 图 6为本申请的一种终端的结构示意图;  6 is a schematic structural diagram of a terminal according to the present application;
[0023] 图 7为本申请的另一种终端的结构示意图;  7 is a schematic structural diagram of another terminal of the present application;
[0024] 图 8为本申请的一种服务器的结构示意图;  8 is a schematic structural diagram of a server according to the present application;
[0025] 图 9为本申请的另一种服务器的结构示意图。  9 is a schematic structural diagram of another server of the present application.
[0026] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。  The implementation, functional features and advantages of the objects of the present invention will be further described with reference to the accompanying drawings.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0027] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。 [0027] It is to be understood that the specific embodiments described herein are merely illustrative of the invention.
[0028] 在本申请中, 使用宠物穿戴设备的用户会预先幵设一个账户, 幵设账户的具体 过程可以是: 用户通过在服务器侧注册, 将用户的身份标识与宠物穿戴设备的 设备标识进行绑定。 值得指出的是, 宠物穿戴设备的设备号会预先在服务器端 进行保存, 进一步地, 用户在使用宠物穿戴设备吋, 可配套使用终端对宠物穿 戴设备上的各项数据进行管理, 因此, 用户的身份标识也与终端进行绑定。  [0028] In the present application, the user who uses the pet wearing device pre-sets an account, and the specific process of setting the account may be: the user performs registration on the server side, and performs the identity of the user and the device identifier of the pet wearing device. Bind. It is worth noting that the device number of the pet wearing device is saved in advance on the server side. Further, after the user wears the pet wearing device, the terminal can use the terminal to manage various data on the pet wearing device, and therefore, the user's The identity is also tied to the terminal.
[0029] 如图 1所示, 本申请实施例提供一种权限获取方法, 可以包括以下步骤:  [0029] As shown in FIG. 1 , an embodiment of the present application provides a method for obtaining a right, which may include the following steps:
[0030] S101、 第一终端获取权限管理用户设置的预设权限信息。  [0030] S101. The first terminal acquires preset authority information set by the rights management user.
[0031] 上述步骤 S101中, 权限管理用户指的是, 当前使用宠物穿戴设备的用户。 用户 可以通过注册, 将用户自身的身份识别码与宠物设备的设备号进行绑定, 这样 , 与宠物设备的设备号绑定的用户即为权限管理用户。 在实际应用中, 宠物设 备被购置回来后第一次进行使用吋, 第一次使用的用户获取权限管理用户的权 限。 例如, 宠物设备可以通过向使用该宠物设备的用户的终端发送密码、 验证 码、 二维码和条形码等方式对该用户进行授权。 用户获取到密码或验证码后, 通过验证, 进入管理页面对宠物设备进行管理, 即可将宠物设备与用户进行绑 定, 绑定后的用户即为权限管理用户, 拥有最高权限, 可以对其他想与宠物交 朋友的用户的权限进行分配管理。 另一方面, 权限管理用户也可以将管理员权 限转移给其他用户 (以第二用户表示) 。 例如, 注册后的权限管理用户注销当 前的账号, 让第二用户重新注册账号, 与宠物设备的设备号绑定, 则第二用户 成为权限管理用户。 一些可行的实施方式还可以是: 第二用户通过密码、 验证 码、 二维码和条形码等方式, 按照以上方式进行注册, 从而获得授权。 [0031] In the above step S101, the rights management user refers to the user who currently uses the pet wear device. The user can bind the user's own identification code to the device number of the pet device through registration. Thus, the user who is bound to the device number of the pet device is the rights management user. In the actual application, after the pet device is purchased for the first time after being purchased, the user who first uses the right to manage the user's authority. For example, the pet device may authorize the user by sending a password, a verification code, a two-dimensional code, and a barcode to the terminal of the user who uses the pet device. After the user obtains the password or the verification code, the user can be authenticated and enter the management page to manage the pet device. The pet device can be bound to the user. The bound user is the rights management user and has the highest authority. Assign management to the rights of users who want to make friends with pets. On the other hand, the rights management user can also transfer administrator rights to other users (indicated by the second user). For example, the registered rights management user logs out the current account, allows the second user to re-register the account, and binds to the device number of the pet device, then the second user Become a rights management user. Some feasible implementation manners may also be: The second user registers in the above manner by using a password, a verification code, a two-dimensional code, and a barcode, thereby obtaining authorization.
[0032] 第一终端是权限管理用户登陆的终端, 第一终端可以是宠物穿戴设备, 也可以 是与宠物穿戴设备连接, 用于控制宠物穿戴设备上各项数据的终端, 本申请对 此不作限定。 上述第一终端并不包含数量和先后顺序的意思, 仅是对权限管理 用户登陆的终端的一种表达方式。  [0032] The first terminal is a terminal that the rights management user logs in. The first terminal may be a pet wearing device, or may be a terminal that is connected to the pet wearing device and used to control various data on the pet wearing device. limited. The above-mentioned first terminal does not include the meaning of the quantity and the order, and is only an expression of the terminal to which the rights management user logs in.
[0033] 上述预设权限信息是由权限管理用户预先设置的权限信息, 这些权限信息首先 默认对所有的其他想要与权限管理用户建立关联关系的其他用户的权限进行设 置。 举例来说, 权限管理用户 A设置预设权限信息为: 添加好友、 朋友圈可见、 不允许评论。 当权限获取用户8、 权限获取用户 C以及权限获取用户 D等想要与 权限管理用户 A建立关联关系吋, 则权限管理用户均对上述权限获取用户 B、 权 限获取用户 C以及权限获取用户 D授予同样的权限, 即添加好友、 朋友圈可见、 不允许评论。 上述权限获取用户 B、 权限获取用户 C以及权限获取用户 D在获得 预设权限信息后, 即可跟权限管理用户 A添加为好友, 阅读权限管理用户 A的朋 友圈, 但不能对朋友圈进行评论。  [0033] The preset permission information is permission information preset by the rights management user, and the rights information firstly sets the rights of all other users who want to establish an association relationship with the rights management user by default. For example, the rights management user A sets the preset permission information as: Add a friend, a friend circle is visible, and a comment is not allowed. When the privilege acquisition user 8, the privilege acquisition user C, the privilege acquisition user D, and the like want to establish an association relationship with the privilege management user A, the privilege management user grants the privilege acquisition user B, the privilege acquisition user C, and the privilege acquisition user D. The same permissions, namely adding friends, friends circle visible, not allowing comments. After obtaining the preset permission information, the permission acquisition user B, the permission acquisition user C, and the permission acquisition user D can be added as a friend with the rights management user A, and the rights management user A's friend circle can be read, but the friend circle cannot be commented. .
[0034] 上述权限获取用户是指: 想要与权限管理用户建立关联关系的其他用户。  [0034] The above-mentioned authority acquisition user refers to: other users who want to establish an association relationship with the rights management user.
[0035] 本实施例中, 用户可以根据自身的需求以及实际情况, 对其他用户的权限进行 设置。 权限管理用户可以向第一终端发送权限信息, 这些权限信息可以是针对 所有想要与权限管理用户建立关联的用户的权限信息, 也可以是按照不同用户 的类别、 距离或者用户类型分别设置不同的权限信息。  [0035] In this embodiment, the user can set the rights of other users according to their own needs and actual conditions. The rights management user may send the rights information to the first terminal, and the rights information may be the rights information of all users who want to associate with the rights management user, or may be set differently according to the category, distance or user type of different users. Permission information.
[0036] S102、 将预设权限信息发送至服务器, 使服务器生成与预设权限信息对应的接 入地址。  [0036] S102. Send preset permission information to the server, and enable the server to generate an access address corresponding to the preset authority information.
[0037] 第一终端将权限管理用户设置好的预设权限信息发送给服务器, 服务器会存储 这些权限信息, 并根据这些权限信息生成对应的接入地址, 服务器将接入地址 返回给第一终端。 后续权限获取用户通过接入地址即可访问权限管理用户幵放 权限的页面, 即获得权限管理用户设置的权限。  [0037] The first terminal sends the preset permission information set by the rights management user to the server, the server stores the rights information, and generates a corresponding access address according to the rights information, and the server returns the access address to the first terminal. . The subsequent permission obtains the page for the user to access the rights management user through the access address, that is, the permission set by the rights management user.
[0038] S103、 接收服务器返回的接入地址。  [0038] S103. Receive an access address returned by the server.
[0039] S104、 将接入地址编码成二维码。 [0040] 将接入地址编码成二维码, 后续解码二维码吋, 即可得到接入地址。 [0039] S104. Encode the access address into a two-dimensional code. [0040] The access address is encoded into a two-dimensional code, and the two-dimensional code is subsequently decoded to obtain an access address.
[0041] 由于二维码可以在第一终端侧进行保存, 因此, 可以当有请求关联的权限获取 用户吋, 第一终端再将二维码进行显示, 权限获取用户通过识别二维码获取接 入地址, 即可获得授权, 十分方便。  [0041] Since the two-dimensional code can be saved on the first terminal side, the user can obtain the user 吋 when the request is associated, and the first terminal displays the two-dimensional code, and the privilege acquisition user acquires the two-dimensional code by identifying the two-dimensional code. It is very convenient to get the authorization by entering the address.
[0042] 在另一些可实施的方案中, 还可以将二维码印制在第一终端上, 权限获取用户 可以直接扫描这些二维码, 获得相应的权限。 [0042] In other implementations, the two-dimensional code may also be printed on the first terminal, and the rights acquisition user may directly scan the two-dimensional codes to obtain corresponding rights.
[0043] S105、 将二维码发送至权限获取用户的终端中, 使得权限获取用户的终端识别 二维码, 获得接入地址, 并通过接入地址对权限管理用户进行访问。 [0043] S105: Send the two-dimensional code to the terminal of the authority acquiring user, so that the terminal of the authority acquiring user identifies the two-dimensional code, obtains an access address, and accesses the rights management user by using the access address.
[0044] 在一种实施例中, 上述将二维码发送至权限获取用户的终端中的步骤 S105具体 包括: [0044] In an embodiment, the step S105 of sending the two-dimensional code to the terminal of the privilege acquisition user includes:
[0045] 通过无线网络将该二维码发送至权限获取用户的终端, 或者通过权限获取用户 的终端扫描二维码获取该二维码。  [0045] The two-dimensional code is sent to the terminal of the authority acquisition user through the wireless network, or the two-dimensional code is obtained by scanning the two-dimensional code of the user's terminal through the authority acquisition.
[0046] 权限获取用户获取到该二维码后, 会通过识别二维码, 获得接入地址, 根据该 接入地址, 对权限管理用户进行访问。 [0046] After obtaining the two-dimensional code, the permission acquisition user obtains an access address by identifying the two-dimensional code, and accesses the rights management user according to the access address.
[0047] 如图 2所示, 一种实施例中, 上述第一终端获取权限管理用户设置的预设权限 信息的步骤 S101之前还包括: [0047] As shown in FIG. 2, in an embodiment, before the step S101 of the first terminal acquiring the preset permission information set by the rights management user, the method further includes:
[0048] S1010、 第一终端将用户输入的设备幵启请求发送至服务器。 [0048] S1010. The first terminal sends a device request input by the user to the server.
[0049] 上述幵启请求携带宠物穿戴设备标识, 将设备幵启请求发送至服务器, 使服务 器返回管理员权限注册页面的访问地址。 [0049] The above request carries the pet wearing device identifier, and sends a device request to the server, so that the server returns the access address of the administrator authority registration page.
[0050] S1011、 接收服务器返回的管理员权限注册页面的访问地址。 [0050] S1011: Receive an access address of an administrator authority registration page returned by the server.
[0051] S1012、 根据管理员权限注册页面的访问地址生成初始二维码, 供用户接入, 用户注册成为所述权限管理用户。 [0051] S1012: Generate an initial two-dimensional code according to an access address of the administrator authority registration page, for the user to access, and the user registers as the rights management user.
[0052] 上述步骤中, 当用户根据访问地址接入管理员权限注册页面进行注册后, 用户 即成为权限管理用户, 可以对该宠物穿戴设备进行控制, 设置权限信息。 [0052] In the above step, after the user registers according to the access address to access the administrator authority registration page, the user becomes the rights management user, and the pet wearing device can be controlled to set the authority information.
[0053] 实施例二: [0053] Embodiment 2:
[0054] 如图 3所示, 本申请实施例提供一种权限幵放方法, 包括:  [0054] As shown in FIG. 3, an embodiment of the present application provides a method for releasing a permission, including:
[0055] S201、 服务器接收权限管理用户通过第一终端发送的预设权限信息。  [0055] S201. The server receives the preset authority information sent by the user through the first terminal.
[0056] 与实施例一中相同的是, 第一终端可以是宠物穿戴设备, 也可以是与宠物穿戴 设备连接的终端。 权限管理用户是当前使用该宠物穿戴设备的用户。 [0056] The same as in the first embodiment, the first terminal may be a pet wearing device, or may be worn with a pet. The terminal to which the device is connected. The rights management user is the user currently using the pet wear device.
[0057] S202、 服务器根据预设权限信息生成对应的接入地址。 [0057] S202. The server generates a corresponding access address according to the preset authority information.
[0058] 服务器在接收到预设权限信息后会对其进行存储, 由于权限信息带有指示其他 用户可以访问以及不可访问的内容, 服务器会根据这些内容生成对应的接入地 址, 后续权限获取用户根据接入地址即可访问对应幵放权限的用户数据。  [0058] After receiving the preset permission information, the server stores the preset permission information. Since the permission information has content indicating that other users can access and cannot be accessed, the server generates a corresponding access address according to the content, and the subsequent authority acquires the user. According to the access address, the user data corresponding to the zoom permission can be accessed.
[0059] S203、 服务器将接入地址返回至第一终端, 使得第一终端根据接入地址生成二 维码。  [0059] S203. The server returns the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address.
[0060] 服务器将接入地址返回给第一终端, 第一终端会将接入地址编码成二维码, 第 一终端将该二维码保存在本地。 在需要授权给其他用户 (权限获取用户) 吋, 权限管理用户可以通过第一终端将该二维码显示给权限获取用户的终端, 也可 以直接将该二维码发送至权限获取用户的终端, 以便权限获取通过终端对该二 维码进行识别。  [0060] The server returns the access address to the first terminal, and the first terminal encodes the access address into a two-dimensional code, and the first terminal saves the two-dimensional code locally. After the user is required to be authorized to obtain the user, the rights management user may display the two-dimensional code to obtain the user's terminal through the first terminal, or directly send the two-dimensional code to the terminal for obtaining the user. In order for the authority acquisition to identify the two-dimensional code through the terminal.
[0061] S204、 服务器接收权限获取用户通过终端发送的接入地址。  [0061] S204. The server receives the access authority to obtain an access address sent by the user through the terminal.
[0062] 该接入地址由权限获取用户通过终端对第一终端生成的二维码解码得到。 [0062] The access address is obtained by the user acquiring the two-dimensional code generated by the user through the terminal to the first terminal.
[0063] 权限获取用户的终端对第一终端生成的二维码解码, 即可识别出二维码中包含 的接入地址。 [0063] The terminal of the authority acquisition user decodes the two-dimensional code generated by the first terminal, and the access address included in the two-dimensional code can be identified.
[0064] S205、 服务器根据接入地址, 査询预设权限信息, 并将所与所述预设权限信息 的相应权限页面幵放给所述权限获取用户。  [0064] S205. The server queries the preset permission information according to the access address, and the corresponding permission page of the preset permission information is released to the authority acquiring user.
[0065] 如图 4所示, 一个实施例中, 上述服务器接收权限管理用户通过第一终端发送 的预设权限信息的步骤 S201之前还包括: [0065] As shown in FIG. 4, in an embodiment, before the step S201 of the server receiving the preset authority information sent by the first terminal, the server further includes:
[0066] S2010、 服务器接收用户通过第一终端发送的设备幵启请求。 [0066] S2010. The server receives a device request sent by the user through the first terminal.
[0067] 上述幵启请求携带宠物穿戴设备标识。 服务器在接收到第一终端发送的设备幵 启请求吋, 同吋获知宠物穿戴设备标识, 服务器即可获知需要幵启的宠物设备 是哪一个, 后续返回相应的注册页面给用户, 具体请继续参见步骤 S2011。 [0067] The above request carries the pet wearing device identification. After receiving the device request sent by the first terminal, the server knows the pet wearing device identifier, and the server can know which pet device needs to be activated, and then returns the corresponding registration page to the user. For details, please continue to refer to Step S2011.
[0068] S2011、 服务器根据宠物穿戴设备标识判断对应的宠物穿戴设备是否幵启。 [0068] S2011: The server determines, according to the pet wearing device identifier, whether the corresponding pet wearing device is activated.
[0069] S2012、 若服务器判断宠物穿戴设备未幵启, 则返回管理员权限注册页面的访 问地址至第一终端。 [0069] S2012. If the server determines that the pet wearing device is not activated, returning the access address of the administrator authority registration page to the first terminal.
[0070] 如果判断出宠物穿戴设备未幵启, 则表示还没有与宠物穿戴设备绑定的用户, 此吋返回管理员权限注册页面的访问地址给第一终端, 供需要使用宠物设备的 用户进行注册, 注册后用户的身份标识与宠物穿戴设备的设备标识绑定, 并且 该绑定用户标识的用户即为权限管理用户。 [0070] If it is determined that the pet wearing device is not activated, it indicates that the user has not been bound to the pet wearing device. In this case, the access address of the administrator authority registration page is returned to the first terminal for registration by the user who needs to use the pet device. After registration, the identity of the user is bound to the device identifier of the pet wearable device, and the user who binds the user identifier is bound. That is, the rights management user.
[0071] 具体的, 服务器返回注册页面的访问地址给第一终端后, 第一终端会根据管理 员权限注册页面的访问地址生成初始二维码, 供用户识别该二维码, 得到二维 码中的上述访问地址, 用户接入该访问地址, 注册后该用户成为所述权限管理 用户。 [0071] Specifically, after the server returns the access address of the registration page to the first terminal, the first terminal generates an initial two-dimensional code according to the access address of the administrator authority registration page, for the user to identify the two-dimensional code, and obtain the two-dimensional code. In the above access address, the user accesses the access address, and the user becomes the rights management user after registration.
[0072] 上述第一终端可以是宠物穿戴设备, 也可以是与宠物穿戴设备连接的终端, 即 用户可以直接通过宠物穿戴设备进行注册, 也可以用过与宠物穿戴设备连接的 终端进行注册。  [0072] The first terminal may be a pet wearing device, or may be a terminal connected to the pet wearing device, that is, the user may directly register through the pet wearing device, or may use the terminal connected to the pet wearing device to register.
[0073] 如图 5所示, 一个实施例中, 上述服务器根据所述接入地址, 査询预设权限信 息, 并将所与所述预设权限信息的相应权限页面幵放给所述权限获取用户的步 骤 S205之前还包括:  [0073] As shown in FIG. 5, in an embodiment, the server queries the preset permission information according to the access address, and releases the corresponding permission page with the preset permission information to the permission. Before step S205 of acquiring the user, the method further includes:
[0074] S2051、 服务器获取权限获取用户的身份标识。 [0074] S2051: The server acquires the right to acquire the identity of the user.
[0075] S2052、 服务器向权限管理用户的第一终端发送査询信息。 [0075] S2052: The server sends the query information to the first terminal of the rights management user.
[0076] 査询信息携带权限获取用户的身份标识, 权限获取用户的身份标识用于通知所 述第一终端当前权限获取用户的身份, 査询信息用于询问所述权限管理用户是 否对所述预设权限信息进行修改。 [0076] The query information carrying permission is used to obtain the identity of the user, and the identity of the user is used to notify the first terminal of the current authority to obtain the identity of the user, and the query information is used to query whether the rights management user is The preset permission information is modified.
[0077] 当第一终端接收到服务器的査询信息后, 会获取査询信息中的权限获取用户的 身份标识, 将权限获取用户的身份显示给权限管理用户, 权限管理用户可以根 据实际需要, 确定是否对预设权限信息进行修改, 若需要修改, 则权限管理用 户可以针对不同的权限获取用户设置不同的权限信息, 从而对不同用户幵放不 同的权限。 例如, 对权限获取用户 E设置可以看朋友圈, 但不能评论。 对权限获 取用户 F设置可以看朋友圈, 也可以评论等。 具体修改过程参阅步骤 S2053-S205 4。 [0077] After receiving the query information of the server, the first terminal obtains the permission in the query information to obtain the identity of the user, and displays the identity of the user to the rights management user. The rights management user may according to actual needs. Determine whether to modify the preset permission information. If the modification is required, the rights management user can obtain different permission information for different users, thereby placing different permissions on different users. For example, the permission to get the user E setting can see the circle of friends, but can not comment. For the permission to get the user F settings, you can see the circle of friends, you can also comment and so on. Refer to steps S2053-S205 4 for the specific modification process.
[0078] S2053、 服务器接收权限管理用户通过第一终端发送的与所述权限获取用户的 身份标识绑定的权限修改信息。  [0078] S2053. The server receives the permission modification information that is sent by the user through the first terminal and is bound to the identity of the user.
[0079] 进而, 上述服务器根据所述接入地址, 将所述权限管理用户的相应权限页面幵 放给所述权限获取用户的步骤 S205具体包括: [0079] Further, the server sends the corresponding permission page of the rights management user according to the access address幵 The step S205 of the privilege acquisition user includes:
[0080] S2054、 服务器将将所述修改信息替换所述预设权限信息, 根据所述修改信息 生成新的接入地址, 并将所述新的接入地址发送给所述权限获取用户。  [0080] S2054. The server replaces the modification information with the preset permission information, generates a new access address according to the modification information, and sends the new access address to the rights acquisition user.
[0081] 权限获取用户根据新的接入地址即可进入到对应的权限页面。 例如, 权限获取 用户 E被设置可以看朋友圈, 但不能评论, 权限获取用户 E进入到的页面可以看 到朋友圈, 但点击评论, 页面没有反应。 经过修改后, 权限获取用户 E设置可以 看朋友圈, 也可以评论, 点击评论吋, 会生成留言框给权限获取用户 E进行评论  [0081] The permission acquisition user can enter the corresponding permission page according to the new access address. For example, the permission acquisition user E is set to see the circle of friends, but can not comment, the permission to get the user E to enter the page can see the circle of friends, but click on the comment, the page does not respond. After modification, the permission to get the user E can be set to see the circle of friends, you can also comment, click on the comment, the message box will be generated to give permission to the user E to comment
[0082] 本实施例中, 根据权限管理用户的需要, 可以针对不同的权限获取用户设置不 同的权限, 方便用户对不同用户设置不同权限, 权限设置更为灵活, 大大提升 了用户体验。 [0082] In this embodiment, according to the needs of the rights management user, different rights can be obtained for different users, which is convenient for the user to set different rights for different users, and the permission setting is more flexible, thereby greatly improving the user experience.
[0083] 实施例三:  Embodiment 3:
[0084] 如图 6所示, 本发明提供一种终端, 包括:  [0084] As shown in FIG. 6, the present invention provides a terminal, including:
[0085] 获取单元 30, 用于获取权限管理用户设置的预设权限信息。  [0085] The obtaining unit 30 is configured to acquire preset authority information set by the rights management user.
[0086] 发送单元 31, 用于将所述预设权限信息发送至服务器, 使服务器生成与所述预 设权限信息对应的接入地址。  [0086] The sending unit 31 is configured to send the preset permission information to the server, and enable the server to generate an access address corresponding to the preset permission information.
[0087] 接收单元 32, 用于接收所述服务器返回的接入地址。 [0087] The receiving unit 32 is configured to receive an access address returned by the server.
[0088] 编码单元 33, 用于将所述接入地址编码成二维码。 [0088] The encoding unit 33 is configured to encode the access address into a two-dimensional code.
[0089] 二维码发送单元 34, 用于将所述二维码发送至权限获取用户的终端中, 使得所 述权限获取用户的终端识别所述二维码, 获得所述接入地址, 并通过所述接入 地址对所述权限管理用户相应的权限页面进行访问。  [0089] The two-dimensional code sending unit 34 is configured to send the two-dimensional code to the terminal of the right acquiring user, so that the terminal of the right acquiring user identifies the two-dimensional code to obtain the access address, and Accessing the corresponding permission page of the rights management user by using the access address.
[0090] 一个实施例中, 如图 7所示, 还包括:  [0090] In an embodiment, as shown in FIG. 7, the method further includes:
[0091] 还包括:  [0091] also includes:
[0092] 幵启请求单元 35, 用于将用户输入的设备幵启请求发送至服务器, 所述幵启请 求携带宠物穿戴设备标识, 使服务器返回管理员权限注册页面的访问地址; [0092] The request unit 35 is configured to send a device input request input by the user to the server, where the request is to carry the pet wearable device identifier, so that the server returns the access address of the administrator authority registration page;
[0093] 请求结果接收单元 36, 用于接收所述服务器返回的管理员权限注册页面的访问 地址; [0093] The request result receiving unit 36 is configured to receive an access address of an administrator authority registration page returned by the server;
[0094] 初始二维码生成单元 37, 用于根据所述管理员权限注册页面的访问地址生成初 始二维码, 供所述用户接入, 所述用户注册成为所述权限管理用户。 [0094] The initial two-dimensional code generating unit 37 is configured to generate an initial address according to the access address of the administrator authority registration page. The first two-dimensional code is accessed by the user, and the user is registered as the rights management user.
[0095] 实施例四:  [0095] Embodiment 4:
[0096] 如图 8所示, 本发明提供一种服务器, 包括:  [0096] As shown in FIG. 8, the present invention provides a server, including:
[0097] 接收单元 40, 用于接收权限管理用户通过第一终端发送的预设权限信息; [0097] The receiving unit 40 is configured to receive preset permission information sent by the rights management user through the first terminal;
[0098] 生成单元 41, 用于根据所述权限信息生成对应的接入地址; [0098] The generating unit 41 is configured to generate a corresponding access address according to the rights information;
[0099] 返回单元 42, 用于将所述接入地址返回至所述第一终端, 使得所述第一终端根 据所述接入地址生成二维码;  [0099] a returning unit 42 is configured to return the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address;
[0100] 接入地址接收单元 43, 用于接收权限获取用户通过终端发送的接入地址, 所述 访问地址由所述权限获取用户通过终端对所述第一终端生成的二维码解码得到 [0100] The access address receiving unit 43 is configured to receive, by the access authority, an access address sent by the user through the terminal, where the access address is obtained by the user acquiring the two-dimensional code generated by the terminal by the terminal by the terminal.
[0101] 权限幵放单元 44, 用于根据所述接入地址, 査询预设权限信息, 并将所述权限 管理用户与所述预设权限信息相应的权限页面幵放给所述权限获取用户。 [0101] The permission release unit 44 is configured to query the preset permission information according to the access address, and release the permission page corresponding to the preset permission information to the permission acquisition. user.
[0102] 如图 9所示, 一个实施例中, 还包括: [0102] As shown in FIG. 9, in an embodiment, the method further includes:
[0103] 幵启请求接收单元 45, 用于接收用户通过第一终端发送的设备幵启请求, 所述 幵启请求携带宠物穿戴设备标识;  [0103] The request receiving unit 45 is configured to receive a device initiating request sent by the user by using the first terminal, where the request to carry the pet wearing device identifier is performed;
[0104] 判断单元 46, 用于根据所述宠物穿戴设备标识判断对应的宠物穿戴设备是否幵 启; [0104] The determining unit 46 is configured to determine, according to the pet wearing device identifier, whether the corresponding pet wearing device is activated;
[0105] 幵启指示单元 47, 用于在所述判断单元的判断结果为否吋, 返回管理员权限注 册页面的访问地址至所述第一终端, 由所述第一终端根据所述管理员权限注册 页面的访问地址生成初始二维码, 供所述用户接入, 所述用户注册成为所述权 限管理用户。  [0105] The instructing unit 47 is configured to: when the determining result of the determining unit is negative, return an access address of the administrator authority registration page to the first terminal, and the first terminal is configured according to the administrator The access address of the rights registration page generates an initial two-dimensional code for the user to access, and the user registers as the rights management user.
[0106] 一个实施例中, 还包括:  [0106] In an embodiment, the method further includes:
[0107] 获取单元 48, 用于获取权限获取用户的身份标识  [0107] The obtaining unit 48 is configured to acquire an identity of the user acquiring the identity
[0108] 査询信息发送单元 49, 用于向所述权限管理用户的第一终端发送査询信息, 所 述査询信息携带所述权限获取用户的身份标识, 所述査询信息用于询问所述权 限管理用户是否对所述预设权限信息进行修改;  [0108] The query information sending unit 49 is configured to send the query information to the first terminal of the rights management user, where the query information carries the identity to obtain the identity of the user, and the query information is used to query Whether the rights management user modifies the preset permission information;
[0109] 修改信息接收单元 50, 用于接收所述权限管理用户通过第一终端发送的与所述 权限获取用户的身份标识绑定的权限修改信息; [0110] 权限幵放单元 44具体用于: [0109] The modification information receiving unit 50 is configured to receive the permission modification information that is sent by the rights management user and is bound by the first terminal to the identity of the user. [0110] The permission release unit 44 is specifically configured to:
[0111] 将所述修改信息替换所述预设权限信息, 根据所述修改信息生成新的接入地址 , 并将所述新的接入地址发送给所述权限获取用户。  [0111] replacing the modification information with the preset permission information, generating a new access address according to the modification information, and sending the new access address to the rights acquisition user.
[0112] 以上仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本 发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在 其他相关的技术领域, 均同理包括在本发明的专利保护范围内。  The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the present invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the contents of the drawings may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
[权利要求 1] 一种权限获取方法, 其特征在于, 包括:  [Claim 1] A method for obtaining a privilege, comprising:
第一终端获取权限管理用户设置的预设权限信息; 将所述预设权限信息发送至服务器, 使服务器生成与所述预设权限信 息对应的接入地址;  The first terminal acquires preset permission information set by the rights management user; and sends the preset permission information to the server, so that the server generates an access address corresponding to the preset permission information;
接收所述服务器返回的接入地址;  Receiving an access address returned by the server;
将所述接入地址编码成二维码;  Encoding the access address into a two-dimensional code;
将所述二维码发送至权限获取用户的终端中, 使得所述权限获取用户 的终端识别所述二维码, 获得所述接入地址, 并通过所述接入地址对 所述权限管理用户相应的权限页面进行访问。  Transmitting the two-dimensional code to the terminal of the privilege acquisition user, so that the terminal of the privilege acquisition user identifies the two-dimensional code, obtains the access address, and manages the user by using the access address Access the corresponding permissions page.
[权利要求 2] 如权利要求 1所述的权限获取方法, 其特征在于, 所述第一终端获取 权限管理用户设置的预设权限信息之前还包括: 第一终端将用户输入的设备幵启请求发送至服务器, 所述幵启请求携 带宠物穿戴设备标识, 使服务器返回管理员权限注册页面的访问地址 接收所述服务器返回的管理员权限注册页面的访问地址;  [Claim 2] The method for obtaining a privilege according to claim 1, wherein before the first terminal acquires the preset privilege information set by the privilege management user, the method further includes: the first terminal initiating the request of the device input by the user Sending to the server, the request to carry the pet wearing device identifier, causing the server to return the access address of the administrator authority registration page to receive the access address of the administrator authority registration page returned by the server;
根据所述管理员权限注册页面的访问地址生成初始二维码, 供所述用 户接入, 所述用户注册成为所述权限管理用户。  And generating an initial two-dimensional code according to the access address of the administrator authority registration page, for the user to access, and the user is registered as the rights management user.
[权利要求 3] 如权利要求 1所述的权限获取方法, 其特征在于, 所述将所述二维码 发送至权限获取用户的终端中包括:  [Claim 3] The privilege acquisition method according to claim 1, wherein the transmitting the two-dimensional code to the terminal of the privilege acquisition user comprises:
通过无线网络将所述二维码发送至权限获取用户的终端。  The two-dimensional code is transmitted to the terminal of the authority acquisition user through the wireless network.
[权利要求 4] 如权利要求 1所述的权限获取方法, 其特征在于, 所述第一终端为: 宠物穿戴设备; 或者, 与所述宠物穿戴设备连接的终端。  [Claim 4] The method for obtaining a privilege according to claim 1, wherein the first terminal is: a pet wearing device; or a terminal connected to the pet wearing device.
[权利要求 5] —种权限幵放方法, 其特征在于, 包括:  [Claim 5] A method for issuing rights, comprising:
服务器接收权限管理用户通过第一终端发送的预设权限信息; 服务器根据所述预设权限信息生成对应的接入地址;  The server receives the permission to manage the preset permission information sent by the user through the first terminal; the server generates a corresponding access address according to the preset permission information;
服务器将所述接入地址返回至所述第一终端, 使得所述第一终端根据 所述接入地址生成二维码; 服务器接收权限获取用户通过终端发送的接入地址, 所述接入地址由 所述权限获取用户通过终端对所述第一终端生成的二维码解码得到; 服务器根据所述接入地址, 査询预设权限信息, 并将与所述预设权限 信息相应权限页面幵放给所述权限获取用户。 Returning, by the server, the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address; The server receives the access address and the access address sent by the user through the terminal, where the access address is obtained by the user acquiring the two-dimensional code generated by the terminal by the terminal; the server queries according to the access address. Presetting the permission information, and placing the corresponding permission page with the preset permission information to the permission acquisition user.
[权利要求 6] 如权利要求 5所述的权限幵放方法, 其特征在于, 所述服务器接收权 限管理用户通过第一终端发送的预设权限信息之前还包括: 服务器接收用户通过第一终端发送的设备幵启请求, 所述幵启请求携 带宠物穿戴设备标识; The method of claim 5, wherein the server receiving the permission management user before sending the preset permission information by the first terminal further comprises: the server receiving the user sending by using the first terminal The device initiates a request, and the request to carry the pet wearing device identifier;
服务器根据所述宠物穿戴设备标识判断对应的宠物穿戴设备是否幵启 , 若否, 则返回管理员权限注册页面的访问地址至所述第一终端, 由 所述第一终端根据所述管理员权限注册页面的访问地址生成初始二维 码, 供所述用户识别所述二维码获取接入地址进行接入, 所述用户注 册成为所述权限管理用户。  The server determines, according to the pet wearing device identifier, whether the corresponding pet wearing device is activated, and if not, returns an access address of the administrator authority registration page to the first terminal, and the first terminal according to the administrator authority The access address of the registration page generates an initial two-dimensional code for the user to identify the two-dimensional code to obtain an access address for access, and the user is registered as the rights management user.
[权利要求 7] 如权利要求 5所述的权限幵放方法, 其特征在于, 所述服务器根据所 述接入地址, 査询预设权限信息, 并将所与所述预设权限信息相应的 权限页面幵放给所述权限获取用户之前, 还包括: 服务器获取权限获取用户的身份标识; The method of claim 5, wherein the server queries the preset permission information according to the access address, and corresponding to the preset permission information. Before the permission page is released to the user to obtain the user, the method further includes: obtaining the permission of the server to obtain the identity of the user;
服务器向所述权限管理用户的第一终端发送査询信息, 所述査询信息 携带所述权限获取用户的身份标识, 所述査询信息用于询问所述权限 管理用户是否对所述预设权限信息进行修改;  The server sends the query information to the first terminal of the rights management user, where the query information carries the rights to obtain the identity of the user, and the query information is used to query whether the rights management user checks the preset The permission information is modified;
服务器接收所述权限管理用户通过第一终端发送的与所述权限获取用 户的身份标识绑定的权限修改信息。  The server receives the permission modification information that is sent by the rights management user and is bound by the first terminal to the identity of the rights acquisition user.
[权利要求 8] 如权利要求 7所述的权限幵放方法, 其特征在于, 所述服务器根据所 述接入地址, 査询预设权限信息, 并将所与所述预设权限信息的相应 权限页面幵放给所述权限获取用户包括: The method of claim 7, wherein the server queries the preset permission information according to the access address, and corresponding to the preset permission information. The permission page is released to the permission to obtain the user including:
服务器将所述修改信息替换所述预设权限信息, 根据所述修改信息生 成新的接入地址, 并将所述新的接入地址发送给所述权限获取用户。  The server replaces the modification information with the preset permission information, generates a new access address according to the modification information, and sends the new access address to the rights acquisition user.
[权利要求 9] 一种终端, 其特征在于, 包括: 获取单元, 用于获取权限管理用户设置的预设权限信息; 发送单元, 用于将所述预设权限信息发送至服务器, 使服务器生成与 所述预设权限信息对应的接入地址; [Claim 9] A terminal, comprising: The obtaining unit is configured to obtain preset permission information set by the rights management user, and the sending unit is configured to send the preset permission information to the server, so that the server generates an access address corresponding to the preset permission information;
接收单元, 用于接收所述服务器返回的接入地址; 编码单元, 用于将所述接入地址编码成二维码; 二维码发送单元, 用于将所述二维码发送至权限获取用户的终端中, 使得所述权限获取用户的终端识别所述二维码, 获得所述接入地址, 并通过所述接入地址对所述权限管理用户相应的权限页面进行访问。  a receiving unit, configured to receive an access address returned by the server, a coding unit, configured to encode the access address into a two-dimensional code, and a two-dimensional code sending unit, configured to send the two-dimensional code to the privilege acquisition In the terminal of the user, the terminal that obtains the user of the right authority identifies the two-dimensional code, obtains the access address, and accesses the corresponding permission page of the rights management user by using the access address.
[权利要求 10] 如权利要求 9所述的终端, 其特征在于, 还包括: [Claim 10] The terminal according to claim 9, further comprising:
幵启请求单元, 用于将用户输入的设备幵启请求发送至服务器, 所述 幵启请求携带宠物穿戴设备标识, 使服务器返回管理员权限注册页面 的访问地址;  a requesting unit, configured to send a device input request input by the user to the server, where the request to carry the pet wearing device identifier, so that the server returns an access address of the administrator authority registration page;
请求结果接收单元, 用于接收所述服务器返回的管理员权限注册页面 的访问地址;  a request result receiving unit, configured to receive an access address of an administrator authority registration page returned by the server;
初始二维码生成单元, 用于根据所述管理员权限注册页面的访问地址 生成初始二维码, 供所述用户接入, 所述用户注册成为所述权限管理 用户。  The initial two-dimensional code generating unit is configured to generate an initial two-dimensional code for accessing the user according to the access address of the administrator authority registration page, and the user is registered as the rights management user.
[权利要求 11] 如权利要求 9所述的终端, 其特征在于, 所述二维码发送单元具体用 于: 通过无线网络将该二维码发送至权限获取用户的终端。  [Claim 11] The terminal according to claim 9, wherein the two-dimensional code transmitting unit is specifically configured to: send the two-dimensional code to a terminal of the authority acquiring user through a wireless network.
[权利要求 12] —种服务器, 其特征在于, 包括:  [Claim 12] A server, comprising:
接收单元, 用于接收权限管理用户通过第一终端发送的预设权限信息 生成单元, 用于根据所述权限信息生成对应的接入地址;  a receiving unit, configured to receive a preset authority information generating unit that is sent by the right management user by using the first terminal, and configured to generate a corresponding access address according to the rights information;
返回单元, 用于将所述接入地址返回至所述第一终端, 使得所述第一 终端根据所述接入地址生成二维码;  a returning unit, configured to return the access address to the first terminal, so that the first terminal generates a two-dimensional code according to the access address;
接入地址接收单元, 用于接收权限获取用户通过终端发送的接入地址 , 所述访问地址由所述权限获取用户通过终端对所述第一终端生成的 二维码解码得到; 权限幵放单元, 用于根据所述接入地址, 査询预设权限信息, 并将与 所述预设权限信息相应的权限页面幵放给所述权限获取用户。 An access address receiving unit, configured to receive an access address, and obtain an access address sent by the user through the terminal, where the access address is obtained by the user acquiring the two-dimensional code generated by the first terminal by the terminal; The privilege release unit is configured to query the preset privilege information according to the access address, and release the privilege page corresponding to the preset privilege information to the privilege acquisition user.
[权利要求 13] 如权利要求 12所述的服务器, 其特征在于, 还包括: [Claim 13] The server according to claim 12, further comprising:
幵启请求接收单元, 用于接收用户通过第一终端发送的设备幵启请求 , 所述幵启请求携带宠物穿戴设备标识;  The request receiving unit is configured to receive a device request sent by the user by using the first terminal, where the request for carrying the pet wearing device identifier is performed;
判断单元, 用于根据所述宠物穿戴设备标识判断对应的宠物穿戴设备 是否幵启;  a determining unit, configured to determine, according to the pet wearing device identifier, whether the corresponding pet wearing device is activated;
幵启指示单元, 用于在所述判断单元的判断结果为否吋, 返回管理员 权限注册页面的访问地址至所述第一终端, 由所述第一终端根据所述 管理员权限注册页面的访问地址生成初始二维码, 供所述用户接入, 所述用户注册成为所述权限管理用户。  And the indication unit is configured to: when the determination result of the determining unit is negative, return an access address of the administrator authority registration page to the first terminal, where the first terminal registers the page according to the administrator authority The access address generates an initial two-dimensional code for access by the user, and the user registers as the rights management user.
[权利要求 14] 如权利要求 12所述的服务器, 其特征在于, 还包括: [Claim 14] The server according to claim 12, further comprising:
获取单元, 用于获取权限获取用户的身份标识; 査询信息发送单元, 用于向所述权限管理用户的第一终端发送査询信 息, 所述査询信息携带所述权限获取用户的身份标识, 所述査询信息 用于询问所述权限管理用户是否对所述预设权限信息进行修改; 修改信息接收单元, 用于接收所述权限管理用户通过第一终端发送的 与所述权限获取用户的身份标识绑定的权限修改信息。  The obtaining unit is configured to obtain the identity of the user, and the query information sending unit is configured to send the query information to the first terminal of the rights management user, where the query information carries the right to obtain the identity of the user. The query information is used to query whether the rights management user modifies the preset authority information, and the modification information receiving unit is configured to receive the user that is obtained by the rights management user and sent by the first terminal The identity of the identity is bound to the modification information.
[权利要求 15] 如权利要求 14所述的服务器, 其特征在于, 所述权限幵放单元具体用 于: [Claim 15] The server according to claim 14, wherein the authority release unit is specifically configured to:
将所述修改信息替换所述预设权限信息, 根据所述修改信息生成新的 接入地址, 并将所述新的接入地址发送给所述权限获取用户。  And replacing the modified information with the preset permission information, generating a new access address according to the modification information, and sending the new access address to the rights acquisition user.
PCT/CN2017/097717 2017-02-13 2017-08-16 Method for obtaining permission, method for opening permission, terminal, and server WO2018145432A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710076079.XA CN106850636A (en) 2017-02-13 2017-02-13 A kind of authority acquiring method, authority opening method, terminal and server
CN201710076079.X 2017-02-13

Publications (1)

Publication Number Publication Date
WO2018145432A1 true WO2018145432A1 (en) 2018-08-16

Family

ID=59127916

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/097717 WO2018145432A1 (en) 2017-02-13 2017-08-16 Method for obtaining permission, method for opening permission, terminal, and server

Country Status (2)

Country Link
CN (1) CN106850636A (en)
WO (1) WO2018145432A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2581105A (en) * 2019-10-14 2020-08-05 Jiangsu Jinheng Information Tech Co Ltd Page accessing method and system for terminal

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850636A (en) * 2017-02-13 2017-06-13 深圳市沃特沃德股份有限公司 A kind of authority acquiring method, authority opening method, terminal and server
CN107277076B (en) * 2017-08-21 2020-07-14 中国科学院文献情报中心 Network authority authentication method and device
CN108847971A (en) * 2018-06-07 2018-11-20 深圳市沃特沃德股份有限公司 Pet wearable device data managing method and system, back-stage management component
CN108737194B (en) * 2018-06-07 2021-11-09 深圳市沃特沃德信息有限公司 Data management method and system for pet wearable device and background management component
CN109697357A (en) * 2018-12-27 2019-04-30 珠海格力电器股份有限公司 System permission setting method, the management system of dynamic extending
CN110083784A (en) * 2019-04-16 2019-08-02 苏州慧工云信息科技有限公司 Data processing method and device, server
CN113359526A (en) * 2021-06-10 2021-09-07 上海钛米机器人股份有限公司 Authority data processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978537A (en) * 2014-04-01 2015-10-14 中国移动通信集团公司 Document access authority configuration method and device
CN105242550A (en) * 2015-09-06 2016-01-13 康佳集团股份有限公司 Intelligent household automatic connection method based on network two-dimensional code and system thereof
CN105426743A (en) * 2015-10-28 2016-03-23 腾讯科技(深圳)有限公司 Account permission authorization method, account login method, server and client
CN106357653A (en) * 2016-09-27 2017-01-25 深圳市欧瑞博电子有限公司 Control authority sharing method and system
CN106850636A (en) * 2017-02-13 2017-06-13 深圳市沃特沃德股份有限公司 A kind of authority acquiring method, authority opening method, terminal and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743890B (en) * 2016-01-27 2020-07-17 上海优扬新媒信息技术有限公司 Authority information generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978537A (en) * 2014-04-01 2015-10-14 中国移动通信集团公司 Document access authority configuration method and device
CN105242550A (en) * 2015-09-06 2016-01-13 康佳集团股份有限公司 Intelligent household automatic connection method based on network two-dimensional code and system thereof
CN105426743A (en) * 2015-10-28 2016-03-23 腾讯科技(深圳)有限公司 Account permission authorization method, account login method, server and client
CN106357653A (en) * 2016-09-27 2017-01-25 深圳市欧瑞博电子有限公司 Control authority sharing method and system
CN106850636A (en) * 2017-02-13 2017-06-13 深圳市沃特沃德股份有限公司 A kind of authority acquiring method, authority opening method, terminal and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2581105A (en) * 2019-10-14 2020-08-05 Jiangsu Jinheng Information Tech Co Ltd Page accessing method and system for terminal
GB2581105B (en) * 2019-10-14 2021-08-18 Jiangsu Jinheng Information Tech Co Ltd Page accessing method and system for terminal

Also Published As

Publication number Publication date
CN106850636A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
WO2018145432A1 (en) Method for obtaining permission, method for opening permission, terminal, and server
RU2327233C2 (en) System of data transmission, device of content processing and method of data transmission
ES2749207T3 (en) Method and apparatus for providing data from the Internet of things
CA3064986C (en) Trustworthy data exchange using distributed databases
CN103248680B (en) Method and system for sharing network disk data
JP2014042260A5 (en) Management system, registration method, and program
RU2012108120A (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD AND COMPUTER PROGRAM
WO2018161807A1 (en) User identity verification method and apparatus
RU2012151827A (en) METHOD FOR MANAGEMENT AND LIMITATION OF READABILITY OF ELECTRONIC DOCUMENTS
JP4382754B2 (en) A premium-based recommendation method for content objects that can be downloaded to mobile radio terminals
JP2015187839A5 (en) Tag management system, tag management method, information providing system, information providing method, and devices used therefor
EP3264315B1 (en) Information processing apparatus and method, and program
CN107567009A (en) Bluetooth equipment shares request and control method and electronic equipment
KR20180067183A (en) System and Method for Creating and Disposal of Identification associated with User Bio Information
CN105488875B (en) A kind of gate inhibition's verification method and device
JP2014534515A5 (en)
JP2017535122A (en) Sensor code verification processing method, apparatus, network platform device, and Internet gateway of things
JP2020091850A5 (en)
US20200356641A1 (en) Method of and system for providing access to access restricted content to a user
JP6171988B2 (en) Authentication information management system, authentication information management device, and program
CN109784084B (en) Data transaction method, device and system
RU2005120425A (en) METHOD FOR ACCESS TO CORPORATE NETWORK OBJECTS
JP2008293153A5 (en)
WO2015198874A1 (en) Device and method for managing medication history information, terminal device and method for registration, and program
JP2019054363A5 (en)

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: 17895841

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: 17895841

Country of ref document: EP

Kind code of ref document: A1