WO2023005958A1 - 电子设备控制方法及相关设备 - Google Patents

电子设备控制方法及相关设备 Download PDF

Info

Publication number
WO2023005958A1
WO2023005958A1 PCT/CN2022/108133 CN2022108133W WO2023005958A1 WO 2023005958 A1 WO2023005958 A1 WO 2023005958A1 CN 2022108133 W CN2022108133 W CN 2022108133W WO 2023005958 A1 WO2023005958 A1 WO 2023005958A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
smart
unlocking
unlock
mobile phone
Prior art date
Application number
PCT/CN2022/108133
Other languages
English (en)
French (fr)
Inventor
陈晓东
叶晓贞
李昌婷
戴自立
刘立剑
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22848563.7A priority Critical patent/EP4351118A4/en
Priority to US18/292,615 priority patent/US20240283864A1/en
Publication of WO2023005958A1 publication Critical patent/WO2023005958A1/zh

Links

Images

Classifications

    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • H04M1/724631User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device by limiting the access to the user interface, e.g. locking a touch-screen or a keypad
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards
    • G06F21/35User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • 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/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/33Security of mobile devices; Security of mobile applications using wearable devices, e.g. using a smartwatch or smart-glasses
    • 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/724094Interfacing with a device worn on the user's body to provide access to telephonic functionalities, e.g. accepting a call, reading or composing a message
    • H04M1/724095Worn on the wrist, hand or arm

Definitions

  • the present application relates to the technical field of terminals, and in particular to an electronic device control method and related devices.
  • electronic devices introduce a smart unlocking function.
  • Wearable devices, speakers, headphones, etc. can be set as unlocking devices for electronic devices.
  • the electronic device can be unlocked without password, fingerprint or face authentication.
  • smart unlocking will bring certain security risks. For example, if an electronic device is maliciously taken away and intelligently unlocked, it may easily cause information leakage of the owner or loss of rights and interests.
  • the embodiment of the present application discloses a method for controlling electronic equipment and related equipment, which improves the security of intelligent unlocking of electronic equipment.
  • the first aspect of the present application discloses a method for controlling an electronic device, which is applied to a system composed of a first electronic device and a second electronic device.
  • the method includes: when the first electronic device is in a locked state, detecting that the first Whether the electronic device establishes a short-distance wireless communication connection with the second electronic device, and whether it satisfies the conditions for using smart unlocking; if the first electronic device establishes a short-distance wireless communication connection with the second electronic device, and meets the The smart unlocking use condition is to unlock the first electronic device through the second electronic device; detect whether the smart lock use condition is met; if the smart lock use condition is met, lock the first electronic device.
  • the electronic device control method provided in the embodiment of the present application when the second electronic device is connected to the first electronic device (such as Bluetooth connection) and meets the conditions for using the smart unlock, the first electronic device is smartly unlocked. After performing intelligent unlocking on the first electronic device, if the conditions for using the intelligent lock are satisfied, intelligently lock the first electronic device.
  • the electronic device control method provided in the embodiment of the present application can improve the security of smart unlocking, and avoid security risks brought about by smart unlocking in non-safe usage scenarios.
  • the method further includes: if a first user operation is received, displaying a smart unlock and/or smart lock setting interface, where the smart unlock and/or smart lock setting interface is used to set the Smart unlocking and/or smart locking functions of the first electronic device.
  • the method further includes: if a second user operation on the smart unlock and/or smart lock setting interface is received, displaying the smart unlock and/or smart lock usage condition setting interface, the The smart unlock and/or smart lock use condition setting interface is used to set the smart unlock use condition and/or the smart lock use condition.
  • the smart unlock usage condition corresponds to the same condition option as the smart lock usage condition.
  • the smart unlock usage condition and the smart lock usage condition correspond to different condition options.
  • the locking the first electronic device specifically includes: locking the first electronic device through the second electronic device; or locking the first electronic device by itself.
  • the first electronic device and the second electronic device are terminals.
  • the first electronic device is a mobile phone or a tablet
  • the second electronic device is a wearable device.
  • the detecting whether the use condition of the smart lock is satisfied specifically includes: detecting whether the use condition of the smart lock is satisfied before the screen of the first electronic device is turned off.
  • the smart unlocking conditions include any one or more of the following: the short-distance wireless communication signal strength of the first electronic device and/or the second electronic device, the second The wearing status of the second electronic device, the second electronic device has been unlocked and protected by a password, the distance between the first electronic device and the second electronic device, the first electronic device and/or the second electronic device The speed, air pressure, heart rate, ambient brightness, and ambient sound sensed by the device;
  • the conditions for using the smart unlock include any one or more of the following: the short-distance wireless communication connection between the first electronic device and the second electronic device state, the short-distance wireless communication signal strength of the first electronic device and/or the second electronic device, the unlocked device wearing state of the second electronic device, the first electronic device and the second electronic device distance, speed, air pressure, heart rate, ambient brightness, and ambient sound sensed by the first electronic device and/or the second electronic device.
  • the first electronic device is a car
  • the second electronic device is a terminal
  • unlocking the first electronic device specifically includes: unlocking a door of the car
  • Locking the first electronic device specifically includes: locking the vehicle door.
  • the smart unlocking use conditions include any one or more of the following: the short-range wireless communication signal strength of the car and/or the terminal, the wearing status of the terminal, the The terminal has been unlocked and protected by a password, the distance between the car and the terminal, and the speed of the car;
  • the conditions for using the smart lock include any one or more of the following: short-range wireless communication between the car and the terminal The communication connection status, the short-distance wireless communication signal strength of the car and/or the terminal, the wearing state of the terminal, the distance between the car and the terminal, and the speed of the car.
  • the second aspect of the present application discloses a method for controlling an electronic device, which is applied to a first electronic device.
  • the method includes: when the first electronic device is in a locked state, detecting whether the first electronic device and the second electronic device are Establish a short-distance wireless communication connection, and whether the conditions for using smart unlocking are met; if the first electronic device establishes a short-distance wireless communication connection with the second electronic device and meets the conditions for using smart unlocking, the The electronic device unlocks the first electronic device; detects whether the conditions for using the smart lock are met; and if the conditions for using the smart lock are met, locks the first electronic device.
  • the third aspect of the present application discloses a method for controlling an electronic device, which is applied to a second electronic device, the second electronic device is an unlocking device for the first electronic device, and the method includes: when the first electronic device is locked state and establish a short-distance wireless communication connection with the first electronic device, return the first device information of the second electronic device to the first electronic device to detect whether the first electronic device satisfies smart unlocking Use conditions, when the first electronic device establishes the short-distance wireless communication connection with the second electronic device and meets the smart unlock use conditions, the first electronic device performs Smart unlocking; after the first electronic device performs smart unlocking, return the second device information of the second electronic device to the first electronic device to detect whether the detection of the use condition of the smart lock is satisfied, and the first electronic device When the device satisfies the condition for using the smart lock, perform smart lock on the first electronic device.
  • the first device information and the second device information include any one or more of the following: short-distance wireless communication of the first electronic device and/or the second electronic device The communication signal strength, the wearing state of the second electronic device, whether the second electronic device is unlocked and password protected, the distance between the first electronic device and the second electronic device, the second electronic device The speed, air pressure, heart rate, ambient brightness, and ambient sound sensed by the device.
  • the method before performing the intelligent unlocking of the first electronic device, the method further includes: sending an information prompt to confirm whether to intelligently unlock the first electronic device.
  • the method further includes: sending an information prompt for confirming whether to cancel the smart unlocking of the first electronic device.
  • the method before performing the smart locking on the first electronic device, the method further includes: sending an information prompt to confirm whether to smart lock the first electronic device.
  • the method further includes: sending an information prompt to confirm whether to revoke the smart locking of the first electronic device.
  • the fourth aspect of the present application discloses a computer-readable storage medium, including computer instructions.
  • the computer instructions When the computer instructions are run on the electronic device, the electronic device executes the electronic device described in the first aspect or the second aspect. Control Method.
  • the fifth aspect of the present application discloses an electronic device, the electronic device includes a processor and a memory, the memory is used to store instructions, and the processor is used to call the instructions in the memory, so that the electronic device performs the following steps: The electronic device control method described in the first aspect or the second aspect or the third aspect.
  • the sixth aspect of the present application discloses a chip system, which is applied to electronic equipment; the chip system includes an interface circuit and a processor; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive signals from the memory of the electronic device, And send a signal to the processor, the signal includes a computer instruction stored in the memory; when the processor executes the computer instruction, the chip system executes the electronic device control method as described in the first aspect or the second aspect or the third aspect.
  • a seventh aspect of the present application discloses a computer program product.
  • the computer program product When the computer program product is run on a computer, the computer is made to execute the method for controlling electronic equipment as described in the first aspect or the second aspect or the third aspect.
  • the eighth aspect of the present application discloses an apparatus, which has the function of realizing the behavior of the electronic device in the method provided by the first aspect, the second aspect, or the third aspect.
  • the functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware.
  • Hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the computer-readable storage medium described in the fourth aspect correspond to the methods of the first aspect, the second aspect, and the third aspect. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above. Let me repeat.
  • FIG. 1 is a schematic diagram of an application scenario of a method for controlling an electronic device provided by an embodiment of the present application.
  • Fig. 2 is a flow chart of a method for controlling an electronic device provided by an embodiment of the present application.
  • Fig. 3 is a schematic diagram of entering the smart unlock and lock setting interface.
  • FIG. 4 is a schematic diagram of an intelligent unlocking and locking setting interface.
  • Fig. 5 is a schematic diagram of an interface for setting usage conditions of smart unlocking and locking.
  • Fig. 6 is a schematic diagram of the smart watch sending out an information prompt to confirm whether the mobile phone is intelligently unlocked before the mobile phone is intelligently unlocked.
  • Fig. 7 is a schematic diagram of the smart watch sending an information prompt to confirm whether to revoke the smart unlocking after the mobile phone is smartly unlocked.
  • Fig. 8 is a schematic diagram of the smart watch sending out an information prompt to confirm whether the mobile phone is smartly locked before the mobile phone is smartly locked.
  • Fig. 9 is a schematic diagram of a smart watch sending an information prompt to confirm whether to cancel the smart lock after the smart lock is performed on the mobile phone.
  • Fig. 10 is a detailed flow chart of detecting whether the mobile phone meets the smart unlocking/smart locking usage conditions (203/205 in Fig. 2).
  • Fig. 11 is a schematic diagram of an application scenario of a method for controlling an electronic device provided by another embodiment of the present application.
  • Fig. 12 is a flowchart of an electronic device control method provided by another embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application scenario of a method for controlling an electronic device provided by an embodiment of the present application.
  • the electronic device control method provided in the embodiment of the present application is applied to the first electronic device 10 and the second electronic device 11 .
  • the first electronic device 10 and the second electronic device 11 may be terminals.
  • the first electronic device 10 is a mobile phone
  • the second electronic device 11 is a smart watch.
  • the first electronic device 10 and the second electronic device 11 may be other devices.
  • the first electronic device 10 may be a tablet
  • the second electronic device 11 may be a sound box.
  • the second electronic device 11 is an unlocking device for the first electronic device 10 , and is used for intelligently unlocking and intelligently locking the first electronic device 10 .
  • the electronic device control method provided in the embodiment of the present application, when the second electronic device 11 is connected to the first electronic device 10 (such as Bluetooth connection) and meets the conditions for using the smart unlock, the first electronic device 10 is smartly unlocked. After the smart unlocking of the first electronic device 10 is performed, if the conditions for using the smart lock are met, the first electronic device 10 is smartly locked.
  • the electronic device control method provided by the embodiment of the present application can improve the security of smart unlocking, and avoid security risks brought about by smart unlocking in an unsafe use scenario (for example, the first electronic device 10 is taken away maliciously).
  • Fig. 2 is a flow chart of a method for controlling an electronic device provided by an embodiment of the present application.
  • the electronic device control method provided in the embodiment of the present application is applied to mobile phones and smart watches.
  • the mobile phone can enable smart unlocking and smart locking functions according to user settings.
  • the mobile phone can detect whether the user is suitable for face and/or fingerprint authentication, and when it detects that the user is not suitable for face and/or fingerprint authentication, the smart unlock and smart lock functions are automatically enabled. For example, when it is detected that the user is driving, or no face is detected, or the user is wearing a mask, it is determined that the user is not suitable for face and/or fingerprint authentication, and the mobile phone turns on the smart unlock and smart lock functions.
  • the mobile phone can detect whether the user is suitable for face and/or fingerprint authentication through distributed technology.
  • the mobile phone may display a smart unlock and/or smart lock setting interface for setting smart unlock and/or smart lock functions.
  • Fig. 3 is a schematic diagram of entering the smart unlock and lock setting interface. As shown in Figure 3, the user can enter the smart unlock and lock setting interface by clicking "Settings" -> "Biometric Identification and Password” -> "Smart Unlock and Lock”.
  • FIG. 4 is a schematic diagram of an intelligent unlocking and locking setting interface.
  • the smart unlock and lock setting interface may include a smart unlock switch and a smart lock switch.
  • the smart unlock switch is used to enable or disable the smart unlock function
  • the smart lock is used to enable or disable the smart lock function.
  • the smart unlocking and locking setting interface may also include an unlocking device option for setting the device used for unlocking.
  • the device used for unlocking is set to be a smart watch.
  • the smart unlocking and locking setting interface may also include a device pairing function option, which is used to search for connectable devices, and the searched devices will be added to the unlocking device option.
  • the smart unlock and lock setting interface may also include a smart unlock use condition function option, which is used to set the smart unlock use condition.
  • the mobile phone may display a smart unlock and/or smart lock usage condition setting interface.
  • the smart unlock and/or smart lock usage condition setting interface is used to set smart unlock usage conditions and/or smart lock smart lock usage conditions.
  • Fig. 5 is a schematic diagram of an interface for setting usage conditions of smart unlocking and locking.
  • the user can click the smart unlock and lock usage condition function option on the smart unlock and lock setting interface to enter the smart unlock and lock usage condition setting interface.
  • the intelligent unlocking and locking usage condition setting interface may be displayed according to the intelligent unlocking and locking setting interface. For example, if the user enables the smart unlock function on the smart unlock and lock setting interface, the smart unlock and lock usage condition setting interface includes the smart unlock usage condition option. If the user enables the smart unlock and smart lock functions on the smart unlock and lock setting interface, the smart unlock and lock usage condition setting interface includes smart unlock usage condition options and smart lock usage condition options. As shown in FIG. 5 , the smart unlock and lock usage condition setting interface includes smart unlock usage condition options and smart lock usage condition options.
  • the smart unlock use condition options include “Bluetooth signal strength”, “unlock device wearing status”, “unlock device is unlocked and protected by password”, “distance between unlock device and mobile phone”, etc.
  • each smart unlock use condition option indicates A Smart Unlock condition of use.
  • One or more smart unlock usage condition options can be selected. For example, if one of the smart unlock usage condition options of "Bluetooth signal strength” is selected, when the Bluetooth signal strength is greater than or equal to the preset strength, the smart unlock usage condition is met. If you select the smart unlock usage condition option of "unlocking device wearing status", the smart unlocking usage condition is met when the unlocking device (wearable device) is in the wearing status.
  • the smart unlock usage conditions are met when the unlock device is unlocked and protected by a password. If you select the three smart unlock usage condition options "Bluetooth signal strength”, “Unlock device wearing status”, “Unlock device is unlocked and protected by password”, then when the Bluetooth signal strength is greater than or equal to the preset strength, and the device is unlocked (can Wearable device) is in the wearing state, and the unlocking device is unlocked and protected by a password, and the smart unlocking conditions are met.
  • the phone can also include other smart unlock usage condition options.
  • it may also include intelligent unlocking usage condition options such as “sensed speed”, “sensed air pressure”, “sensed heart rate”, “sensed ambient brightness”, and “sensed ambient sound”.
  • intelligent unlocking usage condition options such as “sensed speed”, “sensed air pressure”, “sensed heart rate”, “sensed ambient brightness”, and “sensed ambient sound”.
  • Sensed speed”, “sensed air pressure”, “sensed heart rate”, “sensed ambient brightness”, “sensed ambient sound”, etc. can be the data sensed by the mobile phone or the smart watch Data, alternatively, can be data sensed by phones and smart watches. For example, if the user selects "sensed speed”, if the speed sensed by the mobile phone and/or the unlocking device is greater than or equal to the preset speed, it indicates that the user is exercising, and the smart lock usage condition is satisfied at this time.
  • the smart lock usage condition options include “Bluetooth connection status”, “Bluetooth signal strength”, “unlocking device wearing status”, “distance between unlocking device and mobile phone”, etc.
  • Each Smart Lock usage condition option represents a Smart Lock usage condition.
  • One or more Smart Lock usage condition options can be selected. For example, if you select “Bluetooth connection status" as a smart lock use condition option, when the mobile phone and the smart watch are disconnected from the Bluetooth connection, the smart lock use condition is met. If “Bluetooth signal strength” is selected as a smart lock use condition option, when the Bluetooth signal strength is lower than the preset strength, the smart lock use condition is met. If you select the smart lock use condition option of "unlock device wearing status", the smart lock use condition is met when the unlock device is not worn.
  • the smart unlock usage condition option may be the same as the smart lock usage condition option.
  • the smart unlock usage condition option and the smart lock usage condition option may include the Bluetooth signal strength and the wearing status of the unlocking device. When the Bluetooth signal strength is greater than or equal to the preset strength and the unlocking device is in the wearing status, the smart unlocking usage condition is met; When the Bluetooth signal strength is lower than the preset strength, or the unlocked device is not worn, the conditions for using smart lock are met.
  • the selection of usage conditions for smart unlocking and the selection of usage conditions for smart locking may also be different, as shown in FIG. 5 , for example.
  • the embodiment shown in FIG. 2 can set the usage conditions of smart unlocking and smart locking.
  • the usage conditions of smart unlocking and smart locking can be set through the smart unlocking and locking usage condition setting interface.
  • preset usage conditions for smart unlocking and smart locking can be used.
  • the mobile phone is locked.
  • the mobile phone is inactive for a preset time (for example, the user does not operate the mobile phone within a preset time)
  • the mobile phone is locked.
  • the mobile phone is connected to the smart watch via Bluetooth, and the smart watch can intelligently unlock the mobile phone by establishing a Bluetooth connection with the mobile phone.
  • other short-distance wireless communications can be performed between the mobile phone and the smart watch, and the smart watch intelligently unlocks the mobile phone by establishing other short-distance wireless communication with the mobile phone.
  • mobile phones and smart watches can be connected through Wi-Fi, near field communication (Near Field Communication, NFC), ZigBee technology, infrared data organization (Infrared Data Association, IrDA) technology, ultra wideband (ultra wideband, UWB) technology, Short-distance wireless communication via wireless Universal Serial Bus (USB), etc.
  • Wi-Fi near field communication
  • NFC Near Field Communication
  • ZigBee ZigBee
  • IrDA Infrared Data Association
  • UWB ultra wideband
  • USB Universal Serial Bus
  • the data of the mobile phone and/or the smart watch can be obtained according to the conditions for use of the smart unlock set in 201, and whether the conditions for use of the smart unlock are met can be judged according to the acquired data.
  • the smart unlock usage condition option "Bluetooth signal strength” is selected in 201, the Bluetooth signal strength of the mobile phone and/or smart watch is obtained, and it is judged whether the obtained Bluetooth signal strength of the mobile phone and/or smart watch is greater than or equal to the preset strength.
  • the smart unlock usage condition option of "unlocking the wearing status of the device” is selected in 201, the wearing information of the smart watch is obtained, and it is judged whether the smart watch is in the wearing state according to the obtained wearing information of the smart watch.
  • the smart unlock usage condition option "unlocked device is unlocked and protected by a password” is selected in 201, the device status of the smart watch is obtained, and it is judged according to the device status of the smart watch whether the unlocked device is unlocked and protected by a password.
  • the Bluetooth signal strength of the mobile phone and/or smart watch smart watch
  • the wearing information of the smart watch and the device status of the smart watch judge whether the Bluetooth signal strength of the mobile phone and/or smart watch is greater than or equal to the preset strength, judge whether the smart watch is in the wearing state according to the wearing information of the smart watch, judge according to the device status of the smart watch Whether the smartwatch is unlocked and password protected.
  • the smart watch can detect whether the mobile phone has established a Bluetooth connection with the smart watch, and whether the conditions for using smart unlocking are met.
  • the mobile phone can detect whether the Bluetooth connection between the mobile phone and the smart watch is established, and whether the conditions for using smart unlocking are met. Refer to Figure 10 for the specific process of checking whether the mobile phone meets the conditions for using smart unlocking.
  • Bluetooth signal strength is selected in 201 as a smart unlocking usage condition option, and the Bluetooth signal strength of the mobile phone and/or smart watch is greater than or equal to the preset strength, then the smart unlocking usage condition is met, and the mobile phone is unlocked. unlock. If the smart unlock usage condition option of "unlock device wearing state" is selected in 201, and the smart watch is judged to be in the wearing state according to the wearing information of the smart watch, then the smart unlock usage condition is met, and the mobile phone is unlocked.
  • the smart unlock usage condition option of "unlock device is unlocked and protected by a password” is selected in 201, and the smart watch is judged to be unlocked and protected by a password according to the device status of the smart watch, then the smart unlock usage condition is met, and the mobile phone is unlocked.
  • the three smart unlock usage condition options of "Bluetooth signal strength", "unlocked device wearing status” and “unlocked device is unlocked and protected by password” are selected in 201, it is judged that the Bluetooth signal strength of the mobile phone and/or smart watch is greater than or equal to the preset value. Set the strength, judge the smart watch is in the wearing state according to the wearing information of the smart watch, judge that the smart watch is unlocked and protected by a password according to the device status of the smart watch, and then meet the conditions for using smart unlock, and unlock the phone.
  • the mobile phone and the smart watch establish a Bluetooth connection and meet the requirements for smart unlocking, the mobile phone can be unlocked through the smart watch.
  • the smart watch can detect whether the mobile phone has established a Bluetooth connection with the smart watch, and whether it meets the conditions for smart unlocking. Unlock the mobile phone according to the unlocking instruction.
  • the smart watch sends a message to confirm whether to smartly unlock the mobile phone.
  • Fig. 6 is a schematic diagram of the smart watch sending out an information prompt to confirm whether the mobile phone is intelligently unlocked before the mobile phone is intelligently unlocked.
  • the smart watch can display a first prompt interface.
  • the first prompt interface may include the prompt message "Are you sure you want to unlock the mobile phone intelligently?", and may also include two options of "cancel" and "unlock”. If the user clicks "Unlock”, the mobile phone will be intelligently unlocked. Otherwise, if the user clicks "Cancel”, the mobile phone will not be intelligently unlocked.
  • the first prompt interface may include an option of "Yes”, and if the user clicks "Yes”, the mobile phone will be intelligently unlocked; otherwise, if the user does not click "Yes", then the mobile phone will not be intelligently unlocked.
  • the smart watch when the mobile phone establishes a Bluetooth connection with the smart watch and meets the conditions for using smart unlocking, the smart watch unlocks the mobile phone, and the smart watch sends a message to confirm whether to cancel the smart unlocking.
  • Fig. 7 is a schematic diagram of the smart watch sending an information prompt to confirm whether to revoke the smart unlocking after the mobile phone is smartly unlocked.
  • the smart watch can display a second prompt interface.
  • the second prompt interface may include prompt information of "the mobile phone has been intelligently unlocked, do you need to revoke it?", and may also include two options of "yes" and "no".
  • the second prompt interface may include an option of "Yes”, and if the user clicks "Yes”, the smart unlocking of the mobile phone is canceled; otherwise, if the user does not click "Yes", the smart unlocking of the mobile phone remains.
  • Bluetooth connection status is selected as a smart lock usage condition option in 201
  • obtain the Bluetooth connection status between the mobile phone and the smart watch and determine whether the mobile phone and the smart watch are disconnected from the Bluetooth connection .
  • Bluetooth signal strength is selected as a smart lock usage condition option in 201, before the screen of the mobile phone is turned off, obtain the Bluetooth signal strength of the mobile phone and/or smart watch, and determine whether the obtained Bluetooth signal strength of the mobile phone and/or smart watch is less than Preset intensity.
  • the smart lock use condition option of "unlocking the wearing state of the device” is selected in 201, before the screen of the mobile phone is turned off, the wearing information of the smart watch is obtained, and it is judged whether the smart watch is in a non-wearing state according to the obtained wearing information of the smart watch.
  • the three smart lock usage condition options of "Bluetooth connection status", "Bluetooth signal strength” and “unlocked device wearing status” are selected in 201, before the screen of the mobile phone is turned off, the Bluetooth connection status of the mobile phone and the smart watch, the mobile phone and / Or the Bluetooth signal strength of the smart watch, the wearing information of the smart watch, determine whether the Bluetooth connection between the mobile phone and the smart watch is disconnected, determine whether the Bluetooth signal strength of the mobile phone and/or smart watch is less than the preset strength, and determine whether the smart watch is not worn .
  • the screen off of the mobile phone means that the screen of the mobile phone is turned off. If the user does not operate the mobile phone within a preset time, the mobile phone can automatically turn off the screen.
  • the smart watch can detect whether the usage condition of the smart lock is satisfied.
  • the mobile phone may detect whether the conditions for using the smart lock are met.
  • the smart watch can detect whether the conditions for using the smart lock are met, and when it is detected that the conditions for using the smart lock are met, the smart watch can send a locking instruction to the mobile phone, and the mobile phone can lock the mobile phone according to the locking instruction.
  • the phone can lock itself if the smart lock usage conditions are met. For example, if the mobile phone detects that the Bluetooth connection between the mobile phone and the smart watch is disconnected, it judges that the conditions for using the smart lock are met, and the mobile phone locks itself.
  • the smart watch sends a prompt message to confirm whether it is smart locked.
  • FIG. 8 is a schematic diagram of the smart watch sending out a message to confirm whether the mobile phone is smartly locked before the mobile phone is smartly locked when the conditions for using the smart lock are met.
  • the smart watch can display a third prompt interface.
  • the third prompt interface may include the prompt message "Are you sure you want to lock the phone smartly?", and may also include two options of "Cancel” and "Lock”. If the user clicks "Lock", the phone will be locked intelligently. Otherwise, if the user clicks "Cancel”, the smart lock will not be performed on the phone.
  • the third prompt interface may include an option of "Yes”, and if the user clicks "Yes”, the mobile phone will be intelligently locked; otherwise, if the user does not click "Yes", the mobile phone will not be intelligently locked.
  • the smart watch sends a prompt message to confirm whether to cancel the smart lock.
  • Fig. 9 is a schematic diagram of the smart watch sending an information prompt to confirm whether to cancel the smart lock after the smart lock of the mobile phone.
  • the fourth prompt interface may include the prompt message "The mobile phone has been smartly locked, do you need to revoke it?", and may also include two options of "Yes” and "No". If the user clicks "Yes”, the smart lock to the mobile phone is canceled; otherwise, if the user clicks "No", the smart lock to the mobile phone is maintained.
  • the fourth prompt interface may include an option of "Yes”, and if the user clicks "Yes”, the smart lock of the mobile phone is canceled; otherwise, if the user does not click "Yes", the smart lock of the mobile phone is maintained.
  • the electronic device control method provided by the embodiment of the present application judges whether the use condition of the smart unlock is not met after the smart unlock of the mobile phone is performed, and re-locks the device if the use condition of the smart unlock is not met.
  • This application can improve the security of intelligent unlocking, and avoid the security risks brought about by intelligent unlocking in non-safe usage scenarios.
  • FIG. 10 is a detailed flow chart of detecting whether the mobile phone meets the conditions for using smart unlocking/smart locking (refer to 203/205 in FIG. 2 ).
  • the mobile phone sends a watch data query request to the smart watch.
  • the mobile phone may send a first watch data query request. If it is detected whether the conditions for using the smart lock are satisfied, the mobile phone can send a second watch data query request.
  • the mobile phone can send a watch data query request carrying smart unlock/smart lock usage conditions or query items to the smart watch.
  • the watch can return the corresponding watch data.
  • the mobile phone may send a watch data query request that does not carry smart unlock/smart lock usage conditions or query items to the smart watch.
  • the watch can send all watch data back to the phone.
  • the smart watch returns the watch data to the mobile phone in response to the watch data query request.
  • the smart watch can return the first device information to the mobile phone. If receiving the second watch data query request from the mobile phone, the smart watch can return the second device information to the mobile phone. Both the first device information and the second device information are information including watch data.
  • the watch data returned by the smart watch may include the Bluetooth signal strength of the smart watch, wearing information, whether it is unlocked and whether it is protected by a password, the speed sensed by the smart watch, heart rate, ambient brightness, ambient sound, etc. .
  • the mobile phone acquires mobile phone data.
  • the mobile phone data may include the Bluetooth signal strength of the mobile phone, the distance between the mobile phone and the smart watch, the speed sensed by the mobile phone, the air pressure, the distance from the smart watch, the ambient brightness, the ambient sound, etc.
  • the mobile phone determines whether the usage condition of smart unlocking/smart locking is met according to the data of the watch and/or the data of the mobile phone.
  • the conditions for using smart unlocking include Bluetooth signal strength, the wearing status of the unlocking device, and the unlocking device is unlocked and protected by a password, then it is judged whether the Bluetooth signal strength of the mobile phone and/or smart watch is greater than or equal to the preset strength, and whether the smart watch is Wearing status, judging whether the smart watch is unlocked and protected by a password.
  • the smart watch can send a mobile phone data query request to the mobile phone.
  • the mobile phone In response to the mobile phone data query request, the mobile phone returns the mobile phone data to the mobile phone.
  • the smart watch obtains watch data, and determines whether the smart unlock/smart lock usage conditions are met based on the watch data and/or mobile phone data.
  • Fig. 11 is a schematic diagram of an application scenario of a method for controlling an electronic device provided by another embodiment of the present application.
  • the electronic device control method provided in the embodiment of the present application is applied to the car 110 and the mobile phone 111 .
  • the car 110 includes an on-board computer 1111 , a door lock control system 1112 and a car door 1113 .
  • the mobile phone 111 is an unlocking device for the car door 1113 , and is used for intelligently unlocking and locking the car door 1103 .
  • the electronic device control method provided in the embodiment of the present application when the mobile phone 111 is connected to the on-board computer 1111 (such as Bluetooth connection) and satisfies the conditions for using smart door unlocking, the car door 1113 is intelligently unlocked.
  • the electronic device control method provided by the embodiment of the present application can improve the security of smart unlocking of the car door, and avoid the safety risk caused by smart unlocking in non-safe use scenarios (for example, the door 1113 is unlocked after the car 110 is started).
  • Fig. 12 is a flowchart of an electronic device control method provided by another embodiment of the present application.
  • the electronic device control method provided in the embodiment of the present application is applied to automobiles and mobile phones. The car can execute each step in the figure through the on-board computer.
  • the conditions for using smart door unlocking may include any one or more of the following: Bluetooth signal strength, wearing status of the unlocking device, the unlocking device is unlocked and protected by a password, the distance between the unlocking device and the car, and the speed of the car.
  • the conditions for using the smart door lock may include any one or more of the following: Bluetooth connection status, Bluetooth signal strength, wearing status of the unlocking device, distance between the unlocking device and the car, and speed of the car.
  • the mobile phone uses the Bluetooth connection to intelligently unlock the car door. In this step, it is detected whether the car and the mobile phone have established a Bluetooth connection. In other embodiments of the present application, the mobile phone can use other short-distance wireless communication connections to intelligently unlock the car door. In this step, it is detected whether the car and the mobile phone have established other short-distance wireless communication connections.
  • Detecting whether the usage condition of the smart unlocking of the car door is satisfied is to judge according to the usage condition of the smart unlocking of the car door set in step 1201 .
  • the conditions for using smart door unlocking include Bluetooth signal strength, the unlocking device is unlocked and protected by a password, the distance between the unlocking device and the car, and the speed of the car, then detect whether the Bluetooth signal strength of the car and/or mobile phone is greater than or equal to the preset strength , Detect whether the mobile phone is unlocked and protected by a password, detect whether the distance between the mobile phone and the car is less than or equal to the preset distance, and detect whether the speed of the car is zero.
  • the mobile phone can detect whether a Bluetooth connection is established between the car and the mobile phone, and whether the conditions for using smart door unlocking are met.
  • the mobile phone can send a car data query request to the car.
  • the car returns the car data to the phone.
  • the mobile phone obtains the mobile phone data, and determines whether the conditions for using the smart unlock/smart lock are met according to the car data and/or the mobile phone data.
  • the car can detect whether a Bluetooth connection is established between the car and the mobile phone, and whether the conditions for using smart door unlocking are met.
  • the car can send a mobile phone data query request to the mobile phone.
  • the cell phone In response to the cell phone data query request, the cell phone returns the cell phone data to the car.
  • the car also obtains car data, and determines whether the conditions for using smart door unlocking/smart locking are met based on mobile phone data and/or car data.
  • the mobile phone If the mobile phone detects whether the car has established a Bluetooth connection with the mobile phone and whether it meets the conditions for using smart door unlocking, when it detects that the car has established a Bluetooth connection with the mobile phone and meets the conditions for using smart door unlocking, the mobile phone can send a door unlock command to the car.
  • the unlock command unlocks the door.
  • the mobile phone sends a prompt message to confirm whether the car door is smartly unlocked.
  • the mobile phone sends a prompt message to confirm whether to cancel the smart unlocking of the car door.
  • the conditions for using smart door locking include Bluetooth connection status, Bluetooth signal strength, distance between the unlocking device and the car, and the speed of the car. Then, it is detected whether the car and the mobile phone are disconnected from the Bluetooth connection, and whether the Bluetooth signal strength of the car and/or the mobile phone is less than Preset intensity, detect whether the distance between the mobile phone and the car is greater than the preset distance, and detect whether the speed of the car is greater than zero.
  • the conditions for using the smart door lock include Bluetooth connection status, Bluetooth signal strength, distance between the unlocking device and the car, and the speed of the car. , or the distance between the mobile phone and the car is greater than the preset distance, or whether the speed of the car is greater than zero, then the conditions for using smart door locking are met and the door is locked.
  • the mobile phone If the mobile phone detects whether the conditions for using the smart door lock are met, when the conditions for using the smart door lock are met, the mobile phone can send a door lock instruction to the car, and the car will lock the door according to the door lock instruction.
  • the mobile phone sends a prompt message to confirm whether the door is smartly locked.
  • the mobile phone sends a prompt message to confirm whether to cancel the smart lock of the car door.
  • FIG. 13 is a schematic structural diagram of an electronic device (a first electronic device or a second electronic device, in which the electronic device is taken as an example of a terminal) provided by an embodiment of the present application.
  • the electronic device 130 may include: a radio frequency (Radio Frequency, RF) circuit 1301, a memory 1302, an input unit 1303, a display unit 1304, a sensor 1305, an audio circuit 1306, a Wi-Fi module 1307, a processor 1308, Power supply 1309, bluetooth module 1310 and other components.
  • RF Radio Frequency
  • the RF circuit 1301 can be used to send and receive information or receive and send signals during a call. In particular, after receiving the downlink information from the base station, it is transferred to the processor 1308 for processing; in addition, the uplink data is sent to the base station.
  • the RF circuit 1301 includes, but is not limited to: an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like.
  • the memory 1302 can be used to store software programs and modules, and the processor 1308 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 1302 .
  • Memory 1302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of electronic devices (such as audio data, phonebook, etc.), etc.
  • the memory 1302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the input unit 1303 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the input unit 1303 may include a touch panel 13031 and other input devices 13032 .
  • the touch panel 13031 also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 13031 or near the touch panel 13031 operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 13031 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1308, and receive and execute the commands sent by the processor 1308.
  • the touch panel 13031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 1303 may also include other input devices 13032 .
  • other input devices 13032 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.
  • the display unit 1304 may be used to display information input by or provided to the user and various menus of the electronic device.
  • the display unit 1304 may include a display panel 13041.
  • the display panel 13041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • the touch panel 13031 can cover the display panel 13041. When the touch panel 13031 detects a touch operation on or near it, it sends it to the processor 1308 to determine the type of the touch event, and then the processor 1308 according to the touch event The type provides a corresponding visual output on the display panel 13041.
  • the touch panel 13031 and the display panel 13041 are used as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 13031 and the display panel 13041 can be integrated And realize the input and output function of electronic equipment.
  • the electronic device may also include at least one sensor 1305, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 13041 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 13041 and the display panel 13041 when the electronic device moves to the ear. / or backlighting.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of electronic equipment (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; in addition, electronic devices can also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors. This will not be repeated here.
  • the audio circuit 1306, the speaker 13061, and the microphone 13062 can provide an audio interface between the user and the electronic device.
  • the audio circuit 1306 can transmit the electrical signal converted from the received audio data to the speaker 13061, and the speaker 13061 converts it into an audio signal for output; After being received, it is converted into audio data, and after being processed by the audio data output processor 1308, it is sent to another electronic device through the RF circuit 1301, or the audio data is output to the memory 1302 for further processing.
  • Wi-Fi is a short-distance wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 1307, which provides users with wireless broadband Internet access.
  • Fig. 13 shows the Wi-Fi module 1307, it can be understood that it is not a necessary component of the electronic device, and can be omitted as needed without changing the essence of the invention.
  • the processor 1308 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and/or modules stored in the memory 1302, and calling data stored in the memory 1302 , to perform various functions of the electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • Processor 1308 may include one or more processing units.
  • the processor 1308 may include an application processor (application processor, AP), a micro control unit (Micro Control Unit, MCU), a modem processor, a graphics processing unit (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 processor (neural-network processing unit, NPU), etc.
  • application processor application processor
  • MCU Micro Control Unit
  • modem processor graphics processing unit
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the processor 1308 may integrate an application processor and a modem, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1308 .
  • the electronic device also includes a power supply 1309 (such as a battery) for supplying power to various components.
  • a power supply 1309 (such as a battery) for supplying power to various components.
  • the power supply can be logically connected to the processor 1308 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system. .
  • the bluetooth module 1310 is a bluetooth chip, and the bluetooth module 1310 communicates with other electronic devices with a bluetooth function through the bluetooth protocol.
  • the electronic device 130 may also include a camera, etc., which will not be repeated here.
  • the electronic device described in FIG. 13 may be used to implement part or all of the procedures in the embodiments of the present application. For reference, relevant descriptions in the foregoing embodiments may be referred to, and details are not repeated here.
  • This embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are run on the electronic equipment, the electronic equipment is made to execute the above-mentioned related method steps to implement the electronic equipment control method in the above-mentioned embodiments .
  • This embodiment also provides a computer program product, which, when running on the electronic device, causes the electronic device to execute the above related steps, so as to implement the method for controlling the electronic device in the above embodiment.
  • an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the electronic device control method in the above method embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined Or it can be integrated into another device, or some features can be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and a component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Lock And Its Accessories (AREA)

Abstract

本申请提供一种电子设备控制方法及相关设备,应用于第一电子设备和第二电子设备组成的系统,所述方法包括:第一电子设备为锁定状态时,检测第一电子设备与第二电子设备是否建立短距离无线通信连接,以及是否满足智能解锁使用条件;若第一电子设备与第二电子设备建立短距离无线通信连接,并且满足智能解锁使用条件,通过第二电子设备对第一电子设备进行解锁;检测是否满足智能锁定使用条件;若满足智能锁定使用条件,对第一电子设备进行锁定。本申请能够提高智能解锁的安全性。

Description

电子设备控制方法及相关设备
本申请要求于2021年7月28日提交中国专利局、申请号为202110857595.2、发明名称为“电子设备控制方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种电子设备控制方法及相关设备。
背景技术
为了提升手机、平板等电子设备的解锁体验,电子设备引入了智能解锁功能。可以将可穿戴设备、音箱、耳机等设置为电子设备的解锁设备,当解锁设备连接电子设备时,无需密码、指纹或人脸身份验证即可对电子设备进行解锁。然而,某些场景下智能解锁会带来一定的安全风险。例如,若电子设备被人恶意拿走并智能解锁,容易造成机主信息泄露或权益损失。
发明内容
本申请实施例公开了一种电子设备控制方法及相关设备,提高了电子设备智能解锁的安全性。
本申请第一方面公开了一种电子设备控制方法,应用于第一电子设备和第二电子设备组成的系统,所述方法包括:所述第一电子设备为锁定状态时,检测所述第一电子设备与所述第二电子设备是否建立短距离无线通信连接,以及是否满足智能解锁使用条件;若所述第一电子设备与所述第二电子设备建立短距离无线通信连接,并且满足所述智能解锁使用条件,通过所述第二电子设备对所述第一电子设备进行解锁;检测是否满足智能锁定使用条件;若满足所述智能锁定使用条件,对所述第一电子设备进行锁定。
根据本申请实施例提供的电子设备控制方法,当第二电子设备与第一电子设备连接(例如蓝牙连接)并满足智能解锁使用条件时,对第一电子设备进行智能解锁。在对第一电子设备进行智能解锁之后,若满足智能锁定使用条件,对第一电子设备进行智能锁定。本申请实施例提供的电子设备控制方法能够提高智能解锁的安全性,避免智能解锁在非安全使用场景下带来的安全风险。
在一些可选的实施方式中,所述方法还包括:若接收到第一用户操作,显示智能解锁和/或智能锁定设置界面,所述智能解锁和/或智能锁定设置界面用于设置所述第一电子设 备的智能解锁和/或智能锁定功能。
在一些可选的实施方式中,所述方法还包括:若接收到所述智能解锁和/或智能锁定设置界面上的第二用户操作,显示智能解锁和/或智能锁定使用条件设置界面,所述智能解锁和/或智能锁定使用条件设置界面用于设置所述智能解锁使用条件和/或所述智能锁定使用条件。
在一些可选的实施方式中,所述智能解锁使用条件与所述智能锁定使用条件对应相同的条件选项。
在一些可选的实施方式中,所述智能解锁使用条件与所述智能锁定使用条件对应不同的条件选项。
在一些可选的实施方式中,所述对所述第一电子设备进行锁定具体为:通过所述第二电子设备对所述第一电子设备进行锁定;或者所述第一电子设备自行锁定。
在一些可选的实施方式中,所述第一电子设备和所述第二电子设备为终端。
在一些可选的实施方式中,所述第一电子设备为手机或平板,所述第二电子设备为可穿戴设备。
在一些可选的实施方式中,检测是否满足所述智能锁定使用条件具体为:在所述第一电子设备熄屏之前,检测是否满足所述智能锁定使用条件。
在一些可选的实施方式中,所述智能解锁使用条件包括如下任意一项或多项:所述第一电子设备和/或所述第二电子设备的短距离无线通信信号强度、所述第二电子设备的佩戴状态、所述第二电子设备已解锁并受密码保护、所述第一电子设备和所述第二电子设备的距离、所述第一电子设备和/或所述第二电子设备感测的速度、气压、心率、环境亮度、环境声音;所述智能解锁使用条件包括如下任意一项或多项:所述第一电子设备和所述第二电子设备的短距离无线通信连接状态、所述第一电子设备和/或所述第二电子设备的短距离无线通信信号强度、所述第二电子设备的解锁设备佩戴状态、所述第一电子设备和所述第二电子设备的的距离、所述第一电子设备和/或所述第二电子设备感测的速度、气压、心率、环境亮度、环境声音。
在一些可选的实施方式中,所述第一电子设备为汽车,所述第二电子设备为终端,对所述第一电子设备进行解锁具体为:对所述汽车的车门进行解锁;所述对所述第一电子设备进行锁定具体为:对所述车门进行锁定。
在一些可选的实施方式中,所述智能解锁使用条件包括如下任意一项或多项:所述汽车和/或所述终端的短距离无线通信信号强度、所述终端的佩戴状态、所述终端已解锁并受密码保护、所述汽车与所述终端的距离、所述汽车的速度;所述智能锁定使用条件包括如下任意一项或多项:所述汽车和所述终端的短距离无线通信连接状态、所述汽车和/或所述终端的短距离无线通信信号强度、所述终端的佩戴状态、所述汽车和所述终端的距离、所述汽车的速度。
本申请第二方面公开了一种电子设备控制方法,应用于第一电子设备,所述方法包括:所述第一电子设备为锁定状态时,检测所述第一电子设备与第二电子设备是否建立短距离无线通信连接,以及是否满足智能解锁使用条件;若所述第一电子设备与所述第二电子设备建立短距离无线通信连接,并且满足所述智能解锁使用条件,通过所述第二电子设备对所述第一电子设备进行解锁;检测是否满足智能锁定使用条件;若满足所述智能锁定使用条件,对 所述第一电子设备进行锁定。
本申请第三方面公开了一种电子设备控制方法,应用于第二电子设备,所述第二电子设备为第一电子设备的解锁设备,所述方法包括:在所述第一电子设备进入锁定状态并且建立与所述第一电子设备的短距离无线通信连接后,将所述第二电子设备的第一设备信息返回所述第一电子设备,以检测所述第一电子设备是否满足智能解锁使用条件,所述第一电子设备在与所述第二电子设备建立所述短距离无线通信连接并且满足所述智能解锁使用条件时,通过所述第二电子设备对所述第一电子设备进行智能解锁;在所述第一电子设备进行智能解锁之后,将所述第二电子设备的第二设备信息返回所述第一电子设备,以检测是否满足智能锁定使用条件检测,所述第一电子设备在满足所述智能锁定使用条件时,对所述第一电子设备进行智能锁定。
在一些可选的实施方式中,所述第一设备信息和所述第二设备信息包括如下任意一项或多项:所述第一电子设备和/或所述第二电子设备的短距离无线通信信号强度、所述第二电子设备的佩戴状态、所述第二电子设备是否已解锁及是否受密码保护、所述第一电子设备和所述第二电子设备的距离、所述第二电子设备感测的速度、气压、心率、环境亮度、环境声音。
在一些可选的实施方式中,所述对所述第一电子设备进行智能解锁之前,所述方法还包括:发出确认是否智能解锁所述第一电子设备的信息提示。
在一些可选的实施方式中,所述对所述第一电子设备进行智能解锁之后,所述方法还包括:发出确认是否撤销智能解锁所述第一电子设备的信息提示。
在一些可选的实施方式中,所述对所述第一电子设备进行智能锁定之前,所述方法还包括:发出确认是否智能锁定所述第一电子设备的信息提示。
在一些可选的实施方式中,所述对所述第一电子设备进行智能锁定之后,所述方法还包括:发出确认是否撤销智能锁定所述第一电子设备的信息提示。
本申请第四方面公开了一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面或第二方面所述的电子设备控制方法。
本申请第五方面公开了一种电子设备,所述电子设备包括处理器和存储器,所述存储器用于存储指令,所述处理器用于调用所述存储器中的指令,使得所述电子设备执行如第一方面或第二方面或第三方面所述的电子设备控制方法。
本申请第六方面公开了一种芯片系统,该芯片系统应用于电子设备;芯片系统包括接口电路和处理器;接口电路和处理器通过线路互联;接口电路用于从电子设备的存储器接收信号,并向处理器发送信号,信号包括存储器中存储的计算机指令;当处理器执行该计算机指令时,芯片系统执行如第一方面或第二方面或第三方面所述的电子设备控制方法。
本申请第七方面公开了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面或第二方面或第三方面所述的电子设备控制方法。
本申请第八方面公开了一种装置,该装置具有实现上述第一方面或第二方面或第三方面所提供的方法中电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块。
应当理解地,上述提供的第四方面所述的计算机可读存储介质,第五方面所述的电子设备,第六方面所述的芯片系统、第七方面所述的计算机程序产品,及第八方面所述的装置均与上述第一方面、第二方面、第三方面的方法对应,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1是本申请实施例提供的电子设备控制方法的应用场景示意图。
图2是本申请实施例提供的电子设备控制方法的流程图。
图3是进入智能解锁与锁定设置界面的示意图。
图4是智能解锁与锁定设置界面的示意图。
图5是智能解锁与锁定使用条件设置界面的示意图。
图6是在对手机智能解锁之前,智能手表发出确认是否智能解锁手机的信息提示的示意图。
图7是在对手机智能解锁之后,智能手表发出确认是否撤销智能解锁的信息提示的示意图。
图8是在对手机进行智能锁定之前,智能手表发出确认是否智能锁定手机的信息提示的示意图。
图9是在对手机进行智能锁定之后,智能手表发出确认是否撤销智能锁定的信息提示的示意图。
图10是手机检测是否满足智能解锁/智能锁定使用条件(图2中203/205)的细化流程图。
图11是本申请另一实施例提供的电子设备控制方法的应用场景示意图。
图12是本申请另一实施例提供的电子设备控制方法的流程图。
图13是本申请实施例提供的电子设备的结构示意图。
具体实施方式
为了便于理解,示例性的给出了部分与本申请实施例相关概念的说明以供参考。
需要说明的是,本申请中“至少一个”是指一个或者多个,“多个”是指两个或多于两个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。本申请的说明书和权利要求书及附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不是用于描述特定的顺序或先后次序。
为了更好地理解本申请实施例提供的电子设备控制方法及相关设备,下面首先对本申请电子设备控制方法的应用场景进行描述。
图1是本申请实施例提供的电子设备控制方法的应用场景示意图。
本申请实施例提供的电子设备控制方法应用于第一电子设备10与第二电子设备11。第一电子设备10与第二电子设备11可以是终端。图1所示实施例中,第一电子设备10 是手机,第二电子设备11是智能手表。在本申请其他的实施例中,第一电子设备10和第二电子设备11可以是其他的设备。例如,第一电子设备10可以是平板,第二电子设备11可以是音箱。
第二电子设备11是第一电子设备10的解锁设备,用于对第一电子设备10进行智能解锁和智能锁定。根据本申请实施例提供的电子设备控制方法,当第二电子设备11与第一电子设备10连接(例如蓝牙连接)并满足智能解锁使用条件时,对第一电子设备10进行智能解锁。在对第一电子设备10进行智能解锁之后,若满足智能锁定使用条件,对第一电子设备10进行智能锁定。本申请实施例提供的电子设备控制方法能够提高智能解锁的安全性,避免智能解锁在非安全使用场景(例如第一电子设备10被人恶意拿走)下带来的安全风险。
图2是本申请实施例提供的电子设备控制方法的流程图。本申请实施例提供的电子设备控制方法应用于手机和智能手表。
201,手机开启智能解锁与智能锁定功能,设置用于解锁的设备(即解锁设备)为智能手表,设置智能解锁使用条件和智能锁定使用条件。
手机可以根据用户设置开启智能解锁与智能锁定功能。或者,手机可以检测用户是否适合进行人脸和/或指纹认证,当检测到用户不适合进行人脸和/或指纹认证时,自动开启智能解锁与智能锁定功能。例如,当检测到用户正在开车,或者检测不到人脸,或者检测到用户佩戴口罩时,确定用户不适合进行人脸和/或指纹认证,手机开启智能解锁与智能锁定功能。手机可以通过分布式技术检测用户是否适合进行人脸和/或指纹认证。
若接收到第一用户操作,手机可以显示智能解锁和/或智能锁定设置界面,用以对智能解锁和/或智能智能锁定功能进行设置。图3是进入智能解锁与锁定设置界面的示意图。如图3所示,用户可以通过点击“设置”->“生物识别和密码”->“智能解锁与锁定”进入智能解锁与锁定设置界面。
图4是智能解锁与锁定设置界面的示意图。如图4所示,智能解锁与锁定设置界面可以包括智能解锁开关、智能锁定开关,智能解锁开关用于开启或关闭智能解锁功能,智能锁定用于开启或关闭智能锁定功能。智能解锁与锁定设置界面还可以包括解锁设备选项,用于设置用于解锁的设备,本实施例中,设置用于解锁的设备为智能手表。智能解锁与锁定设置界面还可以包括设备配对功能选项,用于搜索可连接设备,搜索到的设备会加入解锁设备选项中。智能解锁与锁定设置界面还可以包括智能解锁使用条件功能选项,用于设置智能解锁使用条件。
若接收到智能解锁和/或智能锁定设置界面上的第二用户操作,手机可以显示智能解锁和/或智能锁定使用条件设置界面。智能解锁和/或智能锁定使用条件设置界面用于设置智能解锁使用条件和/或智能锁定智能锁定使用条件。
图5是智能解锁与锁定使用条件设置界面的示意图。用户可以在智能解锁与锁定设置界面点击智能解锁与锁定使用条件功能选项,进入智能解锁与锁定使用条件设置界面。智能解锁与锁定使用条件设置界面可以根据智能解锁与锁定设置界面进行显示。例如,若用户在智能解锁与锁定设置界面开启智能解锁功能,智能解锁与锁定使用条件设置界面包括智能解锁使用条件选项。若用户在智能解锁与锁定设置界面开启智能解锁和智能锁定功能,智能解锁与锁定使用条件设置界面包括智能解锁使用条件选项和智能锁定使用条件选项。如图5所示, 智能解锁与锁定使用条件设置界面包括智能解锁使用条件选项和智能锁定使用条件选项。其中,智能解锁使用条件选项包括“蓝牙信号强度”、“解锁设备佩戴状态”、“解锁设备已解锁并受密码保护”、“解锁设备与手机的距离”等,每个智能解锁使用条件选项表示一个智能解锁使用条件。可以选择一个或多个智能解锁使用条件选项。例如,若选择“蓝牙信号强度”一个智能解锁使用条件选项,则当蓝牙信号强度大于或等于预设强度时,满足智能解锁使用条件。若选择“解锁设备佩戴状态”一个智能解锁使用条件选项,则解锁设备(可穿戴设备)为佩戴状态时,满足智能解锁使用条件。若选择“解锁设备已解锁并受密码保护”一个智能解锁使用条件选项,则解锁设备已解锁并受密码保护时,满足智能解锁使用条件。若选择“蓝牙信号强度”、“解锁设备佩戴状态”、“解锁设备已解锁并受密码保护”三个智能解锁使用条件选项,则当蓝牙信号强度大于或等于预设强度,并且解锁设备(可穿戴设备)为佩戴状态,并且解锁设备已解锁并受密码保护时,满足智能解锁使用条件。
除了“蓝牙信号强度”、“解锁设备佩戴状态”、“解锁设备已解锁并受密码保护”、“解锁设备与手机的距离”,手机还可以包括其他的智能解锁使用条件选项。例如,还可以包括“感测的速度”、“感测的气压”、“感测的心率”、“感测的环境亮度”、“感测的环境声音”等智能解锁使用条件选项。“感测的速度”、“感测的气压”、“感测的心率”、“感测的环境亮度”、“感测的环境声音”等可以是手机感测的数据或智能手表感测的数据,或者,可以是手机和智能手表感测的数据。例如,若用户选择“感测的速度”,手机和/或解锁设备感测的速度若大于或等于预设速度时,表明用户正在运动,此时满足智能锁定使用条件。
图5中,智能锁定使用条件选项包括“蓝牙连接状态”、“蓝牙信号强度”、“解锁设备佩戴状态”、“解锁设备与手机的距离”等。每个智能锁定使用条件选项表示一个智能锁定使用条件。可以选择一个或多个智能锁定使用条件选项。例如,若选择“蓝牙连接状态”一个智能锁定使用条件选项,则当手机与智能手表断开蓝牙连接时,满足智能锁定使用条件。若选择“蓝牙信号强度”一个智能锁定使用条件选项,则当蓝牙信号强度小于预设强度时,满足智能锁定使用条件。若选择“解锁设备佩戴状态”一个智能锁定使用条件选项,则解锁设备为非佩戴状态时,满足智能锁定使用条件。若选择“蓝牙连接状态”、“蓝牙信号强度”、“解锁设备佩戴状态”三个智能锁定使用条件选项,则当手机与智能手表断开蓝牙连接,或者蓝牙信号强度小于预设强度,或者解锁设备为非佩戴状态时,满足智能锁定使用条件。
智能解锁使用条件选项与智能锁定使用条件选项可以相同。例如,智能解锁使用条件选项与智能锁定使用条件选项可以包括蓝牙信号强度和解锁设备佩戴状态,当蓝牙信号强度大于或等于预设强度,并且解锁设备为佩戴状态时,满足智能解锁使用条件;当蓝牙信号强度小于预设强度,或者解锁设备为非佩戴状态时,满足智能锁定使用条件。智能解锁使用条件选项与智能锁定使用条件选项也可以不同,例如参见图5所示。
图2所示实施例可以设置智能解锁使用条件和智能锁定使用条件,例如可以通过智能解锁与锁定使用条件设置界面设置智能解锁使用条件和智能锁定使用条件。在本申请的其他实施例中,可以使用预设的智能解锁使用条件和智能锁定使用条件。
202,当满足手机的锁定条件时,对手机进行锁定。
例如,若用户按下手机的电源键,对手机进行锁定。或者,若手机超过预设时间未活动(例如用户预设时间内未对手机进行操作),对手机进行锁定。
203,检测手机与智能手表是否建立蓝牙连接,以及是否满足智能解锁使用条件。
本实施例中,手机与智能手表进行蓝牙连接,智能手表通过与手机建立蓝牙连接对手机进行智能解锁。
在本申请的其他实施例中,手机与智能手表之间可以进行其他短距离无线通信,智能手表通过与手机建立其他的短距离无线通信对手机进行智能解锁。例如,手机与智能手表之间可以通过Wi-Fi、近场通信(Near Field Communication,NFC)、ZigBee技术、红外数据组织(Infrared Data Association,IrDA)技术、超宽带(ultra wideband,UWB)技术、无线通用串行总线(Universal Serial Bus,USB)等方式进行短距离无线通信。若智能手表通过其他的短距离无线通信对手机进行智能解锁,则本步骤中,检测手机与智能手表是否建立对应的短距离无线通信连接。
可以根据201中设置的智能解锁使用条件获取手机和/或智能手表的数据,根据获取的数据判断是否满足智能解锁使用条件。继续以图5为例,若201中选择“蓝牙信号强度”一个智能解锁使用条件选项,则获取手机和/或智能手表的蓝牙信号强度,判断获取的手机和/或智能手表的蓝牙信号强度是否大于或等于预设强度。若201中选择“解锁设备佩戴状态”一个智能解锁使用条件选项,则获取智能手表的佩戴信息,根据获取的智能手表的佩戴信息判断智能手表是否为佩戴状态。若201中选择“解锁设备已解锁并受密码保护”一个智能解锁使用条件选项,则获取智能手表的设备状态,根据智能手表的设备状态判断解锁设备是否已解锁并受密码保护。若201中选择“蓝牙信号强度”、“解锁设备佩戴状态”、“解锁设备已解锁并受密码保护”三个智能解锁使用条件选项,则获取手机和/或智能手表的蓝牙信号强度、智能手表的佩戴信息和智能手表的设备状态,判断手机和/或智能手表的蓝牙信号强度是否大于或等于预设强度、根据智能手表的佩戴信息判断智能手表是否为佩戴状态、根据智能手表的设备状态判断智能手表是否已解锁及是否受密码保护。
在本申请的一个实施例中,可以由智能手表检测手机与智能手表是否建立蓝牙连接,以及是否满足智能解锁使用条件。
在本申请的另一个实施例中,可以由手机检测手机与智能手表是否建立蓝牙连接,以及是否满足智能解锁使用条件。手机检测是否满足智能解锁使用条件的具体过程可以参见图10。
204,若手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件,对手机进行解锁(即智能解锁)。
继续以图5为例,若201中选择“蓝牙信号强度”一个智能解锁使用条件选项,手机和/或智能手表的蓝牙信号强度大于或等于预设强度,则满足智能解锁使用条件,对手机进行解锁。若201中选择“解锁设备佩戴状态”一个智能解锁使用条件选项,根据智能手表的佩戴信息判断智能手表为佩戴状态,则满足智能解锁使用条件,对手机进行解锁。若201中选择“解锁设备已解锁并受密码保护”一个智能解锁使用条件选项,根据智能手表的设备状态判断智能手表已解锁并受密码保护,则满足智能解锁使用条件,对手机进行解锁。若201中选择“蓝牙信号强度”、“解锁设备佩戴状态”、“解锁设备已解锁并受密码保护”三个智能解锁使用条件选项,判断手机和/或智能手表的蓝牙信号强度大于或等于预设强度、根据智能手表的佩戴信息判断智能手表为佩戴状态、根据智能手表的设备状态判断智能手表已解锁并受密码保护,则满足智能解锁使用条件,对手机进行解锁。
若手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件,可以通过智能手表 对手机进行解锁。
智能手表可以检测手机与智能手表是否建立蓝牙连接,以及是否满足智能解锁使用条件,当检测到手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件时,智能手表可以向手机发送解锁指令,手机根据解锁指令对手机进行解锁。
在本申请的一个实施例中,若手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件,在对手机智能解锁之前,智能手表发出确认是否智能解锁手机的信息提示。
图6是在对手机智能解锁之前,智能手表发出确认是否智能解锁手机的信息提示的示意图。参阅图6所示,当手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件时,智能手表可以显示第一提示界面。第一提示界面可以包括“确认要智能解锁手机吗?”的提示信息,还可以包括“取消”和“解锁”两个选项。若用户点击“解锁”,则对手机进行智能解锁。否则,若用户点击“取消”,则不对手机进行智能解锁。或者,第一提示界面可以包括“是”一个选项,若用户点击“是”,则对手机进行智能解锁;否则,若用户未点击“是”,则不对手机进行智能解锁。
在本申请的另一实施例中,当手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件时,通过智能手表对手机进行解锁,并且智能手表发出确认是否撤销智能解锁的信息提示。
图7是在对手机智能解锁之后,智能手表发出确认是否撤销智能解锁的信息提示的示意图。参阅图7所示,当手机与智能手表建立蓝牙连接,并且满足智能解锁使用条件时,对手机智能解锁,并且智能手表发出确认是否撤销智能解锁的信息提示。在对手机智能解锁之后,智能手表可以显示第二提示界面。第二提示界面可以包括“手机已智能解锁,是否需要撤销?”的提示信息,还可以包括“是”和“否”两个选项。若用户点击“是”,则撤销对手机的智能解锁;否则,若用户点击“否”,则保持对手机的智能解锁。或者,第二提示界面可以包括“是”一个选项,若用户点击“是”,则撤销对手机的智能解锁;否则,若用户未点击“是”,则保持对手机的智能解锁。
205,在手机熄屏之前,检测是否满足智能锁定使用条件。
继续以图5为例,若201中选择“蓝牙连接状态”一个智能锁定使用条件选项,则在手机熄屏之前,获取手机与智能手表的蓝牙连接状态,判断手机与智能手表是否断开蓝牙连接。若201中选择“蓝牙信号强度”一个智能锁定使用条件选项,则在手机熄屏之前,获取手机和/或智能手表的蓝牙信号强度,判断获取的手机和/或智能手表的蓝牙信号强度是否小于预设强度。若201中选择“解锁设备佩戴状态”一个智能锁定使用条件选项,则在手机熄屏之前,获取智能手表的佩戴信息,根据获取的智能手表的佩戴信息判断智能手表是否为非佩戴状态。若201中选择“蓝牙连接状态”、“蓝牙信号强度”、“解锁设备佩戴状态”三个智能锁定使用条件选项,则在手机熄屏之前,获取手机与智能手表的蓝牙连接状态、手机和/或智能手表的蓝牙信号强度、智能手表的佩戴信息,判断手机与智能手表是否断开蓝牙连接、判断手机和/或智能手表的蓝牙信号强度是否小于预设强度、判断智能手表是否为非佩戴状态。
手机熄屏是指手机熄灭屏幕。若用户预设时间内未对手机进行操作,手机可以自动熄屏。
在本申请的一个实施例中,可以由智能手表检测是否满足智能锁定使用条件。
在本申请的另一个实施例中,可以由手机检测是否满足智能锁定使用条件。
206,若满足智能锁定使用条件,对手机进行锁定。
继续以图5为例,201中选择“蓝牙连接状态”、“蓝牙信号强度”、“解锁设备佩戴状态”三个智能锁定使用条件选项,若手机与智能手表断开蓝牙连接,或者手机和/或智能手表的蓝牙信号强度小于预设强度,或者智能手表为非佩戴状态,则满足智能锁定使用条件,对手机进行锁定(即智能锁定)。
若满足智能锁定使用条件,可以通过智能手表对手机进行锁定。
可以由智能手表检测是否满足智能锁定使用条件,当检测到满足智能锁定使用条件时,智能手表可以向手机发送锁定指令,手机根据锁定指令对手机进行锁定。
或者,若满足智能锁定使用条件,手机可以自行锁定。例如,若手机检测到手机与智能手表断开蓝牙连接,判断满足智能锁定使用条件,手机自行锁定。
在本申请的一个实施例中,若满足智能锁定使用条件,在对手机进行智能锁定之前,智能手表发出确认是否智能锁定的提示信息。
图8是在满足智能锁定使用条件,对手机进行智能锁定之前,智能手表发出确认是否智能锁定手机的信息提示的示意图。参阅图8所示,在手机熄屏之前,若满足智能锁定使用条件,智能手表可以显示第三提示界面。第三提示界面可以包括“确认要智能锁定手机吗?”的提示信息,还可以包括“取消”和“锁定”两个选项。若用户点击“锁定”,则对手机进行智能锁定。否则,若用户点击“取消”,则不对手机进行智能锁定。或者,第三提示界面可以包括“是”一个选项,若用户点击“是”,则对手机进行智能锁定;否则,若用户未点击“是”,则不对手机进行智能锁定。
在本申请的另一个实施例中,若满足智能锁定使用条件,在对手机进行智能锁定之后,智能手表发出确认是否撤销智能锁定的提示信息。
图9是在对手机智能锁定之后,智能手表发出确认是否撤销智能锁定的信息提示的示意图。参阅图9所示,当满足智能锁定使用条件时,对手机智能锁定,并且智能手表发出确认是否撤销智能锁定的信息提示。在对手机智能锁定之后,智能手表可以显示第四提示界面。第四提示界面可以包括“手机已智能锁定,是否需要撤销?”的提示信息,还可以包括“是”和“否”两个选项。若用户点击“是”,则撤销对手机的智能锁定;否则,若用户点击“否”,则保持对手机的智能锁定。或者,第四提示界面可以包括“是”一个选项,若用户点击“是”,则撤销对手机的智能锁定;否则,若用户未点击“是”,则保持对手机的智能锁定。
本申请实施例提供的电子设备控制方法,在对手机进行智能解锁后,判断智能解锁使用条件是否不满足,若智能解锁使用条件不满足则重新锁定设备。本申请能够提高智能解锁的安全性,避免智能解锁在非安全使用场景下带来的安全风险。
图10是手机检测是否满足智能解锁/智能锁定使用条件(参见图2中203/205)的细化流程图。
1001,手机向智能手表发送手表数据查询请求。
若检测是否满足智能解锁使用条件,手机可以发送第一手表数据查询请求。若检测是否满足智能锁定使用条件,手机可以发送第二手表数据查询请求。
手机可以向智能手表发送携带智能解锁/智能锁定使用条件或查询项的手表数据查询请求。根据手表数据查询请求携带的智能解锁/智能锁定使用条件或查询项,手表可以 返回相应的手表数据。
或者,手机可以向智能手表发送未携带智能解锁/智能锁定使用条件或查询项的手表数据查询请求。手表可以将所有的手表数据返回手机。
1002,智能手表响应于手表数据查询请求,将手表数据返回手机。
若接收到手机的第一手表数据查询请求,智能手表可以将第一设备信息返回手机。若接收到手机的第二手表数据查询请求,智能手表可以将第二设备信息返回手机。第一设备信息、第二设备信息均为包含手表数据的信息。
在本申请的一个实施例中,智能手表返回的手表数据可以包括智能手表的蓝牙信号强度、佩戴信息、是否解锁以及是否受密码保护、智能手表感测的速度、心率、环境亮度、环境声音等。
1003,手机获取手机数据。
在本申请的一个实施例中,手机数据可以包括手机的蓝牙信号强度、手机与智能手表的距离、手机感测的速度、气压、与智能手表的距离、环境亮度、环境声音等。
1004,手机根据手表数据和/或手机数据确定是否满足智能解锁/智能锁定使用条件。
例如,智能解锁使用条件包括蓝牙信号强度、解锁设备佩戴状态和解锁设备已解锁并受密码保护,则判断手机和/或智能手表的蓝牙信号强度是否大于或等于预设强度、判断智能手表是否为佩戴状态、判断智能手表是否已解锁并受密码保护。
若由智能手表检测是否满足智能解锁/智能锁定使用条件,智能手表可以向手机发送手机数据查询请求。响应于手机数据查询请求,手机将手机数据返回手机。智能手表获取手表数据,根据手表数据和/或手机数据确定是否满足智能解锁/智能锁定使用条件。
图11是本申请另一实施例提供的电子设备控制方法的应用场景示意图。
本申请实施例提供的电子设备控制方法应用于汽车110和手机111。汽车110包括车载电脑1111、门锁控制系统1112和车门1113。手机111是车门1113的解锁设备,用于对车门1103进行智能解锁和智能锁定。根据本申请实施例提供的电子设备控制方法,当手机111与车载电脑1111连接(例如蓝牙连接)并满足车门智能解锁使用条件时,对车门1113进行智能解锁。在对车门1113进行智能解锁之后,若满足车门智能锁定使用条件,对车门1113进行智能锁定。本申请实施例提供的电子设备控制方法能够提高车门智能解锁的安全性,避免智能解锁在非安全使用场景(例如车门1113在汽车110启动后开锁)下带来的安全风险。
图12是本申请另一实施例提供的电子设备控制方法的流程图。本申请实施例提供的电子设备控制方法应用于汽车和手机。汽车可以通过车载电脑执行图中的各个步骤。
1201,开启汽车的车门智能解锁和车门智能锁定功能,设置用于车门智能解锁的设备为手机,设置车门智能解锁使用条件和车门智能锁定使用条件。
车门智能解锁使用条件可以包括如下任意一项或多项:蓝牙信号强度、解锁设备佩戴状态、解锁设备已解锁并受密码保护、解锁设备与汽车的距离、汽车的速度。
车门智能锁定使用条件可以包括如下任意一项或多项:蓝牙连接状态、蓝牙信号强度、解锁设备佩戴状态、解锁设备与汽车的距离、汽车的速度。
1202,当用户未上车且车门锁定时,检测汽车与手机是否建立蓝牙连接,以及是否满足车门智能解锁使用条件。
在本实施例中,手机采用蓝牙连接对车门进行智能解锁,本步骤中,检测汽车与手机是否建立蓝牙连接。在本申请其他的实施例中,手机可以采用其他的短距离无线通信连接对车门进行智能解锁,本步骤中,检测汽车与手机是否建立其他的短距离无线通信连接。
检测是否满足车门智能解锁使用条件就是根据1201中设置的车门智能解锁使用条件进行判断。例如,车门智能解锁使用条件包括蓝牙信号强度、解锁设备已解锁并受密码保护、解锁设备与汽车的距离、汽车的速度,则检测汽车和/或手机的蓝牙信号强度是否大于或等于预设强度、检测手机是否已解锁及是否受密码保护、检测手机与汽车的距离是否小于或等于预设距离、检测汽车的速度是否为零。
在本申请的一个实施例中,可以由手机检测汽车与手机是否建立蓝牙连接,以及是否满足车门智能解锁使用条件。
若由手机检测是否满足车门智能解锁使用条件,手机可以向汽车发送汽车数据查询请求。响应于汽车数据查询请求,汽车将汽车数据返回手机。手机获取手机数据,根据汽车数据和/或手机数据确定是否满足智能解锁/智能锁定使用条件。
在本申请的另一个实施例中,可以由汽车检测汽车与手机是否建立蓝牙连接,以及是否满足车门智能解锁使用条件。
若由汽车检测是否满足车门智能解锁使用条件,汽车可以向手机发送手机数据查询请求。响应于手机数据查询请求,手机将手机数据返回汽车。汽车还获取汽车数据,根据手机数据和/或汽车数据确定是否满足车门智能解锁/智能锁定使用条件。
1203,若检测到汽车与手机建立蓝牙连接并且满足车门智能解锁使用条件,通过门锁控制系统对车门进行解锁(即智能解锁)。
若由手机检测汽车与手机是否建立蓝牙连接以及是否满足车门智能解锁使用条件,当检测到汽车与手机建立蓝牙连接并且满足车门智能解锁使用条件时,手机可以向汽车发送车门解锁指令,汽车根据车门解锁指令对车门进行解锁。
在本申请的一个实施例中,若检测到汽车与手机建立蓝牙连接并且满足车门智能解锁使用条件,在对车门进行智能解锁之前,手机发出确认是否对车门智能解锁的提示信息。
在本申请的另一个实施例中,若检测到汽车与手机建立蓝牙连接并且满足车门智能解锁使用条件,在对车门进行智能解锁之后,手机发出确认是否撤销对车门智能解锁的提示信息。
1204,检测是否满足车门智能锁定使用条件。
例如,车门智能锁定使用条件包括蓝牙连接状态、蓝牙信号强度、解锁设备与汽车的距离、汽车的速度,则检测汽车与手机是否断开蓝牙连接、检测汽车和/或手机的蓝牙信号强度是否小于预设强度、检测手机与汽车的距离是否大于预设距离、检测汽车的速度是否大于零。
可以由手机检测是否满足车门智能锁定使用条件,或者,可以由汽车检测是否满足车门智能锁定使用条件。
1205,若满足车门智能锁定使用条件,通过门锁控制系统对车门进行锁定(即智能锁定)。
例如,车门智能锁定使用条件包括蓝牙连接状态、蓝牙信号强度、解锁设备与汽车的距离、汽车的速度,若汽车与手机断开蓝牙连接,或者汽车和/或手机的蓝牙信号强度小于预设强度,或者手机与汽车的距离大于预设距离,或者汽车的速度是否大于零,则满足车门智能锁定使用条件,对车门进行锁定。
若由手机检测是否满足车门智能锁定使用条件,当满足车门智能锁定使用条件时,手机可以向汽车发送车门锁定指令,汽车根据车门锁定指令对车门进行锁定。
在本申请的一个实施例中,若满足车门智能锁定使用条件,在对车门进行智能锁定之前,手机发出确认是否对车门智能锁定的提示信息。
在本申请的另一个实施例中,若满足车门智能锁定使用条件,在对车门进行智能锁定之后,手机发出确认是否撤销对车门智能锁定的提示信息。
图13是本申请实施例提供的一种电子设备(第一电子设备或第二电子设备,图中以电子设备为终端为例)的结构示意图。如图13所示,电子设备130可以包括:射频(Radio Frequency,RF)电路1301、存储器1302、输入单元1303、显示单元1304、传感器1305、音频电路1306、Wi-Fi模块1307、处理器1308、电源1309以及蓝牙模块1310等部件。本领域技术人员可以理解,图13中示出的结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
RF电路1301可用于收发信息或在通话过程中,对信号进行接收和发送,特别地,接收基站的下行信息后,转给处理器1308进行处理;另外,将涉及上行的数据发送给基站。通常,RF电路1301包括,但不限于:天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。
存储器1302可用于存储软件程序以及模块,处理器1308通过运行存储在存储器1302中的软件程序以及模块,从而执行电子设备的各种功能应用以及数据处理。存储器1302可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1302可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1303可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,输入单元1303可包括触控面板13031以及其他输入设备13032。触控面板13031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触控笔等任何适合的物体或附件在触控面板13031上或在触控面板13031附近的操作),并根据预先设定的程序驱动相应的连接装置。可选地,触控面板13031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1308,并接收处理器1308发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板13031。除了触控面板13031,输入单元1303还可以包括其他输入设备13032。具体地,其他输入设备13032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元1304可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种菜单。显示单元1304可包括显示面板13041,可选地,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板13041。进一步地,触控面板13031可覆盖显示面板13041,当触控面板13031检测到在其上或附近的触摸操作后,传送给处理器1308以确定触摸事件的类型,随后处理器1308根据触摸事件的类型在显示面板13041上提供相应的视觉输出。虽然在图13中,触控面板13031与显示面板13041是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板13031与显示面板13041集成而实现电子设备的输入和输出功能。
电子设备还可包括至少一种传感器1305,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板13041的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板13041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;此外,电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1306、扬声器13061,传声器13062可提供用户与电子设备之间的音频接口。音频电路1306可将接收到的音频数据转换后的电信号,传输到扬声器13061,由扬声器13061转换为声音信号输出;另一方面,传声器13062将收集的声音信号转换为电信号,由音频电路1306接收后转换为音频数据,再将音频数据输出处理器1308处理后,经RF电路1301发送给另一电子设备,或者将音频数据输出至存储器1302以便进一步处理。
Wi-Fi属于短距离无线传输技术,电子设备通过Wi-Fi模块1307可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图13示出了Wi-Fi模块1307,但是可以理解的是,其并不属于电子设备的必需构成,完全可以根据需要、在不改变发明本质的范围内进行省略。
处理器1308是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1302内的软件程序和/或模块,以及调用存储在存储器1302内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
处理器1308可包括一个或多个处理单元。例如,处理器1308可以包括应用处理器(application processor,AP)、微控制单元(Micro Control Unit,MCU)、调制解调处理器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器1308可集成应用处理器和调制解调器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1308中。
电子设备还包括给各个部件供电的电源1309(比如电池),可选地,电源可以通过电源管理系统与处理器1308逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
蓝牙模块1310即蓝牙芯片,蓝牙模块1310通过蓝牙协议和具有蓝牙功能的其他电子设备进行通信。
尽管未示出,电子设备130还可以包括摄像头等,在此不再赘述。
图13中描述的电子设备可以用于实施本申请实施例中的部分或全部流程,可参见前述实施例中的相关阐述,这里不再赘述。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的电子设备控制方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在电子设备上运行时,使得电子设备执行上述相关步骤,以实现上述实施例中的电子设备控制方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的电子设备控制方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或 者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (22)

  1. 一种电子设备控制方法,应用于第一电子设备和第二电子设备组成的系统,其特征在于,所述方法包括:
    所述第一电子设备为锁定状态时,检测所述第一电子设备与所述第二电子设备是否建立短距离无线通信连接,以及是否满足智能解锁使用条件;
    若所述第一电子设备与所述第二电子设备建立短距离无线通信连接,并且满足所述智能解锁使用条件,通过所述第二电子设备对所述第一电子设备进行解锁;
    检测是否满足智能锁定使用条件;
    若满足所述智能锁定使用条件,对所述第一电子设备进行锁定。
  2. 如权利要求1所述的电子设备控制方法,其特征在于,所述方法还包括:
    若接收到第一用户操作,显示智能解锁和/或智能锁定设置界面,所述智能解锁和/或智能锁定设置界面用于设置所述第一电子设备的智能解锁和/或智能锁定功能。
  3. 如权利要求1所述的电子设备控制方法,其特征在于,所述方法还包括:
    若接收到所述智能解锁和/或智能锁定设置界面上的第二用户操作,显示智能解锁和/或智能锁定使用条件设置界面,所述智能解锁和/或智能锁定使用条件设置界面用于设置所述智能解锁使用条件和/或智能锁定所述智能锁定使用条件。
  4. 如权利要求1至3任一项所述的电子设备控制方法,其特征在于,所述智能解锁使用条件与所述智能锁定使用条件对应相同的条件选项。
  5. 如权利要求1至3任一项所述的电子设备控制方法,其特征在于,所述智能解锁使用条件与所述智能锁定使用条件对应不同的条件选项。
  6. 如权利要求1至5任一项所述的电子设备控制方法,其特征在于,所述对所述第一电子设备进行锁定具体为:
    通过所述第二电子设备对所述第一电子设备进行锁定;或者
    所述第一电子设备自行锁定。
  7. 如权利要求1至6任一项所述的电子设备控制方法,其特征在于,所述第一电子设备和所述第二电子设备为终端。
  8. 如权利要求7所述的电子设备控制方法,其特征在于,所述第一电子设备为手机或平板,所述第二电子设备为可穿戴设备。
  9. 如权利要求7所述的电子设备控制方法,其特征在于,检测是否满足所述智能锁定使用条件具体为:
    在所述第一电子设备熄屏之前,检测是否满足所述智能锁定使用条件。
  10. 如权利要求7至9任一项所述的电子设备控制方法,其特征在于,所述智能解锁使用条件包括如下任意一项或多项:所述第一电子设备和/或所述第二电子设备的短距离无线通信信号强度、所述第二电子设备的佩戴状态、所述第二电子设备已解锁并受密码保护、所述第一电子设备和所述第二电子设备的距离、所述第一电子设备和/或所述第二电子设备感测的速度、气压、心率、环境亮度、环境声音;
    所述智能解锁使用条件包括如下任意一项或多项:所述第一电子设备和所述第二电子设 备的短距离无线通信连接状态、所述第一电子设备和/或所述第二电子设备的短距离无线通信信号强度、所述第二电子设备的解锁设备佩戴状态、所述第一电子设备和所述第二电子设备的的距离、所述第一电子设备和/或所述第二电子设备感测的速度、气压、心率、环境亮度、环境声音。
  11. 如权利要求1至6任一项所述的电子设备控制方法,其特征在于,所述第一电子设备为汽车,所述第二电子设备为终端,对所述第一电子设备进行解锁具体为:
    对所述汽车的车门进行解锁;
    所述对所述第一电子设备进行锁定具体为:
    对所述车门进行锁定。
  12. 如权利要求11所述的电子设备控制方法,其特征在于,所述智能解锁使用条件包括如下任意一项或多项:所述汽车和/或所述终端的短距离无线通信信号强度、所述终端的佩戴状态、所述终端已解锁并受密码保护、所述汽车与所述终端的距离、所述汽车的速度;
    所述智能锁定使用条件包括如下任意一项或多项:所述汽车和所述终端的短距离无线通信连接状态、所述汽车和/或所述终端的短距离无线通信信号强度、所述终端的佩戴状态、所述汽车和所述终端的距离、所述汽车的速度。
  13. 一种电子设备控制方法,应用于第一电子设备,其特征在于,所述方法包括:
    所述第一电子设备为锁定状态时,检测所述第一电子设备与第二电子设备是否建立短距离无线通信连接,以及是否满足智能解锁使用条件;
    若所述第一电子设备与所述第二电子设备建立短距离无线通信连接,并且满足所述智能解锁使用条件,通过所述第二电子设备对所述第一电子设备进行解锁;
    检测是否满足智能锁定使用条件;
    若满足所述智能锁定使用条件,对所述第一电子设备进行锁定。
  14. 一种电子设备控制方法,应用于第二电子设备,所述第二电子设备为第一电子设备的解锁设备,其特征在于,所述方法包括:
    在所述第一电子设备进入锁定状态并且建立与所述第一电子设备的短距离无线通信连接后,将所述第二电子设备的第一设备信息返回所述第一电子设备,以检测所述第一电子设备是否满足智能解锁使用条件,所述第一电子设备在与所述第二电子设备建立所述短距离无线通信连接并且满足所述智能解锁使用条件时,通过所述第二电子设备对所述第一电子设备进行智能解锁;
    在所述第一电子设备进行智能解锁之后,将所述第二电子设备的第二设备信息返回所述第一电子设备,以检测是否满足智能锁定使用条件检测,所述第一电子设备在满足所述智能锁定使用条件时,对所述第一电子设备进行智能锁定。
  15. 如权利要求14所述的电子设备控制方法,其特征在于,所述第一设备信息和所述第二设备信息包括如下任意一项或多项:所述第一电子设备和/或所述第二电子设备的短距离无线通信信号强度、所述第二电子设备的佩戴状态、所述第二电子设备是否已解锁及是否受密码保护、所述第一电子设备和所述第二电子设备的距离、所述第二电子设备感测的速度、气压、心率、环境亮度、环境声音。
  16. 如权利要求14或15所述的电子设备控制方法,其特征在于,所述对所述第一电子设备进行智能解锁之前,所述方法还包括:
    发出确认是否智能解锁所述第一电子设备的信息提示。
  17. 如权利要求14或15所述的电子设备控制方法,其特征在于,所述对所述第一电子设备进行智能解锁之后,所述方法还包括:
    发出确认是否撤销智能解锁所述第一电子设备的信息提示。
  18. 如权利要求14或15所述的电子设备控制方法,其特征在于,所述对所述第一电子设备进行智能锁定之前,所述方法还包括:
    发出确认是否智能锁定所述第一电子设备的信息提示。
  19. 如权利要求14或15所述的电子设备控制方法,其特征在于,所述对所述第一电子设备进行智能锁定之后,所述方法还包括:
    发出确认是否撤销智能锁定所述第一电子设备的信息提示。
  20. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至12任一项,或者权利要求13,或者权利要求14至19任一项所述的电子设备控制方法。
  21. 一种电子设备,其特征在于,所述电子设备包括处理器和存储器,所述存储器用于存储指令,所述处理器用于调用所述存储器中的指令,使得所述电子设备执行如权利要求1至12任一项,或者权利要求13,或者权利要求14至19任一项所述的电子设备控制方法。
  22. 一种芯片系统,其特征在于,所述芯片系统应用于电子设备;所述芯片系统包括接口电路和处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行该计算机指令时,所述芯片系统执行如权利要求1至12任一项,或者权利要求13,或者权利要求14至19任一项所述的电子设备控制方法。
PCT/CN2022/108133 2021-07-28 2022-07-27 电子设备控制方法及相关设备 WO2023005958A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22848563.7A EP4351118A4 (en) 2021-07-28 2022-07-27 CONTROL METHOD FOR ELECTRONIC DEVICE AND RELATED DEVICE
US18/292,615 US20240283864A1 (en) 2021-07-28 2022-07-27 Electronic Device Control Method and Related Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110857595.2 2021-07-28
CN202110857595.2A CN115695623A (zh) 2021-07-28 2021-07-28 电子设备控制方法及相关设备

Publications (1)

Publication Number Publication Date
WO2023005958A1 true WO2023005958A1 (zh) 2023-02-02

Family

ID=85059355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108133 WO2023005958A1 (zh) 2021-07-28 2022-07-27 电子设备控制方法及相关设备

Country Status (4)

Country Link
US (1) US20240283864A1 (zh)
EP (1) EP4351118A4 (zh)
CN (1) CN115695623A (zh)
WO (1) WO2023005958A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647587A (zh) * 2013-12-30 2014-03-19 华为终端有限公司 为移动终端解锁的方法、系统、移动终端及穿戴电子设备
CN104090710A (zh) * 2014-06-25 2014-10-08 广东欧珀移动通信有限公司 一种智能终端解锁方法及智能终端
CN104092817A (zh) * 2014-06-24 2014-10-08 惠州Tcl移动通信有限公司 一种移动终端近距离自动解锁的方法及系统
CN105631305A (zh) * 2014-11-06 2016-06-01 联想(北京)有限公司 一种信息处理方法及电子设备
US20170017787A1 (en) * 2015-07-16 2017-01-19 Linkedin Corporation Automatically securing an electronic device
CN109074443A (zh) * 2017-06-02 2018-12-21 华为技术有限公司 一种解锁方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102459231B1 (ko) * 2017-11-14 2022-10-26 현대자동차주식회사 차량 및 그 제어 방법
US11377071B2 (en) * 2018-09-18 2022-07-05 Gogoro Inc. Methods for locking and/or unlocking electric vehicle and associated apparatus
CN112116735A (zh) * 2019-06-20 2020-12-22 华为技术有限公司 一种智能锁解锁方法及相关设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103647587A (zh) * 2013-12-30 2014-03-19 华为终端有限公司 为移动终端解锁的方法、系统、移动终端及穿戴电子设备
CN104092817A (zh) * 2014-06-24 2014-10-08 惠州Tcl移动通信有限公司 一种移动终端近距离自动解锁的方法及系统
CN104090710A (zh) * 2014-06-25 2014-10-08 广东欧珀移动通信有限公司 一种智能终端解锁方法及智能终端
CN105631305A (zh) * 2014-11-06 2016-06-01 联想(北京)有限公司 一种信息处理方法及电子设备
US20170017787A1 (en) * 2015-07-16 2017-01-19 Linkedin Corporation Automatically securing an electronic device
CN109074443A (zh) * 2017-06-02 2018-12-21 华为技术有限公司 一种解锁方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4351118A4

Also Published As

Publication number Publication date
EP4351118A1 (en) 2024-04-10
US20240283864A1 (en) 2024-08-22
CN115695623A (zh) 2023-02-03
EP4351118A4 (en) 2024-09-11

Similar Documents

Publication Publication Date Title
CN107734614B (zh) Wi-Fi天线控制方法、移动终端及计算机可读存储介质
CN103389863B (zh) 一种显示控制方法和装置
US11184754B2 (en) Data sharing method and terminal
WO2018161353A1 (zh) 一种分享照片的方法和装置
US11941101B2 (en) Fingerprint unlocking method and terminal
CN106445596B (zh) 一种设置项的管理方法及装置
CN108256308B (zh) 一种人脸识别解锁控制方法和移动终端
CN107609363B (zh) 一种解锁方法及移动终端
CN107645609A (zh) 一种亮度调节方法及移动终端
WO2021004281A1 (zh) 状态显示方法及终端设备
WO2019052551A1 (zh) 终端设备的交互方法、存储介质以及终端设备
CN107835286A (zh) 一种防止误解锁的方法及移动终端
CN109819016B (zh) 基于区块链的信息发布方法、信息接收方法和移动终端
CN108040170A (zh) 一种指纹解锁方法、终端设备及计算机存储介质
CN107657163A (zh) 一种应用程序启动方法及移动终端
WO2021031695A1 (zh) 终端的控制方法及终端
WO2023284209A1 (zh) 解锁方法、移动终端及存储介质
WO2021121140A1 (zh) 显示控制方法、提醒方法及电子设备
CN108133581A (zh) 一种汽车钥匙搜寻方法、汽车钥匙和移动终端
WO2020011071A1 (zh) 应用程序加锁方法、解锁方法及终端设备
CN107885405B (zh) 一种解锁控制方法、移动终端及计算机可读存储介质
WO2023005958A1 (zh) 电子设备控制方法及相关设备
CN108108608B (zh) 一种移动终端的控制方法及移动终端
CN105208208B (zh) 网络连接开关打开方法及装置
WO2021083313A1 (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: 22848563

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022848563

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022848563

Country of ref document: EP

Effective date: 20240103

WWE Wipo information: entry into national phase

Ref document number: 18292615

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE