Control Method, Device, Electronic Device, Home Host and Storage Medium

By obtaining encrypted scene data in the smart home system and decrypting the control device based on user authorization, the information leakage problem caused by cloud storage is solved, and higher data security and privacy protection are achieved.

CN116055127BActive Publication Date: 2025-07-08GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211667122.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2025-07-08
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

In existing smart home systems, scene data exists in the cloud and is vulnerable to attacks and causes information leakage.

Method used

By obtaining the encrypted scene data in the storage device, sending an authorization request to the user based on user information, obtaining the private key, decrypting and controlling the device to execute, avoiding the storage of plaintext data in the cloud.

Benefits of technology

It improves the security of scenario data, enhances the security of data usage, and protects the privacy of user information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116055127B_ABST
    Figure CN116055127B_ABST
Patent Text Reader

Abstract

A control method, device, electronic device, home host and storage medium provided by the present application obtain user information and scenario data in a storage device, where the scenario data is encrypted data; send an authorization request to a user corresponding to the user information based on the user information; determine a private key based on the response information in the case of obtaining a response information of passing authorization sent by the user; decrypt the scenario data based on the private key; and control a device corresponding to the scenario data to execute based on the decrypted scenario data, which can improve the security of using scenario data and enhance the security of scenario data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home control technology, and particularly to a control method, device, electronic device, home host and storage medium. Background Art

[0002] With the development of the intelligent society, intelligent buildings, intelligent appliances, and smart homes are gradually changing our lives. The difference between a smart home and an ordinary home lies in its "scene design". The increase in the Internet of Things (intelligent home system) has given rise to smart home scenarios, logical processing, signal transmission, and smart home interaction. However, currently, the user's scene data generally exists in the cloud, and there are problems such as information leakage caused by server attacks. Summary of the Invention

[0003] In view of the above problems, this application provides a control method, device, electronic device, home host and storage medium, which can improve the security of using scene data and enhance the security of scene data.

[0004] An embodiment of this application provides a control method, including:

[0005] Obtain user information and scene data in a storage device, where the scene data is encrypted data;

[0006] Send an authorization request to the user corresponding to the user information based on the user information;

[0007] When obtaining the response information authorized by the user, determine a private key based on the response information;

[0008] Decrypt the scene data based on the private key;

[0009] Control the device corresponding to the scene data to execute based on the decrypted scene data.

[0010] In some embodiments, the method further includes:

[0011] Obtain scene data set by the user through an application program APP;

[0012] Encrypt the scene data;

[0013] Store the encrypted scene data and the user information of the user in the storage device.

[0014] In some embodiments, the user information includes: a user virtual identifier, and the method further includes:

[0015] Determine a virtual user identifier based on the user identifier of the user.

[0016] In some embodiments, sending an authorization request to the user corresponding to the user information includes:

[0017] Sending a call request to a server based on the user information, so that the server can obtain the user virtual identifier and send an authorization request to the user's terminal based on the user virtual identifier.

[0018] In some embodiments, the method further includes:

[0019] When the authorization fails, outputting a prompt message for prompting to resend the authorization request.

[0020] An embodiment of the present application provides a control device, including:

[0021] An acquisition module, configured to acquire user information and scenario data in a storage device, where the scenario data is encrypted data;

[0022] A sending module, configured to send an authorization request to the user corresponding to the user information;

[0023] A determination module, configured to determine a private key based on the response information when obtaining the response information of authorization sent by the user;

[0024] A decryption module, configured to decrypt the scenario data based on the private key;

[0025] A control module, configured to control the device corresponding to the scenario data to execute based on the decrypted scenario data.

[0026] In some embodiments, the control device is further configured to:

[0027] Acquire scenario data set by a user through an application APP;

[0028] Encrypt the scenario data;

[0029] Store the encrypted scenario data and the user information of the user in the storage device.

[0030] An embodiment of the present application provides an electronic device, including a memory and a processor, where a computer program is stored on the memory, and when the computer program is executed by the processor, it executes the control method described in any one of the above.

[0031] An embodiment of the present application provides a home host, including: the above-mentioned electronic device.

[0032] An embodiment of the present application provides a computer-readable storage medium. The computer program stored in the computer-readable storage medium can be executed by one or more processors and can be used to implement the above-mentioned control method.

[0033] A control method, device, electronic device, home host and storage medium provided by the present application, by obtaining user information and scenario data in a storage device, wherein the scenario data is encrypted data; sending an authorization request to the user corresponding to the user information based on the user information; determining a private key based on the response information in the case of obtaining the response information of passing authorization sent by the user; decrypting the scenario data based on the private key; and controlling the device corresponding to the scenario data to execute based on the decrypted scenario data, can improve the security of using the scenario data and enhance the security of the scenario data. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In the following, the present application will be described in more detail based on embodiments and with reference to the drawings.

[0035] Figure 1 It is a schematic flowchart of the implementation of a control method provided by an embodiment of the present application;

[0036] Figure 2 It is a schematic flowchart of the specific implementation of a control method provided by an embodiment of the present application;

[0037] Figure 3 It is a schematic diagram of the composition structure of an electronic device provided by an embodiment of the present application.

[0038] In the drawings, the same components are denoted by the same reference numerals, and the drawings are not drawn to actual scale. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0039] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings. The described embodiments should not be construed as limiting the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.

[0040] In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with each other without conflict.

[0041] If similar descriptions such as "first / second / third" appear in the application documents, the following description shall be added. In the following description, the terms "first / second / third" only distinguish similar objects and do not represent a specific order for the objects. Understandably, "first / second / third" can be interchanged in a specific order or sequence when permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0043] Based on the problems existing in the related art, embodiments of the present application provide a control method, which is applied to an electronic device, such as a computer, a mobile terminal, a home host, etc. The mobile terminal may include a mobile phone, a tablet computer, etc. In some embodiments, the electronic device may be a controller of a home host. The functions implemented by the control method provided by the embodiments of the present application can be realized by a processor of the electronic device calling program code, where the program code can be stored in a computer storage medium.

[0044] Example 1

[0045] Embodiments of the present application provide a control method Figure 1 is a schematic flowchart of the implementation of a control method provided by an embodiment of the present application, as Figure 1 shown, including:

[0046] Step S101, obtain user information and scenario data in a storage device, where the scenario data is encrypted data.

[0047] In the embodiments of the present application, the electronic device has an interface and can be connected to the storage device through the interface. After the storage device is connected and inserted into the interface, the electronic device can scan the user information and scenario data in the storage device, so as to obtain the user information and scenario data in the storage device.

[0048] In the embodiments of the present application, the storage device is a device for storing user scenario data, and only requires a storage function, including but not limited to: various storage devices with storage information functions such as SD memory cards, optical discs, USB flash drives, etc.

[0049] In the embodiments of the present application, the user information can be regarded as plaintext information, the scenario data is ciphertext information, and the user information may include: virtual identification information of the user, and the virtual identification of the user may be the virtual ID of the user. In the embodiments of the present application, the virtual identification information may be the name of the user.

[0050] In the embodiments of the present application, the user information may include: a user virtual identifier. In some embodiments, the user information may further include: brief information of the cloud server interface.

[0051] In the embodiments of the present application, the scenario data may include: a scenario command of the user. In the scenario command, the device type is included, and the device model is not included. Exemplarily, when the humidity is less than 60%, the humidifier is turned on. It can be seen that in this scenario data, the model of the humidifier is not included.

[0052] In the embodiments of the present application, the scenario data is encrypted data and requires user authorization to be read.

[0053] In some embodiments, before step S101, the method further includes:

[0054] Step S1, obtaining the scenario data set by the user through the application APP.

[0055] In the embodiments of the present application, the user can set the scenario data through the application APP. For example, after the user selects a device, sets the command parameters of the device, and then clicks to generate a scenario, the scenario data set by the user through the application APP can be obtained.

[0056] In the embodiments of the present application, the application APP may be a control APP for smart home.

[0057] Step S2, encrypting the scenario data.

[0058] In the embodiments of the present application, the scenario data can be encrypted by a public key.

[0059] Step S3, storing the encrypted scenario data and the user information of the user in the storage device.

[0060] In the embodiments of the present application, the electronic device can be communicatively connected to the storage device, so as to store the encrypted scenario data and the user information of the user in the storage device.

[0061] In the embodiments of the present application, the storage device may be an SD memory card, an optical disc, a USB flash drive, etc. In some embodiments, the storage device may also be a mobile terminal.

[0062] In the embodiments of the present application, after the electronic device obtains the scenario data, it can also control the device corresponding to the scenario data to execute.

[0063] Step S102, sending an authorization request to the user corresponding to the user information based on the user information.

[0064] In an embodiment of the present application, a call request is sent to the server based on the user information, so that the server can obtain the user virtual identifier and send an authorization request to the user's terminal based on the user virtual identifier. Whether to authorize options are displayed on the user terminal, and the user can click the options to select whether to authorize.

[0065] In an embodiment of the present application, if the user clicks to authorize, the user terminal will send information to the server, and the server will send the response information to the electronic device. In an embodiment of the present application, the private key of the user can be stored in the server. When the server sends the response information to the electronic device, the private key will also be sent to the electronic device. If the user chooses not to authorize, the server will not send the private key to the electronic device, and the electronic device will obtain the information that the authorization fails.

[0066] In an embodiment of the present application, the private key in the server can have a corresponding relationship with the public key during encryption, and the encrypted scenario data can be decrypted by the user's private key.

[0067] In an embodiment of the present application, the user identifier can be processed to obtain the user virtual identifier to protect the security of user data. Generally, it is obtained by some encryption algorithms from the original user ID. After receiving the external request information, the target user ID is encrypted and given to the third party. When the third party returns the user ID, the ID is decrypted to obtain the real ID.

[0068] Step S103, in the case of obtaining the response information of passing authorization sent by the user, determine the private key based on the response information.

[0069] In an embodiment of the present application, the electronic device can parse the response information to obtain the private key.

[0070] Step S104, decrypt the scenario data based on the private key.

[0071] Step S105, control the device corresponding to the scenario data to execute based on the decrypted scenario data.

[0072] In an embodiment of the present application, the electronic device can recognize the decrypted scenario data, so that it can control the device corresponding to the scenario data to execute. In an embodiment of the present application, the device in the scenario data and the command corresponding to the device can be recognized. Then the command corresponding to the device is broadcast to the device, and after the device receives the broadcast, it will execute.

[0073] A control method provided by the present application obtains user information and scenario data in a storage device, where the scenario data is encrypted data; sends an authorization request to the user corresponding to the user information based on the user information; determines a private key based on the response information in the case of obtaining a response information of passing authorization sent by the user; decrypts the scenario data based on the private key; and controls a device corresponding to the scenario data to execute based on the decrypted scenario data, which can improve the security of using the scenario data and enhance the security of the scenario data.

[0074] In some embodiments, after step S102, the method further includes:

[0075] Step S106, in the case of authorization failure, outputs a prompt message, and the prompt message is used to prompt to resend an authorization request.

[0076] In the embodiments of the present application, the case of authorization failure can be considered that the user does not perform authorization, so the electronic device cannot obtain the private key of the user and thus cannot perform decryption. Since decryption cannot be performed, the electronic device cannot identify the scenario data.

[0077] In the embodiments of the present application, the prompt message can be output in ways such as text message, voice, APP output, etc. In the embodiments of the present application, the prompt message can be output through a display device.

[0078] Example 2:

[0079] Based on the foregoing embodiments, the embodiments of the present application further provide a control method. The execution subject of the present application can be a main control device similar to a home host. The main control device is responsible for receiving the scenario information set by the user and sending it to the device for execution on time according to the scenario settings. The scenario data set by the user through the APP is sent to the device for execution by the home host. The home host encrypts the scenario data and stores it in a removable memory. The cloud does not save the user's scenario data, but only saves the encrypted verification information of the user data to help the user pass the verification. When the user arrives at a new home, the user can insert the memory into the storage unit of the new home. After the main control device of the new home reads the content of the memory and reads some explicit information, it sends an authorization request to the user. After the user authorizes, the card information is read and the user scenario command is executed.

[0080] Optionally, the storage device is a device for storing user scenario data, which only needs to have a storage function, including but not limited to: various memory devices with storage information functions such as SD memory cards, optical discs, USB flash drives, etc.

[0081] Generally, two types of information are stored in the memory. The first type is plaintext information, which stores brief information such as the user's virtual ID and the cloud server interface. It is only used to satisfy the master device to send an authorization request to the user through the target server, and the master device can directly read it. The second type is the encrypted user scenario data information, which the master device can only read after obtaining the private key and the encryption / decryption method through user authorization and decrypting it.

[0082] Generally, the user virtual ID is a virtual user ID generated by the server of the smart home brand used by the user when storing user information to protect user data security when docking with third-party interfaces. It is generally obtained by applying some encryption algorithms to the original user ID. After receiving external request information, the target user ID is encrypted and given to the third party. When the third party returns the user ID, the ID is decrypted to obtain the real ID.

[0083] Generally, the user's authorization method is as follows: After the master device reads the inserted master device, it obtains the plaintext information in the memory (such as the user virtual ID, the cloud server interface request method, etc.). After the master device obtains this information, it sends a call request to the corresponding cloud server. The server obtains the information such as the user ID carried in the request and sends an authorization request to the terminal device held by the user. After the user agrees to authorize, the server sends the encryption method and the key to the master device. After the master device obtains the encrypted information, it decrypts the read scenario information and then executes in the new home scenario.

[0084] Generally, the master device in each home has been networked with the devices in the home. The memory only stores the user's scenario commands and does not store the specific corresponding model information of the target device for executing the scenario commands. For example, when the humidity of the humidifier is less than 60%, it is turned on. Then, when the master device detects that the ambient humidity is less than 60%, it immediately controls the networked humidifier device to turn on. It does not require the humidifier device in the memory to have the same model as the device in the home to execute.

[0085] Figure 2 This is the specific implementation process of a control method provided by an embodiment of the present application, as Figure 2As shown in the figure, it includes: The user uses the home host to manage the user's home devices, and the user controls the devices through the home host to execute scene commands; The home host executes the commands and stores the data in the memory after encryption; After the user changes rooms, the storage device is removed from the original home master device and placed on the master device in the new room; The master device in the new home scans the memory, obtains the plaintext information in the memory, and issues an authorization instruction to the user through the plaintext information. After the user authorizes (for the authorization method, see General 3), the server sends the encryption method and key to the master device; If the authorization fails, prompt the user to re-authorize or give up reading; After the master device obtains the stored encryption method and key, it decrypts the scene information stored in the memory. After successful decryption, the master device can link and execute the scene command according to the user's scene conditions.

[0086] Example 3

[0087] Based on the foregoing embodiments, an embodiment of the present application provides a control device. Each module included in the device, as well as each unit included in each module, can be implemented by a processor in a computer device; Of course, it can also be implemented by specific logic circuits; In the process of implementation, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing), or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.

[0088] An embodiment of the present application provides a control device, including:

[0089] An acquisition module, configured to acquire user information and scene data in a storage device, where the scene data is encrypted data;

[0090] A sending module, configured to send an authorization request to the user corresponding to the user information based on the user information;

[0091] A determination module, configured to determine a private key based on the response information in the case of obtaining a response information of passing authorization sent by the user;

[0092] A decryption module, configured to decrypt the scene data based on the private key;

[0093] A control module, configured to control the device corresponding to the scene data to execute based on the decrypted scene data.

[0094] In an embodiment of the present application, the electronic device has an interface through which a storage device can be connected. After the storage device is connected and inserted into the interface, the electronic device can scan the user information and scenario data in the storage device, thereby obtaining the user information and scenario data in the storage device.

[0095] In an embodiment of the present application, the storage device is a device for storing user scenario data, and only requires a storage function, including but not limited to: various storage devices with information storage functions such as SD memory cards, optical discs, USB flash drives, etc.

[0096] In an embodiment of the present application, the user information can be regarded as plaintext information, and the scenario data is ciphertext information. The user information may include: the virtual identification information of the user, and the virtual identification of the user may be the virtual ID of the user. In an embodiment of the present application, the virtual identification information may be the name of the user.

[0097] In an embodiment of the present application, the user information may include: the user virtual identification. In some embodiments, the user information may further include: brief information of the cloud server interface.

[0098] In an embodiment of the present application, the scenario data may include: the scenario command of the user. In the scenario command, the device type is included, but the device model is not. Exemplarily, when the humidity of the humidifier is less than 60%, it is turned on. It can be seen that in this scenario data, the model of the humidifier is not included.

[0099] In an embodiment of the present application, the scenario data is encrypted data and requires user authorization to be read.

[0100] In an embodiment of the present application, a call request is sent to the server based on the user information, so that the server can obtain the user virtual identification and send an authorization request to the user's terminal based on the user virtual identification. Whether to authorize options are displayed on the user terminal, and the user can click the options to select whether to authorize.

[0101] In an embodiment of the present application, if the user clicks to authorize, the user terminal will send information to the server, and the server will send the response information to the electronic device. In an embodiment of the present application, the private key of the user may be stored in the server. When the server sends the response information to the electronic device, the private key will also be sent to the electronic device. If the user chooses not to authorize, the server will not send the private key to the electronic device, and the electronic device will obtain the information of authorization failure.

[0102] In an embodiment of the present application, the private key in the server may have a corresponding relationship with the public key during encryption, and the encrypted scenario data can be decrypted with the private key of the user.

[0103] In the embodiments of the present application, the user identifier can be processed to obtain a user virtual identifier to protect the security of user data. Generally, it is obtained by applying some encryption algorithms to the original user ID. After receiving external request information, the target user ID is encrypted and given to a third party. When the third party returns the user ID, the ID is decrypted to obtain the real ID.

[0104] In the embodiments of the present application, the electronic device can recognize the decrypted scenario data, so as to control the device corresponding to the scenario data to execute. In the embodiments of the present application, the devices in the scenario data and the commands corresponding to the devices can be recognized. Then, the commands corresponding to the devices are broadcast to the devices, and after receiving the broadcast, the devices execute.

[0105] In some embodiments, the control device is further configured to:

[0106] Obtain the scenario data set by the user through the application APP;

[0107] Encrypt the scenario data;

[0108] Store the encrypted scenario data and the user information of the user in the storage device.

[0109] In some embodiments, the user information includes: a user virtual identifier, and the control device is further configured to:

[0110] Determine the virtual user identifier based on the user identifier of the user.

[0111] In some embodiments, the sending an authorization request to the user corresponding to the user information includes:

[0112] Sending a call request to the server based on the user information, so that the server obtains the user virtual identifier and sends an authorization request to the terminal of the user based on the user virtual identifier.

[0113] In some embodiments, the control device is further configured to:

[0114] In the case of authorization failure, output a prompt message, and the prompt message is used to prompt to resend the authorization request.

[0115] It should be noted that in the embodiments of the present application, if the above control method is implemented in the form of software function modules and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read Only Memory), magnetic disks, or optical discs that can store program codes. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0116] Correspondingly, the embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and characterized in that when the computer program is executed by a processor, it implements the steps in the control method provided in the above embodiments.

[0117] Example 4

[0118] The embodiments of the present application provide an electronic device; Figure 3 is a schematic diagram of the composition structure of the electronic device provided in the embodiments of the present application, as Figure 3 shown, the electronic device 700 includes: a processor 701, at least one communication bus 702, a user interface 703, at least one external communication interface 704, and a memory 705. Among them, the communication bus 702 is configured to implement connection communication between these components. Among them, the user interface 703 may include a control screen, and the external communication interface 704 may include a standard wired interface and a wireless interface. The processor 701 is configured to execute the program of the control method stored in the memory to implement the steps in the control method provided in the above embodiments.

[0119] The descriptions of the above embodiments of the electronic device and the storage medium are similar to the descriptions of the above method embodiments and have similar beneficial effects to those of the method embodiments. For the technical details not disclosed in the embodiments of the computer device and the storage medium of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

[0120] It should be pointed out here that: the descriptions of the above embodiments of the storage medium and the device are similar to the descriptions of the above method embodiments and have similar beneficial effects to those of the method embodiments. For the technical details not disclosed in the embodiments of the storage medium and the device of the present application, please refer to the descriptions of the method embodiments of the present application for understanding.

[0121] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures, or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the magnitudes of the serial numbers of the above processes do not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages or disadvantages of the embodiments.

[0122] It should be noted that in this article, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.

[0123] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components controlled or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical, or other forms.

[0124] The units described above as separate components may or may not be physically separated, and the components controlled as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] In addition, each functional unit in the embodiments of the present application can be all integrated in one processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in one unit; the above integrated units can be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0126] Those of ordinary skill in the art will understand that all or part of the steps for implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including those of the above method embodiments; and the aforementioned storage medium includes: removable storage devices, read-only memories (ROMs), magnetic disks, or optical discs and other various media that can store program codes.

[0127] Alternatively, if the above integrated units of the present application are implemented in the form of software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a controller to execute all or part of the methods described in the various embodiments of the present application. And the aforementioned storage medium includes: removable storage devices, ROMs, magnetic disks, or optical discs and other various media that can store program codes.

[0128] As described above, only the implementation manners of the present application are provided, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claimed rights.

Claims

1. A control method, characterized in that, including: Obtain user information and scenario data in a storage device, where the scenario data is encrypted data; Send an authorization request to the user corresponding to the user information based on the user information; When obtaining the response information authorized by the user, determine the private key based on the response information; Decrypt the scenario data based on the private key; Control the device corresponding to the scenario data to execute based on the decrypted scenario data; The method further includes: Obtain the scenario data set by the user through the application APP; Encrypt the scenario data; Store the encrypted scenario data and the user information of the user in the storage device; The user information includes: a user virtual identifier, and the method further includes: Determine the virtual user identifier based on the user identifier of the user; The sending the authorization request to the user corresponding to the user information based on the user information includes: Send a call request to the server based on the user information, so that the server obtains the user virtual identifier and sends an authorization request to the user's terminal based on the user virtual identifier. The server does not save the user's scenario data, only saves the encrypted verification information of the user data. The server stores the user's private key. When the server sends the response information to the user's terminal, it will also send the private key to the user's terminal. When the user chooses not to authorize, the server will not send the private key to the user's terminal, and the user's terminal will obtain the information of authorization failure.

2. The method according to claim 1, wherein The method further includes: When the authorization fails, output a prompt message for prompting to resend the authorization request.

3. A control device, characterized in that, including: An obtaining module, configured to obtain user information and scenario data in a storage device, where the scenario data is encrypted data; A sending module, configured to send an authorization request to the user corresponding to the user information based on the user information; A determining module, configured to determine the private key based on the response information when obtaining the response information authorized by the user; A decrypting module, configured to decrypt the scenario data based on the private key; A control module, configured to control the device corresponding to the scenario data to execute based on the decrypted scenario data; The device is further configured to: Obtain the scenario data set by the user through the application APP; Encrypt the scenario data; Store the encrypted scenario data and the user information of the user in the storage device; The user information includes: a user virtual identifier, and the device is further configured to: Determine the virtual user identifier based on the user identifier of the user; The sending the authorization request to the user corresponding to the user information based on the user information includes: Send a call request to the server based on the user information, so that the server can obtain the user virtual identifier and send an authorization request to the user's terminal based on the user virtual identifier. Among them, the server does not save the user's scenario data, but only saves the encrypted verification information of the user data. The private key of the user is stored in the server. When the server sends the response information to the electronic device, the private key will also be sent to the electronic device. When the user chooses not to authorize, the server will not send the private key to the electronic device, and the electronic device will obtain the information of authorization failure.

4. An electronic device, characterized in that, It includes a memory and a processor. A computer program is stored on the memory. When the computer program is executed by the processor, it executes the control method according to any one of claims 1 to 2.

5. A home host, characterized in that, It includes: The electronic device according to claim 4.

6. A storage medium, characterized in that, The computer program stored in this storage medium can be executed by one or more processors and can be used to implement the control method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Control method and apparatus of electronic device

    CN105278986A

  • Method and system for controlling distant equipment

    US20080136640A1