WO2018210118A1 - Authorization sharing method for smart home, server, and readable storage medium - Google Patents

Authorization sharing method for smart home, server, and readable storage medium Download PDF

Info

Publication number
WO2018210118A1
WO2018210118A1 PCT/CN2018/084906 CN2018084906W WO2018210118A1 WO 2018210118 A1 WO2018210118 A1 WO 2018210118A1 CN 2018084906 W CN2018084906 W CN 2018084906W WO 2018210118 A1 WO2018210118 A1 WO 2018210118A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
authorization
smart home
control
request
Prior art date
Application number
PCT/CN2018/084906
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 WO2018210118A1 publication Critical patent/WO2018210118A1/en

Links

Classifications

    • 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
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • 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
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Definitions

  • the present invention relates to the field of smart home control technologies, and in particular, to a smart home sharing authorization method, a server, and a readable storage medium.
  • the binding authorization method adopted by the current smart home is generally an exclusive authorization, that is, when the smart home is bound to a certain client, other users cannot perform binding authorization. If other users are required to obtain the control authorization of the smart home, the bound client must actively unbind and bind the binding authorization to another client, and cannot implement multi-person control of the smart home at the same time. In this way, when there are many people who have the need to use the smart home at the same time, it is very inconvenient to control through the client, and the user experience is poor.
  • the main purpose of the present invention is to provide a smart home sharing authorization method, which aims to solve the technical problem that the smart home cannot share the authorization.
  • the present invention provides a sharing authorization method, which is characterized in that the smart home sharing authorization method includes
  • the server When the server receives the smart home home control request sent by the client, the server obtains the identity number of the client;
  • the home control request is opened to the client to control the smart home.
  • the smart home sharing authorization method proposed by the present invention through the interaction between the smart home control software, the server and the client, after the smart home has a management client, other users who need to obtain the smart home authorization can issue an application, the smart home
  • the software matches different clients by ID and sends friend requests.
  • the management client chooses to give other clients smart home authorization according to the actual situation, thereby achieving the purpose of sharing authorization for the smart home. It realizes that multiple users can control the same smart home device, which facilitates the common use of smart home by multiple users.
  • FIG. 1 is a schematic structural diagram of a hardware device involved in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an application carrier of a smart home sharing authorization method according to the present invention.
  • FIG. 3 is a schematic flowchart of a first embodiment of a smart home sharing authorization method according to the present invention.
  • step S30 in FIG. 3 is a detailed flowchart of an embodiment of step S30 in FIG. 3;
  • FIG. 5 is a detailed flowchart of an embodiment of step S40 in FIG. 3;
  • FIG. 6 is an overall flowchart of a preferred embodiment of a smart home sharing authorization method according to the present invention.
  • FIG. 1 is a schematic structural diagram of a hardware operating environment involved in an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture). Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • MP3 Motion Picture Expert Compress Standard Audio Level 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3 Players
  • portable computers and other portable terminal devices with display functions may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture). Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, Wi-Fi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • a network communication module may be included in the memory 1005 as a computer storage medium.
  • a user interface module may be included in the memory 1005 as a computer storage medium.
  • a smart home control application may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client;
  • the processor 1001 can be used to call the share authorization program stored in the memory 1005 and perform the following operations:
  • the operation related information includes at least the user identifier of the client, or the time, location information or type of the network operation initiation ;
  • the network operation is controlled according to the biometrics returned by the client and the operation related information.
  • FIG. 2 is a schematic structural diagram of a smart home sharing authorization method application carrier.
  • the components of the smart home sharing authorization method application carrier may include server A, home smart B, and client C.
  • the client 30 includes a management client C1 and a plurality of general clients C2.
  • Figure 2 illustrates the various components of the method, but it should be understood that not all illustrated components are required.
  • Server A is used to handle various requests from clients and to connect the client to the furniture terminal.
  • Client requests that the server can process include control requests from the client to the smart home, add-on requests from the client to the management client, and authorization requests from the client to the management client.
  • the server forwards the request to the corresponding destination and returns the feedback to the client (if there is feedback).
  • Smart B consists of a controllable smart home.
  • smart homes include air conditioners (such as wall-mounted air conditioners, vertical cabinet air conditioners, central air conditioners), refrigerators, and water heaters.
  • the smart home receives the client's control commands through the server.
  • the user sends various operating instructions to control the smart home through the smart home control software installed on the client C.
  • Client C includes networked mobile devices such as mobile phones, tablet computers, and home computers. After installing the corresponding smart home control software and obtaining control authorization, the user can control smart home B on client C.
  • the client C includes two types: a management client C1 and a general client C2 (hereinafter referred to as a client).
  • the management client C1 has the right to share its control rights to other clients and manage their sharing authorization.
  • the user can become the management client C1 by the method given by the manufacturer (such as registration by the verification code or QR code on the smart home). Once the user registers and manages the client successfully, it is bound.
  • the management client actively unbinds, other users can no longer register the management client, that is, a smart home only has a unique management client.
  • the other client C2 can obtain the control right of the smart home B by applying for authorization to the management client C1 (requires obtaining the association relationship with the management client first).
  • the smart home sharing authorization method includes:
  • Step S10 When the server receives the smart home B control request sent by the client, the server obtains the identification number of the client C.
  • the identification number server A is a set of code numbers for identifying the identity of the client C.
  • the server A can use the network IP address, the client device code (such as the mobile phone serial number), and the account of the login software (such as QQ, WeChat account). ) to identify.
  • Server A can obtain the identification number of the client C through the network communication technology, thereby obtaining the identification number of the client C; when receiving the request from the client C, the server A identifies the client by the identification number of the client C. End, just like the machine can obtain the information of a person through the ID number, the server A identifies and obtains the information of the client C by the identification number.
  • Step S20 determining, according to the identification number of the client C, whether the client C opens the control authority of the smart home;
  • the server A first detects whether the current client is the management client C1.
  • the management client C1 is the only smart home manager who can actively bind the home control authority when the smart home is initially in the state.
  • the management client C1 has all the control rights of the smart home B, and can authorize and manage the subsequent desire to obtain intelligence. Client with home control permissions. Smart Home B can only bind one client to manage the client and the management client cannot be replaced unless the management client actively unbinds and the other client is bound to the management client.
  • the server A compares the identification number of the client C2 with the open permission list of the smart device stored in the server, so that the authorization of the client C2 can be identified. Information, including authorized devices, specific permissions granted, etc.
  • Step S30 when the client C2 does not open the control authority of the smart home, obtain the authorization request sent by the client C2 to the preset management client C1, and forward the authorization request to the management client C1;
  • the server A compares the identity list with the client C2 and finds that the matching fails (that is, the client does not obtain the corresponding control authorization)
  • the server A does not send the control request of the client C2 to the smart.
  • Home control software will only give the client C2 a hint feedback.
  • Client C2 has been informed that its control request cannot be implemented due to insufficient permissions and prompts the client how to obtain authorization.
  • the client C2 issues an authorization request by prompting, and the server A receives its request and forwards it to the management client C1 to let it grant authorization.
  • Step S40 When receiving the authorization pass information fed back by the management client C1 based on the authorization request, the home control request is opened to the client C2 to control the control authority of the smart home B.
  • the server A after receiving the feedback information of the administrator client C1 based on the user authorization request, the server A performs an action corresponding to or not giving the control right according to the result of the feedback information.
  • the client C2 When the server A receives the feedback of the consent authorization, the client C2 is added to the authorization list, so that the client C2 does not need to request the authorization again when requesting to control the smart home next time, so that the corresponding authority can be directly performed. .
  • the corresponding authority is opened to the client C2, and the client C2 is allowed to perform corresponding control operations on the smart home B. This completes the sharing authorization for the smart home, so that multiple users can have control rights to the same smart home B without the need for other clients to unbind the authorization, so as to facilitate different scenarios (such as family, The hotel and other scenes) better use of smart home B.
  • the method further includes the step S50, when the client opens the control right of the smart home, the smart home control right is opened to the client.
  • the method includes:
  • the authorization message is sent to the client C2, where the client outputs the authorization confirmation message, where the authorization confirmation message includes one or more of the client's control authority information, smart home information, and client information.
  • Server A will feed back the authorization confirmation message to client C2 after the administrator client C1 confirms the authorization. Enables client C2 to obtain the desired result through feedback information.
  • the feedback will inform the client of the specific approval of C2 for authorization. For example, the client user applies for multiple smart home authorizations at a time, or the user applies for higher control rights (for example, all control rights of an air conditioner include adjusting temperature, adjusting mode, setting wind speed, etc.).
  • the administrator client C1 gives corresponding control rights to all or part of the smart home of the client C2 according to actual needs.
  • the final feedback information sent by the server A to the client C2 informs the user of the corresponding authorization result of the authorization request, so that the user can give an appropriate instruction according to the authorization result.
  • a second embodiment for sharing authorization is proposed, and after step S30, the method includes:
  • the server A determines that the client C2 does not obtain the control authority of the smart home B, and does not respond to the smart home control request sent by the client C2. .
  • the client C2 is replied that it must obtain the authorization of the administrator before the smart home B can be controlled.
  • the client C2 sends an application authorization process to guide the user to apply for the smart home control authority that he or she wants according to the process step. If the client user wants to control the smart home B for illegal purposes, then the user will not be able to pass the authorization step (the administrator will identify the applicant to decide whether to finally approve the authorization), and will not get the smart home B. Control permissions. Therefore, the normal use of the smart home B and the safety of the home environment are also ensured.
  • the operation procedure of the application authorization sent by the server A may guide the user to obtain the control authority of the smart home B through the application method.
  • the user can apply for the control permission of the smart home B that is to be controlled according to the operation flow of the received application authorization.
  • Server A will send the operation flow when the client C2 first applies for authorization, and the subsequent process can be repeatedly viewed at any time, so that the users of such smart home B who have never used it can quickly learn how to use it.
  • the client C2 sends the smart home authorization application the request is sent to the management client C1, and the client prompts the user to wait for the authorization result, so as to achieve the effect of the people and ensure the ease of use of the smart home sharing authorization method. .
  • the operation flow information includes an authorization application operation flow about the smart home
  • the step of sending the operation flow information of the application authorization to the client includes:
  • Step S31 detecting whether the client and the management client have a preset association relationship
  • Step S32 If the client has a preset association relationship with the management client, the client sends an authorization application operation flow of the smart home device to the client, and the client requests the authorization request based on the authorization application operation process.
  • the server A After detecting that the client is not authorized, the server A checks whether the client C2 is in the association list of the management client C1, that is, whether the current client C2 has an association relationship with the management client C1.
  • the user can log in to the smart home control software (for example, QQ, WeChat) through the corresponding third-party software social account, and add the corresponding account association relationship (for example, QQ to add a friend) through the third-party social software account.
  • the relationship includes relationships such as friends, family, colleagues, work partners, etc. that may need to control the management of the smart home B bound by the client C1.
  • the client C2 When it is checked that the client C2 has an association relationship with the management client C1 (added to the association list of the associated account), the client C2 can issue the authorization request of the smart home B to the management client C1.
  • the management client C1 can also conveniently and efficiently manage the sharing authorization of the smart home B to which it is bound through the association list (for example, which smart homes need to be authorized to colleagues, and which smart homes only share to the family). And it can filter out the strange request of the stranger to manage the smart home bound by the client C1, and improve the security and convenience.
  • the server A checks the association relationship between the client C1 and the management client C2. If the client C2 does not have a relationship with the management client C1, the server A prohibits the client C2 from applying for the management client C1 to be tied.
  • Set smart home B The client C2 must be associated with the management client C1 before it can further apply for the control rights of the smart home B to which it is bound.
  • the smart home control software can directly log in through the common third-party social software account (such as QQ, WeChat), and also eliminates the need to repeatedly register the account when the user uses, simplifying the difficulty of use.
  • the operation flow information further includes an association request operation flow for establishing an association relationship with the management client.
  • the method further includes:
  • step S33 if it is detected that the client C2 does not have a preset association relationship with the management client C1, the client C2 sends an association request operation flow prompting to establish an association relationship with the management client C1.
  • the server A detects that the client C2 does not exist in the association list of the management client, the client is prohibited from applying for the control permission of the smart home B. However, the user can first establish an association relationship with the management client C1, and then apply for the smart home B control authority.
  • the server A detects that the client C2 does not have a relationship with the management client C1, the server A sends a prompt to the client C2 to assist the client to establish an association relationship with the management client C1.
  • the client C2 selects the corresponding association relationship (such as a friend, family member, etc.) according to its actual situation, and facilitates the application of the smart home B control authority to the management client C1 in the future, thus increasing the ease of use of the smart home sharing authorization method.
  • Step S34 when receiving the association request sent by the client C2 based on the association request operation flow, forwarding the association request to the management client C1; after receiving the association confirmation information of the association request by the management client C1, adding the client C2 Steps of detecting whether the client C2 and the management client C1 have a preset association relationship are performed in the association relationship table to the management client C1;
  • the server A After the client C2 issues a request to add an association relationship to the management client C1 according to the prompt given by the server A, the server A receives the request and then forwards the request to the corresponding management client C1.
  • the management client C1 selects the client C2 to be added to the corresponding association relationship according to the social relationship with the client C2 in real life.
  • the server A stores the client C2 in the association list of the management client C1, thereby subsequently applying for the management smart client of the client C1.
  • the authorization request can be directly sent to the management client C1, making it easier for the user to use.
  • Server A guides the client C2 to add the management client C1 as an association relationship, so that the subsequent application of the smart home control authority and the use of the smart home is more convenient and secure, and the management client C1 can also delete or add the corresponding association according to actual needs. Manage your own authorization.
  • step S32 includes:
  • the step of obtaining an authorization request of the client based on the operation process information feedback includes:
  • server A When the server A detects that the client C2 has the association relationship with the management client C1 (including the previously acquired and just added), it can be determined that the client C2 has a certain social relationship with the management client C1, thereby allowing the client C2. Apply for the control permission of the smart home B bound to the client C1.
  • the server A displays the list of the smart home B bound to the management client C1 to the client C2, and the client C2 can apply for the control permission of one or more target homes according to actual needs, and select the permission size of the application according to the requirement (right The degree of control of the smart home), then server A obtains the authorization request sent by the client C2.
  • the server A prevents the smart home B binding information of the management client C1 from being illegally obtained and utilized by the stranger by confirming the correlation between the client C1 and the management client C2.
  • the operation for applying for authorization is very simple and easy to operate.
  • the method includes:
  • step S35 when receiving the rejection authorization information fed back by the management client C1, the client C2 is prohibited from entering the smart home control interface.
  • the management client C1 When the management client C1 does not want the client C2 to obtain the control right of the smart home requested by the client, it can refuse to authorize the client C2. After receiving the rejection message sent by the management client, the server A will prohibit the client C2 from entering the control interface of the smart home B (using the smart home control software to enter the control interface to control the smart home B), and prompting the client C2 Not gaining control.
  • Step S40 If the consent authorization information is received, the home control request is opened to the client to control the smart home.
  • the server A After the management client C1 agrees to authorize, the server A will open the corresponding smart home control right to the client C2, and after the control is opened, the client C2 can control the smart home B at any time.
  • the server A will prevent the client C2 from entering the control interface of the smart home B according to the rejection information fed back by the management client C1, so as to ensure the control power and security of the managed client C1 to the managed smart home B.
  • step S41 includes:
  • the client C2 is changed to the authorized client, and the client C2 is allowed to enter the control interface of the smart home B through the smart home software, so that the client C2 can control the corresponding smart home B in the control interface.
  • the server A After receiving the consent authorization information fed back by the management client C1, the server A first adds the client C2 to the authorization list, so that when the client C2 subsequently controls the smart home B, the control can be directly controlled by the control authority. Home. Then, the control interface of the smart home B is opened to the client C2, and the client C2 can enter the control interface of the smart home B through the smart home control software. The control operation of the smart home B is completed in the control interface. So far, a smart home sharing authorization process has been completed, which has achieved the goal of multi-person simultaneous acquisition of smart home control authorization.
  • the smart home sharing authorization method includes:
  • Step S10 When the server receives the client control request, obtain the identity number of the client;
  • Step S20 determining, according to the identity identification number of the client, whether the client opens the control authority of the smart home;
  • step S50 the smart home control authority is issued to the client;
  • step S30 sending the operation flow information of the application authorization to the client, and then forwarding the received request to the management client;
  • Step 31 Determine whether the client and the management client have an association relationship
  • step S33 receives an application for adding the association relationship of the management client to the client, and forwards the application to the management client;
  • step S32 If the management client agrees to add the association relationship, proceed to step S32. If the relationship is not agreed to be added, step S60, the client is prohibited from applying for the smart home authorization;
  • step S32 the smart home authorization request sent by the client is received and forwarded to the management client;
  • step 35 the client is prohibited from entering the smart home control interface, and the client cannot perform control operations on the smart home;
  • step S40 the client is allowed to enter the control interface through the smart home software
  • step S41 the client can control the interface to perform operation control on the smart home.
  • the invention also provides a device for sharing authorization in a smart home.
  • the device for sharing authorization based on the smart home includes: a memory, a processor, and a sharing authorization program stored on the memory and operable on the processor, where the sharing authorization program is implemented by the processor The sharing authorization method step.
  • the method for implementing the smart home sharing authorization program that is executed when the prompt information is executed on the processor may refer to various embodiments of the method for sharing authorization according to the present invention, and details are not described herein again.
  • embodiments of the present invention also provide a computer readable storage medium.
  • the computer readable storage medium of the present invention stores a smart home sharing authorization program, and the smart home sharing authorization program is executed by the processor to implement the steps of the smart home sharing authorization method as described above.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

Disclosed in the present invention are an authorization sharing method for a smart home, a server, and a readable storage medium. The method comprises the following steps: when a smart home control request sent by a client is detected, obtaining the identification number of the client; checking whether the client has open control permissions; if the client has open control permissions, allowing the client to control the smart home; and if the client does not have open control permissions, prompting the client to establish an association with a management client first, and then apply to the management client for control authorization. The present invention enables multiple people to obtain control permissions of a smart home at the same time, and greatly improves the convenience of using the smart home especially when multiple people use the smart home.

Description

智能家居的分享授权方法、服务器及可读存储介质  Smart home sharing authorization method, server and readable storage medium
本申请要求于2017年5月17日提交中国专利局、申请号为201710350252.0、发明名称为“智能家居的分享授权方法、服务器及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of the Chinese patent application filed on May 17, 2017, the Chinese Patent Office, the application number is 201710350252.0, and the invention name is "smart home sharing authorization method, server and readable storage medium". The citation is incorporated in the application.
技术领域Technical field
本发明涉及智能家居控制技术领域,尤其涉及一种智能家居的分享授权方法、服务器及可读存储介质。The present invention relates to the field of smart home control technologies, and in particular, to a smart home sharing authorization method, a server, and a readable storage medium.
背景技术Background technique
随着手机和智能家居的技术发展,越来越多的智能家居产品出现在人们的生活中,用户通过手机绑定授权来控制智能家居,从而更方便的在生活中使用智能家居,例如:在到家之前通过控制电饭煲来定时煮饭,通过控制空调来提前获得理想的空气环境等;或者出门以后发现忘记关闭家电时,不需要再返回家去关闭,只需在手机上操作关闭即可。With the development of mobile phones and smart home technology, more and more smart home products appear in people's lives. Users use mobile phone binding authorization to control smart homes, which makes it easier to use smart homes in their lives. For example: Before arriving home, control the rice cooker to cook the rice regularly, control the air conditioner to get the ideal air environment in advance, or when you find that you forget to turn off the home appliance after going out, you don't need to go back home to close it, just turn it off on the phone.
但是,目前的智能家居所采用的绑定授权方式一般为排他性授权,即当智能家居绑定某一客户端之后,其他用户则无法再进行绑定授权。若想要其他用户获得智能家居的控制授权,则必须绑定的客户端主动解除绑定将绑定授权让给另一个客户端,并且无法实现多人同时控制智能家居。如此一来当有多人对智能家居同时都有使用需求时,则通过客户端来控制就十分不便,用户体验较差。However, the binding authorization method adopted by the current smart home is generally an exclusive authorization, that is, when the smart home is bound to a certain client, other users cannot perform binding authorization. If other users are required to obtain the control authorization of the smart home, the bound client must actively unbind and bind the binding authorization to another client, and cannot implement multi-person control of the smart home at the same time. In this way, when there are many people who have the need to use the smart home at the same time, it is very inconvenient to control through the client, and the user experience is poor.
发明内容Summary of the invention
本发明的主要目的在于提供一种智能家居分享授权方法,旨在解决智能家居无法分享授权的技术问题。The main purpose of the present invention is to provide a smart home sharing authorization method, which aims to solve the technical problem that the smart home cannot share the authorization.
为实现上述目的,本发明提供的一种分享授权方法,其特征在于,所述智能家居分享授权方法包括To achieve the above objective, the present invention provides a sharing authorization method, which is characterized in that the smart home sharing authorization method includes
当服务器接收到客户端发送的智能家居家居控制请求时,获取客户端的身份识别号;When the server receives the smart home home control request sent by the client, the server obtains the identity number of the client;
根据客户端的身份识别号,判断客户端是否开放智能家居的控制权限;Determine whether the client opens the control right of the smart home according to the identification number of the client;
当客户端没有开放智能家居的控制权限时,获取客户端向预设的管理客户端发送的授权请求,并将授权请求转发至管理客户端;When the client does not open the control right of the smart home, obtain an authorization request sent by the client to the preset management client, and forward the authorization request to the management client;
当接收到管理客户端基于授权请求反馈的授权通过信息时,对客户端开放家居控制请求对应智能家居的控制权限。When receiving the authorization pass information of the management client based on the authorization request feedback, the home control request is opened to the client to control the smart home.
本发明提出的种智能家居分享授权办法,通过智能家居控制软件、服务器与客户端之间的互动,在智能家居有一个管理客户端之后,其他需要获得智能家居授权的用户可以发出申请,智能家居软件通过ID匹配不同客户端并发送好友请求,加为好友后,由管理客户端根据实际情况来选择给予其他客户端智能家居授权,从而达到对智能家居分享授权的目的。实现了多个用户可对同一个智能家居设备的进行控制,方便了多个用户对智能家居的共同使用。The smart home sharing authorization method proposed by the present invention, through the interaction between the smart home control software, the server and the client, after the smart home has a management client, other users who need to obtain the smart home authorization can issue an application, the smart home The software matches different clients by ID and sends friend requests. After being added as a friend, the management client chooses to give other clients smart home authorization according to the actual situation, thereby achieving the purpose of sharing authorization for the smart home. It realizes that multiple users can control the same smart home device, which facilitates the common use of smart home by multiple users.
附图说明DRAWINGS
图1是本发明实施例方案涉及的硬件装置结构示意图;1 is a schematic structural diagram of a hardware device involved in an embodiment of the present invention;
图2为本发明智能家居分享授权方法应用载体的结构示意图;2 is a schematic structural diagram of an application carrier of a smart home sharing authorization method according to the present invention;
图3为本发明智能家居分享授权方法第一实施例的流程示意图;3 is a schematic flowchart of a first embodiment of a smart home sharing authorization method according to the present invention;
图4为图3中步骤S30一实施例的细化流程图;4 is a detailed flowchart of an embodiment of step S30 in FIG. 3;
图5为图3中步骤S40一实施例的细化流程图;FIG. 5 is a detailed flowchart of an embodiment of step S40 in FIG. 3;
图6为本发明智能家居分享授权方法一较优实施例的整体流程图。FIG. 6 is an overall flowchart of a preferred embodiment of a smart home sharing authorization method according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的结构示意图。As shown in FIG. 1, FIG. 1 is a schematic structural diagram of a hardware operating environment involved in an embodiment of the present invention.
本发明实施例终端(包括服务器、客户端)可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备。The terminal (including the server and the client) in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture). Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). The memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、Wi-Fi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。Optionally, the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, Wi-Fi modules, and more. Among them, sensors such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping).
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及智能家居控制应用程序。As shown in FIG. 1, an operating system, a network communication module, a user interface module, and a smart home control application may be included in the memory 1005 as a computer storage medium.
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的分享授权程序,并执行以下操作:In the terminal shown in FIG. 1, the network interface 1004 is mainly used to connect to the background server and perform data communication with the background server; the user interface 1003 is mainly used to connect the client (user end), and perform data communication with the client; and the processor 1001 can be used to call the share authorization program stored in the memory 1005 and perform the following operations:
在监测到客户端发起网络操作时,获取所述网络操作对应的操作相关信息,所述操作相关信息至少包括所述客户端的用户标识,或者还包括所述网络操作发起的时间、位置信息或类型;Obtaining the operation related information corresponding to the network operation when the client initiates the network operation, where the operation related information includes at least the user identifier of the client, or the time, location information or type of the network operation initiation ;
向所述客户端下发生物特征验证操作,获取所述客户端返回的生物特征;Generating a feature verification operation to the client to obtain a biometric returned by the client;
根据所述客户端返回的生物特征以及所述操作相关信息,对所述网络操作进行控制。The network operation is controlled according to the biometrics returned by the client and the operation related information.
需要强调的是:图2所示为一种智能家居分享授权方法应用载体的结构示意图。It should be emphasized that: FIG. 2 is a schematic structural diagram of a smart home sharing authorization method application carrier.
智能家居分享授权方法应用载体的组成部分可以包括服务器A、家居智能B以及客户端C。客户端30中包括一个管理客户端C1以及若干一般客户端C2构成。图2示出了本方法的各组成部分,但是应理解的是,并不要求实施所有示出的组件。The components of the smart home sharing authorization method application carrier may include server A, home smart B, and client C. The client 30 includes a management client C1 and a plurality of general clients C2. Figure 2 illustrates the various components of the method, but it should be understood that not all illustrated components are required.
服务器A用于处理客户端的各种请求并连接客户端与家具终端的桥梁。服务器可处理的客户端请求包括客户端向智能家居发出的控制请求、客户端向管理客户端发出的添加关联请求、客户端向管理客户端发出的授权请求等。服务器会将请求转发至对应目标,并会将反馈信息返回给客户端(如果有反馈信息)。Server A is used to handle various requests from clients and to connect the client to the furniture terminal. Client requests that the server can process include control requests from the client to the smart home, add-on requests from the client to the management client, and authorization requests from the client to the management client. The server forwards the request to the corresponding destination and returns the feedback to the client (if there is feedback).
家居智能B由可控制的智能家居组成。其中智能家居包含有空调(例如挂壁式空调,立柜式空调,中央空调)、电冰箱、热水器等。智能家居通过服务器接收客户端的控制指令。Home Smart B consists of a controllable smart home. Among them, smart homes include air conditioners (such as wall-mounted air conditioners, vertical cabinet air conditioners, central air conditioners), refrigerators, and water heaters. The smart home receives the client's control commands through the server.
用户通过安装在客户端C的智能家居控制软件来发送各种操作指令,以控制智能家居。客户端C包括手机、平板电脑、家用电脑等联网移动设备,在安装了对应的智能家居控制软件并获得控制授权后,用户即可在客户端C上对智能家居B进行控制。客户端C包括管理客户端C1和一般客户端C2(以下简称客户端)两类。其中管理客户端C1除拥有智能家居的控制权限外,还拥有将其控制权限分享给其他客户端并管理其分享授权的权力。用户可以在购买智能家居后可以通过厂商给出的方法(列如通过智能家居上的验证码或二维码注册)来成为管理客户端C1。用户一旦注册管理客户端成功即绑定,除非管理客户端主动解除绑定,否则其他用户无法再注册管理客户端,即一个智能家居只有唯一管理客户端。然而其他客户端C2可以通过向管理客户端C1申请授权(需要先获得与管理客户端的关联关系)来获得智能家居B的控制权限。The user sends various operating instructions to control the smart home through the smart home control software installed on the client C. Client C includes networked mobile devices such as mobile phones, tablet computers, and home computers. After installing the corresponding smart home control software and obtaining control authorization, the user can control smart home B on client C. The client C includes two types: a management client C1 and a general client C2 (hereinafter referred to as a client). In addition to the control rights of the smart home, the management client C1 has the right to share its control rights to other clients and manage their sharing authorization. After purchasing the smart home, the user can become the management client C1 by the method given by the manufacturer (such as registration by the verification code or QR code on the smart home). Once the user registers and manages the client successfully, it is bound. Unless the management client actively unbinds, other users can no longer register the management client, that is, a smart home only has a unique management client. However, the other client C2 can obtain the control right of the smart home B by applying for authorization to the management client C1 (requires obtaining the association relationship with the management client first).
基于上述智能家居分享授权应用载体结构提出本发明智能家居分享授权方法各实施例,在本发明智能家居分享授权方法第一实施例中,参照图2和图3,智能家居分享授权方法包括:In the first embodiment of the smart home sharing authorization method of the present invention, referring to FIG. 2 and FIG. 3, the smart home sharing authorization method includes:
步骤S10,当服务器接A收到客户端发送的智能家居B控制请求时,获取客户端C的身份识别号;Step S10: When the server receives the smart home B control request sent by the client, the server obtains the identification number of the client C.
具体地,身份识别号服务器A是用来识别客户端C身份的一组代号,服务器A可以通过网络IP地址、客户端设备编码(比如手机序列号)、登陆软件的账号(比如QQ、微信账号)来识别。服务器A可以通过网络通信技术获取客户端C的身份识别号,从而得到客户端C的身份识别号;在接收到来自客户端C的请求时,服务器A通过客户端C的身份识别号来识别客户端,就像机器通过身份证号码可获取一个人的信息,服务器A通过身份识别号来识别和获取客户端C的信息。Specifically, the identification number server A is a set of code numbers for identifying the identity of the client C. The server A can use the network IP address, the client device code (such as the mobile phone serial number), and the account of the login software (such as QQ, WeChat account). ) to identify. Server A can obtain the identification number of the client C through the network communication technology, thereby obtaining the identification number of the client C; when receiving the request from the client C, the server A identifies the client by the identification number of the client C. End, just like the machine can obtain the information of a person through the ID number, the server A identifies and obtains the information of the client C by the identification number.
步骤S20,根据客户端C的身份识别号,判断客户端C是否开放智能家居的控制权限;Step S20, determining, according to the identification number of the client C, whether the client C opens the control authority of the smart home;
具体地,在获取了客户端C的身份识别号之后,服务器A首先检测当前客户端是否为管理客户端C1。管理客户端C1为智能家居初始在状态下即可主动绑定获得家居控制权限的唯一智能家居管理者,管理客户端C1拥有智能家居B的所有控制权限,并且能够授权和管理后续想要获得智能家居控制权限的客户端。智能家居B只能绑定一个客户端为管理客户端且除非管理客户端主动解除绑定让另一客户端再绑定为管理客户端,否则无法更换管理客户端。当检测到客户端为非管理客户端C1后,服务器A通过客户端C2的身份识别号与存储在服务器中的智能设备的开放权限列表进行比对,从而可以识别客户端C2的所拥有的授权信息,包括被授权的设备,具体授予的权限等信息。Specifically, after obtaining the identification number of the client C, the server A first detects whether the current client is the management client C1. The management client C1 is the only smart home manager who can actively bind the home control authority when the smart home is initially in the state. The management client C1 has all the control rights of the smart home B, and can authorize and manage the subsequent desire to obtain intelligence. Client with home control permissions. Smart Home B can only bind one client to manage the client and the management client cannot be replaced unless the management client actively unbinds and the other client is bound to the management client. After detecting that the client is the non-administrative client C1, the server A compares the identification number of the client C2 with the open permission list of the smart device stored in the server, so that the authorization of the client C2 can be identified. Information, including authorized devices, specific permissions granted, etc.
步骤S30,当客户端C2没有开放智能家居的控制权限时,获取客户端C2向预设的管理客户端C1发送的授权请求,并将授权请求转发至管理客户端C1;Step S30, when the client C2 does not open the control authority of the smart home, obtain the authorization request sent by the client C2 to the preset management client C1, and forward the authorization request to the management client C1;
具体地,当服务器A将权限列表后与客户端C2的身份识别号对比发现匹配失败时(即客户端未获得对应的控制授权),服务器A则不会将客户端C2的控制请求发送至智能家居控制软件,只会给予客户端C2一个提示反馈。已告知客户端C2其控制请求由于权限不足无法实现,并且提示客户端如何获得授权。客户端C2通过提示发出授权求情,服务器A接收其请求,并且转发给管理客户端C1,让其是否给予授权。Specifically, when the server A compares the identity list with the client C2 and finds that the matching fails (that is, the client does not obtain the corresponding control authorization), the server A does not send the control request of the client C2 to the smart. Home control software will only give the client C2 a hint feedback. Client C2 has been informed that its control request cannot be implemented due to insufficient permissions and prompts the client how to obtain authorization. The client C2 issues an authorization request by prompting, and the server A receives its request and forwards it to the management client C1 to let it grant authorization.
步骤S40,当接收到管理客户端C1基于授权请求反馈的授权通过信息时,对客户端C2开放家居控制请求对应智能家居B的控制权限。Step S40: When receiving the authorization pass information fed back by the management client C1 based on the authorization request, the home control request is opened to the client C2 to control the control authority of the smart home B.
在本实施例中,服务器A接收到管理员客户端C1基于用户授权请求的反馈信息后,根据反馈信息的结果,服务器A做出相应给出或不予给出控制权的动作。In this embodiment, after receiving the feedback information of the administrator client C1 based on the user authorization request, the server A performs an action corresponding to or not giving the control right according to the result of the feedback information.
当服务器A接受到的是同意授权的反馈时,会将客户端C2加入至授权列表中,如此则客户端C2下次请求控制智能家居时就无需再次请求授权,从而可以直接进行相应权限的动作。同时向客户端C2开放对应的权限,允许客户端C2对智能家居B做出相应的控制操作。如此就完成了对智能家居的分享授权,使得多个用户在无需其他客户端解除绑定授权的情况下即可拥有对同一智能家居B的控制权限,以利于在不同的场景中(例如家庭、酒店等场景)对智能家居B的更好的使用。When the server A receives the feedback of the consent authorization, the client C2 is added to the authorization list, so that the client C2 does not need to request the authorization again when requesting to control the smart home next time, so that the corresponding authority can be directly performed. . At the same time, the corresponding authority is opened to the client C2, and the client C2 is allowed to perform corresponding control operations on the smart home B. This completes the sharing authorization for the smart home, so that multiple users can have control rights to the same smart home B without the need for other clients to unbind the authorization, so as to facilitate different scenarios (such as family, The hotel and other scenes) better use of smart home B.
在步骤S20之后,还包括步骤S50,当客户端开放智能家居的控制权限时,对客户端开放智能家居控制权。After the step S20, the method further includes the step S50, when the client opens the control right of the smart home, the smart home control right is opened to the client.
进一步地,在本发明智能家居分享授权方法另一实施例中,在步骤S40或S50之后包括:Further, in another embodiment of the smart home sharing authorization method of the present invention, after step S40 or S50, the method includes:
将授权消息发送至客户端C2,以供客户端输出所述授权确认消息,其中授权确认消息包括客户端的控制权限信息、智能家居信息、客户端信息中的一项或多项。The authorization message is sent to the client C2, where the client outputs the authorization confirmation message, where the authorization confirmation message includes one or more of the client's control authority information, smart home information, and client information.
服务器A会在管理员客户端C1确认是否授权之后将授权确认消息反馈给客户端C2。使得客户端C2通过反馈信息获得想要的结果。反馈信息会告知客户端C2申请授权的具体通过情况。比如客户端用户一次申请了多个智能家居的授权,或者是用户申请较高的控制权限(比如一个空调的全部控制权限包括调节温度、调节模式、设置风速等权限)。管理员客户端C1则根据实际需求给与客户端C2全部或者部分智能家居的相应控制权限。服务器A发送给客户端C2的最终反馈信息则会通知用户本次授权请求的对应授权结果,使用户能够根据授权结果给出合适的指令。Server A will feed back the authorization confirmation message to client C2 after the administrator client C1 confirms the authorization. Enables client C2 to obtain the desired result through feedback information. The feedback will inform the client of the specific approval of C2 for authorization. For example, the client user applies for multiple smart home authorizations at a time, or the user applies for higher control rights (for example, all control rights of an air conditioner include adjusting temperature, adjusting mode, setting wind speed, etc.). The administrator client C1 gives corresponding control rights to all or part of the smart home of the client C2 according to actual needs. The final feedback information sent by the server A to the client C2 informs the user of the corresponding authorization result of the authorization request, so that the user can give an appropriate instruction according to the authorization result.
进一步地,在本发明智能家居分享授权方法的第一实施例基础上,提出分享授权的第二实施例,步骤S30之后包括: Further, based on the first embodiment of the smart home sharing authorization method of the present invention, a second embodiment for sharing authorization is proposed, and after step S30, the method includes:
当客户端C2没有开放智能家居的控制权限时,向客户端发送申请授权的操作流程信息;When the client C2 does not open the control right of the smart home, the operation flow information of the application authorization is sent to the client;
获取客户端基于操作流程信息反馈的授权请求。Obtain an authorization request from the client based on operational process information feedback.
当对比客户端C2的身份识别码与授权列表中的授权客户端都不一致时,服务器A认定客户端C2未获得智能家居B的控制权限,则对于客户端C2发送的智能家居控制请求不予回应。同时回复客户端C2,告知其必须在先获得管理员的授权,才可对智能家居B进行控制操作。并给客户端C2发送申请授权的操作流程以引导用户根据流程步骤来申请想要获得的智能家居控制权限。若客户端用户是为了不法目的想要控制智能家居B,那么在申请授权的步骤中将无法正常通过(管理员会鉴别申请者来决定最终是否同意授权),也就不会获得智能家居B的控制权限。从而也保证了智能家居B的正常使用和家居环境的安全性。When the identity code of the client C2 is inconsistent with the authorized client in the authorization list, the server A determines that the client C2 does not obtain the control authority of the smart home B, and does not respond to the smart home control request sent by the client C2. . At the same time, the client C2 is replied that it must obtain the authorization of the administrator before the smart home B can be controlled. And the client C2 sends an application authorization process to guide the user to apply for the smart home control authority that he or she wants according to the process step. If the client user wants to control the smart home B for illegal purposes, then the user will not be able to pass the authorization step (the administrator will identify the applicant to decide whether to finally approve the authorization), and will not get the smart home B. Control permissions. Therefore, the normal use of the smart home B and the safety of the home environment are also ensured.
具体地,服务器A发送的申请授权的操作流程可引导用户通过申请的方法来获得智能家居B的控制权限。用户通过客户端C2接收到操作流程信息后,则可以根据收到的申请授权的操作流程来申请相应想要控制的智能家居B的控制权限。服务器A会在客户端C2第一次申请授权时发送操作流程,并且后续可以随时反复查看,以方便从未使用过的此类智能家居B的用户快速的学习如何使用。在客户端C2发送智能家居的授权申请之后,将请求发送给管理客户端C1,同时在客户端提示用户等待授权结果,如此以达到亲民的效果并且保证了本智能家居分享授权方法的易用性。Specifically, the operation procedure of the application authorization sent by the server A may guide the user to obtain the control authority of the smart home B through the application method. After receiving the operation process information through the client C2, the user can apply for the control permission of the smart home B that is to be controlled according to the operation flow of the received application authorization. Server A will send the operation flow when the client C2 first applies for authorization, and the subsequent process can be repeatedly viewed at any time, so that the users of such smart home B who have never used it can quickly learn how to use it. After the client C2 sends the smart home authorization application, the request is sent to the management client C1, and the client prompts the user to wait for the authorization result, so as to achieve the effect of the people and ensure the ease of use of the smart home sharing authorization method. .
具体地,参照图4,操作流程信息包括关于智能家居的授权申请操作流程,向客户端发送申请授权的操作流程信息的步骤包括:Specifically, referring to FIG. 4, the operation flow information includes an authorization application operation flow about the smart home, and the step of sending the operation flow information of the application authorization to the client includes:
步骤S31,检测客户端与管理客户端是否具有预设关联关系;Step S31, detecting whether the client and the management client have a preset association relationship;
步骤S32,若客户端与管理客户端具有预设关联关系时,则向客户端发送出智能家居设备的授权申请操作流程,以供客户端基于授权申请操作流程反馈授权请求Step S32: If the client has a preset association relationship with the management client, the client sends an authorization application operation flow of the smart home device to the client, and the client requests the authorization request based on the authorization application operation process.
在检测出客户端未获得授权后,服务器A会先检查客户端C2是否在管理客户端C1的关联列表中,即当前客户端C2是否与管理客户端C1存在关联关系。用户可以通过对应的第三方软件社交账户登录至智能家居控制软件(例如QQ、微信),通过第三方社交软件账号添加对应账号关联关系(例如QQ添加好友)。关联关系包括像好友,家人,同事,工作伙伴等可能会需要控制管理客户端C1所绑定的智能家居B的关系群体。当检查客户端C2与管理客户端C1存在关联关系时(已添加至关联的账号的关联列表中),客户端C2才可以向管理客户端C1发出智能家居B的授权请求。管理客户端C1同时也可以通过关联列表来方便高效的管理其所绑定的智能家居B的分享授权(例如哪些智能家居需要授权给同事,哪些智能家居只分享给家人)。并且可以过滤掉陌生人对于管理客户端C1绑定的智能家居的非法请求,同时提高了安全性与便利性。After detecting that the client is not authorized, the server A checks whether the client C2 is in the association list of the management client C1, that is, whether the current client C2 has an association relationship with the management client C1. The user can log in to the smart home control software (for example, QQ, WeChat) through the corresponding third-party software social account, and add the corresponding account association relationship (for example, QQ to add a friend) through the third-party social software account. The relationship includes relationships such as friends, family, colleagues, work partners, etc. that may need to control the management of the smart home B bound by the client C1. When it is checked that the client C2 has an association relationship with the management client C1 (added to the association list of the associated account), the client C2 can issue the authorization request of the smart home B to the management client C1. The management client C1 can also conveniently and efficiently manage the sharing authorization of the smart home B to which it is bound through the association list (for example, which smart homes need to be authorized to colleagues, and which smart homes only share to the family). And it can filter out the strange request of the stranger to manage the smart home bound by the client C1, and improve the security and convenience.
在本实施例中,服务器A会检查客户端C1与管理客户端C2的关联关系,若客户端C2与管理客户端C1不具有关联关系,则服务器A会禁止客户端C2申请管理客户端C1绑定的智能家居B。客户端C2必须与管理客户端C1成为关联关系后,才可进一步申请其绑定的智能家居B的控制权限。并且智能家居控制软件可通过常用第三方社交软件账号(例如QQ、微信)直接登录,也免去了用户使用时需要反复注册账号的步骤,简化了使用难度。In this embodiment, the server A checks the association relationship between the client C1 and the management client C2. If the client C2 does not have a relationship with the management client C1, the server A prohibits the client C2 from applying for the management client C1 to be tied. Set smart home B. The client C2 must be associated with the management client C1 before it can further apply for the control rights of the smart home B to which it is bound. And the smart home control software can directly log in through the common third-party social software account (such as QQ, WeChat), and also eliminates the need to repeatedly register the account when the user uses, simplifying the difficulty of use.
进一步地,在本发明智能家居分享授权方法的第二实施例基础上,提出分享授权的第三实施例,操作流程信息还包括与管理客户端建立关联关系的关联请求操作流程,参照图4,步骤S31之后还包括:Further, on the basis of the second embodiment of the smart home sharing authorization method of the present invention, a third embodiment for sharing authorization is proposed, and the operation flow information further includes an association request operation flow for establishing an association relationship with the management client. Referring to FIG. 4, After step S31, the method further includes:
步骤S33,若检测出客户端C2与管理客户端C1不具有预设关联关系,则向客户端C2发送提示与管理客户端C1建立关联关系的关联请求操作流程;In step S33, if it is detected that the client C2 does not have a preset association relationship with the management client C1, the client C2 sends an association request operation flow prompting to establish an association relationship with the management client C1.
若服务器A检测出客户端C2不存在于管理客户端的关联列表中,则禁止客户端申请智能家居B的控制权限。但用户还是可以先与管理客户端C1建立关联关系,再申请智能家居B控制权限。服务器A在检测出客户端C2与管理客户端C1不具有关联关系时,会向客户端C2发出提示,以协助客户端去和管理客户端C1建立关联关系。客户端C2根据自身实际情况,选择相应的关联关系(比如好友,家人等),并且方便以后向管理客户端C1申请智能家居B控制权限,如此增加了本智能家居分享授权方法的易用性。If the server A detects that the client C2 does not exist in the association list of the management client, the client is prohibited from applying for the control permission of the smart home B. However, the user can first establish an association relationship with the management client C1, and then apply for the smart home B control authority. When the server A detects that the client C2 does not have a relationship with the management client C1, the server A sends a prompt to the client C2 to assist the client to establish an association relationship with the management client C1. The client C2 selects the corresponding association relationship (such as a friend, family member, etc.) according to its actual situation, and facilitates the application of the smart home B control authority to the management client C1 in the future, thus increasing the ease of use of the smart home sharing authorization method.
步骤S34,在接收到客户端C2基于关联请求操作流程发送关联请求时,将关联请求转发至管理客户端C1;在接收到管理客户端C1通过关联请求的关联确认信息后,将客户端C2添加至管理客户端C1的关联关系表中,执行检测客户端C2与管理客户端C1是否具有预设关联关系的步骤;Step S34, when receiving the association request sent by the client C2 based on the association request operation flow, forwarding the association request to the management client C1; after receiving the association confirmation information of the association request by the management client C1, adding the client C2 Steps of detecting whether the client C2 and the management client C1 have a preset association relationship are performed in the association relationship table to the management client C1;
在客户端C2根据服务器A给出的提示向管理客户端C1发出添加关联关系的请求后,服务器A会接收到该请求,然后将请求转发给对应的管理客户端C1。管理客户端C1根据在实际生活中与客户端C2的社会关系选择将客户端C2添加至对应的关联关系中。当管理客户端C1同意添加客户端至关联关系的反馈发送只服务器A时,服务器A将客户端C2存入管理客户端C1的关联列表中,从而后续再次申请管理客户端C1的绑定智能家居B的控制授权时,可直接发送授权请求至管理客户端C1,使得用户使用起来更简便。After the client C2 issues a request to add an association relationship to the management client C1 according to the prompt given by the server A, the server A receives the request and then forwards the request to the corresponding management client C1. The management client C1 selects the client C2 to be added to the corresponding association relationship according to the social relationship with the client C2 in real life. When the management client C1 agrees to add the client-to-association feedback to the server A, the server A stores the client C2 in the association list of the management client C1, thereby subsequently applying for the management smart client of the client C1. When B's control authorization, the authorization request can be directly sent to the management client C1, making it easier for the user to use.
服务器A引导客户端C2添加管理客户端C1为关联关系,使得后续申请智能家居控制权限与使用智能家居更加的便利与安全,管理客户端C1也还可根据实际需求删除或添加相应的关联,来管理自己的授权情况。Server A guides the client C2 to add the management client C1 as an association relationship, so that the subsequent application of the smart home control authority and the use of the smart home is more convenient and secure, and the management client C1 can also delete or add the corresponding association according to actual needs. Manage your own authorization.
具体地,步骤S32包括:Specifically, step S32 includes:
向客户端C2发送授权申请操作流程和管理客户端C1所管理的智能家居列表,以供客户端C2显示授权申请操作流程和智能家居列表;Sending an authorization application operation flow to the client C2 and managing a smart home list managed by the client C1, so that the client C2 displays the authorization application operation flow and the smart home list;
进一步的,获取客户端基于操作流程信息反馈的授权请求的步骤包括: Further, the step of obtaining an authorization request of the client based on the operation process information feedback includes:
获取客户端C2基于授权申请操作流程和智能家居列表申请的目标智能家居以及各个目标智能家居的具体授权请求。Obtain the specific authorization request of the client C2 based on the authorization application operation flow and the target smart home application of the smart home list and each target smart home.
当服务器A检测出客户端C2已经具有与管理客户端C1的关联关系后(包括以前就具有和刚刚添加获得),可认定客户端C2与管理客户端C1具有一定社会关系,从而允许客户端C2申请管理客户端C1绑定的智能家居B的控制权限。服务器A会向客户端C2显示管理客户端C1所绑定的智能家居B的列表,客户端C2可根据实际需求申请一个或多个目标家居的控制权限,并根据需求选择申请的权限大小(对智能家居的控制程度),然后服务器A获取客户端C2的发送的授权请求。When the server A detects that the client C2 has the association relationship with the management client C1 (including the previously acquired and just added), it can be determined that the client C2 has a certain social relationship with the management client C1, thereby allowing the client C2. Apply for the control permission of the smart home B bound to the client C1. The server A displays the list of the smart home B bound to the management client C1 to the client C2, and the client C2 can apply for the control permission of one or more target homes according to actual needs, and select the permission size of the application according to the requirement (right The degree of control of the smart home), then server A obtains the authorization request sent by the client C2.
在申请授权的过程中,服务器A通过确认客户端C1与管理客户端C2的相关关系来防止管理客户端C1的智能家居B绑定信息被陌生人非法获得并利用。而对于有智能家居控制需求的客户端C2,申请授权的操作非常简单易操作。In the process of applying for authorization, the server A prevents the smart home B binding information of the management client C1 from being illegally obtained and utilized by the stranger by confirming the correlation between the client C1 and the management client C2. For the client C2 with smart home control requirements, the operation for applying for authorization is very simple and easy to operate.
进一步地,参考图5步骤32之后包括:Further, after referring to step 32 of FIG. 5, the method includes:
步骤S35,当接收到管理客户端C1反馈的拒绝授权信息时,禁止客户端C2进入智能家居控制界面。In step S35, when receiving the rejection authorization information fed back by the management client C1, the client C2 is prohibited from entering the smart home control interface.
当管理客户端C1并不希望客户端C2获得其申请的智能家居的控制权限时,可拒绝授权给客户端C2。服务器A接收到管理客户端反馈来的拒绝消息后,将禁止客户端C2进入到智能家居B的控制界面中(通过智能家居控制软件来进入控制界面以控制智能家居B),并提示客户端C2未获得控制权受。When the management client C1 does not want the client C2 to obtain the control right of the smart home requested by the client, it can refuse to authorize the client C2. After receiving the rejection message sent by the management client, the server A will prohibit the client C2 from entering the control interface of the smart home B (using the smart home control software to enter the control interface to control the smart home B), and prompting the client C2 Not gaining control.
步骤S40,若接收到同意授权信息,则对客户端开放家居控制请求对应智能家居的控制权限。Step S40: If the consent authorization information is received, the home control request is opened to the client to control the smart home.
当管理客户端C1同意授权后,服务器A会对客户端C2开放对应的智能家居控制权,开放控制权之后客户端C2即可随时对智能家居B进行控制操作。After the management client C1 agrees to authorize, the server A will open the corresponding smart home control right to the client C2, and after the control is opened, the client C2 can control the smart home B at any time.
服务器A会根据管理客户端C1反馈来的拒绝信息阻止客户端C2进入智能家居B的控制界面,以保障管理客户端C1对所管理的的智能家居B的控制力及安全性。The server A will prevent the client C2 from entering the control interface of the smart home B according to the rejection information fed back by the management client C1, so as to ensure the control power and security of the managed client C1 to the managed smart home B.
进一步地,,步骤S41包括:Further, step S41 includes:
将客户端C2变更为已授权客户端,允许客户端C2通过智能家居软件进入智能家居B的控制界面,使客户端C2可以在控制界面对相应的智能家居B进行控制操作。The client C2 is changed to the authorized client, and the client C2 is allowed to enter the control interface of the smart home B through the smart home software, so that the client C2 can control the corresponding smart home B in the control interface.
当服务器A接收到管理客户端C1反馈回来的同意授权信息后,首先添加客户端C2到授权列表中,这样在客户端C2后续要控制智能家居B时即可直接通过控制权限的检测来控制智能家居。然后对客户端C2开放智能家居B的控制界面,客户端C2可通过智能家居控制软件来进入到智能家居B的控制界面。在控制界面中完成对智能家居B的控制操作。至此就完成了一个智能家居分享授权的过程,达到了多人同时获得制智能家居控制授权的目的。After receiving the consent authorization information fed back by the management client C1, the server A first adds the client C2 to the authorization list, so that when the client C2 subsequently controls the smart home B, the control can be directly controlled by the control authority. Home. Then, the control interface of the smart home B is opened to the client C2, and the client C2 can enter the control interface of the smart home B through the smart home control software. The control operation of the smart home B is completed in the control interface. So far, a smart home sharing authorization process has been completed, which has achieved the goal of multi-person simultaneous acquisition of smart home control authorization.
进一步地,为了辅助理解本发明智能家居分享授权方法,在此提供智能家居分享授权方法一较优实施例,参考图6,智能家居分享授权方法包括:Further, in order to facilitate the understanding of the smart home sharing authorization method of the present invention, a smart home sharing authorization method is provided. Referring to FIG. 6, the smart home sharing authorization method includes:
步骤S10:当服务器接收到客户端控制请求时,获取客户端的身份识别号;Step S10: When the server receives the client control request, obtain the identity number of the client;
步骤S20:根据客户端的身份识别号,判断客户端是否开放智能家居的控制权限;Step S20: determining, according to the identity identification number of the client, whether the client opens the control authority of the smart home;
当客户端已开放智能家居控制权限时,步骤S50,对客户端发放智能家居控制权限;When the client has opened the smart home control right, in step S50, the smart home control authority is issued to the client;
当客户端没有开放智能家居控制权限时,步骤S30:向客户端发送申请授权的操作流程信息,然后将接收到的请求转发至管理客户端;When the client does not open the smart home control right, step S30: sending the operation flow information of the application authorization to the client, and then forwarding the received request to the management client;
步骤31,判断客户端与管理客户端是否具有关联关系;Step 31: Determine whether the client and the management client have an association relationship;
若客户端与管理客户端不具有关联关系,步骤S33接收客户端添加管理客户端的关联关系的申请,转发至管理客户端;If the client does not have an association relationship with the management client, step S33 receives an application for adding the association relationship of the management client to the client, and forwards the application to the management client;
若管理客户端同意添加关联关系,则继续执行步骤S32,若不同意添加关联关系,步骤S60,禁止客户端申请智能家居授权;If the management client agrees to add the association relationship, proceed to step S32. If the relationship is not agreed to be added, step S60, the client is prohibited from applying for the smart home authorization;
若客户端与管理客户端具有关联关系,步骤S32,接收客户端发送的智能家居授权请求并转发至管理客户端;If the client has an association relationship with the management client, in step S32, the smart home authorization request sent by the client is received and forwarded to the management client;
若管理员客户端拒绝授权请求,步骤35,禁止客户端进入智能家居控制界面,客户端无法对智能家居进行控制操作;If the administrator client rejects the authorization request, in step 35, the client is prohibited from entering the smart home control interface, and the client cannot perform control operations on the smart home;
若管理员客户端同意授权请求,步骤S40,允许客户端通过智能家居软件进入控制界面;If the administrator client agrees to the authorization request, in step S40, the client is allowed to enter the control interface through the smart home software;
步骤S41,客户端可以控制界面对智能家居进行操作控制。In step S41, the client can control the interface to perform operation control on the smart home.
本发明还提供一种智能家居分享授权的装置。The invention also provides a device for sharing authorization in a smart home.
本发明基于智能家居分享授权的装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的分享授权程序,所述分享授权程序被所述处理器执行时实现如上所述的分享授权方法步骤。The device for sharing authorization based on the smart home includes: a memory, a processor, and a sharing authorization program stored on the memory and operable on the processor, where the sharing authorization program is implemented by the processor The sharing authorization method step.
其中,在所述处理器上运行的提示信息的智能家居分享授权程序被执行时所实现的方法可参照本发明分享授权的方法各个实施例,在此不再赘述。The method for implementing the smart home sharing authorization program that is executed when the prompt information is executed on the processor may refer to various embodiments of the method for sharing authorization according to the present invention, and details are not described herein again.
此外本发明实施例还提出一种计算机可读存储介质。Furthermore, embodiments of the present invention also provide a computer readable storage medium.
本发明计算机可读存储介质上存储有智能家居分享授权程序,所述智能家居分享授权程序被处理器执行时实现如上所述的智能家居分享授权方法的步骤。The computer readable storage medium of the present invention stores a smart home sharing authorization program, and the smart home sharing authorization program is executed by the processor to implement the steps of the smart home sharing authorization method as described above.
其中,在所述处理器上运行的提示信息的显示程序被执行时所实现的方法可参照本发明智能家居分享授权方法各个实施例,在此不再赘述。For the method implemented by the display program of the prompt information running on the processor, refer to various embodiments of the smart home sharing authorization method of the present invention, and details are not described herein again.
通过以上的实施方法的描述,本领域的技术人员可以清楚地了解到上述实施方法可借助软件加必需的通用硬件平台的方式来实现,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,包括若干指令用以使得一个服务器配合以若干客户端与家居智能终端执行本发明各个实施例所述的方法。此外,应当理解,虽然本说明书按照实施方式加以描述,但并非每个实施方式仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。Through the description of the foregoing implementation methods, those skilled in the art can clearly understand that the above implementation method can be implemented by means of software plus a necessary general hardware platform, and the technical solution of the present invention is made in essence or in the prior art. The contribution can be embodied in the form of a software product, including a number of instructions for causing a server to cooperate with a number of clients and home smart terminals to perform the methods described in various embodiments of the present invention. In addition, it should be understood that although the description is described in terms of embodiments, not every embodiment includes only one independent technical solution. The description of the specification is merely for the sake of clarity, and those skilled in the art should regard the specification as a whole. The technical solutions in the respective embodiments may also be combined as appropriate to form other embodiments that can be understood by those skilled in the art.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, item, or system. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in a process, method, article, or system that includes the element, without further limitation.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (19)

  1. 一种智能家居的分享授权方法,其特征在于,所述智能家居分享授权方法包括: A smart home sharing authorization method, wherein the smart home sharing authorization method comprises:
    当服务器接收到客户端发送的智能家居家居控制请求时,获取客户端的身份识别号;When the server receives the smart home home control request sent by the client, the server obtains the identity number of the client;
    根据客户端的身份识别号,判断客户端是否开放智能家居的控制权限;Determine whether the client opens the control right of the smart home according to the identification number of the client;
    当客户端没有开放智能家居的控制权限时,获取客户端向预设的管理客户端发送的授权请求,并将授权请求转发至管理客户端;When the client does not open the control right of the smart home, obtain an authorization request sent by the client to the preset management client, and forward the authorization request to the management client;
    当接收到管理客户端基于授权请求反馈的授权通过信息时,对客户端开放家居控制请求对应智能家居的控制权限。When receiving the authorization pass information of the management client based on the authorization request feedback, the home control request is opened to the client to control the smart home.
  2. 如权利要求1所述的分享授权方法,其特征在于,所述对客户端开放家居控制请求对应智能家居的控制权限的步骤之后包括:The sharing authorization method according to claim 1, wherein the step of opening the home control request to the client to control the control authority of the smart home comprises:
    将授权消息发送至客户端,以供客户端输出所述授权确认消息,其中授权确认消息包括客户端的控制权限信息、智能家居信息、客户端信息中的一Sending an authorization message to the client, where the client outputs the authorization confirmation message, where the authorization confirmation message includes one of the client's control authority information, the smart home information, and the client information.
    项或多项。Item or multiple items.
  3. 如权利要求2所述的分享授权方法,其特征在于,所述当客户端没有开放智能家居的控制权限时,获取客户端向预设的管理客户端发送的授权请求的步骤包括:The sharing authorization method according to claim 2, wherein the step of obtaining an authorization request sent by the client to the preset management client when the client does not open the control permission of the smart home comprises:
    当客户端没有开放智能家居的控制权限时,向客户端发送申请授权的操作流程信息;When the client does not open the control right of the smart home, the operation flow information of the application authorization is sent to the client;
    获取客户端基于操作流程信息反馈的授权请求。Obtain an authorization request from the client based on operational process information feedback.
  4. 如权利要求3所述的分享授权方法,其特征在于,所述操作流程信息包括关于智能家居的授权申请操作流程,The sharing authorization method according to claim 3, wherein the operation flow information includes an authorization application operation flow regarding the smart home,
    所述向客户端发送申请授权的操作流程信息的步骤包括:The step of sending the operation flow information of requesting authorization to the client includes:
    检测客户端与管理客户端是否具有预设关联关系;Check whether the client and the management client have a preset association relationship;
    若客户端与管理客户端具有预设关联关系时,向客户端发送出智能家居的授权申请操作流程,以供客户端基于授权申请操作流程反馈授权请求。If the client has a preset association relationship with the management client, the smart home authorization application operation flow is sent to the client, so that the client can feedback the authorization request based on the authorization application operation process.
  5. 如权利要求4所述的分享授权方法,其特征在于,所述操作流程信息还包括与管理客户端建立关联关系的关联请求操作流程,The sharing authorization method according to claim 4, wherein the operation flow information further includes an association request operation flow that establishes an association relationship with the management client,
    所述检测客户端与管理客户端是否具有与预设联关系的步骤之后还包括:After the step of detecting whether the client and the management client have a preset association relationship, the method further includes:
    当检测出客户端与管理客户端不具有预设关联关系,向客户端发送提示与管理客户端建立关联关系的关联请求操作流程;When it is detected that the client does not have a preset association relationship with the management client, the client sends an association request operation flow prompting to establish an association relationship with the management client;
    在接收到客户端基于关联请求操作流程发送关联请求时,将关联请求转发至管理客户端;When the receiving client sends an association request based on the association request operation flow, forwarding the association request to the management client;
    在接收到管理客户端通过关联请求的关联确认信息后,将客户端添加至管理客户端的关联关系表中,执行检测客户端与管理客户端是否具有预设关联关系的步骤。After receiving the association confirmation information of the association request by the management client, the client is added to the association relationship table of the management client, and the step of detecting whether the client and the management client have a preset association relationship is performed.
  6. 如权利要求5所述的分享授权方法,其特征在于,A sharing authorization method according to claim 5, wherein
    所述向客户端发送出智能家居的授权申请操作流程的步骤包括:The steps of sending the smart home authorization application operation flow to the client include:
    向客户端发送授权申请操作流程和管理客户端所管理的智能家居列表,以供客户端显示授权申请操作流程和智能家居列表;Sending an authorization application operation flow to the client and managing a smart home list managed by the client, so that the client displays the authorization application operation flow and the smart home list;
    所述获取客户端基于操作流程信息反馈的授权请求的步骤包括:The step of obtaining an authorization request by the client based on the operation flow information feedback includes:
    获取客户端基于授权申请操作流程和智能家居列表申请的目标智能家居以及各个目标智能家居的具体授权请求。Obtain the specific authorization request of the client based on the authorization application operation flow and the smart home list application target smart home and each target smart home.
  7. 如权利要求6所述的分享授权方法,其特征在于,所述将授权请求转发至管理客户端的步骤之后包括:The sharing authorization method according to claim 6, wherein the step of forwarding the authorization request to the management client comprises:
    当接收到管理客户端反馈的拒绝授权信息,禁止客户端进入智能家居控制界面,若接收到同意授权信息,则对客户端开放家居控制请求对应智能家居的控制权限。When receiving the rejection authorization information of the management client feedback, the client is prohibited from entering the smart home control interface. If the consent authorization information is received, the home control request is opened to the client to control the smart home.
  8. 如权利要求7所述的分享授权方法,其特征在于,所述对客户端开放家居控制请求对应智能家居的控制权限的步骤之后还包括:The sharing authorization method according to claim 7, wherein the step of opening the home control request to the client to control the control authority of the smart home further comprises:
    将客户端变更为已授权客户端,允许客户端通过智能家居软件进入智能家居的控制界面,使客户端可以在控制界面对相应的智能家居进行控制操作。The client is changed to an authorized client, and the client is allowed to enter the control interface of the smart home through the smart home software, so that the client can control the corresponding smart home in the control interface.
  9. 如权利要求4所述的分享授权方法,其特征在于,A sharing authorization method according to claim 4, wherein
    所述向客户端发送出智能家居的授权申请操作流程的步骤包括:The steps of sending the smart home authorization application operation flow to the client include:
    向客户端发送授权申请操作流程和管理客户端所管理的智能家居列表,以供客户端显示授权申请操作流程和智能家居列表;Sending an authorization application operation flow to the client and managing a smart home list managed by the client, so that the client displays the authorization application operation flow and the smart home list;
    所述获取客户端基于操作流程信息反馈的授权请求的步骤包括:The step of obtaining an authorization request by the client based on the operation flow information feedback includes:
    获取客户端基于授权申请操作流程和智能家居列表申请的目标智能家居以及各个目标智能家居的具体授权请求。Obtain the specific authorization request of the client based on the authorization application operation flow and the smart home list application target smart home and each target smart home.
  10. 如权利要求9所述的分享授权方法,其特征在于,所述将授权请求转发至管理客户端的步骤之后包括:The sharing authorization method according to claim 9, wherein the step of forwarding the authorization request to the management client comprises:
    当接收到管理客户端反馈的拒绝授权信息,禁止客户端进入智能家居控制界面,若接收到同意授权信息,则对客户端开放家居控制请求对应智能家居的控制权限。When receiving the rejection authorization information of the management client feedback, the client is prohibited from entering the smart home control interface. If the consent authorization information is received, the home control request is opened to the client to control the smart home.
  11. 如权利要求10所述的分享授权方法,其特征在于,所述对客户端开放家居控制请求对应智能家居的控制权限的步骤之后还包括:The sharing authorization method according to claim 10, wherein the step of opening the home control request to the client to control the control authority of the smart home further comprises:
    将客户端变更为已授权客户端,允许客户端通过智能家居软件进入智能家居的控制界面,使客户端可以在控制界面对相应的智能家居进行控制操作。The client is changed to an authorized client, and the client is allowed to enter the control interface of the smart home through the smart home software, so that the client can control the corresponding smart home in the control interface.
  12. 如权利要求1所述的分享授权方法,其特征在于,所述当客户端没有开放智能家居的控制权限时,获取客户端向预设的管理客户端发送的授权请求的步骤包括:The sharing authorization method according to claim 1, wherein the step of obtaining an authorization request sent by the client to the preset management client when the client does not open the control authority of the smart home comprises:
    当客户端没有开放智能家居的控制权限时,向客户端发送申请授权的操作流程信息;When the client does not open the control right of the smart home, the operation flow information of the application authorization is sent to the client;
    获取客户端基于操作流程信息反馈的授权请求。Obtain an authorization request from the client based on operational process information feedback.
  13. 如权利要求12所述的分享授权方法,其特征在于,所述操作流程信息包括关于智能家居的授权申请操作流程,The sharing authorization method according to claim 12, wherein the operation flow information includes an authorization application operation flow regarding the smart home,
    所述向客户端发送申请授权的操作流程信息的步骤包括:The step of sending the operation flow information of requesting authorization to the client includes:
    检测客户端与管理客户端是否具有预设关联关系;Check whether the client and the management client have a preset association relationship;
    若客户端与管理客户端具有预设关联关系时,向客户端发送出智能家居的授权申请操作流程,以供客户端基于授权申请操作流程反馈授权请求。If the client has a preset association relationship with the management client, the smart home authorization application operation flow is sent to the client, so that the client can feedback the authorization request based on the authorization application operation process.
  14. 如权利要求13所述的分享授权方法,其特征在于,所述操作流程信息还包括与管理客户端建立关联关系的关联请求操作流程,The sharing authorization method according to claim 13, wherein the operation flow information further includes an association request operation flow that establishes an association relationship with the management client,
    所述检测客户端与管理客户端是否具有与预设联关系的步骤之后还包括:After the step of detecting whether the client and the management client have a preset association relationship, the method further includes:
    当检测出客户端与管理客户端不具有预设关联关系,向客户端发送提示与管理客户端建立关联关系的关联请求操作流程;When it is detected that the client does not have a preset association relationship with the management client, the client sends an association request operation flow prompting to establish an association relationship with the management client;
    在接收到客户端基于关联请求操作流程发送关联请求时,将关联请求转发至管理客户端;When the receiving client sends an association request based on the association request operation flow, forwarding the association request to the management client;
    在接收到管理客户端通过关联请求的关联确认信息后,将客户端添加至管理客户端的关联关系表中,执行检测客户端与管理客户端是否具有预设关联关系的步骤。After receiving the association confirmation information of the association request by the management client, the client is added to the association relationship table of the management client, and the step of detecting whether the client and the management client have a preset association relationship is performed.
  15. 如权利要求14所述的分享授权方法,其特征在于,A sharing authorization method according to claim 14, wherein
    所述向客户端发送出智能家居的授权申请操作流程的步骤包括:The steps of sending the smart home authorization application operation flow to the client include:
    向客户端发送授权申请操作流程和管理客户端所管理的智能家居列表,以供客户端显示授权申请操作流程和智能家居列表;Sending an authorization application operation flow to the client and managing a smart home list managed by the client, so that the client displays the authorization application operation flow and the smart home list;
    所述获取客户端基于操作流程信息反馈的授权请求的步骤包括:The step of obtaining an authorization request by the client based on the operation flow information feedback includes:
    获取客户端基于授权申请操作流程和智能家居列表申请的目标智能家居以及各个目标智能家居的具体授权请求。Obtain the specific authorization request of the client based on the authorization application operation flow and the smart home list application target smart home and each target smart home.
  16. 如权利要求15所述的分享授权方法,其特征在于,所述将授权请求转发至管理客户端的步骤之后包括:The sharing authorization method according to claim 15, wherein the step of forwarding the authorization request to the management client comprises:
    当接收到管理客户端反馈的拒绝授权信息,禁止客户端进入智能家居控制界面,若接收到同意授权信息,则对客户端开放家居控制请求对应智能家居的控制权限。When receiving the rejection authorization information of the management client feedback, the client is prohibited from entering the smart home control interface. If the consent authorization information is received, the home control request is opened to the client to control the smart home.
  17. 如权利要求16所述的分享授权方法,其特征在于,所述对客户端开放家居控制请求对应智能家居的控制权限的步骤之后还包括:The sharing authorization method according to claim 16, wherein the step of opening the home control request to the client to control the control authority of the smart home further comprises:
    将客户端变更为已授权客户端,允许客户端通过智能家居软件进入智能家居的控制界面,使客户端可以在控制界面对相应的智能家居进行控制操作。The client is changed to an authorized client, and the client is allowed to enter the control interface of the smart home through the smart home software, so that the client can control the corresponding smart home in the control interface.
  18. 一种服务器,其特征在于,所述服务器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的分享授权程序,所述分享授权程序被所述处理器执行时实现如权利要求1所述的智能家居的分享授权方法步骤。A server, comprising: a memory, a processor, and a sharing authorization program stored on the memory and operable on the processor, when the sharing authorization program is executed by the processor A step of sharing a authorization method of the smart home according to claim 1.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有分享授权程序,所述分享授权程序被处理器执行时实现如权利要求1所述的智能家居的分享授权方法步骤。 A computer readable storage medium, wherein the computer readable storage medium stores a sharing authorization program, and the sharing authorization program is executed by a processor to implement the smart home sharing authorization method according to claim 1. step.
PCT/CN2018/084906 2017-05-17 2018-04-27 Authorization sharing method for smart home, server, and readable storage medium WO2018210118A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710350252.0A CN106992989B (en) 2017-05-17 2017-05-17 Sharing authorization method of smart home, server and readable storage medium
CN201710350252.0 2017-05-17

Publications (1)

Publication Number Publication Date
WO2018210118A1 true WO2018210118A1 (en) 2018-11-22

Family

ID=59420567

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084906 WO2018210118A1 (en) 2017-05-17 2018-04-27 Authorization sharing method for smart home, server, and readable storage medium

Country Status (2)

Country Link
CN (1) CN106992989B (en)
WO (1) WO2018210118A1 (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106992989B (en) * 2017-05-17 2020-06-23 广东美的制冷设备有限公司 Sharing authorization method of smart home, server and readable storage medium
CN107517208A (en) * 2017-08-22 2017-12-26 努比亚技术有限公司 Apparatus control method, device and computer-readable recording medium
CN109525537A (en) * 2017-09-19 2019-03-26 中兴通讯股份有限公司 A kind of control method and device accessing smart home system
CN109752960A (en) * 2017-11-08 2019-05-14 中兴通讯股份有限公司 A kind of smart home inter-linked controlling method and device
WO2019108648A1 (en) 2017-11-29 2019-06-06 Google Llc Structure-based access control
CN109150832A (en) * 2018-07-18 2019-01-04 北京小米移动软件有限公司 Device management method, device and computer readable storage medium
CN109246103A (en) * 2018-09-12 2019-01-18 厦门优胜卫厨科技有限公司 The access right control method and device of intelligent bathtub
CN109448258A (en) * 2018-10-22 2019-03-08 四川虹美智能科技有限公司 A kind of rental server that sharing authorization, client, system and method
CN109636090B (en) * 2018-10-25 2023-12-26 平安科技(深圳)有限公司 Station allocation method, device, equipment and storage medium
CN109756404A (en) * 2019-01-17 2019-05-14 深圳市沃特沃德股份有限公司 Sharing method, device, storage medium and the computer equipment of equipment control
CN110011885B (en) * 2019-04-12 2020-07-07 珠海格力电器股份有限公司 Control authority binding method and device of electric appliance, storage medium and electric appliance
CN110209060B (en) * 2019-05-23 2022-03-11 无锡小天鹅电器有限公司 Control method, control device, control equipment and computer storage medium
CN112180621A (en) * 2019-07-04 2021-01-05 奇酷互联网络科技(深圳)有限公司 Method, terminal and storage medium for adjusting degree of glasses
CN111049711B (en) * 2019-11-28 2022-01-11 苏宁智能终端有限公司 Device control right sharing method and device, computer device and storage medium
CN110879540B (en) * 2019-12-17 2022-12-23 思必驰科技股份有限公司 Control method of intelligent platform, intelligent platform and computer readable medium
CN113127886A (en) * 2019-12-30 2021-07-16 青岛海尔空调电子有限公司 Method, system and device for controlling equipment control authority
CN111404788A (en) * 2020-03-09 2020-07-10 维沃移动通信有限公司 Equipment sharing method and server
CN111629007B (en) * 2020-06-11 2022-09-02 广州河东科技有限公司 Communication encryption method and device based on intelligent home gateway
CN112133000A (en) * 2020-08-21 2020-12-25 英睿健康科技有限公司 Service system, method and equipment
CN111970306B (en) * 2020-08-31 2022-11-04 Oppo广东移动通信有限公司 Authority authentication method, server, client and storage medium
CN114442562A (en) * 2020-10-30 2022-05-06 百度在线网络技术(北京)有限公司 Processing method and device for smart home equipment, electronic equipment and medium
CN112309053A (en) * 2020-11-10 2021-02-02 珠海格力电器股份有限公司 Control authority distribution management method and device for rental air conditioner
CN115499248B (en) * 2022-11-17 2023-03-24 北京珞安科技有限责任公司 Equipment access control method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140242940A1 (en) * 2013-02-26 2014-08-28 Kt Corporation Sharing control right of m2m device
CN104735057A (en) * 2015-02-13 2015-06-24 小米科技有限责任公司 Sharing device control right method and device
CN105629744A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Control method of smart home, control system, terminal and smart home system
CN106506550A (en) * 2016-12-27 2017-03-15 Tcl集团股份有限公司 A kind of shared method and apparatus of smart machine control authority
CN106992989A (en) * 2017-05-17 2017-07-28 广东美的制冷设备有限公司 Smart home shares authorization method, server and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140242940A1 (en) * 2013-02-26 2014-08-28 Kt Corporation Sharing control right of m2m device
CN104735057A (en) * 2015-02-13 2015-06-24 小米科技有限责任公司 Sharing device control right method and device
CN105629744A (en) * 2015-04-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Control method of smart home, control system, terminal and smart home system
CN106506550A (en) * 2016-12-27 2017-03-15 Tcl集团股份有限公司 A kind of shared method and apparatus of smart machine control authority
CN106992989A (en) * 2017-05-17 2017-07-28 广东美的制冷设备有限公司 Smart home shares authorization method, server and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN106992989B (en) 2020-06-23
CN106992989A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
WO2018210118A1 (en) Authorization sharing method for smart home, server, and readable storage medium
WO2019051887A1 (en) Method and device for controlling home appliance, and computer-readable storage medium
US10498723B2 (en) Method, and apparatus for authenticating access
WO2022050652A1 (en) Method, apparatus, and computer readable storage medium for controlling account
WO2019039813A1 (en) Electronic device and method for remotely providing profile to electronic device
WO2016186399A1 (en) User terminal device, server, and method for controlling same
WO2017028613A1 (en) Terminal control method and apparatus based on remote controller app
WO2012130035A1 (en) User authentication and authorization method and implementation system thereof
WO2019104877A1 (en) Method, apparatus and device for connection to insurance purchase through website and medium
WO2016029594A1 (en) Method and system for terminal to connect with display device
WO2019161597A1 (en) Information sending method, apparatus and device based on instant messaging, and storage medium
WO2019144585A1 (en) Virtual robot control method, device and equipment, and readable storage medium
WO2016058258A1 (en) Terminal remote control method and system
WO2019100604A1 (en) Account inquiry method, apparatus, device, and computer readable storage medium
WO2019090995A1 (en) Self-service account opening and card issuing method, self-service terminal, and computer-readable storage medium
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2017190450A1 (en) Process closing method and apparatus
WO2016190619A1 (en) Electronic device and gateway, and control method therefor
WO2017000729A1 (en) Audio/video playing control method and device
WO2018190637A1 (en) Method for establishing communication connection of device and apparatus therefor
WO2017082527A1 (en) Method for establishing communication connection between electronic devices and electronic device therefor
WO2019140802A1 (en) Authorization method and system for service handling on self-service banking terminal, and readable storage medium
WO2019227564A1 (en) Method and apparatus for displaying communication information, and user equipment and storage medium
WO2018117536A1 (en) Electronic apparatus, control authority authentication method thereof and user terminal apparatus
WO2019134218A1 (en) Vtm-based transfer method and device, server, and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/06/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18802990

Country of ref document: EP

Kind code of ref document: A1