WO2022143273A1 - Procédé de traitement d'informations et dispositif électronique - Google Patents

Procédé de traitement d'informations et dispositif électronique Download PDF

Info

Publication number
WO2022143273A1
WO2022143273A1 PCT/CN2021/139833 CN2021139833W WO2022143273A1 WO 2022143273 A1 WO2022143273 A1 WO 2022143273A1 CN 2021139833 W CN2021139833 W CN 2021139833W WO 2022143273 A1 WO2022143273 A1 WO 2022143273A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
electronic device
information
temporary
account information
Prior art date
Application number
PCT/CN2021/139833
Other languages
English (en)
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 WO2022143273A1 publication Critical patent/WO2022143273A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present application relates to the technical field of intelligent terminals, and in particular, to an information processing method and an electronic device.
  • a controlled electronic device such as the above-mentioned smart TV
  • a controlled electronic device generally can only be bound to the account of the user who owns the electronic device as an administrator account, and the user who owns the electronic device can control it.
  • a user needs to temporarily control the electronic devices of other users, for example, a user is a guest at someone else's house and wishes to temporarily control electronic devices such as smart TVs and smart speakers in the owner's home through his mobile phone, the user as the owner needs to be in the administrator account.
  • the whole process is for the user as the host or for the guest as a guest.
  • the operation is more cumbersome, especially when there are multiple guests, it is more cumbersome to share the users as the host one by one electronic device and account by account.
  • the present application provides an information processing method and electronic device, which enable a user to conveniently use his own electronic device to temporarily control the electronic device of others.
  • the present application provides an information processing method, applied to a second electronic device, comprising: receiving a first message sent by the first electronic device, where the first message is used to request temporary control authority for the third electronic device; In response to the first message, send a second message to the first server, where the second message is used to request the temporary control authority of the first electronic device to the third electronic device; receive a third message sent by the first server, where the third message is used for Indicates the first temporary account information allocated to the first electronic device, the first temporary account information has temporary control authority to the third electronic device; in response to the third message, a fourth message is sent to the first electronic device, and the fourth message uses for sending the first temporary account information.
  • the second electronic device obtains the temporary control authority for the third electronic device from the first server based on the first message sent by the first electronic device, and sends the temporary control authority to the first electronic device, without the need for a process.
  • Users of the third electronic device and the first electronic device operate, which is easy to operate and improves user experience.
  • the method further includes: establishing a data connection based on near field communication with the first electronic device; receiving the first message sent by the first electronic device, including: receiving the first message through the established data connection; Sending the fourth message by the first electronic device includes: sending the fourth message to the first electronic device through the established data connection.
  • a data connection is established based on near field communication to transmit messages, so that the user of the first electronic device only needs to bring the first electronic device close to the second electronic device to obtain the temporary control authority of the third electronic device, and further The operation of obtaining the temporary control authority by the user of the first electronic device is simplified.
  • the method before sending the second message to the first server, the method further includes: determining that the first function is enabled, and the first function is a function of transmitting a temporary control authority.
  • the method further includes: in response to the first message, determining that the first function is disabled, and sending a fifth message to the first electronic device, where the fifth message is used to reject the first electronic device to the third electronic device request for temporary control permissions.
  • the method before receiving the first message sent by the first electronic device, the method further includes: sending a sixth message to the first electronic device through the established data connection, where the sixth message is used to record that the second electronic device has The first function, the first function is the function of transferring the temporary control authority.
  • the method further includes: receiving a seventh message sent by the first server, where the seventh message is used to indicate the switch state of the first function; and modifying the switch state of the first function according to the switch state indicated by the seventh message .
  • the first temporary account information is temporary account information of the first administrator account information; the first administrator account information is administrator account information bound to the second electronic device; the first administrator The account information has management authority to the third electronic device.
  • the method further includes: the first message, the second message, and the third message all include first identification information, and the first identification information is identification information of the first electronic device; and/or, the first identification information
  • a temporary account information includes: temporary account name, password; and/or, the second message includes: identification information of the second electronic device; and/or, the seventh message includes: used to record the switch state of the first function and/or, the temporary control authority includes: controlling the on-off state of the third electronic device, and controlling the working state of the third electronic device; and/or, the management authority includes: deleting the temporary control authority of the first temporary account information, enhancing the first The control authority level of the first temporary account information extends the effective time of the temporary control authority of the first temporary account information.
  • an embodiment of the present application provides an information processing method, which is applied to a first electronic device, including: sending a first message to the second electronic device, where the first message is used to request a temporary control authority for the third electronic device; Receive the fourth message sent by the second electronic device, where the fourth message is used to send the first temporary account information; the fourth message sends the second message to the first server on the second electronic device, and receives the third message sent by the first server
  • the second message is used to request the temporary control authority of the first electronic device to the third electronic device; the third message is used to indicate the first temporary account information allocated for the first electronic device; Temporary control authority for three electronic devices.
  • the first electronic device obtains the temporary control authority for the third electronic device from the first server through the second electronic device, and the users of the third electronic device and the first electronic device do not need to operate in the process, and the operation is simple and convenient. Improve user experience.
  • the method further includes: after successful login using the first temporary account information, receiving first information sent by the first server, where the first information is used to record the information of the third electronic device; the third electronic device is An electronic device that can be controlled by the first temporary account information among the electronic devices bound with the first administrator account information; the first administrator account information is the administrator account information bound with the second electronic device; the first administrator account The information has management authority to the third electronic device; the first information is displayed.
  • the first information further includes: grouping information, where the grouping information is used to record the home environment where the third electronic device is located; and displaying the first information includes: displaying the first information according to the grouping information.
  • the method further includes: receiving a twelfth message sent by the first server, where the twelfth message is used to indicate that the temporary control authority of the first temporary account information ends, and the twelfth message is determined by the first server. Sent when the usage time of the first temporary account information reaches a preset threshold; and the display of the first information is ended.
  • the method further includes: detecting a first operation, where the first operation is used to request to increase the authority of the first temporary account information, and an eighth message is sent to the first server, and the eighth message is used to request to increase the first temporary account information.
  • the authority of the temporary account information; the eighth message is used to make the first server send the ninth message to the fourth electronic device, the fourth electronic device displays the authority upgrade request information of the first temporary account information, and the ninth message is used to request to upgrade the first temporary account information. Permissions for a temporary account information.
  • the method further includes: receiving an eleventh message sent by the first server, where the eleventh message is used to indicate a permission upgrade result of the first temporary account information; The eleventh message is sent after the first server receives the tenth message sent by the fourth electronic device. The tenth message is used to indicate the authority upgrade result of the first temporary account information; the authority upgrade result indicated by the eleventh message is displayed.
  • the result of the authority upgrade is to upgrade to administrator account information
  • the method further includes: receiving second information sent by the first server, where the second information is used to record the information bound to the first administrator account information.
  • Information of the electronic device displaying the second information.
  • the method further includes: establishing a data connection based on on-site communication with the second electronic device; sending the first message to the second electronic device, including: sending the first message through the established data connection; receiving the first message
  • the fourth message sent by the second electronic device includes: receiving the fourth message through the established data connection.
  • a data connection is established based on near field communication to transmit messages, so that the user of the first electronic device only needs to bring the first electronic device close to the second electronic device to obtain the temporary control authority of the third electronic device, and further The operation of obtaining the temporary control authority by the user of the first electronic device is simplified.
  • the method further includes: the first message, the second message, and the third message all include first identification information, and the first identification information is identification information of the first electronic device; and/or, the first identification information
  • the temporary account information includes: temporary account name and password; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include the first temporary account information; and/or Or, the tenth message and the eleventh message include: the first temporary account information and the authority escalation result; and/or, the twelfth message includes: the first temporary account information, and the information for recording the end of the temporary control authority information; and/or, the temporary control authority includes: controlling the switch state of the third electronic device, and controlling the working state of the third electronic device; and/or, the first temporary account information is the temporary account information of the first administrator account information; And/or, the management authority includes: deleting the temporary control authority of the first temporary account information, increasing the level of the control authority of the first temporary account information, and extending the effective
  • an embodiment of the present application provides an information processing method, which is applied to a server and includes: receiving a second message sent by a second electronic device, where the second message receives a first message sent by the first electronic device at the second electronic device.
  • the message is sent after the message; it is used to request the temporary control authority to the third electronic device; the second message is used to request the temporary control authority of the first electronic device to the third electronic device; Three messages, the third message is used to indicate the first temporary account information allocated to the first electronic device; the third message is also used to make the second electronic device send a fourth message to the first electronic device, and the fourth message is used to send the first 1 temporary account information; the first temporary account information has temporary control authority over the third electronic device.
  • the server automatically generates the first temporary account information and transmits it to the first electronic device through the second electronic device, and the user of the third electronic device and the first electronic device does not need to operate during the process, which is easy to operate and improves user experience.
  • the method further includes: after successful login verification on the first temporary account information sent by the first electronic device, sending first information to the first electronic device, where the first information is used to record the third electronic device information; the first information is further used to make the first electronic device display the first information.
  • the method further includes: determining that the usage time of the first temporary account information reaches a preset threshold, and sending a twelfth message to the first electronic device, where the twelfth message is used to indicate the use time of the first temporary account information Temporary control authority ends.
  • the method further includes: receiving a thirteenth message sent by the fourth electronic device, where the thirteenth message is used to indicate the switch state of the first function of the second electronic device; the thirteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the second operation, determines the setting result of the second operation instruction, and sends it; the second operation is used to switch the first function of the second electronic device state; the first administrator account information is the administrator account information bound to the second electronic device; the first administrator account information has the management authority to the third electronic device; records are recorded according to the switch state indicated by the thirteenth message The switch state of the first function of the second electronic device; sending a seventh message to the second electronic device, where the seventh message is used to indicate the switch state of the first function of the second electronic device.
  • the method further includes: receiving a fourteenth message sent by the fourth electronic device, where the fourteenth message is used to indicate whether the third electronic device can be controlled by the temporary account information; the fourteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the third operation, determines the setting result of the third operation instruction, and sends it; the second operation is used to check whether the third electronic device can be used by the temporary account information
  • the control is set; whether the third electronic device can be controlled by the temporary account information is recorded according to the thirteenth message.
  • sending the first information to the first electronic device includes: searching for the information of the electronic device that can be controlled by the temporary account information from the information of the electronic device bound with the account information of the first administrator, Obtain the first information; send the first information to the first electronic device.
  • the method further includes: receiving an eighth message sent by the first electronic device, where the eighth message is sent after the first electronic device detects the first operation; the first operation is used to request to upgrade the first temporary account the authority of the information, the eighth message is used to request the authority to enhance the information of the first temporary account; in response to the eighth message, a ninth message is sent to the fourth electronic device, and the ninth message is used to request the authority to enhance the information of the first temporary account; The ninth message is further used to cause the fourth electronic device to display permission upgrade request information of the first temporary account information.
  • the method further includes: receiving a tenth message sent by the fourth electronic device, where the tenth message is sent after the fourth electronic device detects the fourth operation; The fourth operation is used to set the authority escalation result of the first temporary account information, and the tenth message is used to indicate the authority escalation result of the first temporary account information; in response to the tenth message, modify the first message according to the authority escalation result indicated by the tenth message. For the authority level of the temporary account information, an eleventh message is sent to the first electronic device, where the eleventh message is used to indicate the authority upgrade result of the first temporary account information.
  • the result of the authority upgrade is to upgrade to administrator account information
  • the method further includes: sending second information to the first electronic device, where the second information is used to record in the information bound to the first administrator account information.
  • Information on electronic equipment is to upgrade to administrator account information
  • the method further includes: the first message, the second message, and the third message all include first identification information, and the first identification information is identification information of the first electronic device; and/or, the first identification information
  • the temporary account information includes: temporary account name and password; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include the first temporary account information; and/or Or, the tenth message and the eleventh message include: the first temporary account information and the authority escalation result; and/or, the twelfth message includes: the first temporary account information, and the information for recording the end of the temporary control authority information; and/or, the temporary control authority includes: controlling the switch state of the third electronic device, and controlling the working state of the third electronic device; and/or, the first temporary account information is the temporary account information of the first administrator account information; And/or, the management authority includes: deleting the temporary control authority of the first temporary account information, increasing the level of the control authority of the first temporary account information, and extending the effective
  • an embodiment of the present application provides an information processing method, which is applied to a second electronic device, including: receiving a first message sent by the first electronic device, where the first message is used to request temporary control authority for the third electronic device ;
  • the first message includes: second identification information; the second identification information is used to identify the first electronic device; in response to the first message, send a second message to the first server, and the second message is used to request the first electronic device to The temporary control authority of the three electronic devices;
  • the second message includes the second identification information;
  • the third message sent by the first server is received, and the third message is used to send confirmation information, and the confirmation information is used to indicate that the second identification information has been allocated a pair of Temporary control authority of the third electronic device; in response to the third message, send a fourth message to the first electronic device, where the fourth message is used to send confirmation information.
  • the second electronic device based on the first message sent by the first electronic device, obtains from the first server the identification information of the first electronic device for the temporary control authority of the third electronic device, and the third electronic device is not required in the process.
  • the operation is performed with the user of the first electronic device, the operation is simple, and the user experience is improved.
  • the method further includes: establishing a data connection based on near field communication with the first electronic device; receiving the first message sent by the first electronic device, including: receiving the first message through the established data connection; Sending the fourth message by the first electronic device includes: sending the fourth message to the first electronic device through the established data connection.
  • the method before sending the second message to the first server, the method further includes: determining that the first function is enabled, and the first function is a function of transmitting a temporary control authority.
  • the method further includes: in response to the first message, determining that the first function is disabled, and sending a fifth message to the first electronic device, where the fifth message is used to reject the first electronic device to the third electronic device request for temporary control permissions.
  • the method before receiving the first message sent by the first electronic device, the method further includes: sending a sixth message to the first electronic device through the established data connection, where the sixth message is used to record that the second electronic device has first function.
  • the method further includes: receiving a seventh message sent by the first server, where the seventh message is used to indicate the switch state of the first function; and modifying the switch state of the first function according to the switch state indicated by the seventh message .
  • the temporary control authority is the temporary control authority bound with the first administrator account information; the first administrator account information is the administrator account information bound with the second electronic device; the first administrator account information is the administrator account information bound with the second electronic device; The user account information has the management authority to the third electronic device.
  • the method further includes: the second identification information includes: identification information of the first electronic device, or second account information; the second account information includes: account name and password; and/or, third The message includes second identification information, and the second identification information is identification information of the first electronic device; and/or, the second message includes: identification information of the second electronic device; and/or, the seventh message includes: using information for recording the switch state of the first function; and/or, the temporary control authority includes: controlling the switch state of the third electronic device, and controlling the working state of the third electronic device; and/or, the management authority includes: deleting the second identifier The temporary control authority of the information, the control authority level of the second identification information is increased, and the effective time of the temporary control authority of the second identification information is extended.
  • an embodiment of the present application provides an information processing method, which is applied to a first electronic device, including: sending a first message to a second electronic device, where the first message is used to request a temporary control authority for the third electronic device;
  • the first message includes: second identification information; the second identification information is used to identify the first electronic device; the fourth message sent by the second electronic device is received, and the fourth message is used to send confirmation information;
  • the second identification information assigns temporary control authority to the third electronic device; the fourth message is sent after the second electronic device sends the second message to the first server and receives the third message sent by the first server; the second message is used for Request the temporary control authority of the first electronic device to the third electronic device; the third message is used to send confirmation information.
  • the first electronic device obtains from the first server through the second electronic device the identification information of the first electronic device for the temporary control authority of the third electronic device, and the process does not require the third electronic device and the first electronic device User operation, easy to operate, improve user experience.
  • the method further includes: after successful login using the second identification information, receiving first information sent by the first server, where the first information is used to record the information of the third electronic device;
  • the electronic device that can be controlled by the second identification information among the electronic devices bound by the first administrator account information;
  • the first administrator account information is the administrator account information bound with the second electronic device;
  • the first administrator account information has Management authority to the third electronic device; display the first information.
  • the first information further includes: grouping information, where the grouping information is used to record the home environment where the third electronic device is located; and displaying the first information includes: displaying the first information according to the grouping information.
  • the method further includes: receiving a twelfth message sent by the first server, where the twelfth message is used to indicate that the temporary control authority of the second identification information ends, and the twelfth message determines when the first server determines the first 2. Sent when the usage time of the identification information reaches a preset threshold; and the display of the first information is ended.
  • the method further includes: detecting a first operation, where the first operation is used for requesting to upgrade the authority of the second identification information, and sending an eighth message to the first server, where the eighth message is used for requesting to upgrade the second identification information The authority of the identification information; the eighth message is used to make the first server send the ninth message to the fourth electronic device, the fourth electronic device displays the authority upgrade request information of the second identification information, and the ninth message is used to request to upgrade the second identification information permission.
  • the method further includes: receiving an eleventh message sent by the first server, where the eleventh message is used to indicate the authority escalation result of the second identification information;
  • the eleventh message is sent after the first server receives the tenth message sent by the fourth electronic device, and the tenth message is used to indicate the authority escalation result of the second identification information; the authority escalation result indicated by the eleventh message is displayed.
  • the result of the authority upgrade is to upgrade to administrator account information
  • the method further includes: receiving second information sent by the first server, where the second information is used to record the information bound to the first administrator account information.
  • Information of the electronic device displaying the second information.
  • the method further includes: establishing a data connection based on on-site communication with the second electronic device; sending the first message to the second electronic device, including: sending the first message through the established data connection; receiving the first message
  • the fourth message sent by the second electronic device includes: receiving the fourth message through the established data connection.
  • the method further includes: the second identification information includes: identification information of the first electronic device, or second account information; the second account information includes: account name and password; and/or, third The message includes second identification information; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include second identification information; and/or, the tenth message and the eleventh message includes: the second identification information and the authority escalation result; and/or, the twelfth message includes: the second identification information and the information for recording the end of the temporary control authority; and/or, all the The temporary control authority includes: controlling the switch state of the third electronic device, and controlling the working state of the third electronic device; and/or, the management authority includes: deleting the temporary control authority for the second identification information, The control authority level of the second identification information is increased, and the effective time of the temporary control authority of the second identification information is extended.
  • an embodiment of the present application provides an information processing method, which is applied to a server and includes: receiving a second message sent by a second electronic device, where the second message receives a first message sent by the first electronic device at the second electronic device.
  • the first message is used to request the temporary control authority to the third electronic device;
  • the second message is used to request the temporary control authority of the first electronic device to the third electronic device;
  • both the first message and the second message include: second identification information; the second identification information is used to identify the first electronic device; in response to the second message, a third message is sent to the second electronic device, the third message is used to send confirmation information, and the confirmation information is used to indicate that the first electronic device has
  • the second identification information assigns the temporary control authority to the third electronic device;
  • the third message is also used to make the second electronic device send a fourth message to the first electronic device, and the fourth message is used to send confirmation information.
  • the server directly assigns a temporary control authority for the third electronic device to the identification information of the first electronic device.
  • the method further includes: after successful login verification of the second identification information sent by the first electronic device, sending first information to the first electronic device, where the first information is used to record the third electronic device information; the first information is further used to cause the first electronic device to display the first information.
  • the method further includes: determining that the usage time of the second identification information reaches a preset threshold, and sending a twelfth message to the first electronic device, where the twelfth message is used to indicate temporary control of the second identification information Permission ends.
  • the method further includes: receiving a thirteenth message sent by the fourth electronic device, where the thirteenth message is used to indicate the switch state of the first function of the second electronic device; the thirteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the second operation, determines the setting result of the second operation instruction, and sends it; the second operation is used to switch the first function of the second electronic device state; the first administrator account information is the administrator account information bound to the second electronic device; the first administrator account information has the management authority to the third electronic device; records are recorded according to the switch state indicated by the thirteenth message The switch state of the first function of the second electronic device; sending a seventh message to the second electronic device, where the seventh message is used to indicate the switch state of the first function of the second electronic device.
  • the method further includes: receiving a fourteenth message sent by the fourth electronic device, where the fourteenth message is used to indicate whether the third electronic device can be controlled by the temporary account information; the fourteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the third operation, determines the setting result of the third operation instruction, and sends it; the second operation is used to check whether the third electronic device can be used by the temporary account information
  • the control is set; whether the third electronic device can be controlled by the temporary account information is recorded according to the thirteenth message.
  • sending the first information to the first electronic device includes: searching for the information of the electronic device that can be controlled by the temporary account information from the information of the electronic device bound with the account information of the first administrator, Obtain the first information; send the first information to the first electronic device.
  • the method further includes: receiving an eighth message sent by the first electronic device, where the eighth message is sent after the first electronic device detects the first operation; the first operation is used to request to upgrade the second identification information
  • the eighth message is used to request the authority to enhance the second identification information
  • a ninth message is sent to the fourth electronic device, and the ninth message is used to request the authority to enhance the second identification information; the ninth message It is also used to make the fourth electronic device display the permission upgrade request information of the second identification information.
  • the method further includes: receiving a tenth message sent by the fourth electronic device, where the tenth message is sent after the fourth electronic device detects the fourth operation; The fourth operation is used to set the authority escalation result of the second identification information, and the tenth message is used to indicate the authority escalation result of the second identification information; in response to the tenth message, modify the second identification information according to the authority escalation result indicated by the tenth message the permission level, and send an eleventh message to the first electronic device, where the eleventh message is used to indicate the permission escalation result of the second identification information.
  • the result of the authority upgrade is to upgrade to administrator account information
  • the method further includes: sending second information to the first electronic device, where the second information is used to record the information bound to the first administrator account information.
  • Information on electronic equipment is to upgrade to administrator account information
  • the method further includes: the second identification information includes: identification information of the first electronic device, or second account information; the second account information includes: account name and password; and/or, third The message includes second identification information; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include second identification information; and/or, the tenth message and the eleventh message includes: the second identification information and the authority escalation result; and/or the twelfth message includes: the second identification information and the information for recording the end of the temporary control authority; and/or, the temporary The control authority includes: controlling the switch state of the third electronic device, and controlling the working state of the third electronic device; and/or, the management authority includes: deleting the temporary control authority of the second identification information, and increasing the control authority level of the second identification information, The valid time of the temporary control authority of the second identification information is extended.
  • an embodiment of the present application provides an information processing system, including: a first electronic device, a second electronic device, and a first server; wherein the first electronic device is configured to: send a first message to the second electronic device, The first message is used to request the temporary control authority to the third electronic device; the second electronic device is used to: in response to the first message, send a second message to the first server, and the second message is used to request the first electronic device to control the third electronic device.
  • Temporary control authority of the third electronic device the first server is configured to: in response to the second message, send a third message to the second electronic device, the third message is used to indicate the first temporary account information allocated to the first electronic device, the first The temporary account information has temporary control authority over the third electronic device; the second electronic device is further configured to: in response to the third message, send a fourth message to the first electronic device, where the fourth message is used to send the first temporary account information .
  • an embodiment of the present application provides an information processing system, including: a first electronic device, a second electronic device, and a first server; wherein the first electronic device is configured to: send a first message to the second electronic device, The first message is used to request the temporary control authority to the third electronic device; the first message includes: second identification information; the second identification information is used to identify the first electronic device; the second electronic device is used to: respond to the first message , send a second message to the first server, where the second message is used to request the temporary control authority of the first electronic device to the third electronic device; the second message includes the second identification information; the first server is used for: responding to the second message , send a third message to the second electronic device, the third message is used to send confirmation information, and the confirmation information is used to indicate that the temporary control authority to the third electronic device has been allocated to the second identification information; the second electronic device is also used for : In response to the third message, send a fourth message to the first electronic device, where the fourth message is used to send confirmation information.
  • an embodiment of the present application provides a second electronic device, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs Include instructions that, when executed by the device, cause the device to perform the method of any one of the first aspects.
  • an embodiment of the present application provides a first electronic device, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs Include instructions that, when executed by the device, cause the device to perform the method of any one of the second aspects.
  • an embodiment of the present application provides a server, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions , when the instruction is executed by the device, the device is caused to execute the method of any one of the third aspects.
  • an embodiment of the present application provides a second electronic device, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs
  • the program includes instructions that, when executed by the device, cause the device to perform the method of any of the fourth aspects.
  • an embodiment of the present application provides a first electronic device, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs
  • the program includes instructions that, when executed by the device, cause the device to perform the method of any one of the fifth aspects.
  • embodiments of the present application provide a server, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions , when the instruction is executed by the device, the device is caused to execute the method of any one of the sixth aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute any one of the first to sixth aspects Methods.
  • the present application provides a computer program for performing the method of the first aspect when the computer program is executed by a computer.
  • the program in the sixteenth aspect may be stored in whole or in part on a storage medium packaged with the processor, or may be stored in part or in part in a memory not packaged with the processor.
  • FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 2 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
  • FIG. 3 is an example diagram of a usage scenario of an information processing method according to an embodiment of the present application.
  • FIG. 4 is an example diagram of a state display interface of a smart home device under a manager account according to an embodiment of the present application
  • FIG. 5 is an example diagram of another state display interface of a smart home device under a manager account according to an embodiment of the present application
  • FIG. 6 is an example diagram of a UI interface for setting device attribute information according to an embodiment of the present application.
  • Fig. 7 is another UI interface example diagram of the device attribute information device according to the embodiment of the present application.
  • FIG. 8 is an example diagram of a UI interface of an information processing method according to an embodiment of the present application.
  • 9A and 9B are exemplary diagrams of a state display interface of a smart home device under a temporary account according to an embodiment of the present application
  • FIG. 10A is a flowchart of an embodiment of the information processing method of the present application.
  • Figure 10B is a UI interface and an example diagram of interaction information between the trusted device and the first electronic device
  • 11 is an example diagram of a UI interface for temporarily controlling the escalation of authority in the information processing method of the application;
  • FIG. 13 is a structural diagram of an embodiment of an information processing apparatus of the present application.
  • FIG. 14 is a structural diagram of another embodiment of the information processing apparatus of the present application.
  • 15 is a structural diagram of another embodiment of the information processing apparatus of the present application.
  • FIG. 16 is a structural diagram of another embodiment of the information processing apparatus of the present application.
  • FIG. 17 is a structural diagram of another embodiment of the information processing apparatus of the present application.
  • FIG. 18 is a structural diagram of another embodiment of the information processing apparatus of the present application.
  • an administrator user a user who has an administrator account of the electronic device
  • other users are referred to as a non-administrator user.
  • the present application provides an information processing method and electronic device, which enables non-administrator users to conveniently use their own electronic devices to realize the management user's electronic devices without the need for administrator users to perform share operations on account-by-account and electronic-device-by-electronic devices. Controls to improve the user experience for both manager and non-manager users.
  • the methods provided in the embodiments of the present application can be applied to mobile electronic devices such as mobile phones, PADs, notebook computers, etc., and can also be applied to electronic devices in a home environment, such as smart TVs, smart speakers, and smart screens.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • a touch operation acts on the display screen 194
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions.
  • the instruction for viewing the short message is executed.
  • the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present invention takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 as an example.
  • FIG. 2 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the Android core library.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • FIG. 3 it is an example of a usage scenario of the information processing method according to the embodiment of the present application.
  • a home scene is provided with smart home devices, where the smart home devices may include: smart TV, smart speaker, smart meter, camera, smart desk lamp, smart curtain, smart door lock, and so on.
  • FIG. 4 it is an example diagram showing the status of the smart home devices bound after the administrator account is logged in according to the embodiment of the present application.
  • An administrator account can bind several smart home devices and control all smart home devices bound to the administrator account.
  • the administrator account has management rights to the smart home devices bound to the administrator account, such as: adding or deleting smart home devices, controlling smart home devices bound to the administrator account, and other possible management operations on smart home devices .
  • An administrator account can have the highest level of control over smart home devices.
  • each scenario may have smart home devices.
  • the smart home devices in each scenario are distinguished.
  • several groups can also be set under the administrator account, and users are supported to create, edit, and delete the groups, and each group can correspond to a scenario involved by the user. .
  • the account XXX of user XX is set up with three groups of "XX's home", “parents' home” and "company", and each group records the smart home devices bound to account XXX in the corresponding scenario
  • the grouping "XX's home” includes: XX's home TV, curtains, cameras, door locks and other smart home equipment
  • the grouping "parents' home” includes: XX's parents' home Smart home devices such as TVs and curtains
  • the grouped "company” includes: smart home devices such as air conditioners and curtains in XX's company; thus, it is convenient for user XX to distinguish smart home devices in different scenarios and control smart home devices in different scenarios .
  • Figures 4 and 5 above illustrate the relationship between accounts and smart home devices from a GUI perspective.
  • the server stores the information of smart home devices bound under each account.
  • the server can record the information of smart home devices bound to the account in a list, for example:
  • the information stored in the server is shown in Table 1 below, including three fields: account name, smart home device name, and location.
  • the information stored in the server is shown in Table 2 below, and the difference from Table 1 is that the field of the group name is added.
  • Table 1 and Table 2 are only examples, and are not used to limit the storage method of the smart home device information bound under the account in the server.
  • the above table may further store the identification information of each smart home device.
  • the identification information of the smart home device is used to uniquely identify the smart home device, and the identification information of different smart home devices is different.
  • each smart home device may be bound to one administrator account, or may be bound to multiple administrator accounts, which is not limited in the embodiment of the present application.
  • the multiple manager accounts may have a primary and secondary relationship, that is, the multiple manager accounts include a primary manager account, and the primary manager account has a pair of The authority to manage other administrator accounts; alternatively, multiple administrator accounts may not have a primary-secondary relationship, that is, multiple administrator accounts have the same authority and do not have management authority between each other.
  • the information processing method of the embodiment of the present application may set a first device attribute for the smart home device bound to the administrator account, which is used to record whether the smart home device can execute the information processing method of the embodiment of the present application, and the parameter of the first device attribute may be Including: trusted devices and common devices, trusted devices are used to indicate that smart home devices can be triggered to execute the information processing methods of the embodiments of the present application; common devices are used to indicate that they cannot be triggered to execute the information processing methods of the embodiments of the present application.
  • the server may set a parameter of the first device attribute for the smart home device, and the parameter value of the first device attribute may include: a trusted device and a common device.
  • a smart home device that can be set as a trusted device needs to have the ability to execute the information processing method of the embodiment of the present application.
  • a trusted device function can be preset for the smart home device. When this function is turned on, the smart home device can be triggered to execute the information processing method of the embodiment of the present application. When this function is turned off, the smart home device cannot be triggered. Execute the information processing method of the embodiment of the present application.
  • the administrator user can enable or disable the trusted device function in the smart home device, or can also control the trusted device function on or off by setting the first device attribute of the smart home device under the administrator account.
  • the information with the trusted device function can be sent to the server, and the server stores it.
  • the information about the first device attribute of the smart home device and whether it has a trusted device function stored in the server is shown in Table 3 below, including the list of smart home devices bound to the administrator account XXX, and the first device of each smart home device.
  • the administrator user can log in to the administrator account, and set whether the bound smart home device is a trusted device and execute the information processing method of the embodiment of this application.
  • the server will correspondingly update the parameter value and smart
  • the home device will correspond to the on/off status of the update trusted device function. For example, as shown in FIG. 6 , the administrator user logs in to the administrator account in an application of an electronic device, and selects the "device property setting" control by clicking with a finger.
  • the electronic device detects that the user has set the properties of the first device Select operation, obtain from the server a list of related information of smart home devices bound to the administrator account, the table may include: identification information of smart home devices, parameter values of the parameter "first device attribute" of each smart home device, and parameters For the parameter value of "with trusted device function", the list of related information obtained is shown in Table 4 below.
  • there are two kinds of parameter values of the first device attribute namely: common device and trusted device
  • there are two kinds of values with trusted device function namely: yes and no.
  • the parameter value of the first device attribute of the smart home device may be a default value, such as a common device.
  • Smart Home Devices first device properties Has trusted device capabilities television trusted device Yes door lock Ordinary equipment no curtain Ordinary equipment no Camera Ordinary equipment no
  • the electronic device where the administrator account is located displays the device property setting interface to the user, and the interface displays the bound smart home device and the parameter value of the first device property of the smart home device; the user selects a smart home device in the interface through operations such as finger clicks Home equipment, for example, in FIG. 6, selecting a TV is taken as an example.
  • the electronic device displays the attribute selection interface according to the trusted device function of the smart home device and the parameter values of the two parameters of the first device attribute.
  • the smart home device has a trusted device
  • the device function has two options of common device and trusted device for the user to choose, and displays the parameter value of the first device attribute of the smart home device, such as the third picture in Figure 6
  • the current device attribute of the TV is a trusted device as an example; if the smart home device does not have the trusted device function, there is only one common device option for the user to select (not shown in FIG. 6 ).
  • the parameter value option selected by the user in the third picture in Figure 6 is "Trusted Device".
  • the electronic device detects the selection operation for the parameter value option.
  • the setting result indicated by the selection operation is determined, and the setting result is sent to the server, and the server can modify the parameter value based on the setting result of the first device attribute.
  • the setting result can be compared with the original parameter value of the first device attribute of the smart home device, if the parameter value indicated by the selection operation is different from the original parameter value of the smart home device. the same, the setting result is sent to the server.
  • One is to modify from a trusted device to a common device, then the electronic device sends the parameter value of the first device attribute of the smart home device to the server, and the server modifies the parameter value of the first device attribute of the smart home device to a common device, and , sending a trusted device shutdown message to the smart home device, where the message is used to instruct the smart home device to close the trusted device function, and correspondingly, the smart home device closes the trusted device function in response to the trusted device shutdown message;
  • the other is to change from a common device to a trusted device
  • the electronic device sends the parameter value of the first device attribute of the smart home device to the server
  • the server modifies the parameter value of the first device attribute of the smart home device to a trusted device.
  • the server sends a trusted device enable message to the smart home device, the message is used to instruct the smart home device to enable the trusted device function, and correspondingly, the smart home device responds to the trusted device enable message to enable the trusted device function.
  • a second device attribute may also be set for the smart home device, which is used to record whether the smart home device can be controlled by an account other than the administrator account.
  • the values of the second device attribute may include: common equipment and privacy equipment; wherein, common equipment is used to indicate that the smart home equipment can be authorized to control accounts other than the administrator account, and private equipment is used to indicate that the smart home equipment cannot be authorized Give control to accounts other than the administrator account.
  • the server can correspondingly set the parameter of the second device attribute for the smart home device, and the parameter value of the second device attribute includes the common device and the privacy device, so as to record the second device set for the smart home device. Attributes.
  • the manager user can log in to the manager account and set the second device property of the bound smart home device.
  • the above-mentioned first device attribute and second device attribute are used for smart home device attributes.
  • the settings can be combined.
  • the third device attribute can be set only for the smart home device, and the value of the third device attribute can include: privacy device, trusted device and common device; wherein,
  • Privacy devices are used to indicate that smart home devices involve user privacy, are not authorized to control other accounts, and are not triggered to execute the information processing methods in the embodiments of this application; such devices are generally considered by managers and users in the home environment to involve privacy or security.
  • Smart home devices that do not want to authorize guests to control, such as cameras, door locks, etc., can belong to privacy devices.
  • Trusted devices are used to indicate that smart home devices do not involve user privacy, can be authorized to control other accounts, and can be triggered to execute the information processing methods of the embodiments of the present application, such as smart TVs, smart speakers, and the like.
  • Common devices are used to indicate that smart home devices do not involve user privacy, can be authorized to other accounts for control, and cannot be triggered to execute the information processing methods in the embodiments of the present application, such as the aforementioned smart curtains, smart desk lamps, and the like.
  • a parameter of the third device attribute can be correspondingly set in the server, and the parameter value of the third device attribute includes a trusted device, a common device, and a privacy device, so as to record the third device attribute of the smart home device.
  • the manager user can log in to the manager account, and configure the third device attribute of the bound smart home device.
  • the relevant information list of the smart home devices bound to the administrator account is obtained from the server, which can be replaced from Table 4 with the following table 5.
  • the third device in Table 5 There are three types of parameter values of the attribute, namely: private device, common device and trusted device.
  • One is to change from a trusted device to a common device or a privacy device, then the electronic device sends the setting result of the third device attribute of the smart home device to the server, and the server modifies the third device attribute of the smart home device to a common device or privacy device. device, and the server sends a trusted device shutdown message to the smart home device, where the message is used to instruct the smart home device to close the trusted device function, and accordingly, the smart home device responds to the trusted device shutdown message and closes the trusted device.
  • Function
  • the other is to change from a common device or a privacy device to a trusted device, then the electronic device sends the setting result of the third device attribute of the smart home device to the server, and the server modifies the third device attribute of the smart home device to a trusted device , and the server sends a trusted device opening message to the smart home device, where the message is used to instruct the smart home device to enable the trusted device function.
  • the smart home device responds to the trusted device opening message to enable the trusted device function. .
  • attribute information can also be set for the group information, such as setting the fourth device attribute, which is divided into privacy groups and common groups. It is used to indicate that the group can be authorized to control accounts other than the administrator account, and the privacy group is used to indicate that the group cannot be authorized to control accounts other than the administrator account;
  • the parameter of device attribute the parameter value of the fourth device attribute includes common group and privacy group, so as to record the fourth device attribute set for the group;
  • Four device properties are set, and the specific setting method can be parameterized as the above-mentioned property settings for smart home devices, which will not be described here.
  • the electronic device other than the electronic device where the administrator account is located is a mobile phone as an example, and the mobile phone can be a guest's mobile phone or a mobile phone of other family members; the trusted device is a smart TV as an example.
  • the mobile phone 820 establishes a data connection with the smart TV 810, and the data connection method is not limited in the embodiment of the present application.
  • the mobile phone 820 is close to the smart TV 810, so that a data connection is established between the mobile phone 820 and the smart TV 810 through the NFC module; the mobile phone 820 uses the established data connection to send a first temporary account request message to the smart TV 810, the first temporary account request message.
  • the mobile phone 820 carries the identification information of the mobile phone, and the identification information of the mobile phone is used to uniquely identify the mobile phone; correspondingly, the smart TV 810 receives the first temporary account request message.
  • the smart TV generates a second temporary account request message in response to the received first temporary account request message, and the second temporary account request message carries the identification information of the mobile phone and the identification information of the smart TV, and the first temporary account request message
  • the second temporary account request is sent to the server 830; correspondingly, the server 830 receives the second temporary account request message.
  • the second temporary account request message is used to request the server 830 for a temporary account.
  • the server 830 may be a server or a server cluster, and optionally, the server 830 may be a cloud server.
  • the server 830 obtains the identification information of the smart TV from the second temporary account request message, determines that the device attribute corresponding to the identification information of the smart TV is a trusted device, obtains the target administrator account corresponding to the identification information of the smart TV, and generates a temporary account information, establish a corresponding relationship between the temporary account information and the target administrator account.
  • the temporary account information includes: account name, password, and identification information of the mobile phone.
  • the server 830 sends the temporary account information to the smart TV 830.
  • the manager account can be determined as the target manager account; if the identification information of the smart TV corresponds to multiple manager accounts, if the multiple manager accounts have Main manager account, the main manager account can be determined as the target manager account. If there is no primary and secondary relationship between multiple manager accounts, any one of the manager accounts or a preset manager account can be used. Determined as the target administrator account.
  • the temporary account information has an effective time, and the specific time length of the effective time is not limited in this embodiment of the present application.
  • the administrator who owns the target administrator's account can pre-set by himself.
  • the management authority of the target administrator account in addition to the aforementioned authority for adding and deleting devices, may also include the following authority: delete the temporary control authority of the temporary account information, increase the control authority level of the temporary account information, and extend the temporary account information. The effective time of the temporary control authority, etc.
  • the target administrator account may also create temporary account information, and accordingly, the server may directly acquire the temporary account information created by the target administrator account as the above-mentioned temporary account information generated for the mobile phone 820 .
  • the temporary control authority of the temporary account may include: the control authority for the switch state of the common device and the trusted device under the target administrator account, the working status of the common device and the trusted device under the target administrator account, such as the sound level of the TV , the temperature of the refrigerator, the control authority of the cooling and heating temperature of the air conditioner, etc., and the authority related to the use of the equipment.
  • the general temporary control authority does not have the management authority to add, delete, and control authority escalation for common devices and trusted devices.
  • the smart TV 830 obtains the identification information of the mobile phone from the temporary account information, and sends the temporary account information to the mobile phone corresponding to the identification information of the mobile phone, for example, the mobile phone 820 in FIG. 8 .
  • the mobile phone 820 receives the temporary account information and logs in with the account name and password, and the temporary account displays ordinary devices and trusted devices under the target administrator account corresponding to the temporary account information.
  • the smart home devices displayed in the temporary account are shown in Figure 9A, and the common devices and trusted devices under the target manager account are TVs, curtains, desk lamps and speakers; if the target manager
  • the smart home devices under the administrator account have groups, the smart home devices displayed in the temporary account are shown in Figure 9B, and each group of the target administrator account, as well as the common devices and trusted devices under each group are displayed in the temporary account.
  • the devices, the specific displayed groups and the smart home devices under each group are shown in FIG. 9B , and will not be listed one by one.
  • the manager user can share the smart home device one by one under his own manager account, so that the non-manager user can obtain the temporary control right of the smart home device. , and non-manager users can obtain temporary control over smart home devices without having an account.
  • the operation is very simple for both manager users and non-manager users, thus improving the management and non-manager users. user experience.
  • the non-manager user here can be a guest or a family member of the manager user. Whether it is a guest or a family member, they can quickly obtain the temporary management authority of the smart home devices in the host's home, which simplifies the management user as the host. The tedious operation of temporary control permission sharing of smart home devices also avoids the trouble of guests or family members having to register new accounts because they do not have an account, and improves the utilization rate of smart home devices.
  • FIG. 10A is a flowchart of another embodiment of the information processing method according to the embodiment of the present application. As shown in FIG. 10A , the method may include:
  • Step 1001 Establish a data connection between the first electronic device and the first smart home device.
  • the first electronic device is an electronic device to be controlled by other electronic devices
  • the first smart home device is an electronic device that can communicate with the server, for example, the smart home device in the above embodiment.
  • a data connection based on near field communication may be established between the first electronic device and the first smart home device. Therefore, the user of the first electronic device only needs to bring the first electronic device close to the first smart home device to conveniently trigger and execute the information processing method of the embodiment of the present application, which further simplifies the operation of the user of the first electronic device.
  • a data connection is established between the first electronic device and the first smart home device by means of Bluetooth or WiFi.
  • this step may further include: the first electronic device determines that the function of its own trusted device is in an enabled state, and sends a notification message to the first smart home device based on the established data connection, where the notification message is used to record the first smart device.
  • Home devices have trusted device capabilities.
  • the notification message may further include other function information that the first smart home device can provide services to the first electronic device, so that the user of the first electronic device can select the services that the first smart home device wants to provide.
  • Step 1002 The first electronic device sends a first temporary account request message to the second electronic device based on the data connection.
  • the first temporary account request message is used to request the temporary control authority of the second smart home device.
  • the second smart home device is a smart home device that can be controlled by a temporary account among the electronic devices bound with the target administrator account information.
  • the second device attribute is set to a smart home device of a common device, or, the third device attribute is set to a smart home device of a trusted device or a common device.
  • the second smart home device may or may not include the first smart home device. For example, if the first device attribute of the first smart home device is a trusted device and the second device attribute is a private device, then the second smart home device is a smart home device whose second device attribute is a common device, excluding the first device Smart home device; if the third device attribute of the first smart home device is a trusted device, and the second smart home device is a smart home device whose third device attribute is a trusted device or a common device, then the second smart home device includes The first smart home device.
  • steps 1001 to 1002 may be implemented in the following manner:
  • the first smart home device based on the data
  • the connection sends the information of the services that it can provide to the first electronic device; wherein, if the first smart home device has a trusted device function, and the first smart home device determines that its own trusted device function is enabled, the above-mentioned services may include : apply for temporary control authority; correspondingly, the first electronic device receives the above information, and displays the services that the first smart home device can provide, including the service of "apply for temporary control authority", the user clicks "apply for temporary control authority" in the display interface ” control, correspondingly, the first electronic device detects the operation of applying for temporary control authority, and sends a first temporary account request message to the trusted device based on the data connection.
  • Step 1003 The first smart home device generates a second temporary account request message according to the first temporary account request message, and sends the second temporary account request message to the server.
  • the second temporary account request message includes: identification information of the first electronic device and identification information of the trusted device.
  • the second temporary account request message is used to request the temporary control authority of the first electronic device to the second smart home device.
  • the first smart home device if in step 1001 the first smart home device does not send the information that it has a trusted device function to the first electronic device, the first smart home device generates a second temporary account after receiving the first temporary account request message. Before the request message, it can also include:
  • the first smart home device determines the switch state of the trusted device function
  • the step of generating a second temporary account request message is performed
  • the first smart home device sends a rejection message to the first electronic device, where the rejection message is used to reject the first electronic device's request for temporary control authority over the second smart home device, and the flow branch ends.
  • Step 1004 The server receives the second temporary account request message, obtains the target administrator account according to the identification information of the first smart home device in the second temporary account request message, and generates temporary account information corresponding to the target administrator account.
  • the temporary account information may include: account name and password.
  • the server may set a valid time for the temporary account information, and the starting time of the valid time may be the moment when the temporary account information is generated, or the moment when the first electronic device successfully logs in to the server for the first time using the temporary account information, and so on.
  • the temporary account information has the authority to control the second smart home device, and after the validity period expires, the temporary account information has the authority to control the second smart home equipment ends.
  • the server may send prompt information to the first electronic device to indicate that the temporary control authority of the temporary account information of the first electronic device ends.
  • the target administrator account is an administrator account bound to the first smart home device. If there is only one manager account bound to the first smart home device, the target manager account is the manager account; if there are at least two manager accounts bound to the first smart home device, but there are master accounts Manager account and non-primary manager account, the target manager account can be the primary manager account; if there are at least two manager accounts bound to the first smart home device, but there is no primary and secondary manager accounts between them relationship, the target administrator account may be a preset default administrator account, or may also be one of the randomly selected administrator accounts, or the like.
  • Step 1005 The server sends a first temporary account indication message to the first smart home device.
  • the first temporary account indication message is used to indicate temporary account information allocated for the first electronic device.
  • the first temporary account indication message may include: temporary account information and identification information of the first electronic device.
  • Step 1006 The first smart home device receives the first temporary account indication message, and sends the second temporary account indication message to the first electronic device.
  • the second temporary account indication message may include: temporary account information.
  • Step 1007 The first electronic device receives the second temporary account indication message, and uses the temporary account information carried in the message to perform account login processing.
  • the first electronic device can open the corresponding app and log in automatically, or can display the account name and password to the user, and the user can open the app and log in using the account name and password.
  • the process of logging in by the first electronic device using the account name and password may include: the first electronic device sends a login request message to the server, where the login request message is used to request login, and the login request message may include: temporary account information;
  • the server In response to the login request message, the server performs login verification on the temporary account information carried in the login request message, and sends a login response message to the first electronic device, where the login response message is used to indicate the login verification result.
  • the verification result of the server for the temporary account information is generally successful.
  • Step 1008 The server sends the first information to the first electronic device.
  • the first information is used to record the information of the electronic devices that can be controlled by the temporary account information among the electronic devices bound with the account information of the target administrator.
  • the first information may record information about the smart home device whose value of the second device attribute is a common device, such as device name and device identification information , the location of the device, the switch status of the device, etc.
  • the first information may record information about the smart home device whose value of the third device attribute is a trusted device or a common device, such as device name, The identification information of the device, the location of the device, the switch status of the device, etc.
  • the first information may also include grouping information. Based on the foregoing example, if the grouping information has a fourth device attribute, the first information may record the value of the fourth device attribute as ordinary grouping information and information on electronic devices under the grouping information that can be controlled by the temporary account information . Optionally, if the value of the fourth device attribute of the grouping information is privacy, and the value of the second device attribute under the grouping information is an ordinary device, or the value of the third device attribute is a trusted device or an ordinary device. For smart home equipment, the first information may not include the above-mentioned smart home equipment.
  • Step 1009 The first electronic device displays the first information.
  • the displayed state display interface of the smart home device is shown in FIG. 9A ;
  • the first information may be displayed according to the grouping information, for example, as shown in FIG. 9B .
  • the owner of the first electronic device can control the smart home devices displayed under the temporary account.
  • the manager user can share the smart home device one by one under his own manager account, so that the non-manager user can obtain the temporary control right of the smart home device. , and non-manager users can obtain temporary control over smart home devices without having an account.
  • the operation is very simple for both manager users and non-manager users, thus improving the management and non-manager users. user experience.
  • the above methods can be applied to the hotel's management of smart home devices in hotel rooms, so that guests in hotel rooms can quickly obtain the temporary permission to use smart home devices in hotel rooms, reduce the workload of hotel service personnel, and improve hotel service personnel and hotels.
  • the use experience of guests increases the utilization rate of smart home equipment in the hotel and drives the promotion of smart home equipment.
  • the first electronic device uses the temporary account information to log in, and after being able to control the smart home device, it can also upgrade the use authority to the target administrator account corresponding to the temporary account information.
  • FIG. 11 shows a possible flow of the temporary account upgrade method, as shown in FIG. 11 :
  • the first electronic device 820 displays the "Permission Upgrade Application” control to the user on the interface of the temporary account, and the user selects the "Permission Upgrade Application” control by clicking with a finger or the like.
  • the first electronic device 820 The user's application for upgrading the account authority is detected, and the confirmation interface of the account upgrading application is displayed to the user, and the confirmation interface is used to confirm to the user whether to apply for the upgrading of the account authority. If the user selects the "OK" control in the confirmation interface through operations such as finger clicking, correspondingly, the first electronic device 820 detects the confirmation operation of the user. If the user selects the "Cancel" control in the confirmation interface through operations such as finger clicks, correspondingly, the first electronic device 820 receives the user's cancel operation (not shown in FIG. 11 ).
  • the first electronic device 820 detects the user's confirmation operation, and sends a first permission upgrade request message to the server 830.
  • the first permission upgrade request message is used to request to upgrade the permission of the temporary account.
  • the first permission upgrade request The message may include, but is not limited to, the account name XXX001 of the temporary account.
  • the server 830 receives the first permission upgrade request message, obtains the account name of the temporary account from the first permission upgrade request message, finds the target manager account corresponding to the account name, and sends the first request to the target electronic device 840 where the target manager account is located.
  • Privilege escalation request message The second authority upgrade request message is used to request to upgrade the authority of the temporary account, and the second authority upgrade request message may include but is not limited to: the account name XXX001 of the temporary account.
  • the target electronic device 840 displays the "message” control to the user, and the administrator user selects the “message” control by clicking with a finger.
  • the target electronic device 840 receives the user's message viewing operation, according to the first
  • the second permission upgrade request message shows the user the application information of the temporary account XXX001 for permission upgrade, and displays the "OK" and "Cancel” controls; the administrator user selects the "OK” control by clicking with a finger, and correspondingly, the target electronic device 840
  • the permission level setting interface which lists the permission levels that can be set for the temporary account XXX001.
  • level 1, level 2, and level 3 are listed in Figure 11.
  • different levels can correspond to different permissions. For example, relative to a temporary account, it has a valid duration. The validity duration of an account at level 1 is always valid.
  • the device that can be controlled by a level 2 account is from Common devices and trusted devices are added to all devices, and the level 3 account is the administrator account, which can not only control all devices, but also modify device configurations, etc.; administrator users can select the corresponding controls by clicking with their fingers, for example, as shown in Figure 11
  • the target electronic device 840 receives the user's level setting operation, and receives the permission level indicated by the operation.
  • the target electronic device 840 generates a first permission escalation response message; the first permission escalation response message is used to indicate the permission escalation result, and the first permission escalation response message may include, but is not limited to: the permission escalation result of the temporary account For example, the above-mentioned permission level; the target electronic device 840 sends the first permission escalation response message to the server 830; the server 830 modifies the permission level of the temporary account information according to the permission escalation result, and the server 830 sends the second permission escalation response to the first electronic device 820 message; the second permission escalation response message is used to indicate the permission escalation result, and the second permission escalation response message may include but is not limited to: the permission escalation result of the temporary account, such as the above-mentioned permission level; the first electronic device 820 displays the temporary account's Privilege Escalation Results (not shown in Figure 11).
  • FIG. 12 is a schematic diagram of an account upgrade process in an information processing method according to an embodiment of the present application. As shown in FIG. 12 , the method may include:
  • Step 1201 The first electronic device detects an account upgrade application operation, and sends a first authority upgrade request message to the server, where the first authority upgrade request message is used to request to upgrade the authority of the temporary account, and the first authority upgrade request message may include: the temporary account information.
  • Step 1202 The server receives the first authority upgrade request message, finds the target administrator account corresponding to the temporary account information, and sends the second authority upgrade request message to the target electronic device.
  • the second authority upgrade request message is used to request to upgrade the authority of the temporary account; the second authority upgrade request message may include: temporary account information.
  • the target electronic device is the electronic device where the target administrator account is located.
  • Step 1203 The target electronic device receives the second permission upgrade request message, and prompts the temporary account upgrade request.
  • the display interface for the temporary account upgrade prompt by the target electronic device is shown in part 113 in FIG. 11, for example, and will not be repeated here.
  • Step 1204 The target electronic device detects the user's setting operation for the temporary account upgrade request prompt, the setting operation is used to set the authority upgrade result of the temporary account, and generates a first authority upgrade response message.
  • the first permission escalation response message is used to indicate the permission escalation result; the first permission escalation response message may include: the permission escalation result of the temporary account.
  • Step 1205 The target electronic device sends a first permission upgrade response message to the server.
  • Step 1206 The server receives the first authority upgrade response message, and judges whether to upgrade the temporary account according to the authority upgrade result in the first authority upgrade response message; if yes, go to step 1208; if not, go to step 1207.
  • Step 1207 the server sends a second permission escalation response message to the first electronic device; the second permission escalation response message is used to indicate the permission escalation result, and the second permission escalation response message may include: the permission escalation result of the temporary account; go to step 1209 .
  • Step 1208 the server modifies the authority level corresponding to the temporary account according to the authority upgrade result, and sends a second authority upgrade response message to the first electronic device; step 1209 is executed.
  • Step 1209 The first electronic device receives the second permission upgrade response message, and displays the result of the permission upgrade.
  • the authority upgrade of the temporary account information is conveniently realized.
  • the temporary control authority of the smart home device can be easily obtained, and then the administrator account can be easily obtained through the authority upgrade. Control permissions for smart home devices in the home.
  • the server may not assign temporary account information to the first electronic device, but establish a corresponding relationship between the identification information of the first electronic device and the target administrator account in step 1004, which is the first electronic device.
  • the identification information of an electronic device assigns temporary control authority, that is, the identification information of the first electronic device is used to replace the first temporary account information, and is used as the identification information of the first electronic device to log in to the server to control the smart home device;
  • the first temporary account information can also be replaced with the identification information of the first electronic device to upgrade the temporary control authority.
  • the first temporary account request message in step 1002 and the second account in step 1003 The temporary account request message carries the first account information.
  • the server does not need to additionally allocate temporary account information to the first electronic device, and directly sets the first account information as the temporary account of the target administrator account, steps 1005 and 1005
  • the message sent in 1006 only carries confirmation information to indicate that the first account information has been granted the temporary control authority.
  • the first account information can also be replaced with the identification information of the first electronic device to upgrade the temporary control authority.
  • non-administrator users can upgrade temporary control rights to obtain more control rights.
  • the above-mentioned smart home device can be extended to electronic devices that can communicate with other electronic devices and can be controlled by other electronic devices , the specific implementation may refer to the above-mentioned embodiments, which will not be repeated here.
  • FIG. 13 is a schematic structural diagram of an embodiment of an information processing apparatus of the present application. As shown in FIG. 13 , the apparatus 1300 may include:
  • a receiving unit 1310 configured to receive a first message sent by the first electronic device, where the first message is used to request temporary control authority for the third electronic device;
  • a sending unit 1320 configured to send a second message to the first server in response to the first message, where the second message is used to request the temporary control authority of the first electronic device to the third electronic device;
  • the receiving unit 1310 may also be configured to: receive a third message sent by the first server, where the third message is used to indicate the first temporary account information allocated for the first electronic device, and the first temporary account information is the first administrator account information Temporary account information; the first administrator account information is administrator account information bound to the second electronic device; the first administrator account information has management authority over the third electronic device, and the first temporary account information has Temporary control of the device;
  • the sending unit 1320 may also be configured to: in response to the third message, send a fourth message to the first electronic device, where the fourth message is used to send the first temporary account information.
  • the apparatus 1300 may further include:
  • connection establishing unit 1330 configured to establish a data connection based on near field communication with the first electronic device
  • the receiving unit 1310 may be specifically configured to: receive the first message through the established data connection;
  • the sending unit 1320 may be specifically configured to: send the fourth message to the first electronic device through the established data connection.
  • the apparatus 1300 may further include: a determining unit, configured to determine that the first function is enabled, where the first function is a function of transmitting a temporary control authority.
  • the sending unit 1320 may be further configured to: in response to the first message, determine that the first function is disabled, and send a fifth message to the first electronic device, where the fifth message is used to refuse the first electronic device to the third electronic device request for temporary control permissions.
  • the sending unit 1320 can also be used to: send a sixth message to the first electronic device through the established data connection, where the sixth message is used to record that the second electronic device has the first function, and the first function is to transmit the temporary control authority function.
  • the receiving unit 1310 may be further configured to: receive a seventh message sent by the first server, where the seventh message is used to indicate the switch state of the first function; and modify the switch state of the first function according to the switch state indicated by the seventh message .
  • the first message, the second message, and the third message all include first identification information, where the first identification information is identification information of the first electronic device; and/or, the first temporary account information It includes: temporary account name and password; and/or, the second message includes: identification information of the second electronic device; and/or, the seventh message includes: information for recording the switch state of the first function.
  • FIG. 14 is a schematic structural diagram of an embodiment of an information processing apparatus of the present application. As shown in FIG. 14 , the apparatus 1400 may include:
  • a sending unit 1410 configured to send a first message to the second electronic device, where the first message is used to request the temporary control authority to the third electronic device;
  • the receiving unit 1420 is configured to receive a fourth message sent by the second electronic device, where the fourth message is used to send the first temporary account information; the fourth message sends the second message to the first server on the second electronic device and receives the first Sent after the third message sent by the server; the second message is used to request the temporary control authority of the first electronic device to the third electronic device; the third message is used to indicate the first temporary account information allocated for the first electronic device; the first The temporary account information is the temporary account information of the first administrator account information; the first administrator account information is the administrator account information bound with the second electronic device; the first administrator account information has the management authority to the third electronic device , the first temporary account information has temporary control authority over the third electronic device.
  • the receiving unit 1420 may also be configured to: after successful login using the first temporary account information, receive the first information sent by the first server, where the first information is used to record the information of the third electronic device; the third electronic device is An electronic device that can be controlled by the first temporary account information among the electronic devices bound with the first administrator account information;
  • a display unit 1430 configured to display the first information.
  • the first information further includes: grouping information, where the grouping information is used to record the home environment where the third electronic device is located; the display unit may be specifically configured to: display the first information according to the grouping information.
  • the receiving unit 1420 may also be configured to: receive a twelfth message sent by the first server, where the twelfth message is used to indicate that the temporary control authority of the first temporary account information ends, and the twelfth message is determined by the first server. Sent when the usage time of the first temporary account information reaches a preset threshold;
  • the presentation unit 1430 may also be used to: end the presentation of the first information.
  • the sending unit 1410 may be further configured to: detect a first operation, where the first operation is used to request to upgrade the authority of the first temporary account information, and send an eighth message to the first server, where the eighth message is used to request to upgrade the first temporary account information.
  • Permissions for a temporary account information is used to: detect a first operation, where the first operation is used to request to upgrade the authority of the first temporary account information, and send an eighth message to the first server, where the eighth message is used to request to upgrade the first temporary account information.
  • the authority of the temporary account information is used to make the first server send the ninth message to the fourth electronic device, the fourth electronic device displays the authority upgrade request information of the first temporary account information, and the ninth message is used to request to upgrade the first temporary account information.
  • the receiving unit 1420 may be further configured to: receive an eleventh message sent by the first server, where the eleventh message is used to indicate the authority upgrade result of the first temporary account information; the eleventh message is received by the first server Sent after the tenth message sent by the fourth electronic device, where the tenth message is used to indicate the authority upgrade result of the first temporary account information;
  • the presenting unit 1430 may also be used to: present the authority upgrade result indicated by the eleventh message.
  • the receiving unit 1420 may also be configured to: receive second information sent by the first server, where the second information is used to record the electronic data bound to the first administrator account information. equipment information;
  • the display unit 1430 may also be used to: display the second information.
  • connection establishing unit 1440 configured to establish a data connection based on on-site communication with the second electronic device
  • the sending unit 1410 may be specifically configured to: send the first message through the established data connection;
  • the receiving unit 1420 may be specifically configured to: receive the fourth message through the established data connection.
  • the first message, the second message, and the third message all include first identification information, where the first identification information is identification information of the first electronic device; and/or, the first temporary account information Including: temporary account name and password; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include the first temporary account information; and/or, the tenth message
  • the message and the eleventh message include: the first temporary account information and the authority escalation result; and/or the twelfth message includes: the first temporary account information and information for recording the end of the temporary control authority.
  • FIG. 15 is a schematic structural diagram of an embodiment of an information processing apparatus of the present application. As shown in FIG. 15 , the apparatus 1500 may include:
  • the receiving unit 1510 is configured to receive a second message sent by the second electronic device, and the second message is sent after the second electronic device receives the first message sent by the first electronic device; used to request temporary control of the third electronic device authority; the second message is used to request the temporary control authority of the first electronic device to the third electronic device;
  • the sending unit 1520 is configured to send a third message to the second electronic device in response to the second message, where the third message is used to indicate the first temporary account information allocated for the first electronic device; the first temporary account information is the first management
  • the first administrator account information is the administrator account information bound with the second electronic device; the third message is also used to cause the second electronic device to send a fourth message to the first electronic device, the first The fourth message is used to send the first temporary account information; the first administrator account information has management authority over the third electronic device, and the first temporary account information has temporary control authority over the third electronic device.
  • the sending unit 1520 may also be configured to: after successful login verification on the first temporary account information sent by the first electronic device, send first information to the first electronic device, where the first information is used to record the third electronic device information; the first information is further used to make the first electronic device display the first information.
  • the sending unit 1520 may be further configured to: determine that the usage time of the first temporary account information reaches a preset threshold, and send a twelfth message to the first electronic device, where the twelfth message is used to indicate the use time of the first temporary account information.
  • Temporary control authority ends.
  • the receiving unit 1510 may also be configured to: receive a thirteenth message sent by the fourth electronic device, where the thirteenth message is used to indicate the switch state of the first function of the second electronic device; the thirteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the second operation, determines the setting result of the second operation instruction, and sends it; the second operation is used to switch the first function of the second electronic device status is set;
  • a recording unit 1530 configured to record the switch state of the first function of the second electronic device according to the switch state indicated by the thirteenth message
  • the sending unit 1520 may also be configured to: send a seventh message to the second electronic device, where the seventh message is used to indicate the switch state of the first function of the second electronic device.
  • the receiving unit 1510 may also be configured to: receive a fourteenth message sent by the fourth electronic device, where the fourteenth message is used to indicate whether the third electronic device can be controlled by the temporary account information; the fourteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the third operation, determines the setting result of the third operation instruction, and sends it; the second operation is used to check whether the third electronic device can be used by the temporary account information control to set;
  • the recording unit 1530 may also be configured to: record whether the third electronic device can be controlled by the temporary account information according to the thirteenth message.
  • the sending unit 1520 can be specifically configured to: search the information of the electronic device that can be controlled by the temporary account information from the information of the electronic device bound with the account information of the first administrator, and obtain the first information; The device sends the first information.
  • the receiving unit 1510 may also be configured to: receive an eighth message sent by the first electronic device, where the eighth message is sent after the first electronic device detects the first operation; the first operation is used to request to upgrade the first temporary account information authority, the eighth message is used to request to upgrade the authority of the first temporary account information;
  • the sending unit 1520 may also be configured to: in response to the eighth message, send a ninth message to the fourth electronic device, where the ninth message is used to request to increase the authority of the first temporary account information; the ninth message is further used to make the fourth electronic device Display the permission upgrade request information of the first temporary account information.
  • the receiving unit 1510 can also be used to: receive the tenth message sent by the fourth electronic device, and the tenth message is sent after the fourth electronic device detects the fourth operation; the fourth operation is used to set the first temporary account information , the tenth message is used to indicate the authority escalation result of the first temporary account information;
  • the sending unit 1520 may also be configured to: in response to the tenth message, modify the permission level of the first temporary account information according to the permission escalation result indicated by the tenth message, and send an eleventh message to the first electronic device, where the eleventh message is used for Indicates the privilege escalation result of the first temporary account information.
  • the sending unit 1520 may also be used to: send the second information to the first electronic device, and the second information is used for recording in the electronic device bound with the first administrator account information. device information.
  • the first message, the second message, and the third message all include first identification information, where the first identification information is identification information of the first electronic device; and/or, the first temporary account information Including: temporary account name and password; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include the first temporary account information; and/or, the tenth message
  • the message and the eleventh message include: the first temporary account information and the authority escalation result; and/or the twelfth message includes: the first temporary account information and information for recording the end of the temporary control authority.
  • FIG. 16 is a schematic structural diagram of an embodiment of an information processing apparatus of the present application. As shown in FIG. 16 , the apparatus 1600 may include:
  • the receiving unit 1610 is configured to receive a first message sent by the first electronic device, where the first message is used to request temporary control authority for the third electronic device; the first message includes: second identification information; the second identification information is used to identify the first electronic device;
  • a sending unit 1620 configured to send a second message to the first server in response to the first message, where the second message is used to request the temporary control authority of the first electronic device to the third electronic device; the second message includes second identification information;
  • the receiving unit 1610 is further configured to receive a third message sent by the first server, where the third message is used to send confirmation information, and the confirmation information is used to indicate that the second identification information has been allocated a third message bound with the first administrator account information.
  • the third message is used to send confirmation information
  • the confirmation information is used to indicate that the second identification information has been allocated a third message bound with the first administrator account information.
  • Three temporary control authority of the electronic device the first administrator account information is the administrator account information bound with the second electronic device; the first administrator account information has the management authority to the third electronic device;
  • the sending unit 1620 is further configured to send a fourth message to the first electronic device in response to the third message, where the fourth message is used to send confirmation information.
  • it can also include:
  • connection establishing unit 1630 configured to establish a data connection based on near field communication with the first electronic device
  • the receiving unit 1610 may be specifically configured to: receive the first message through the established data connection;
  • the sending unit 1620 may be specifically configured to: send the fourth message to the first electronic device through the established data connection.
  • it may further include: a determining unit, configured to determine that the first function is enabled, where the first function is a function of transmitting temporary control authority.
  • the sending unit 1620 may be further configured to: in response to the first message, determine that the first function is disabled, and send a fifth message to the first electronic device, where the fifth message is used to refuse the first electronic device to the third electronic device request for temporary control permissions.
  • the sending unit 1620 can also be used to:
  • a sixth message is sent to the first electronic device through the established data connection, where the sixth message is used to record that the second electronic device has the first function.
  • the receiving unit 1610 may be further configured to: receive a seventh message sent by the first server, where the seventh message is used to indicate the switch state of the first function; and modify the switch state of the first function according to the switch state indicated by the seventh message .
  • the second identification information includes: identification information of the first electronic device, or second account information; the second account information includes: account name and password; and/or, the third message includes the first Two identification information; and/or, the second message includes: identification information of the second electronic device; and/or, the seventh message includes: information for recording the switch state of the first function.
  • FIG. 17 is a schematic structural diagram of an embodiment of an information processing apparatus of the present application. As shown in FIG. 17 , the apparatus 1700 may include:
  • the sending unit 1710 is configured to send a first message to the second electronic device, where the first message is used to request the temporary control authority to the third electronic device; the first message includes: second identification information; the second identification information is used to identify the first an electronic device;
  • the receiving unit 1720 is configured to receive a fourth message sent by the second electronic device, and the fourth message is used to send confirmation information; the confirmation information is used to indicate that the second identification information has been allocated the first administrator account information bound with the first administrator account information.
  • the temporary control authority of the third electronic device; the fourth message is sent after the second electronic device sends the second message to the first server and receives the third message sent by the first server; the second message is used to request the first electronic device to The temporary control authority of the third electronic device; the third message is used to send confirmation information; the first administrator account information is the administrator account information bound to the second electronic device, and the first administrator account information has the information of the third electronic device. Administrative rights.
  • the receiving unit 1720 may also be configured to: after successful login using the second identification information, receive the first information sent by the first server, where the first information is used to record the information of the third electronic device; An electronic device that can be controlled by the second identification information among the electronic devices bound with the account information of the first administrator;
  • the first information further includes: grouping information, where the grouping information is used to record the home environment where the third electronic device is located; the display unit 1730 may be specifically configured to: display the first information according to the grouping information.
  • the receiving unit 1720 may also be configured to: receive a twelfth message sent by the first server, where the twelfth message is used to indicate that the temporary control authority of the second identification information ends, and the twelfth message determines when the first server determines the 2. Sent when the usage time of the identification information reaches the preset threshold;
  • the presentation unit 1730 may also be used to: end the presentation of the first information.
  • the sending unit 1710 may be further configured to: detect a first operation, where the first operation is used to request to upgrade the authority of the second identification information, and send an eighth message to the first server, where the eighth message is used to request to upgrade the second identification information The authority of the identification information; the eighth message is used to make the first server send the ninth message to the fourth electronic device, the fourth electronic device displays the authority upgrade request information of the second identification information, and the ninth message is used to request to upgrade the second identification information permission.
  • the receiving unit 1720 may be further configured to: receive an eleventh message sent by the first server, where the eleventh message is used to indicate the authority upgrade result of the second identification information; 4. Send after the tenth message sent by the electronic device, where the tenth message is used to indicate the authority upgrade result of the second identification information;
  • the presenting unit 1730 may also be used to: present the authority upgrade result indicated by the eleventh message.
  • the receiving unit 1720 may be further configured to: receive second information sent by the first server, where the second information is used to record information of the electronic device bound to the first administrator account information;
  • the display unit 1730 may also be used to: display the second information.
  • connection establishing unit 1740 configured to establish a data connection based on on-site communication with the second electronic device
  • the sending unit 1710 may also be configured to: send the first message through the established data connection;
  • the receiving unit 1720 may also be configured to: receive the fourth message through the established data connection.
  • the second identification information includes: identification information of the first electronic device, or second account information; the second account information includes: account name and password; and/or, the third message includes the first Second identification information; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include the second identification information; and/or, the tenth message and the eleventh message
  • the message includes: the second identification information and the authority upgrade result; and/or the twelfth message includes: the second identification information and information for recording the end of the temporary control authority.
  • FIG. 18 is a schematic structural diagram of an embodiment of an information processing apparatus of the present application. As shown in FIG. 18 , the apparatus 1800 may include:
  • the receiving unit 1810 is configured to receive a second message sent by the second electronic device, the second message is sent after the second electronic device receives the first message sent by the first electronic device, and the first message is used to request the third electronic device
  • the second message is used to request the temporary control authority of the first electronic device to the third electronic device; both the first message and the second message include: second identification information; the second identification information is used to identify the first electronic device equipment;
  • the sending unit 1820 is configured to send a third message to the second electronic device in response to the second message, the third message is used to send confirmation information, and the confirmation information is used to indicate that the second identification information has been allocated with the first administrator account the temporary control authority of the third electronic device to which the information is bound; the first administrator account information is the administrator account information bound with the second electronic device; the first administrator account information has the management authority to the third electronic device; the third The three messages are further used to cause the second electronic device to send a fourth message to the first electronic device, and the fourth message is used to send confirmation information.
  • the sending unit 1820 may also be configured to: after successful login verification on the second identification information sent by the first electronic device, send first information to the first electronic device, where the first information is used to record the third electronic device information; the first information is further used to cause the first electronic device to display the first information.
  • the sending unit 1820 may also be configured to: determine that the usage time of the second identification information reaches a preset threshold, and send a twelfth message to the first electronic device, where the twelfth message is used to indicate temporary control of the second identification information Permission ends.
  • the receiving unit 1810 may be further configured to: receive a thirteenth message sent by the fourth electronic device, where the thirteenth message is used to indicate the switch state of the first function of the second electronic device; the thirteenth message is in the fourth
  • the electronic device displays the information of the electronic device bound to the first administrator account, detects the second operation, determines the setting result of the second operation instruction, and sends it; the second operation is used to switch the first function of the second electronic device status is set;
  • a recording unit 1830 configured to record the switch state of the first function of the second electronic device according to the switch state indicated by the thirteenth message;
  • the sending unit 1820 may also be configured to: send a seventh message to the second electronic device, where the seventh message is used to indicate the switch state of the first function of the second electronic device.
  • the receiving unit 1810 may be further configured to: receive a fourteenth message sent by the fourth electronic device, where the fourteenth message is used to indicate whether the third electronic device can be controlled by the temporary account information; the fourteenth message is in the fourth The electronic device displays the information of the electronic device bound to the first administrator account, detects the third operation, determines the setting result of the third operation instruction, and sends it; the second operation is used to check whether the third electronic device can be used by the temporary account information control to set;
  • the recording unit 1830 may also be configured to: record whether the third electronic device can be controlled by the temporary account information according to the thirteenth message.
  • the sending unit 1820 may also be configured to: search for information on electronic devices that can be controlled by the temporary account information from the information of the electronic devices bound to the first administrator account information, to obtain the first information; The device sends the first information.
  • the receiving unit 1810 may also be configured to: receive an eighth message sent by the first electronic device, where the eighth message is sent after the first electronic device detects the first operation; the first operation is used to request to upgrade the second identification information The authority of the eighth message is used to request to enhance the authority of the second identification information;
  • the sending unit 1820 may also be configured to: in response to the eighth message, send a ninth message to the fourth electronic device, where the ninth message is used to request to increase the authority of the second identification information; the ninth message is further used to make the fourth electronic device display The permission upgrade request information of the second identification information.
  • the receiving unit 1810 can also be used to: receive the tenth message sent by the fourth electronic device, and the tenth message is sent after the fourth electronic device detects the fourth operation; the fourth operation is used to set the second identification information. the authority escalation result, the tenth message is used to indicate the authority escalation result of the second identification information;
  • the sending unit 1820 may also be configured to: in response to the tenth message, modify the permission level of the second identification information according to the permission escalation result indicated by the tenth message, and send an eleventh message to the first electronic device, where the eleventh message is used to indicate The authority upgrade result of the second identification information.
  • the sending unit 1820 may be further configured to: send second information to the first electronic device, where the second information is used to record the information of the electronic device bound with the first administrator account information.
  • the second identification information includes: identification information of the first electronic device, or second account information; the second account information includes: account name and password; and/or, the third message includes the first Second identification information; and/or, the second message includes identification information of the second electronic device; and/or, the eighth message and the ninth message include the second identification information; and/or, the tenth message and the eleventh message
  • the message includes: the second identification information and the authority upgrade result; and/or the twelfth message includes: the second identification information and information for recording the end of the temporary control authority.
  • FIGS. 13 to 18 can be used to implement the technical solutions of the method embodiments shown in FIGS. 3 to 12 of the present application, and the implementation principles and technical effects may further refer to the relevant descriptions in the method embodiments.
  • each unit of the apparatus shown in FIG. 13 to FIG. 18 is only a division of logical functions, and may be fully or partially integrated into a physical entity in actual implementation, or may be physically separated.
  • these units can all be implemented in the form of software calling through processing elements; they can also all be implemented in hardware; some units can also be implemented in the form of software calling through processing elements, and some units can be implemented in hardware.
  • the acquisition unit may be a separately established processing element, or may be integrated in a certain chip of the electronic device.
  • the implementation of other units is similar.
  • all or part of these units can be integrated together, and can also be implemented independently.
  • each step of the above-mentioned method or each above-mentioned unit may be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
  • Embodiments of the present application further provide an electronic device, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs
  • the program includes instructions that, when executed by the electronic device, cause the device to execute the methods shown in FIGS. 3 to 12 .
  • Embodiments of the present application further provide a server, including: a processor; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs Including instructions, when the instructions are executed by the server, cause the device to execute the methods shown in FIG. 3 to FIG. 12 .
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when it runs on a computer, causes the computer to execute the programs provided by the embodiments shown in FIGS. 3 to 12 of the present application. method.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a computer program, which, when running on a computer, enables the computer to execute the methods provided by the embodiments shown in FIGS. 3 to 12 of the present application.
  • “at least one” refers to one or more, and “multiple” refers to two or more.
  • “And/or”, which describes the association relationship of the associated objects means that there can be three kinds of relationships, for example, A and/or B, which can indicate the existence of A alone, the existence of A and B at the same time, and the existence of B alone. where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects are an “or” relationship.
  • “At least one of the following” and similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c may be single, or Can be multiple.
  • any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • magnetic disk or optical disk and other various A medium on which program code can be stored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente demande concerne un procédé de traitement d'informations et un dispositif électronique. Selon le procédé, un premier dispositif électronique envoie un premier message à un deuxième dispositif électronique, le premier message servant à demander une autorisation de commande temporaire pour un troisième dispositif électronique; le deuxième dispositif électronique envoie un second message à un premier serveur en réponse au premier message, le deuxième message servant à demander une autorisation de commande temporaire du premier dispositif électronique pour le troisième dispositif électronique; le premier serveur envoie un troisième message au deuxième dispositif électronique en réponse au deuxième message, le troisième message servant à indiquer des premières informations de compte temporaire attribuées au premier dispositif électronique, les premières informations de compte temporaire comprenant l'autorisation de commande temporaire pour le troisième dispositif électronique; le deuxième dispositif électronique envoie un quatrième message au premier dispositif électronique en réponse au troisième message, le quatrième message servant à envoyer les premières informations de compte temporaire. La présente demande permet à des utilisateurs temporaires d'utiliser facilement leurs propres dispositifs électroniques pour commander des dispositifs domestiques intelligents.
PCT/CN2021/139833 2020-12-30 2021-12-21 Procédé de traitement d'informations et dispositif électronique WO2022143273A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011606007.X 2020-12-30
CN202011606007.XA CN114765777A (zh) 2020-12-30 2020-12-30 信息处理方法和电子设备

Publications (1)

Publication Number Publication Date
WO2022143273A1 true WO2022143273A1 (fr) 2022-07-07

Family

ID=82260248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/139833 WO2022143273A1 (fr) 2020-12-30 2021-12-21 Procédé de traitement d'informations et dispositif électronique

Country Status (2)

Country Link
CN (1) CN114765777A (fr)
WO (1) WO2022143273A1 (fr)

Citations (4)

* 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
CN106357653A (zh) * 2016-09-27 2017-01-25 深圳市欧瑞博电子有限公司 分享控制权限的方法和系统
CN110932944A (zh) * 2018-09-19 2020-03-27 海信集团有限公司 一种实现访客终端控制智能家居设备的方法和系统
CN112104530A (zh) * 2020-08-19 2020-12-18 海信(山东)空调有限公司 控制空调权限分享的方法、空调及空调用户端

Patent Citations (4)

* 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
CN106357653A (zh) * 2016-09-27 2017-01-25 深圳市欧瑞博电子有限公司 分享控制权限的方法和系统
CN110932944A (zh) * 2018-09-19 2020-03-27 海信集团有限公司 一种实现访客终端控制智能家居设备的方法和系统
CN112104530A (zh) * 2020-08-19 2020-12-18 海信(山东)空调有限公司 控制空调权限分享的方法、空调及空调用户端

Also Published As

Publication number Publication date
CN114765777A (zh) 2022-07-19

Similar Documents

Publication Publication Date Title
JP7381021B2 (ja) デバイス制御ページ表示方法、関連装置、およびシステム
US12058145B2 (en) Device control method and device
WO2021197139A1 (fr) Procédé de recommandation de service, dispositif électronique, et système
EP4084486B1 (fr) Procédé de projection de contenu inter-dispositif et dispositif électronique
WO2020155014A1 (fr) Système et un procédé de partage de dispositif domestique intelligent, et dispositif électronique
WO2020173375A1 (fr) Procédé, dispositif et système de commande de liaison de plusieurs dispositifs intelligents
KR102484738B1 (ko) 어플리케이션 권한을 관리하는 방법 및 전자 장치
WO2021253975A1 (fr) Procédé et appareil de gestion d'autorisation pour application, et dispositif électronique
WO2020224447A1 (fr) Procédé et système pour ajouter un dispositif de maison intelligente à des contacts
WO2020238728A1 (fr) Procédé d'ouverture de session pour terminal intelligent, et dispositif électronique
WO2021052204A1 (fr) Procédé de découverte de dispositif basé sur un carnet d'adresses, procédé de communication audio et vidéo, et dispositif électronique
WO2022160991A1 (fr) Procédé de commande d'autorisation et dispositif électronique
WO2023284555A1 (fr) Procédé pour appeler de manière sécurisée un service, et procédé et appareil pour enregistrer de manière sécurisée un service
CN114006698B (zh) token刷新方法、装置、电子设备及可读存储介质
WO2021147483A1 (fr) Procédé et appareil de partage de données
WO2022143273A1 (fr) Procédé de traitement d'informations et dispositif électronique
CN115941220A (zh) 跨设备认证方法和装置
WO2023155583A1 (fr) Procédé de gestion d'application inter-dispositifs, dispositif électronique et système
WO2023016347A1 (fr) Procédé et système de réponse d'authentification d'empreinte vocale, et dispositifs électroniques
WO2022222733A1 (fr) Procédé de transmission de données et dispositif associé
WO2023142935A1 (fr) Procédé de gestion de composant d'application et dispositif associé
EP4439289A1 (fr) Procédé de partage de composant d'application et dispositif associé
CN114826636A (zh) 访问控制系统及相关方法和设备

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21914012

Country of ref document: EP

Kind code of ref document: A1