WO2021013136A1 - Apparatus control method, and electronic apparatus - Google Patents
Apparatus control method, and electronic apparatus Download PDFInfo
- Publication number
- WO2021013136A1 WO2021013136A1 PCT/CN2020/103129 CN2020103129W WO2021013136A1 WO 2021013136 A1 WO2021013136 A1 WO 2021013136A1 CN 2020103129 W CN2020103129 W CN 2020103129W WO 2021013136 A1 WO2021013136 A1 WO 2021013136A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- devices
- touch operation
- control
- interface
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User 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/72415—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
Definitions
- the embodiments of the present application relate to the field of electronic communication technology, and in particular to a device control method and electronic equipment.
- the specific implementation process is: the user uses a mobile terminal to connect to the smart home through the Internet platform, and manages the devices of the smart home through the mobile terminal. By inputting control commands on the mobile terminal, the mobile terminal transmits the control commands to the smart home network , The smart home network sends control commands to the corresponding home equipment to realize remote control of the smart home equipment.
- the embodiments of the present application provide a device control method and an electronic device.
- the electronic device can control the device by inputting a control gesture.
- This control method can realize rapid control of the device. Simplify the control method of the equipment.
- the embodiments of the present application are applied to electronic devices, and the electronic devices are used to control at least one first device, and the electronic devices include a touch screen.
- the control method of the first device in the embodiment of the present application includes: when the electronic device is in a preset state, receiving a first touch operation input by the user on the touch screen, and collecting fingerprint information corresponding to the first touch operation, wherein the electronic device is in the preset state. When the state is set, the first interface or a black screen is displayed; the electronic device determines one or more first devices corresponding to the fingerprint information from at least one first device connected to it; the electronic device sends the first device to the one or more first devices A control command, the first control command is used to trigger one or more first devices to execute corresponding events.
- the electronic device in the preset state can acquire the user's first touch operation on the touch screen, and respond to the first touch operation to send a first control command to one or more first devices connected to it.
- This method of controlling the first device can be performed when the electronic device has a black screen, without entering a related control program or control interface, and the first device can be quickly controlled.
- the control of the first device is realized directly through the first touch operation, which simplifies the control method of the first device.
- the method provided in this embodiment of the present application further includes: the electronic device displays a second interface, where: The second interface includes: one or more control switches of the first device and/or one or more adjustment switches of the first device; the electronic device receives the user's second touch operation on the control switch or the adjustment switch in the second interface; In response to the second touch operation, the electronic device sends a second control command to one or more first devices, where the second control command is used to trigger one or more first devices to perform an event corresponding to the second touch operation.
- the second interface is displayed, which helps the user to control other operations of the first device.
- the first device is a speaker
- the speaker is triggered by the first control command to play music
- the second interface displays a music playback interface, which is convenient for the user to perform operations such as adjusting the volume and switching music.
- the display of the second interface helps the user to further control the first device and improve the user experience.
- the method provided in this embodiment of the present application further includes: the electronic device receives one or more first devices A first control response sent by a device, where the first control response carries status information of one or more first devices; the electronic device displays status information of one or more first devices.
- the status information carried in the first control response sent by the first device is displayed on the electronic device, so that the user can understand the current operating status of the first device through the display status of the electronic device, and further improve the user experience. It is worth mentioning that the status information in this embodiment and the control switch or adjustment switch of the first device can be displayed on the second interface, so that the user can perform further operations and control the first device according to the display of the electronic device. .
- the electronic device determines the one or more first devices corresponding to the fingerprint information, before the electronic device sends the first control command to the one or more first devices, this application
- the method provided by the embodiment further includes: the electronic device determines that the first touch operation is a preset touch operation.
- the fingerprint information is carried in the first touch operation, and the first device that receives the first control command is determined according to the fingerprint information. If only the fingerprint information is used to determine the recipient of the first control command, for an electronic device unlocked using a fingerprint, the electronic device may be unlocked due to the fingerprint information of the first operation. After determining that the first touch operation is a preset touch operation, the first control command is sent to the first device, which improves the accuracy of the response of the electronic device and avoids false triggering.
- the electronic device determines that the first touch operation is a first control command issued by the electronic device to one or more first devices through a preset manner; wherein the preset manner includes at least: a voice confirmation manner and a gesture Confirmation method.
- Both the voice confirmation mode and the gesture confirmation mode are set to avoid misoperations that may be caused by the first touch operation, so that the electronic device accurately responds to the first touch operation, and further improves the user experience.
- the electronic device further includes one or more sensors; the one or more sensors include at least one or more of an ambient light sensor, an acceleration sensor, a distance sensor, a camera, and a microphone.
- the method provided in this embodiment of the present application further includes: the electronic device according to one or more The parameters collected by the sensor determine the preset mode.
- Determining the preset mode according to the parameters of the sensor helps to determine the preset mode according to different scenarios or states of the electronic device, so that the preset mode is more in line with the user's current operating habits, and the user experience is further improved.
- the fingerprint information includes fingerprint characteristics of one or more fingers.
- an embodiment of the present application provides an electronic device, which is used to control at least one first device.
- the electronic device may include a touch screen, a memory, and one or more processors.
- the touch screen, memory and processor are coupled.
- the memory is used to store computer program code
- the computer program code includes computer instructions, when the processor executes the computer instructions, the processor is configured to receive the first touch input by the user on the touch screen when the electronic device is in a preset state Operate, and collect fingerprint information corresponding to the first touch operation.
- the touch screen is used to display the first interface or a black screen when the electronic device is in a preset state.
- the processor is further configured to: the electronic device determines one or more first devices corresponding to fingerprint information from at least one first device connected to it; the electronic device sends a first control command to the one or more first devices, The first control command is used to trigger one or more first devices to execute corresponding events.
- the processor is further configured to control the touch screen to display a second interface, the touch screen is also configured to display a second interface, the second interface includes: one or more first The control switch of the device and/or the adjustment switch of one or more first devices.
- the processor is further configured to receive a second touch operation of the user on the control switch or adjustment switch in the second interface; in response to the second touch operation, the electronic device sends a second control command to one or more first devices , Where the second control command is used to trigger one or more first devices to perform an event corresponding to the second touch operation.
- the processor is further configured to receive a first control response sent by one or more first devices, where the first control response carries the status of one or more first devices information.
- the processor is also configured to control the touch screen to display status information of one or more first devices.
- the touch screen is also used to display status information of one or more first devices.
- the processor is further configured to determine that the first touch operation is a preset touch operation.
- the processor is further configured to determine that the first touch operation is the first control command issued by the electronic device to one or more first devices in a preset manner;
- the preset modes include at least: a voice confirmation mode and a gesture confirmation mode.
- the electronic device further includes one or more sensors; the one or more sensors include at least one or more of an ambient light sensor, an acceleration sensor, a distance sensor, and a microphone.
- the device is also used to determine the preset mode according to the parameters collected by one or more sensors.
- the fingerprint information includes fingerprint characteristics of one or more fingers.
- the embodiments of the present application also provide an electronic device that can be used to control at least one device, the electronic device further includes: an input module, a determination module, and a sending module; the input module is used to receive a user The first touch operation is input on the touch screen, and the fingerprint information corresponding to the first touch operation is collected.
- the electronic device is in the preset state, the first interface or the black screen is displayed; the determining module is used to retrieve at least one In a device, determine one or more first devices corresponding to the fingerprint information; the sending module is used to send a first control command to one or more first devices, and the first control command is used to trigger one or more first devices Perform the corresponding event.
- the input module is further used to receive a second touch operation of the user on the control switch or adjustment switch in the second interface;
- the electronic device further includes a display module, and the sending module is used to respond to the second touch operation, Sending a second control command to one or more first devices, and the second control command is used to trigger one or more first devices to execute corresponding events.
- the input module is also used to receive a first control response sent by one or more first devices, the first control response carries one or more first device status information; the display module is also used to display one Or multiple first device status information.
- the determining module is further configured to determine that the first touch operation is a preset touch operation.
- the determining module is further configured to determine that the first touch operation is a first control command issued by the electronic device to one or more first devices through a preset confirmation method; wherein the preset confirmation method includes at least: voice confirmation Ways and gesture confirmation methods.
- the electronic device further includes one or more sensors; at least including: one or more of an ambient light sensor, an acceleration sensor, a camera, a distance sensor, and a microphone; the determining module is also used to, according to one or more The parameters collected by the sensor determine the preset confirmation method.
- the fingerprint information includes fingerprint characteristics of one or more fingers.
- an embodiment of the present application provides a chip system, which is applied to an electronic device including the aforementioned touch screen.
- the chip system includes one or more interface circuits and one or more processors.
- the interface circuit and the processor are interconnected by wires.
- the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes a computer instruction stored in the memory.
- the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any one of its possible implementation manners.
- an embodiment of the present application provides a computer storage medium that includes computer instructions.
- the computer instructions When the computer instructions are executed on an electronic device, the electronic device is caused to perform operations as in the first aspect and any of them.
- the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in the first aspect and any of its possible implementations .
- the beneficial effects that can be achieved by the computer program product described in the six aspects please refer to the beneficial effects in the first aspect and any of its possible design methods, which will not be repeated here.
- FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
- Figure 2 is a flowchart of a device control method provided by an embodiment of the application
- FIG. 3 is a schematic diagram of a mobile phone displaying a first interface according to an embodiment of the application
- FIG. 4a is an operation schematic diagram of a first touch operation provided by an embodiment of this application.
- 4b is an operation schematic diagram of another first touch operation provided by an embodiment of this application.
- 4c is an operation schematic diagram of another first touch operation provided by an embodiment of this application.
- Figure 5 is a schematic structural diagram of a smart home network provided by an embodiment of the application.
- FIG. 6 is a schematic structural diagram including all smart home devices provided by an embodiment of the application.
- Figure 7a is a schematic structural diagram of a mobile phone controlling a device in an application scenario provided by an embodiment of the application;
- FIG. 7b is a schematic structural diagram of a mobile phone controlling a device in another application scenario provided by an embodiment of the application;
- FIG. 7c is a schematic structural diagram of a mobile phone controlling a device in another application scenario provided by an embodiment of this application.
- FIG. 8 is a mobile phone display interface diagram of a gesture confirmation method provided by an embodiment of the application.
- FIG. 9 is a mobile phone display interface diagram of another gesture confirmation method provided by an embodiment of the application.
- FIG. 10 is a flowchart of another device control method provided by an embodiment of the application.
- FIG. 11 is a schematic diagram of a display image of a second interface provided by an embodiment of the application.
- FIG. 12 is a schematic diagram of a display image of another second interface provided by an embodiment of the application.
- FIG. 13 is a schematic diagram of a display image of another second interface provided by an embodiment of the application.
- 14a is a schematic diagram of a display image of another second interface provided by an embodiment of the application.
- FIG. 14b is a schematic diagram of a display image of another second interface provided by an embodiment of the application.
- 15 is a schematic diagram of a display image of another second interface provided by an embodiment of the application.
- FIG. 16 is a schematic diagram of a display image of another second interface provided by an embodiment of the application.
- FIG. 17 is a schematic diagram of a module structure of an electronic device provided by an embodiment of this application.
- FIG. 18 is a schematic structural diagram of a chip system provided by an embodiment of the application.
- first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, “plurality” means two or more.
- the embodiment of the present application provides a method for controlling a device.
- the method is applied to an electronic device, and the electronic device is used to control at least one device, and the electronic device includes a touch screen.
- the electronic device acquires the first touch operation input by the user when the electronic device is not unlocked, and sends a control command to the device according to the first touch operation to realize the control of the device.
- This control method can not only realize the control of the equipment, but also simplifies the control method of the equipment to a certain extent.
- the electronic devices in the embodiments of the present application may be mobile phones, tablet computers, desktops, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, and cellular computers.
- PDA personal digital assistants
- AR augmented reality
- VR virtual reality
- FIG. 1 is a schematic structural diagram of an electronic device 100 provided by an embodiment of this application.
- the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
- SIM subscriber identification module
- the aforementioned sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, an acceleration sensor 180D, a distance sensor 180E, a proximity sensor 180F, a fingerprint sensor 180G, a temperature sensor 180H, a touch sensor 180I, and an ambient light sensor 180J Wait for the sensor.
- the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
- AP application processor
- modem processor modem processor
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- controller memory
- video codec digital signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- the different processing units may be independent devices or integrated in one or more processors.
- the controller may be the nerve center and command center of the electronic device 100.
- the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 to store instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the interface connection relationship between the modules illustrated in this embodiment is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
- the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
- the charging management module 140 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
- the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110.
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
- the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
- the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
- the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
- the modem processor may be an independent device.
- the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
- WLAN wireless local area networks
- BT wireless fidelity
- BT wireless fidelity
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication technology
- IR infrared technology
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
- the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite-based augmentation systems
- the electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor.
- the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos, etc.
- the display screen 194 includes a display panel.
- the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- emitting diode AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
- the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
- the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
- ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera 193.
- the camera 193 is used to capture still images or videos.
- the object generates an optical image through the lens and projects it to the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats.
- the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
- Video codecs are used to compress or decompress digital video.
- the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
- MPEG moving picture experts group
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- the NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
- the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
- the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121.
- the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a storage program area and a storage data area.
- the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
- the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
- the internal memory 121 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, a flash memory device, a universal flash storage (UFS), etc.
- the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
- the audio module 170 can also be used to encode and decode audio signals.
- the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
- the speaker 170A also called a "speaker” is used to convert audio electrical signals into sound signals.
- the receiver 170B also called “earpiece”, is used to convert audio electrical signals into sound signals.
- the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the earphone interface 170D is used to connect wired earphones.
- the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA, CTIA
- the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A may be provided on the display screen 194.
- the capacitive pressure sensor may include at least two parallel plates with conductive material.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
- the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
- touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions.
- the electronic device 100 may collect the pressing force (or called pressing pressure) of the touch operation input by the user on the touch screen (ie, the display screen 194) through the pressure sensor 180A.
- the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
- the acceleration sensor 180D can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers and so on.
- the electronic device 100 can measure the distance by infrared or laser.
- the proximity light sensor 180F may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
- the light emitting diode may be an infrared light emitting diode.
- the electronic device 100 emits infrared light to the outside through the light emitting diode.
- the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100.
- the ambient light sensor 180J is used to sense the brightness of the ambient light.
- the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
- the ambient light sensor 180J can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180J can also cooperate with the proximity light sensor 180F to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
- the fingerprint sensor 180G is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
- the temperature sensor 180H is used to detect temperature.
- the electronic device 100 uses the temperature detected by the temperature sensor 180H to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180H exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180H, so as to reduce power consumption and implement thermal protection.
- the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
- the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
- the touch sensor 180I is also called “touch panel”.
- the touch sensor 180I can be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180I and the display screen 194, which is also called a “touch screen”.
- the touch sensor 180I is used to detect touch operations acting on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- the visual output related to the touch operation can be provided through the display screen 194.
- the touch sensor 180I may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
- the electronic device 100 can detect the touch operation input by the user on the touch screen through the touch sensor 180I, and collect the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. One or more of. In some embodiments, the electronic device 100 may combine the touch sensor 180I and the pressure sensor 180A to determine the touch position of the touch operation on the touch screen.
- the button 190 includes a power button, a volume button, and so on.
- the button 190 may be a mechanical button. It can also be a touch button.
- the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
- the motor 191 can generate vibration prompts.
- the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
- touch operations applied to different applications can correspond to different vibration feedback effects.
- Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
- the SIM card interface 195 is used to connect to the SIM card.
- the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
- the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
- the methods in the following embodiments can all be implemented in the electronic device 100 having the above hardware structure.
- the above-mentioned electronic device 100 is a mobile phone as an example to describe the method of the embodiment of the present application.
- the embodiment of the present application provides a device control method, and the method flow is shown in FIG. 2, including steps 201 to 203.
- the mobile phone in this embodiment can be used to control the device, and the mobile phone includes a touch screen.
- the mobile phone and the device can perform wired communication or wireless remote communication.
- a mobile phone can communicate with the device via a serial bus interface.
- the mobile phone can establish a wireless communication connection with the device through the mobile communication module 150 or the wireless communication module 160, and the mobile phone sends a control command to the device through the wireless communication connection to control the device.
- the specific communication method between the mobile phone and the device is not limited.
- the touch screen of the mobile phone in the embodiment of this application also has the ability to recognize fingerprints.
- the mobile phone can adopt an optical under-screen fingerprint recognition technology, OLED (Organic Light-Emitting Diode, organic light-emitting diode)
- OLED Organic Light-Emitting Diode, organic light-emitting diode
- the screen emits light to illuminate the finger touch area.
- the light irradiated to the fingerprint is reflected and returned to the fingerprint sensor through the gap of the screen pixels.
- the fingerprint sensor forms image data according to the received reflected light, and the fingerprint sensor sends the image data to the processor.
- the processor compares and analyzes the image data formed by the fingerprint sensor with the stored fingerprint image, and recognizes the fingerprint information on the screen.
- the mobile phone can also use the fingerprint recognition under the ultrasonic screen.
- the ultrasonic sensor transmits the ultrasonic wave to the part touched by the finger and receives the echo. According to the information of the obtained echo, the surface of the fingerprint and the air are used. Different densities between different densities construct a 3D image of a fingerprint, and the processor compares and analyzes the acquired 3D image of the fingerprint with the pre-stored fingerprint information, and recognizes the fingerprint information on the touch screen. If the mobile phone is a mobile phone with non-full-screen fingerprint recognition, a capacitive fingerprint recognition method can also be used. This is only an example and does not specifically limit the fingerprint recognition method of the mobile phone.
- Step 201 When the mobile phone is in a preset state, receive a first touch operation input by the user on the touch screen, and collect fingerprint information corresponding to the first touch operation.
- the mobile phone when the mobile phone is in a preset state, the first interface or a black screen is displayed.
- the device control method in this application is to simplify the device control method.
- the mobile phone when controlling a device through a mobile phone, the mobile phone needs to display a special control interface.
- the mobile phone can receive related control operations of the user on the control interface; in response to the related control operations, the mobile phone can send control commands to the device.
- the control method of the mobile phone control device is cumbersome and the user operation is complicated.
- the mobile phone when the mobile phone is in the preset state, it can receive the user's first touch operation, and determine the first device corresponding to the fingerprint information according to the fingerprint information of the first touch operation , And control the first device.
- the mobile phone in the preset state displays the first interface or a black screen.
- the first interface can be the mobile phone lock screen interface as shown in Figure 3, the main interface or the application control interface, etc.
- the first touch operation of the user can be obtained when the mobile phone displays the first interface or the black screen, that is, in the control of the first device, the user does not need to display a special control interface to obtain the user’s first touch operation.
- the control operation simplifies the control of the first device.
- the first device in the embodiment of this application refers to a device that can be controlled by a mobile phone, and does not mean a certain type of device or a specific device.
- a mobile phone can be used to control smart home devices, and can also control smart medical Equipment, etc., are not specifically limited, and the distance between the mobile phone and the device is also not limited.
- the mobile phone collects fingerprint information corresponding to the first touch operation, and determines that the first touch operation is a preset touch operation.
- the preset touch operation may be long pressing the touch screen or touching the screen and moving a certain distance, or touching the screen and drawing a preset graphic, etc., which is not specifically limited.
- Figure 4a shows that the user's finger long presses on the touch screen
- Figure 4b shows that the user's finger presses on the touch screen and slides down for a certain distance
- Figure 4c shows that the user's finger touches the screen and draws a figure "2".
- the mobile phone obtains the fingerprint information corresponding to the first touch operation to match the preset fingerprint information, and determines that the first touch operation is the preset touch operation, and then determines that the first touch operation is an operation that can start the first device.
- the fingerprint information for the first touch operation should be set to be different from the fingerprint information for unlocking the mobile phone.
- the mobile phone displays a black screen in a preset state
- the first touch operation is a long press operation
- the fingerprint information is the fingerprint of the index finger of the right hand.
- the mobile phone When the mobile phone is in a black screen state, the user long presses the touch screen of the mobile phone with his right index finger. After the mobile phone receives the user's long press operation, it obtains the fingerprint information of the long press operation and determines that the obtained fingerprint information corresponds to the first operation The fingerprint information determines that the user's current operation is the first touch operation.
- Step 202 The mobile phone determines one or more first devices corresponding to the fingerprint information from the at least one first device connected to it.
- each first device can be set with different triggering methods. For example, if different fingerprint information is carried in the first touch operation, different first devices can be triggered correspondingly.
- the fingerprint information in the first touch operation is the fingerprint feature of the index finger of the right hand
- the first device used for triggering by the first touch operation is the speaker
- the first touch operation is the fingerprint information of the right middle finger
- the first device used to trigger the first touch operation is the water heater.
- the mobile phone determines the first device corresponding to the control command according to the acquired fingerprint information in the first touch operation.
- the fingerprint information may correspond to one first device, and the fingerprint information may also correspond to multiple first devices.
- the first device corresponding to the fingerprint information in the first touch operation is a bedroom wall lamp, and the first device corresponding to the fingerprint information in the first touch operation may also be an air conditioner and a computer.
- the fingerprint information in the first touch operation may be the fingerprint characteristics of one finger or the fingerprint characteristics of multiple fingers.
- Table 1 indicates that the fingerprint information in the first touch operation is the fingerprint information of one finger and the corresponding first device
- Table 2 indicates that the fingerprint information in the first touch operation is multiple fingers.
- the fingerprint characteristics and the corresponding first device In practical applications, the mobile phone stores various marks of the first device, and the correspondence between the fingerprint information and the mark of the first device is determined according to the correspondence between the fingerprint information and the first device.
- Fingerprint information First device Fingerprint characteristics of right index finger Sign of sound
- the user can set the corresponding relationship between the fingerprint information and the first device according to preferences and operating habits.
- fingerprints and smart home devices are taken as examples for description.
- fingerprint information may also correspond to remote medical devices, wearable devices, and the like.
- the first device is an electronic watch carried by a child
- the fingerprint information in the first touch operation corresponds to the electronic watch
- the mobile phone acquires the first touch operation
- the fingerprint information in the first touch operation corresponds to the electronic watch
- the mobile phone sends control commands to the electronic watch.
- the control command may be to control the electronic watch to respond to the current position information, or to send out a prompt message to control the electronic watch, etc. This is only an example.
- Step 203 The mobile phone sends a first control command to one or more first devices.
- the first control command is used to trigger one or more first devices to execute the corresponding event.
- the first control command is sent to the corresponding first device to achieve control of the first device.
- the content of the first control command may be to start or shut down the first device, or to respond to certain data information.
- the user when the user just wakes up, he does not open his eyes in the morning and performs the first touch operation on the phone.
- the right index finger presses the touch screen of the phone, and the first device corresponding to the right index finger is the speaker.
- the mobile phone is black, the first touch operation input by the user is received, the fingerprint information in the first touch operation is determined to be the fingerprint feature of the index finger of the right hand, and the first device corresponding to the first touch operation is determined to be the speaker.
- One control command the first control command controls the speaker to start and play music.
- the user’s left index finger presses on the touch screen of the mobile phone and performs a first touch operation.
- the mobile phone receives the first touch operation and determines that the first device corresponding to the fingerprint information in the first touch operation is the sign of the air conditioner.
- the first control command is sent, and the first control command controls the air conditioner to start.
- the method steps in the embodiments of this application can be executed repeatedly.
- the mobile phone receives the same first touch operation. It can be that the mobile phone sends the same first control command to the first device every time, or the mobile phone sends the same first control command to the first device every time. Different control commands to the first device. For example, the mobile phone receives the first touch operation, and determines that the first device corresponding to the fingerprint information in the first touch operation is an electronic watch carried by the child. The first control command returns the current position information in response to the mobile phone and sends the first control command to The electronic watch. Repeated execution of the above method steps, each time the mobile phone acquires the first touch operation and sends the first control command to the electronic watch, it can receive the position information responded by the electronic watch.
- the mobile phone receives the first touch operation, and determines that the first device corresponding to the fingerprint information in the first touch operation is the sign of the air conditioner.
- the mobile phone receives the first touch operation for the first time, and the first control command is start Air conditioner, the mobile phone sends a control command to start the air conditioner; the mobile phone receives the first touch operation for the second time, the first control command is to turn off the air conditioner, and the mobile phone sends a control command to turn off the air conditioner. That is to say, through the method in the embodiment of the present application, the first device can be quickly turned on and off without requiring the user to make special settings, thereby optimizing the user experience.
- the mobile phone in the implementation of this application is used to control the first device. It does not mean that the mobile phone needs to directly communicate with the first device.
- the mobile phone can directly establish a communication connection with the first device, or through The gateway establishes a communication connection with the first device. Therefore, in this embodiment, when the mobile phone sends the first control command to the first device, it may not be directly sent to the first device, or it may be sent to the gateway, and the gateway forwards the first control command to the first device. .
- the smart home device can directly communicate with the mobile phone through the Internet of Things, the smart home receives the first control command sent by the mobile phone through the Internet, the smart home device can also establish a communication connection with the home router, and obtain the first control command sent by the mobile phone through the home router.
- One control command As shown in Figure 5, the air conditioner establishes a communication connection with the home router.
- the mobile phone can establish communication with the home router via the Internet or the Internet of Things. After the mobile phone obtains the first touch operation, it determines that the fingerprint information in the first touch operation corresponds to the air conditioner.
- the first control command is sent to the home router, and the home router forwards the first control command to the air conditioner.
- the home router establishes a communication connection with the home computer, TV, washing machine, stereo, lamp, air conditioner, microwave oven, curtain, floor heating, air purifier, water heater, oven, coffee machine, etc., as shown in the figure 6 shown.
- the above-mentioned smart home device can be connected to the home router wirelessly via WIFI or Bluetooth, or connected to the home router through a physical interface, and the smart home device can be connected to the home router via wired communication.
- the mobile phone can send control commands to any smart home device in the home.
- the first device corresponding to the fingerprint information in the first touch operation is the sign of the speaker and the bedroom wall lamp.
- the mobile phone receives the first touch operation and determines the The first device corresponding to the fingerprint information is the sign of the speaker and the bedroom wall light.
- the mobile phone sends the first control command to the home router, and the home router sends the first control command to the speaker and bedroom wall light.
- the first device corresponding to the fingerprint information in the first touch operation is a water heater, a computer, a coffee machine, and an air conditioner.
- the fingerprint information of the first touch operation is the fingerprint characteristics of two fingers
- the user performs the first touch operation on the mobile phone
- the mobile phone receives the first touch operation input by the user, and confirms the first touch operation
- the fingerprint information in is the fingerprint features of two fingers
- the first device corresponding to the fingerprint feature is the sign of water heater, computer, coffee machine, and air conditioner.
- the mobile phone sends the first control command to the home router, and the home router sends the first control command Send to water heater, computer, coffee machine and air conditioner respectively.
- the user returns home an hour later, the room temperature is good, the computer is turned on, and there is hot water and hot coffee.
- the first device corresponding to the fingerprint information in the first touch operation is a microwave oven, an oven, a water heater, and a speaker.
- the user enters the first touch operation on the mobile phone.
- the mobile phone receives the first touch operation, it is determined that the first device corresponding to the fingerprint information in the touch operation is the logo of microwave oven, oven, water heater, and audio.
- the home router After receiving the first control command, the home router sends the first control command to the microwave oven, the oven, the water heater, and the audio device. In this way, after the user gets up, the breakfast is hot, the hot water is also boiled, and music is playing in the room.
- a mobile phone in a preset state can acquire a user's first touch operation on the touch screen, and respond to the first touch operation to send a first control command to one or more first devices connected to it.
- This method of controlling the first device can be carried out when the mobile phone has a black screen, without entering the relevant control program or control interface, and the first device can be quickly controlled.
- the control of the first device is realized directly through the first touch operation, which simplifies the control method of the first device.
- the mobile phone can perform full-screen fingerprint recognition, it may be possible to use fingerprints to unlock the mobile phone.
- the mobile phone recognizes the fingerprint of the first touch operation, the fingerprint information carried in the first touch operation will be recognized.
- the preset mode is set to determine that the first touch operation is the control operation of the mobile phone on the first device.
- the preset mode includes a voice confirmation mode and a gesture confirmation mode.
- the confirmation method for the first touch operation may also be an interface confirmation method.
- the mobile phone interacts with the user by displaying an interface dialog box to obtain the user's confirmation operation.
- the first device controlled by the user through the mobile phone is an air purifier.
- the mobile phone determines that the first device corresponding to the first touch operation is an air purifier, and the mobile phone pops up a dialog box that includes "Please confirm whether Start the air purifier” and display the options "Yes” and "No".
- the first control command is sent to the air conditioner.
- the mobile phone After the mobile phone receives the first touch operation, it will give a voice prompt "Please confirm to control the first device" and obtain the user's voice information, where the voice information can be "yes” or “yes” Voice sounds such as "", “Yes” or “Confirm”. It should be noted that there is no need to store the user's voiceprint information in advance, as long as the corresponding voice information is received.
- the mobile phone sends out the voice prompt, it can also receive the user's operation on the touch screen for confirmation. For example, the user can confirm by double-clicking or clicking on the mobile phone screen.
- the mobile phone will give out a voice prompt, and the user can make a voice answer or perform a screen operation to confirm.
- the mobile phone screen can always be displayed on a black screen, or the shape of the voice print of the voice can also be displayed, which is not specifically limited.
- the preset mode is the gesture confirmation mode.
- the mobile phone displays an icon to confirm the gesture, turns on the camera, and obtains the current user's gesture.
- the gesture is "OK"
- the screen of the mobile phone displays the gesture as shown in the figure, and the camera captures the user's gesture.
- the gesture confirmation method can also be to display an arrow sign on the mobile phone, as shown in FIG. 9, the mobile phone displays a downward arrow, and the user can slide in the direction of the arrow.
- the gesture operation may also be a shape in which the user draws a number 1, 2, 3, or 4 on the touch screen, etc. The specific form of the gesture operation is not limited.
- the fingerprint information may be limited during the process of entering the first touch operation. That is to say, in the process of entering the first touch operation, if the fingerprint feature in the unlocking operation of the mobile phone is found to be the same as the fingerprint feature in the fingerprint information of the first touch operation, the user is prompted to change the finger and enter a fingerprint with a different fingerprint feature information.
- the second mode of the present application provides a device control method.
- This embodiment is roughly the same as the first embodiment.
- the main difference is: in this embodiment, the electronic device determines that before sending the first control command to the first device According to the environmental information of the electronic device, the corresponding preset confirmation method is selected according to the environmental information, and the method flow is shown in FIG. 10.
- the method of determining the current environmental information of the electronic device in this embodiment is only an example, and other methods for determining the current environmental information of the electronic device may also be applied in this application.
- the electronic device is still a mobile phone as an example for description. If the electronic device is of another type, the implementation steps can be adjusted adaptively, which will not be repeated here.
- step 301 to step 302 and step 306 in this embodiment are the same as steps 201 to step 202 and step 203 in the first embodiment, respectively. In order to reduce repetition, we will not repeat them, and only the differences will be described here. .
- Step 303 Obtain the parameters of the sensors in the mobile phone, and determine the current environmental information of the mobile phone corresponding to the sensor parameters.
- Step 304 Determine a preset confirmation method corresponding to the current environmental information of the mobile phone.
- Step 305 Send a confirmation message according to a preset confirmation mode, and receive confirmation feedback information.
- Step 306 Determine whether the confirmation feedback information indicates that the user confirms to trigger one or more first devices. If yes, go to step 307; otherwise, go to step 308.
- Step 307 Send a first control command to one or more first devices.
- Step 308 Prohibit sending the first control command to one or more first devices.
- the mobile phone is provided with a sensor module.
- the electronic device 100 in FIG. 1 has a sensor module 180, which can determine the current state of the mobile phone with the help of various sensors in the mobile phone, and then select the first touch of the mobile phone according to the current state of the mobile phone.
- the specific determination method of the operation include at least one or more of an ambient light sensor, an acceleration sensor, a camera, a distance sensor, and a microphone.
- a specific implementation is that after the mobile phone acquires the first touch operation, the mobile phone acquires data from one or more sensors, determines the current environmental information of the mobile phone according to the sensor data, and determines the preset confirmation method according to the current environmental information of the mobile phone.
- the current environment information of the mobile phone represents the current environment described by the mobile phone, for example, the environment information of the mobile phone is dull, static, and unheld.
- the current environmental information of the mobile phone may infer the current state of the user. For example, no light, static, or unhandled means the mobile phone is not used.
- the mobile phone system time is obtained. If it is 12:00 at night, it may mean that the user has rested.
- the environmental information of the mobile phone the state of the possible user is inferred, and the appropriate confirmation method of the first touch operation is selected according to the inferred user's state, which improves the intelligence of the mobile phone and optimizes the user experience. Therefore, after acquiring the data of the sensors in the mobile phone, information such as the system time of the mobile phone can also be obtained to further determine the environmental information of the mobile phone.
- the preset confirmation mode includes a gesture confirmation mode, a voice confirmation mode, and an interface confirmation mode.
- a gesture confirmation mode For example, to obtain the parameters of the microphone in the mobile phone, to confirm whether the environmental information of the mobile phone is a bass environment, if it is a bass environment, the voice confirmation can be done with all efforts, and the preset confirmation method selects the voice confirmation method.
- the environmental information of the mobile phone can be confirmed based on the parameters of one sensor, or the environmental information of the mobile phone can be confirmed based on the parameters of at least two sensors.
- the interface confirmation mode or the gesture confirmation mode can be selected.
- the current environmental information of the mobile phone can also be confirmed according to the sensor parameters and system information.
- the system information is the current time information of the mobile phone to obtain the parameters of the touch sensor and the light sensor and the system time, and the touch sensor confirms whether the mobile phone is being held.
- the preset confirmation method can be determined to be the interface confirmation method or the gesture confirmation method.
- the fingerprint information of the first touch operation is the left index finger corresponding to the air purifier.
- the user's first touch operation is received and the fingerprint information in the first touch operation is determined to be the fingerprint of the left index finger.
- Information it is determined that the first device is an air purifier.
- the first touch operation can be determined by an interface confirmation method or a gesture confirmation method.
- determining the current environmental information of the mobile phone requires acquiring data from multiple sensors, judging possible user behaviors based on the current environmental information of the mobile phone, and giving an appropriate confirmation method for the first touch operation. This setting helps simplify the control method of the first device, make it as convenient as possible for users to use, and optimize the user experience.
- the above method of confirming the current environment of the mobile phone can be determined based on the sensor parameters, or determined based on the usage mode of the mobile phone. For example, the mobile phone is in sports mode and the mobile phone displays a black screen, and the mobile phone receives the user's first touch Operation, select the voice confirmation method according to the current mobile phone mode.
- the control switch or adjustment switch of the first device may be displayed on the mobile phone.
- the mobile phone displays a second interface, where the second interface includes: one or more control switches of the first device and/or one or more adjustment switches of the first device;
- the mobile phone sends a second control command to one or more first devices, where the second control command is used to trigger one or more first devices An event corresponding to a device performing a second touch operation.
- the second interface is displayed on the mobile phone, the second interface includes the control switch of the first device, and the second interface is an adaptive interface, the control switch in the second interface can display different If the control interface or the second interface displays a general control interface, a preset control interface is displayed for any first device.
- the second interface is an adaptive interface
- the device type of the first device is acquired, and the control interface of the first device is determined according to the device type of the first device, and the second interface displays the control interface of the first device. For example, if it is determined that the first device is an air conditioner, the control interface of the air conditioner is determined, and the control interface of the air conditioner is displayed in the second interface.
- control interfaces of multiple devices can be stored in the mobile phone in advance, so that the mobile phone directly determines the corresponding control interface according to the device type, or the mobile phone automatically generates the control interface of the device according to the device type.
- the second interface is a general control interface
- the second interface includes at least an increase button, a decrease button, a mode selection button, etc., wherein the mode selection button includes a first selection button and a second selection button.
- the switch control buttons are displayed on the second interface.
- the first device is a wall lamp, but the wall lamp cannot adjust the brightness
- only the switch button of the wall lamp can be displayed in the second interface, as shown in FIG. 11.
- the second interface can display the control interface of the hot water and the air conditioner at the same time, as shown in FIG. 12.
- the hot water display interface includes the current water temperature of the water heater, switch control buttons and water temperature adjustment buttons.
- the display interface of the air conditioner includes the current operating temperature of the air conditioner, the switch control button of the air conditioner, the temperature adjustment button of the air conditioner, and the mode adjustment button of the air conditioner.
- FIG. 13 the display of the foregoing second interface is shown in FIG. 13, which may be several arrows of "up”, “down”, “left” and “right", and the name of the first device displayed on the second interface.
- FIG. 13 the display in Figure 13 as an example, different first devices can achieve different control purposes.
- Table 4 corresponds to the first device and the control switch of the second interface:
- Table 4 Correspondence table of the first device and operation keys
- the second interface is displayed as shown in Figure 14a, where "up”, “down”, “left” and “right” correspond to each other, and “volume up”, “Volume Down”, “Previous Song” and “Next Song”.
- the audio control interface can be as shown in Figure 14b, including a volume adjustment switch, a playback control switch, and so on.
- the control switch or adjustment switch of the first device is displayed on the second interface.
- the current status information of the first device can also be displayed on the second interface.
- the first device is an air conditioner, in addition to In addition to displaying the air conditioner's switch and temperature adjustment buttons, it can also display the current temperature and operating mode of the air conditioner, as shown in Figure 15.
- the specific implementation process is that after the mobile phone sends the first control command to the first device, it receives the first control response sent by the first device.
- the first control response carries one or more status information of the first device, and the mobile phone displays a Or multiple first device status information.
- the first device includes more than one device, for example, the first device includes air conditioners, curtains, speakers, and coffee machines, it is difficult to display all the control interfaces of the four devices in the second display interface of the mobile phone.
- a specific implementation is that the vertical menu is displayed in the first interface, and the corresponding control interface is displayed according to the obtained user's selection operation. As shown in FIG. 16, the user selects the air conditioner.
- the embodiment of the present application also provides an electronic device, which is used to control at least one device and has a touch screen.
- the module structure is shown in Fig. 17, including an input module 1701, a determination module 1702, and a sending module 1703.
- the input module 1701 is configured to receive the first touch operation input by the user on the touch screen, and collect fingerprint information corresponding to the first touch operation, wherein, when the electronic device is in a preset state, a first interface or a black screen is displayed.
- the determining module 1702 is configured to determine one or more first devices corresponding to fingerprint information from among at least one first device connected to the electronic device.
- the sending module 1703 is configured to send a first control command to one or more first devices by the electronic device, and the first control command is used to trigger one or more first devices to execute a corresponding event.
- the electronic device in this application is a device corresponding to the control method of the device described above, the implementation manner of this application can be implemented in cooperation with the foregoing implementation manner.
- the relevant technical details mentioned in the method implementation are still valid in this embodiment, and the technical effects that can be achieved in the method implementation can also be achieved in this embodiment. In order to reduce repetition, details are not repeated here.
- Some other embodiments of the present application also provide an electronic device, which may include the above-mentioned touch screen, a memory, and one or more processors.
- the touch screen, memory and processor are coupled.
- the memory is used to store computer program code, and the computer program code includes computer instructions.
- the processor executes the computer instructions, the electronic device can execute the steps related to the countdown display method in the foregoing method embodiment.
- the structure of the electronic device can refer to the structure of the electronic device 100 shown in FIG. 1.
- the chip system includes at least one processor 1801 and at least one interface circuit 1802.
- the processor 1801 and the interface circuit 1802 may be interconnected by wires.
- the interface circuit 1802 can be used to receive signals from other devices (such as the memory of an electronic device).
- the interface circuit 1802 may be used to send signals to other devices (such as the processor 1801).
- the interface circuit 1802 can read instructions stored in the memory and send the instructions to the processor 1801.
- the electronic device can execute the steps in the foregoing embodiments.
- the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
- the embodiments of the present application also provide a computer storage medium, which includes computer instructions, which when the computer instructions run on the above-mentioned electronic device, cause the electronic device to execute each step of the above-mentioned method embodiment.
- the embodiment of the present application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute each step of the foregoing method embodiment.
- the disclosed device and method may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be other division methods for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the units described above as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
- the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium.
- a device which may be a single-chip microcomputer, a chip, etc.
- a processor processor
- the aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Environmental & Geological Engineering (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Embodiments of the present application provide an apparatus control method and an electronic apparatus, pertaining to the technical field of electronic communications, and enabling, when an electronic apparatus is not unlocked, apparatus control for the electronic apparatus by inputting a control gesture, thereby simplifying an apparatus control manner. The method is applicable to an electronic apparatus used to control at least one first apparatus, and comprises: when the electronic apparatus is in a pre-determined state, receiving a first touch operation input by a user on a touch screen, and acquiring fingerprint information corresponding to the first touch operation, wherein the electronic apparatus displays a first interface or an off screen when in the pre-determined state; the electronic apparatus determining, from at least one first apparatus connected thereto, one or more first apparatus corresponding to the fingerprint information; and the electronic apparatus sending to the one or more first apparatuses a first control instruction used to trigger the one or more first apparatuses to enable a corresponding event to take place.
Description
本申请要求于2019年7月25日提交国家知识产权局、申请号为201910677017.3、发明名称为“一种设备的控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office, the application number is 201910677017.3, and the invention title is "a device control method and electronic device" on July 25, 2019. The entire content is incorporated by reference in In this application.
本申请实施例涉及电子通讯技术领域,尤其涉及一种设备的控制方法及电子设备。The embodiments of the present application relate to the field of electronic communication technology, and in particular to a device control method and electronic equipment.
随着科技的进步,各种不同类型的家居设备纷纷出现,为用户的生活带来了极大的便利。为了进一步方便用户的生活,现有的家居设备均可以连接至家庭网络,用户可以通过终端设备连接家庭网络实现对家居设备的控制,远程控制家居设备的实现一般需要借助通讯模块实现。With the advancement of technology, various types of home appliances have appeared one after another, bringing great convenience to users' lives. In order to further facilitate the user's life, all existing household equipment can be connected to the home network, and the user can connect to the home network through a terminal device to realize the control of the household equipment. The realization of remote control of the household equipment generally requires the use of a communication module.
具体的实现流程为:用户使用移动终端通过互联网平台连接至智能家居,并通过移动终端对智能家居的设备进行管理,通过在移动终端上输入控制命令,由移动终端将控制命令传输至智能家居网络,智能家居网络将控制命令发送至对应的家居设备,实现对智能家居设备的远程控制。The specific implementation process is: the user uses a mobile terminal to connect to the smart home through the Internet platform, and manages the devices of the smart home through the mobile terminal. By inputting control commands on the mobile terminal, the mobile terminal transmits the control commands to the smart home network , The smart home network sends control commands to the corresponding home equipment to realize remote control of the smart home equipment.
然而,发明人发现当前的智能家居的管理系统中,一般需要在移动终端安装专门的应用程序,在该应用程序中输入对智能家居设备的控制命令,在用户想要控制智能设备时,需要对移动终端进行屏幕解锁,进入相关的应用程序,才能输入相关的控制命令,这种启动智能家居的方式操作复杂,导致家居设备的开启或关闭较慢。However, the inventor found that in the current smart home management system, it is generally necessary to install a special application program on the mobile terminal, and enter the control command for the smart home device in the application program. When the user wants to control the smart device, the user needs to The mobile terminal unlocks the screen and enters the relevant application program to input the relevant control commands. This method of starting the smart home is complicated to operate, resulting in slower opening or closing of the home equipment.
发明内容Summary of the invention
本申请实施例提供一种设备的控制方法及电子设备,在电子设备未进行解锁的情况下,可以通过输入控制手势实现电子设备对设备的控制,这种控制方式能够实现快速对设备的控制,简化了对设备的控制方式。The embodiments of the present application provide a device control method and an electronic device. When the electronic device is not unlocked, the electronic device can control the device by inputting a control gesture. This control method can realize rapid control of the device. Simplify the control method of the equipment.
为达到上述技术目的,本申请实施例采用如下技术方案:In order to achieve the above technical objectives, the following technical solutions are adopted in the embodiments of this application:
本申请实施例应用于电子设备,且电子设备用于控制至少一个第一设备,电子设备包括触摸屏。本申请实施例中的第一设备的控制方法包括:电子设备处于预设状态时,接收用户在触摸屏输入的第一触摸操作,并采集第一触摸操作对应的指纹信息,其中,电子设备处于预设状态时,显示第一界面或者黑屏;电子设备从与之连接的至少一个第一设备中、确定指纹信息对应的一个或多个第一设备;电子设备向一个或多个第一设备发送第一控制命令,第一控制命令用于触发一个或多个第一设备执行对应的事件。The embodiments of the present application are applied to electronic devices, and the electronic devices are used to control at least one first device, and the electronic devices include a touch screen. The control method of the first device in the embodiment of the present application includes: when the electronic device is in a preset state, receiving a first touch operation input by the user on the touch screen, and collecting fingerprint information corresponding to the first touch operation, wherein the electronic device is in the preset state. When the state is set, the first interface or a black screen is displayed; the electronic device determines one or more first devices corresponding to the fingerprint information from at least one first device connected to it; the electronic device sends the first device to the one or more first devices A control command, the first control command is used to trigger one or more first devices to execute corresponding events.
预设状态的电子设备可获取用户在触摸屏上的第一触摸操作,并响应第一触摸操作向与之连接的一个或多个第一设备发出第一控制命令。这种对第一设备的控制方式是在电子设备黑屏时就能够进行的,不需要进入相关的控制程序或控制界面,可快速对第一设备进行控制。直接通过第一触摸操作实现对第一设备的控制,简化了第一设 备的控制方式。The electronic device in the preset state can acquire the user's first touch operation on the touch screen, and respond to the first touch operation to send a first control command to one or more first devices connected to it. This method of controlling the first device can be performed when the electronic device has a black screen, without entering a related control program or control interface, and the first device can be quickly controlled. The control of the first device is realized directly through the first touch operation, which simplifies the control method of the first device.
结合第一方面,在一种可能的实施方式中,电子设备向一个或多个第一设备发送第一控制命令之后,本申请实施例提供的方法还包括:电子设备显示第二界面,其中,第二界面包括:一个或多个第一设备的控制开关和/或一个或多个第一设备的调节开关;电子设备接收用户对第二界面中的控制开关或者调节开关的第二触摸操作;响应于所述第二触摸操作,电子设备向一个或多个第一设备发送第二控制命令,其中,第二控制命令用于触发一个或多个第一设备执行第二触摸操作对应的事件。With reference to the first aspect, in a possible implementation manner, after the electronic device sends the first control command to one or more first devices, the method provided in this embodiment of the present application further includes: the electronic device displays a second interface, where: The second interface includes: one or more control switches of the first device and/or one or more adjustment switches of the first device; the electronic device receives the user's second touch operation on the control switch or the adjustment switch in the second interface; In response to the second touch operation, the electronic device sends a second control command to one or more first devices, where the second control command is used to trigger one or more first devices to perform an event corresponding to the second touch operation.
上述可能的实现中,电子设备将第一控制命令发送至一个或多个第一设备之后,进行第二界面的显示,有助于用户对第一设备进行其他操作的控制。例如,第一设备为音响,通过第一控制命令触发音响打开,进行音乐播放,第二界面中显示音乐播放界面,方便用户进行调节音量、切换音乐等操作。第二界面的显示有助于用户对第一设备的进一步控制,提高用户体验。In the above possible implementation, after the electronic device sends the first control command to one or more first devices, the second interface is displayed, which helps the user to control other operations of the first device. For example, the first device is a speaker, and the speaker is triggered by the first control command to play music, and the second interface displays a music playback interface, which is convenient for the user to perform operations such as adjusting the volume and switching music. The display of the second interface helps the user to further control the first device and improve the user experience.
结合第一方面,在一种可能的实施方式中,在向所述一个或多个第一设备发送第一控制命令之后,本申请实施例提供的方法还包括:电子设备接收一个或多个第一设备发送的第一控制响应,第一控制响应携带一个或多个第一设备的状态信息;电子设备显示一个或多个第一设备的状态信息。With reference to the first aspect, in a possible implementation manner, after sending the first control command to the one or more first devices, the method provided in this embodiment of the present application further includes: the electronic device receives one or more first devices A first control response sent by a device, where the first control response carries status information of one or more first devices; the electronic device displays status information of one or more first devices.
将第一设备发送的第一控制响应中的携带的状态信息显示于电子设备,使得用户可以通过电子设备的显示状况了解当前的第一设备的运行状态,进一步提高用户体验。值得一提的是,可以将本实施方式中的状态信息与第一设备的控制开关或调节开关均显示于第二界面,以便用户根据电子设备的显示进行进一步的操作以及对第一设备的控制。The status information carried in the first control response sent by the first device is displayed on the electronic device, so that the user can understand the current operating status of the first device through the display status of the electronic device, and further improve the user experience. It is worth mentioning that the status information in this embodiment and the control switch or adjustment switch of the first device can be displayed on the second interface, so that the user can perform further operations and control the first device according to the display of the electronic device. .
结合第一方面,在一种可能的实施方式中,在电子设备确定指纹信息对应的一个或多个第一设备之后,电子设备向一个或多个第一设备发送第一控制命令之前,本申请实施例提供的方法还包括:电子设备确定第一触摸操作是预设触摸操作。With reference to the first aspect, in a possible implementation manner, after the electronic device determines the one or more first devices corresponding to the fingerprint information, before the electronic device sends the first control command to the one or more first devices, this application The method provided by the embodiment further includes: the electronic device determines that the first touch operation is a preset touch operation.
第一触摸操作中携带指纹信息,根据指纹信息确定接收第一控制命令的第一设备。若仅根据指纹信息确定第一控制命令的接收对象,对于使用指纹解锁的电子设备,可能会因为第一操作的指纹信息触发电子设备解锁。确定第一触摸操作为预设触摸操作之后,将第一控制命令发送至第一设备,提高了电子设备响应的准确度,避免误触发的情况发生。The fingerprint information is carried in the first touch operation, and the first device that receives the first control command is determined according to the fingerprint information. If only the fingerprint information is used to determine the recipient of the first control command, for an electronic device unlocked using a fingerprint, the electronic device may be unlocked due to the fingerprint information of the first operation. After determining that the first touch operation is a preset touch operation, the first control command is sent to the first device, which improves the accuracy of the response of the electronic device and avoids false triggering.
结合第一方面,在一种可能的实施方式中,在电子设备确定指纹信息对应的一个或多个第一设备之后,电子设备向一个或多个第一设备发送第一控制命令之前,本申请实施例提供的方法还包括:电子设备通过预设方式,确定第一触摸操作为电子设备对一个或多个第一设备发出第一控制命令;其中,预设方式至少包括:语音确认方式和手势确认方式。With reference to the first aspect, in a possible implementation manner, after the electronic device determines the one or more first devices corresponding to the fingerprint information, before the electronic device sends the first control command to the one or more first devices, this application The method provided by the embodiment further includes: the electronic device determines that the first touch operation is a first control command issued by the electronic device to one or more first devices through a preset manner; wherein the preset manner includes at least: a voice confirmation manner and a gesture Confirmation method.
语音确认方式和手势确认方式均是为了避免第一触摸操作可能引起的误操作而设置,使得电子设备准确响应第一触摸操作,进一步提升用户体验。Both the voice confirmation mode and the gesture confirmation mode are set to avoid misoperations that may be caused by the first touch operation, so that the electronic device accurately responds to the first touch operation, and further improves the user experience.
结合第一方面,在一种可能的实施方式中,电子设备还包括一个或多个传感器;一个或多个传感器至少包括:环境光传感器、加速度传感器、距离传感器、摄像头和麦克风中的一个或多个;在电子设备通过预设方式,确定第一触摸操作为电子设备对 一个或多个第一设备发出第一控制命令之前,本申请实施例提供的方法还包括:电子设备根据一个或多个传感器采集的参数,确定预设方式。With reference to the first aspect, in a possible implementation manner, the electronic device further includes one or more sensors; the one or more sensors include at least one or more of an ambient light sensor, an acceleration sensor, a distance sensor, a camera, and a microphone. Before the electronic device determines that the first touch operation is the first control command issued by the electronic device to one or more first devices in a preset manner, the method provided in this embodiment of the present application further includes: the electronic device according to one or more The parameters collected by the sensor determine the preset mode.
根据传感器的参数确定预设的方式,有助于根据电子设备不同的场景或状态确定预设方式,使得预设方式更符合用户当前的操作习惯,进一步提升用户体验。Determining the preset mode according to the parameters of the sensor helps to determine the preset mode according to different scenarios or states of the electronic device, so that the preset mode is more in line with the user's current operating habits, and the user experience is further improved.
结合第一方面,在一种可能的实施方式中,指纹信息包括一个或多个手指的指纹特征。With reference to the first aspect, in a possible implementation manner, the fingerprint information includes fingerprint characteristics of one or more fingers.
第二方面,本申请实施例提供一种电子设备,该电子设备用于控制至少一个第一设备,该电子设备可以包括触摸屏、存储器和一个或多个处理器。该触摸屏、存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该处理器执行该计算机指令时,处理器,用于,电子设备处于预设状态时,接收用户在触摸屏输入的第一触摸操作,并采集第一触摸操作对应的指纹信息。触摸屏,用于,电子设备处于预设状态时,显示第一界面或者黑屏。处理器,还用于,电子设备从与之连接的至少一个第一设备中、确定指纹信息对应的一个或多个第一设备;电子设备向一个或多个第一设备发送第一控制命令,第一控制命令用于触发一个或多个第一设备执行对应的事件。In a second aspect, an embodiment of the present application provides an electronic device, which is used to control at least one first device. The electronic device may include a touch screen, a memory, and one or more processors. The touch screen, memory and processor are coupled. The memory is used to store computer program code, the computer program code includes computer instructions, when the processor executes the computer instructions, the processor is configured to receive the first touch input by the user on the touch screen when the electronic device is in a preset state Operate, and collect fingerprint information corresponding to the first touch operation. The touch screen is used to display the first interface or a black screen when the electronic device is in a preset state. The processor is further configured to: the electronic device determines one or more first devices corresponding to fingerprint information from at least one first device connected to it; the electronic device sends a first control command to the one or more first devices, The first control command is used to trigger one or more first devices to execute corresponding events.
结合第二方面,在一种可能的实施方式中,处理器,还用于,控制触摸屏显示第二界面,触摸屏,还用于,显示第二界面,第二界面包括:一个或多个第一设备的控制开关和/或一个或多个第一设备的调节开关。处理器,还用于,接收用户对第二界面中的控制开关或者调节开关的第二触摸操作;响应于所述第二触摸操作,电子设备向一个或多个第一设备发送第二控制命令,其中,第二控制命令用于触发一个或多个第一设备执行第二触摸操作对应的事件。With reference to the second aspect, in a possible implementation manner, the processor is further configured to control the touch screen to display a second interface, the touch screen is also configured to display a second interface, the second interface includes: one or more first The control switch of the device and/or the adjustment switch of one or more first devices. The processor is further configured to receive a second touch operation of the user on the control switch or adjustment switch in the second interface; in response to the second touch operation, the electronic device sends a second control command to one or more first devices , Where the second control command is used to trigger one or more first devices to perform an event corresponding to the second touch operation.
结合第二方面,在一种可能的实施方式中,处理器,还用于,接收一个或多个第一设备发送的第一控制响应,第一控制响应携带一个或多个第一设备的状态信息。处理器,还用于,控制触摸屏显示一个或多个第一设备的状态信息。触摸屏,还用于,显示一个或多个第一设备的状态信息。With reference to the second aspect, in a possible implementation manner, the processor is further configured to receive a first control response sent by one or more first devices, where the first control response carries the status of one or more first devices information. The processor is also configured to control the touch screen to display status information of one or more first devices. The touch screen is also used to display status information of one or more first devices.
结合第二方面,在一种可能的实施方式中,处理器,还用于,确定第一触摸操作是预设触摸操作。With reference to the second aspect, in a possible implementation manner, the processor is further configured to determine that the first touch operation is a preset touch operation.
结合第二方面,在一种可能的实施方式中,处理器,还用于,电子设备通过预设方式,确定第一触摸操作为电子设备对一个或多个第一设备发出第一控制命令;其中,预设方式至少包括:语音确认方式和手势确认方式。With reference to the second aspect, in a possible implementation manner, the processor is further configured to determine that the first touch operation is the first control command issued by the electronic device to one or more first devices in a preset manner; Among them, the preset modes include at least: a voice confirmation mode and a gesture confirmation mode.
结合第二方面,在一种可能的实施方式中,电子设备还包括一个或多个传感器;一个或多个传感器至少包括:环境光传感器、加速度传感器、距离传感器和麦克风中的一个或多个处理器,还用于,根据一个或多个传感器采集的参数,确定预设方式。With reference to the second aspect, in a possible implementation manner, the electronic device further includes one or more sensors; the one or more sensors include at least one or more of an ambient light sensor, an acceleration sensor, a distance sensor, and a microphone. The device is also used to determine the preset mode according to the parameters collected by one or more sensors.
结合第二方面,在一种可能的实施方式中,指纹信息包括一个或多个手指的指纹特征。With reference to the second aspect, in a possible implementation manner, the fingerprint information includes fingerprint characteristics of one or more fingers.
第三方面,本申请的实施例还提供了一种电子设备,该电子设备可用于控制至少一个的设备,该电子设备还包括:输入模块、确定模块和发送模块;输入模块用于,接收用户在触摸屏输入的第一触摸操作,并采集第一触摸操作对应的指纹信息,其中,电子设备处于预设状态时,显示第一界面或者黑屏;确定模块用于,从与之连接的至 少一个第一设备中、确定指纹信息对应的一个或多个第一设备;发送模块用于,向一个或多个第一设备发送第一控制命令,第一控制命令用于触发一个或多个第一设备执行对应的事件。In a third aspect, the embodiments of the present application also provide an electronic device that can be used to control at least one device, the electronic device further includes: an input module, a determination module, and a sending module; the input module is used to receive a user The first touch operation is input on the touch screen, and the fingerprint information corresponding to the first touch operation is collected. When the electronic device is in the preset state, the first interface or the black screen is displayed; the determining module is used to retrieve at least one In a device, determine one or more first devices corresponding to the fingerprint information; the sending module is used to send a first control command to one or more first devices, and the first control command is used to trigger one or more first devices Perform the corresponding event.
结合第三方面,输入模块还用于,接收用户对第二界面中的控制开关或者调节开关的第二触摸操作;该电子设备还包括显示模块,发送模块用于,响应于第二触摸操作,向一个或多个第一设备发送第二控制命令,第二控制命令用于触发一个或多个第一设备执行对应的事件。With reference to the third aspect, the input module is further used to receive a second touch operation of the user on the control switch or adjustment switch in the second interface; the electronic device further includes a display module, and the sending module is used to respond to the second touch operation, Sending a second control command to one or more first devices, and the second control command is used to trigger one or more first devices to execute corresponding events.
结合第三方面,输入模块还用于,接收一个或多个第一设备发送的第一控制响应,第一控制响应携带一个或多个第一设备的状态信息;显示模块还用于,显示一个或多个第一设备的状态信息。With reference to the third aspect, the input module is also used to receive a first control response sent by one or more first devices, the first control response carries one or more first device status information; the display module is also used to display one Or multiple first device status information.
结合第三方面,确定模块还用于,确定所述第一触摸操作是预设触摸操作。With reference to the third aspect, the determining module is further configured to determine that the first touch operation is a preset touch operation.
结合第三方面,确定模块还用于,通过预设确认方式,确定第一触摸操作为电子设备对一个或多个第一设备发出第一控制命令;其中,预设确认方式至少包括:语音确认方式和手势确认方式。With reference to the third aspect, the determining module is further configured to determine that the first touch operation is a first control command issued by the electronic device to one or more first devices through a preset confirmation method; wherein the preset confirmation method includes at least: voice confirmation Ways and gesture confirmation methods.
结合第三方面,该电子设备还包括一个或多个传感器;至少包括:环境光传感器、加速度传感器、摄像头、距离传感器和麦克风中的一个或多个;确定模块还用于,根据一个或多个传感器采集的参数,确定预设确认方式。With reference to the third aspect, the electronic device further includes one or more sensors; at least including: one or more of an ambient light sensor, an acceleration sensor, a camera, a distance sensor, and a microphone; the determining module is also used to, according to one or more The parameters collected by the sensor determine the preset confirmation method.
结合第三方面,指纹信息包括一个或多个手指的指纹特征。With reference to the third aspect, the fingerprint information includes fingerprint characteristics of one or more fingers.
第四方面,本申请实施例提供一种芯片系统,该芯片系统应用于包括上述触摸屏的电子设备。该芯片系统包括一个或多个接口电路和一个或多个处理器。该接口电路和处理器通过线路互联。该接口电路用于从电子设备的存储器接收信号,并向处理器发送该信号,该信号包括存储器中存储的计算机指令。当处理器执行所述计算机指令时,电子设备执行如第一方面及其任一种可能的实施方式中所述的方法。In a fourth aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device including the aforementioned touch screen. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by wires. The interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device executes the method described in the first aspect and any one of its possible implementation manners.
第五方面,本申请实施例提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面及其任一种可能的实施方式中所述的方法。In a fifth aspect, an embodiment of the present application provides a computer storage medium that includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device is caused to perform operations as in the first aspect and any of them. The methods described in possible implementations.
第六方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面及其任一种可能的实施方式中所述的方法。In the sixth aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in the first aspect and any of its possible implementations .
可以理解地,上述提供的第二方面、第三方面及其任一种可能的实施方式中所述的电子设备,第四方面所述的芯片系统,第五方面所述的计算机存储介质,第六方面所述的计算机程序产品所能达到的有益效果,可参考如第一方面及其任一种可能的设计方式中的有益效果,此处不再赘述。Understandably, the electronic device described in the second aspect, the third aspect and any one of the possible implementations thereof provided above, the chip system described in the fourth aspect, the computer storage medium described in the fifth aspect, the first For the beneficial effects that can be achieved by the computer program product described in the six aspects, please refer to the beneficial effects in the first aspect and any of its possible design methods, which will not be repeated here.
图1为本申请实施例提供的一种电子设备的硬件结构示意图;FIG. 1 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application;
图2为本申请实施例提供的一种设备的控制方法的流程图;Figure 2 is a flowchart of a device control method provided by an embodiment of the application;
图3为本申请实施例提供的一种手机显示第一界面的示意图;FIG. 3 is a schematic diagram of a mobile phone displaying a first interface according to an embodiment of the application;
图4a为本申请实施例提供的一种第一触摸操作的操作示意图;FIG. 4a is an operation schematic diagram of a first touch operation provided by an embodiment of this application;
图4b为本申请实施例提供的另一种第一触摸操作的操作示意图;4b is an operation schematic diagram of another first touch operation provided by an embodiment of this application;
图4c为本申请实施例提供的另一种第一触摸操作的操作示意图;4c is an operation schematic diagram of another first touch operation provided by an embodiment of this application;
图5为本申请实施例提供的智能家居网络的结构示意图;Figure 5 is a schematic structural diagram of a smart home network provided by an embodiment of the application;
图6为本申请实施例提供的包括全部智能家居设备的结构示意图;FIG. 6 is a schematic structural diagram including all smart home devices provided by an embodiment of the application;
图7a为本申请实施例提供的一种应用场景中手机对设备的控制的结构示意图;Figure 7a is a schematic structural diagram of a mobile phone controlling a device in an application scenario provided by an embodiment of the application;
图7b为本申请实施例提供的另一应用场景中手机对设备的控制的结构示意图;FIG. 7b is a schematic structural diagram of a mobile phone controlling a device in another application scenario provided by an embodiment of the application;
图7c为本申请实施例提供的另一应用场景中手机对设备的控制的结构示意图;FIG. 7c is a schematic structural diagram of a mobile phone controlling a device in another application scenario provided by an embodiment of this application;
图8为本申请实施例提供的一种手势确认方式的手机显示界面图;8 is a mobile phone display interface diagram of a gesture confirmation method provided by an embodiment of the application;
图9为本申请实施例提供的另一手势确认方式的手机显示界面图;9 is a mobile phone display interface diagram of another gesture confirmation method provided by an embodiment of the application;
图10为本申请实施例提供的另一设备的控制方法的流程图;FIG. 10 is a flowchart of another device control method provided by an embodiment of the application;
图11为本申请实施例提供的一种第二界面的显示图像的示意图;11 is a schematic diagram of a display image of a second interface provided by an embodiment of the application;
图12为本申请实施例提供的另一第二界面的显示图像的示意图;12 is a schematic diagram of a display image of another second interface provided by an embodiment of the application;
图13为本申请实施例提供的另一第二界面的显示图像的示意图;FIG. 13 is a schematic diagram of a display image of another second interface provided by an embodiment of the application;
图14a为本申请实施例提供的另一第二界面的显示图像的示意图;14a is a schematic diagram of a display image of another second interface provided by an embodiment of the application;
图14b为本申请实施例提供的另一第二界面的显示图像的示意图;FIG. 14b is a schematic diagram of a display image of another second interface provided by an embodiment of the application;
图15为本申请实施例提供的另一第二界面的显示图像的示意图;15 is a schematic diagram of a display image of another second interface provided by an embodiment of the application;
图16为本申请实施例提供的另一第二界面的显示图像的示意图;FIG. 16 is a schematic diagram of a display image of another second interface provided by an embodiment of the application;
图17为本申请实施例提供的一种电子设备的模块结构示意图;FIG. 17 is a schematic diagram of a module structure of an electronic device provided by an embodiment of this application;
图18为本申请实施例提供的一种芯片系统的结构示意图。FIG. 18 is a schematic structural diagram of a chip system provided by an embodiment of the application.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, "plurality" means two or more.
本申请的实施例提供一种设备的控制方法,该方法应用于电子设备中,且电子设备用于控制至少一个的设备,以及电子设备包括触摸屏。通过本申请实施例中的方法使得电子设备在未解锁的情况下,获取用户输入的第一触摸操作,根据第一触摸操作向设备发送控制命令,实现对设备的控制。这种控制方式既能实现对设备的控制,也在一定程度上简化了设备的控制方式。The embodiment of the present application provides a method for controlling a device. The method is applied to an electronic device, and the electronic device is used to control at least one device, and the electronic device includes a touch screen. By using the method in the embodiment of the present application, the electronic device acquires the first touch operation input by the user when the electronic device is not unlocked, and sends a control command to the device according to the first touch operation to realize the control of the device. This control method can not only realize the control of the equipment, but also simplifies the control method of the equipment to a certain extent.
示例性的,本申请实施例中的电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等包括触摸屏的设备,以及该电子设备可以对设备进行控制,本申请实施例对该电子设备的具体形态不作特殊限制。Exemplarily, the electronic devices in the embodiments of the present application may be mobile phones, tablet computers, desktops, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPC), netbooks, and cellular computers. Telephones, personal digital assistants (PDA), augmented reality (AR)\virtual reality (VR) devices, including touch screen devices, and the electronic devices that can control the devices, this application is implemented The example does not impose special restrictions on the specific form of the electronic equipment.
下面将结合附图对本申请实施例的实施方式进行详细描述。请参考图1,为本申请实施例提供的一种电子设备100的结构示意图。如图1所示,电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器 170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。The implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. Please refer to FIG. 1, which is a schematic structural diagram of an electronic device 100 provided by an embodiment of this application. As shown in FIG. 1, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
其中,上述传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,加速度传感器180D,距离传感器180E,接近光传感器180F,指纹传感器180G,温度传感器180H,触摸传感器180I和环境光传感器180J等传感器。Among them, the aforementioned sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, an acceleration sensor 180D, a distance sensor 180E, a proximity sensor 180F, a fingerprint sensor 180G, a temperature sensor 180H, a touch sensor 180I, and an ambient light sensor 180J Wait for the sensor.
可以理解的是,本实施例示意的结构并不构成对电子设备100的具体限定。在另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 100. In other embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Among them, the different processing units may be independent devices or integrated in one or more processors.
控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in this embodiment is merely a schematic description, and does not constitute a structural limitation of the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121, 外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。该显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). emitting diode, AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结 构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By learning from the structure of biological neural networks, such as the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. The NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。例如,在本申请实施例中,处理器110可以通过执行存储在内部存储器121中的指令,内部存储器121可以包括存储程序区和存储数据区。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121. For example, in the embodiment of the present application, the processor 110 may execute instructions stored in the internal memory 121, and the internal memory 121 may include a storage program area and a storage data area.
其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 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, a flash memory device, a universal flash storage (UFS), etc.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110. The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194.
其中,压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。本申请实施例中,电子设备100可以通过压力传感器180A采集用户在触摸屏(即显示屏194)输入的触摸操作的按压力度(或者称为按压压力)。Among them, there are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors and so on. The capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions. In the embodiment of the present application, the electronic device 100 may collect the pressing force (or called pressing pressure) of the touch operation input by the user on the touch screen (ie, the display screen 194) through the pressure sensor 180A.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。气压传感器180C用 于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The gyro sensor 180B may be used to determine the movement posture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
加速度传感器180D可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180D can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180E,用于测量距离。电子设备100可以通过红外或激光测量距离。接近光传感器180F可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。Distance sensor 180E, used to measure distance. The electronic device 100 can measure the distance by infrared or laser. The proximity light sensor 180F may include, for example, a light emitting diode (LED) and a light detector such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100.
环境光传感器180J用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180J也可用于拍照时自动调节白平衡。环境光传感器180J还可以与接近光传感器180F配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180J is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180J can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180J can also cooperate with the proximity light sensor 180F to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
指纹传感器180G用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180G is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
温度传感器180H用于检测温度。在一些实施例中,电子设备100利用温度传感器180H检测的温度,执行温度处理策略。例如,当温度传感器180H上报的温度超过阈值,电子设备100执行降低位于温度传感器180H附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180H is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180H to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180H exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180H, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180I,也称“触控面板”。触摸传感器180I可以设置于显示屏194,由触摸传感器180I与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180I用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180I也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180I is also called "touch panel". The touch sensor 180I can be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180I and the display screen 194, which is also called a “touch screen”. The touch sensor 180I is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180I may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
本申请实施例中,电子设备100可以通过触摸传感器180I检测到用户在触摸屏输入的触摸操作,并采集该触摸操作在触摸屏上的触控位置,触控面积,触控方向,以及触控时间等中的一项或多项。在一些实施例中,电子设备100可以通过触摸传感器180I和压力传感器180A结合起来,确定触摸操作在触摸屏的触控位置。In the embodiment of the present application, the electronic device 100 can detect the touch operation input by the user on the touch screen through the touch sensor 180I, and collect the touch position, touch area, touch direction, and touch time of the touch operation on the touch screen. One or more of. In some embodiments, the electronic device 100 may combine the touch sensor 180I and the pressure sensor 180A to determine the touch position of the touch operation on the touch screen.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不 同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
以下实施例中的方法均可以在具有上述硬件结构的电子设备100中实现。以下实施例中以上述电子设备100是手机为例,对本申请实施例的方法进行说明。The methods in the following embodiments can all be implemented in the electronic device 100 having the above hardware structure. In the following embodiments, the above-mentioned electronic device 100 is a mobile phone as an example to describe the method of the embodiment of the present application.
本申请的实施例提供一种设备的控制方法,其方法流程如图2所示,包括实施步骤201-步骤203。The embodiment of the present application provides a device control method, and the method flow is shown in FIG. 2, including steps 201 to 203.
需要说明的是,本实施方式中的手机可用于控制设备,手机包括触摸屏。其中,手机与设备可以进行有线通讯或者无线远程通讯。例如,手机可以通过串行总线接口与设备进行有线通讯。又例如,手机可以通过移动通讯模块150或者无线通信模块160与设备建立无线通讯连接,手机通过无线通讯连接向设备发送控制命令,以实现对设备的控制。本申请实施例中,对手机与设备的具体通讯方式不做限定。It should be noted that the mobile phone in this embodiment can be used to control the device, and the mobile phone includes a touch screen. Among them, the mobile phone and the device can perform wired communication or wireless remote communication. For example, a mobile phone can communicate with the device via a serial bus interface. For another example, the mobile phone can establish a wireless communication connection with the device through the mobile communication module 150 or the wireless communication module 160, and the mobile phone sends a control command to the device through the wireless communication connection to control the device. In the embodiments of this application, the specific communication method between the mobile phone and the device is not limited.
值得一提的是,本申请实施方式中的手机触摸屏还具备对指纹的识别能力,具体地说,手机可以是采用光学式屏下指纹识别技术,OLED(Organic Light-Emitting Diode,有机发光二极管)屏幕发出光线将手指触摸区域照亮,照射到指纹的光线经过反射并透过屏幕像素的间隙返回指纹传感器,指纹传感器根据接收到的反射光线形成图像数据,指纹传感器将图像数据发送至处理器,处理器根据指纹传感器形成的图像数据与已存储的指纹图像进行对比分析,识别出屏幕上的指纹信息。手机还可以采用超声波屏下指纹识别,触摸屏获取到手指的触摸操作时,通过超声传感器向手指触摸的部分发射超声波,并接受回波,根据获取到的回波的信息以及利用指纹表面皮肤和空气之间密度不同构建出一个指纹的3D图像,处理器根据获取到的指纹的3D图像与预先存储的指纹信息进行对比分析,识别出触摸屏上的指纹信息。若手机是非全面屏指纹识别的手机,还可以采用电容式指纹识别方法,此处仅为举例说明,并不具体限定手机的指纹识别方式。It is worth mentioning that the touch screen of the mobile phone in the embodiment of this application also has the ability to recognize fingerprints. Specifically, the mobile phone can adopt an optical under-screen fingerprint recognition technology, OLED (Organic Light-Emitting Diode, organic light-emitting diode) The screen emits light to illuminate the finger touch area. The light irradiated to the fingerprint is reflected and returned to the fingerprint sensor through the gap of the screen pixels. The fingerprint sensor forms image data according to the received reflected light, and the fingerprint sensor sends the image data to the processor. The processor compares and analyzes the image data formed by the fingerprint sensor with the stored fingerprint image, and recognizes the fingerprint information on the screen. The mobile phone can also use the fingerprint recognition under the ultrasonic screen. When the touch screen obtains the touch operation of the finger, the ultrasonic sensor transmits the ultrasonic wave to the part touched by the finger and receives the echo. According to the information of the obtained echo, the surface of the fingerprint and the air are used. Different densities between different densities construct a 3D image of a fingerprint, and the processor compares and analyzes the acquired 3D image of the fingerprint with the pre-stored fingerprint information, and recognizes the fingerprint information on the touch screen. If the mobile phone is a mobile phone with non-full-screen fingerprint recognition, a capacitive fingerprint recognition method can also be used. This is only an example and does not specifically limit the fingerprint recognition method of the mobile phone.
步骤201:手机处于预设状态时,接收用户在触摸屏输入的第一触摸操作,并采集第一触摸操作对应的指纹信息。Step 201: When the mobile phone is in a preset state, receive a first touch operation input by the user on the touch screen, and collect fingerprint information corresponding to the first touch operation.
其中,手机处于预设状态时,显示第一界面或者黑屏。Among them, when the mobile phone is in a preset state, the first interface or a black screen is displayed.
具体地说,本申请中的对设备的控制方法,是为了简化对设备的控制方式。通常情况下,通过手机控制设备时,需要手机显示专门的控制界面。手机可以在该控制界面接收用户的相关控制操作;响应于该相关控制操作,手机可以向设备发出控制命令。手机控制设备的控制方式繁琐,用户操作复杂。为了简化上述的对设备的控制方式,本申请实施例中,手机处于预设状态时,可以接收用户的第一触摸操作,根据第一触摸操作的指纹信息,确定与指纹信息对应的第一设备,并对该第一设备进行控制。其中,预设状态下的手机显示第一界面或者黑屏,第一界面可以是手机锁屏界面如图3 所示、主界面或应用控制界面等,此处是对第一界面的显示进行示例说明。手机在显示第一界面或黑屏的情况下都可获取到用户的第一触摸操作,也就是在对第一设备的控制中,不需要手机显示专门的控制界面就可以获取到用户对第一设备的控制操作(第一触摸操作),简化了对第一设备的控制方式。Specifically, the device control method in this application is to simplify the device control method. Generally, when controlling a device through a mobile phone, the mobile phone needs to display a special control interface. The mobile phone can receive related control operations of the user on the control interface; in response to the related control operations, the mobile phone can send control commands to the device. The control method of the mobile phone control device is cumbersome and the user operation is complicated. In order to simplify the above-mentioned method of controlling the device, in this embodiment of the application, when the mobile phone is in the preset state, it can receive the user's first touch operation, and determine the first device corresponding to the fingerprint information according to the fingerprint information of the first touch operation , And control the first device. Among them, the mobile phone in the preset state displays the first interface or a black screen. The first interface can be the mobile phone lock screen interface as shown in Figure 3, the main interface or the application control interface, etc. Here is an example of the display of the first interface . The first touch operation of the user can be obtained when the mobile phone displays the first interface or the black screen, that is, in the control of the first device, the user does not need to display a special control interface to obtain the user’s first touch operation. The control operation (first touch operation) simplifies the control of the first device.
需要说明的是,本申请实施方式中的第一设备表示的是手机可控制的设备,并非表示某一类设备或具体某一个设备,例如,手机可用于控制智能家居设备,还可以控制智能医疗设备等,具体不做限定,手机与设备的距离等也不做限定。It should be noted that the first device in the embodiment of this application refers to a device that can be controlled by a mobile phone, and does not mean a certain type of device or a specific device. For example, a mobile phone can be used to control smart home devices, and can also control smart medical Equipment, etc., are not specifically limited, and the distance between the mobile phone and the device is also not limited.
可选的,手机在接收用户的第一触摸操作的过程中,会采集第一触摸操作对应的指纹信息,并确定第一触摸操作为预设触摸操作。其中,预设触摸操作可以是,长按触摸屏或触摸屏幕并划动一定距离,还可以是触摸屏幕并划出预设图形等,具体不做限定。如图4a表示用户手指长按触摸屏,图4b表示用户手指按住触摸屏并向下滑动一定距离,图4c表示用户手指触摸屏幕并划出数字“2”的图形。手机获取第一触摸操作对应的指纹信息与预设指纹信息匹配,并确定第一触摸操作为预设触摸操作,则确定第一触摸操作为可以启动第一设备的操作。另外,对于使用指纹信息进行解锁的手机,为了避免第一触摸操作中的指纹信息可能导致的误触发问题,应该设置第一触摸操作的指纹信息与解锁手机的指纹信息不同。Optionally, in the process of receiving the user's first touch operation, the mobile phone collects fingerprint information corresponding to the first touch operation, and determines that the first touch operation is a preset touch operation. Among them, the preset touch operation may be long pressing the touch screen or touching the screen and moving a certain distance, or touching the screen and drawing a preset graphic, etc., which is not specifically limited. Figure 4a shows that the user's finger long presses on the touch screen, Figure 4b shows that the user's finger presses on the touch screen and slides down for a certain distance, and Figure 4c shows that the user's finger touches the screen and draws a figure "2". The mobile phone obtains the fingerprint information corresponding to the first touch operation to match the preset fingerprint information, and determines that the first touch operation is the preset touch operation, and then determines that the first touch operation is an operation that can start the first device. In addition, for mobile phones that use fingerprint information for unlocking, in order to avoid false triggers that may be caused by the fingerprint information in the first touch operation, the fingerprint information for the first touch operation should be set to be different from the fingerprint information for unlocking the mobile phone.
在一个具体的场景中,手机处于预设状态显示黑屏,第一触摸操作为长按操作,指纹信息为右手食指的指纹。用户在手机处于黑屏的状态下,用右手食指长按手机的触摸屏,手机在接收到用户的长按操作后,获取长按操作的指纹信息,并确定获取到的指纹信息为对应第一操作的指纹信息,确定用户当前的操作为第一触摸操作。In a specific scenario, the mobile phone displays a black screen in a preset state, the first touch operation is a long press operation, and the fingerprint information is the fingerprint of the index finger of the right hand. When the mobile phone is in a black screen state, the user long presses the touch screen of the mobile phone with his right index finger. After the mobile phone receives the user's long press operation, it obtains the fingerprint information of the long press operation and determines that the obtained fingerprint information corresponds to the first operation The fingerprint information determines that the user's current operation is the first touch operation.
步骤202:手机从与之连接的至少一个第一设备中、确定指纹信息对应的一个或多个第一设备。Step 202: The mobile phone determines one or more first devices corresponding to the fingerprint information from the at least one first device connected to it.
具体地说,由于手机可用于控制至少一个的第一设备,每个第一设备可以设置不同的触发方式,如第一触摸操作中携带不同的指纹信息,则可对应触发不同的第一设备。以手机控制的第一设备为智能家居为例,如,第一触摸操作中的指纹信息为右手食指的指纹特征,则第一触摸操作用于触发的第一设备为音响;第一触摸操作中的指纹信息为右手中指的指纹特征,则第一触摸操作用于触发的第一设备为热水器。Specifically, since the mobile phone can be used to control at least one first device, each first device can be set with different triggering methods. For example, if different fingerprint information is carried in the first touch operation, different first devices can be triggered correspondingly. Taking the first device controlled by the mobile phone as an example of a smart home, for example, the fingerprint information in the first touch operation is the fingerprint feature of the index finger of the right hand, and the first device used for triggering by the first touch operation is the speaker; in the first touch operation The fingerprint information of is the fingerprint feature of the right middle finger, and the first device used to trigger the first touch operation is the water heater.
一个具体的实施中,手机根据获取到的第一触摸操作中的指纹信息确定出控制命令对应的第一设备,指纹信息可以与一个第一设备对应,指纹信息也可以与多个第一设备对应,此处不做具体限定。例如,第一触摸操作中的指纹信息对应的第一设备为卧室壁灯,第一触摸操作中的指纹信息对应的第一设备也可以是空调和电脑。In a specific implementation, the mobile phone determines the first device corresponding to the control command according to the acquired fingerprint information in the first touch operation. The fingerprint information may correspond to one first device, and the fingerprint information may also correspond to multiple first devices. , There is no specific limitation here. For example, the first device corresponding to the fingerprint information in the first touch operation is a bedroom wall lamp, and the first device corresponding to the fingerprint information in the first touch operation may also be an air conditioner and a computer.
需要说明的是,第一触摸操作中的指纹信息可以是一个手指的指纹特征,也可以是多个手指的指纹特征。具体设置如表1和表2,表1表示第一触摸操作中的指纹信息为一个手指的指纹信息和与之对应的第一设备,表2表示第一触摸操作中的指纹信息为多个手指的指纹特征和与之对应的第一设备。在实际应用中,手机存储有各种第一设备的标志,根据指纹信息与第一设备的对应关系,确定出指纹信息与第一设备的标志的对应关系。It should be noted that the fingerprint information in the first touch operation may be the fingerprint characteristics of one finger or the fingerprint characteristics of multiple fingers. The specific settings are shown in Table 1 and Table 2. Table 1 indicates that the fingerprint information in the first touch operation is the fingerprint information of one finger and the corresponding first device, and Table 2 indicates that the fingerprint information in the first touch operation is multiple fingers. The fingerprint characteristics and the corresponding first device. In practical applications, the mobile phone stores various marks of the first device, and the correspondence between the fingerprint information and the mark of the first device is determined according to the correspondence between the fingerprint information and the first device.
指纹信息Fingerprint information | 第一设备First device |
右手食指指纹特征Fingerprint characteristics of right index finger | 音响的标志Sign of sound |
右手中指指纹特征Fingerprint Features of Right Middle Finger | 音响、卧室壁灯和热水器的标志Signs of speakers, bedroom wall lamps and water heaters |
右手无名指指纹特征Fingerprint characteristics of right ring finger | 客厅窗帘和电视的标志Sign of living room curtains and TV |
左手食指指纹特征Fingerprint characteristics of left index finger | 空气净化器的标志Air purifier logo |
左手中指指纹特征Fingerprint features of left middle finger | 空调和电脑的标志Air conditioning and computer signs |
左手无名指指纹特征Fingerprint characteristics of left ring finger | 洗衣机和电饭煲的标志Signs of washing machine and rice cooker |
表1:指纹信息与第一设备的对应关系Table 1: Correspondence between fingerprint information and the first device
表2:指纹信息与第一设备的对应关系Table 2: Correspondence between fingerprint information and the first device
值得一提的是,通过表1和表2可确定,第一触摸操作中的指纹信息的数量与对应的第一设备的数量并无绝对的对应关系。具体实施中,用户可以根据偏好和操作习惯设置指纹信息与第一设备的对应关系,此处仅是示例,不做具体限定。本实施方式中以指纹与智能家居设备为例进行说明,实际中,指纹信息还可以与远程医疗设备、穿戴设备等对应。例如,该第一设备为儿童携带的电子手表,第一触摸操作中的指纹信息与该电子手表对应,当手机获取到第一触摸操作,且第一触摸操作中的指纹信息对应的是电子手表,手机发送控制命令至电子手表。该控制命令可以是控制电子手表响应当前的位置信息,也可以是发出控制电子手表发出提示信息等,此处仅为示例。It is worth mentioning that it can be determined from Table 1 and Table 2 that there is no absolute correspondence between the number of fingerprint information in the first touch operation and the number of corresponding first devices. In specific implementation, the user can set the corresponding relationship between the fingerprint information and the first device according to preferences and operating habits. This is only an example and is not specifically limited. In this embodiment, fingerprints and smart home devices are taken as examples for description. In practice, fingerprint information may also correspond to remote medical devices, wearable devices, and the like. For example, the first device is an electronic watch carried by a child, the fingerprint information in the first touch operation corresponds to the electronic watch, when the mobile phone acquires the first touch operation, and the fingerprint information in the first touch operation corresponds to the electronic watch , The mobile phone sends control commands to the electronic watch. The control command may be to control the electronic watch to respond to the current position information, or to send out a prompt message to control the electronic watch, etc. This is only an example.
步骤203:手机向一个或多个第一设备发送第一控制命令。Step 203: The mobile phone sends a first control command to one or more first devices.
其中,第一控制命令用于触发一个或多个第一设备执行对应的事件。The first control command is used to trigger one or more first devices to execute the corresponding event.
具体地说,在确定第一触摸操作中的指纹信息对应的第一设备之后,将第一控制命令发送至对应的第一设备,实现对第一设备的控制。其中,第一控制命令的内容可以是启动、关闭第一设备也可以是响应某一数据信息等。Specifically, after the first device corresponding to the fingerprint information in the first touch operation is determined, the first control command is sent to the corresponding first device to achieve control of the first device. Wherein, the content of the first control command may be to start or shut down the first device, or to respond to certain data information.
在一个具体的应用场景中,用户刚起床的时候,早上不用睁眼,在手机上进行第一触摸操作,右手食指按压到手机的触摸屏,右手食指对应的第一设备为音响。手机黑屏时,接收到用户输入的第一触摸操作,确定第一触摸操作中的指纹信息为右手食指的指纹特征,确定出该第一触摸操作对应的第一设备为音响,手机向音响发送第一控制命令,第一控制命令控制音响启动,播放音乐。又如,用户的左手食指按压在手机的触摸屏,并进行第一触摸操作,手机接收到第一触摸操作,确定第一触摸操作中的指纹信息对应的第一设备为空调的标志,手机向空调发送第一控制命令,第一控制命令控制空调启动。In a specific application scenario, when the user just wakes up, he does not open his eyes in the morning and performs the first touch operation on the phone. The right index finger presses the touch screen of the phone, and the first device corresponding to the right index finger is the speaker. When the mobile phone is black, the first touch operation input by the user is received, the fingerprint information in the first touch operation is determined to be the fingerprint feature of the index finger of the right hand, and the first device corresponding to the first touch operation is determined to be the speaker. One control command, the first control command controls the speaker to start and play music. For another example, the user’s left index finger presses on the touch screen of the mobile phone and performs a first touch operation. The mobile phone receives the first touch operation and determines that the first device corresponding to the fingerprint information in the first touch operation is the sign of the air conditioner. The first control command is sent, and the first control command controls the air conditioner to start.
具体地说,本申请实施方式中的方法步骤可重复执行,手机接收到相同的第一触摸操作,可以是手机每次发出相同的第一控制命令至第一设备,也可以是手机每次发出不同的控制命令至第一设备。例如,手机接收到第一触摸操作,确定第一触摸操作中的指纹信息对应的第一设备为儿童携带的电子手表,第一控制命令为响应返回当前的位置信息,手机发送第一控制命令至该电子手表。重复执行上述方法步骤,则手机每次获取到第一触摸操作,并向该电子手表发送第一控制命令之后,均可接收到该电子手表响应的位置信息。另一具体实现中,手机接收到第一触摸操作,确定第一触摸操作中的指纹信息对应的第一设备为空调的标志,手机第一次接收到第一触摸操作,第一控制命令为启动空调,手机向空调发送启动的控制命令;手机第二次接收到第一触摸操作,第一控制命令为关闭空调,手机向空调发送关闭的控制命令。也就是说,通过本申请实施方式中的方法,可实现对第一设备的快速启动和关闭,且不需要用户进行特别设置,优化用户体验。Specifically, the method steps in the embodiments of this application can be executed repeatedly. The mobile phone receives the same first touch operation. It can be that the mobile phone sends the same first control command to the first device every time, or the mobile phone sends the same first control command to the first device every time. Different control commands to the first device. For example, the mobile phone receives the first touch operation, and determines that the first device corresponding to the fingerprint information in the first touch operation is an electronic watch carried by the child. The first control command returns the current position information in response to the mobile phone and sends the first control command to The electronic watch. Repeated execution of the above method steps, each time the mobile phone acquires the first touch operation and sends the first control command to the electronic watch, it can receive the position information responded by the electronic watch. In another specific implementation, the mobile phone receives the first touch operation, and determines that the first device corresponding to the fingerprint information in the first touch operation is the sign of the air conditioner. The mobile phone receives the first touch operation for the first time, and the first control command is start Air conditioner, the mobile phone sends a control command to start the air conditioner; the mobile phone receives the first touch operation for the second time, the first control command is to turn off the air conditioner, and the mobile phone sends a control command to turn off the air conditioner. That is to say, through the method in the embodiment of the present application, the first device can be quickly turned on and off without requiring the user to make special settings, thereby optimizing the user experience.
值得一提的是,本申请实施方式中手机用于控制第一设备,并非是说手机需要直接与第一设备通讯连接,具体实施中,手机可以直接与第一设备建立通讯连接,也可以通过网关与第一设备建立通讯连接。因此,本实施方式中手机向第一设备发送第一控制命令,可以不是直接发送到第一设备,也可以是将第一控制命令发送至网关,由网关将第一控制命令转发至第一设备。It is worth mentioning that the mobile phone in the implementation of this application is used to control the first device. It does not mean that the mobile phone needs to directly communicate with the first device. In specific implementation, the mobile phone can directly establish a communication connection with the first device, or through The gateway establishes a communication connection with the first device. Therefore, in this embodiment, when the mobile phone sends the first control command to the first device, it may not be directly sent to the first device, or it may be sent to the gateway, and the gateway forwards the first control command to the first device. .
具体地说,智能家居设备可以直接通过物联网与手机进行通讯,智能家居通过互联网接收手机发送的第一控制命令,智能家居设备还可以与家庭路由器建立通讯连接,通过家庭路由器获取手机发送的第一控制命令。如图5所示,空调与家庭路由器建立通讯连接,手机可通过互联网或物联网与家庭路由器建立通讯,手机获取到第一触摸操作之后,确定第一触摸操作中的指纹信息与空调对应,将第一控制命令发送至家庭路由器,家庭路由器将第一控制命令转发至空调。Specifically, the smart home device can directly communicate with the mobile phone through the Internet of Things, the smart home receives the first control command sent by the mobile phone through the Internet, the smart home device can also establish a communication connection with the home router, and obtain the first control command sent by the mobile phone through the home router. One control command. As shown in Figure 5, the air conditioner establishes a communication connection with the home router. The mobile phone can establish communication with the home router via the Internet or the Internet of Things. After the mobile phone obtains the first touch operation, it determines that the fingerprint information in the first touch operation corresponds to the air conditioner. The first control command is sent to the home router, and the home router forwards the first control command to the air conditioner.
在一个具体的应用场景中,家庭路由器与家里的电脑、电视、洗衣机、音响、灯、空调、微波炉、窗帘、地暖、空气净化器、热水器、烤箱以及咖啡机等等均建立通讯连接,如图6所示。其中,上述智能家居设备可以是通过WIFI或蓝牙与家庭路由器进行无线通讯连接,也可以是通过物理接口连接至家庭路由器,智能家居设备可以与家庭路由器进行有线通讯连接。手机通过与家庭路由器建立通讯连接,即可实现手机向家中任何智能家居设备发送控制命令的目的。In a specific application scenario, the home router establishes a communication connection with the home computer, TV, washing machine, stereo, lamp, air conditioner, microwave oven, curtain, floor heating, air purifier, water heater, oven, coffee machine, etc., as shown in the figure 6 shown. Among them, the above-mentioned smart home device can be connected to the home router wirelessly via WIFI or Bluetooth, or connected to the home router through a physical interface, and the smart home device can be connected to the home router via wired communication. By establishing a communication connection with the home router, the mobile phone can send control commands to any smart home device in the home.
在一个具体的应用场景中,第一触摸操作中的指纹信息对应的第一设备为音响和卧室壁灯的标志,如图7a所示,手机接收到第一触摸操作,确定第一触摸操作中的指纹信息对应的第一设备为音响和卧室壁灯的标志,手机向家庭路由器发送第一控制命令,家庭路由器向音响和卧室壁灯发送第一控制命令。In a specific application scenario, the first device corresponding to the fingerprint information in the first touch operation is the sign of the speaker and the bedroom wall lamp. As shown in Figure 7a, the mobile phone receives the first touch operation and determines the The first device corresponding to the fingerprint information is the sign of the speaker and the bedroom wall light. The mobile phone sends the first control command to the home router, and the home router sends the first control command to the speaker and bedroom wall light.
另一个具体应用中,如图7b所示,第一触摸操作中的指纹信息对应的第一设备为热水器、电脑、咖啡机和空调。如用户预计自己1小时后会到家,第一触摸操作的指纹信息为两个手指的指纹特征,用户在手机上进行第一触摸操作,手机接收到用户输入第一触摸操作,确定第一触摸操作中的指纹信息为两个手指的指纹特征,且该指纹特征对应的第一设备为热水器、电脑、咖啡机和空调的标志,手机向家庭路由器发送第一控制命令,家庭路由器将第一控制命令分别发送至热水器、电脑、咖啡机和空调。 由此,用户在一小时之后回到家,房间温度适宜,电脑已经打开,有热水和热咖啡。In another specific application, as shown in FIG. 7b, the first device corresponding to the fingerprint information in the first touch operation is a water heater, a computer, a coffee machine, and an air conditioner. If the user expects to be home in 1 hour, the fingerprint information of the first touch operation is the fingerprint characteristics of two fingers, the user performs the first touch operation on the mobile phone, and the mobile phone receives the first touch operation input by the user, and confirms the first touch operation The fingerprint information in is the fingerprint features of two fingers, and the first device corresponding to the fingerprint feature is the sign of water heater, computer, coffee machine, and air conditioner. The mobile phone sends the first control command to the home router, and the home router sends the first control command Send to water heater, computer, coffee machine and air conditioner respectively. As a result, the user returns home an hour later, the room temperature is good, the computer is turned on, and there is hot water and hot coffee.
另一个具体应用中,如图7c所示,第一触摸操作中的指纹信息对应的第一设备为微波炉、烤箱、热水器和音响。早上刚起床的时候,用户在手机上输入第一触摸操作,手机接收到第一触摸操作之后,确定该触摸操作中的指纹信息对应的第一设备为微波炉、烤箱、热水器和音响的标志,手机向家庭路由器发送第一控制命令,家庭路由器接收到第一控制命令之后分别向微波炉、烤箱、热水器和音响发送第一控制命令。这样一来,用户起床之后,早餐热好了,热水也烧好了,房间中有播放音乐。In another specific application, as shown in FIG. 7c, the first device corresponding to the fingerprint information in the first touch operation is a microwave oven, an oven, a water heater, and a speaker. When just getting up in the morning, the user enters the first touch operation on the mobile phone. After the mobile phone receives the first touch operation, it is determined that the first device corresponding to the fingerprint information in the touch operation is the logo of microwave oven, oven, water heater, and audio. Send the first control command to the home router. After receiving the first control command, the home router sends the first control command to the microwave oven, the oven, the water heater, and the audio device. In this way, after the user gets up, the breakfast is hot, the hot water is also boiled, and music is playing in the room.
相对于现有技术而言,预设状态的手机可获取用户在触摸屏上的第一触摸操作,并响应第一触摸操作向与之连接的一个或多个第一设备发出第一控制命令。这种对第一设备的控制方式是在手机黑屏时就能够进行的,不需要进入相关的控制程序或控制界面,可快速对第一设备进行控制。直接通过第一触摸操作实现对第一设备的控制,简化了第一设备的控制方式。Compared with the prior art, a mobile phone in a preset state can acquire a user's first touch operation on the touch screen, and respond to the first touch operation to send a first control command to one or more first devices connected to it. This method of controlling the first device can be carried out when the mobile phone has a black screen, without entering the relevant control program or control interface, and the first device can be quickly controlled. The control of the first device is realized directly through the first touch operation, which simplifies the control method of the first device.
具体地说,若手机可以进行全面屏指纹识别,可能存在使用指纹对手机解锁的情况,手机对第一触摸操作指纹的识别中会识别第一触摸操作中携带的指纹信息,为了避免第一触摸操作中的指纹信息引起手机误触的情况,设置预设方式确定第一触摸操作为手机对第一设备的控制操作。一个具体实现中,在手机获取到第一触摸操作之后,通过预设方式,确定第一触摸操作为电子设备对一个或多个第一设备发出第一控制命令。其中,预设方式包括语音确认方式和手势确认方式。Specifically, if the mobile phone can perform full-screen fingerprint recognition, it may be possible to use fingerprints to unlock the mobile phone. When the mobile phone recognizes the fingerprint of the first touch operation, the fingerprint information carried in the first touch operation will be recognized. In order to avoid the first touch If the fingerprint information in the operation causes the mobile phone to be touched by mistake, the preset mode is set to determine that the first touch operation is the control operation of the mobile phone on the first device. In a specific implementation, after the mobile phone acquires the first touch operation, it is determined through a preset manner that the first touch operation is the electronic device issuing a first control command to one or more first devices. Among them, the preset mode includes a voice confirmation mode and a gesture confirmation mode.
另外,对第一触摸操作的确认方式还可以是界面确认方式,具体为,手机通过显示界面对话框的方式与用户进行信息交互,获取用户的确认操作。如,用户通过手机控制的第一设备为空气净化器,手机获取到第一触摸操作之后,确定第一触摸操作对应的第一设备为空气净化器,手机弹出对话框,内容包括“请确认是否启动空气净化器”并显示选项“是”和“否”,获取到用户对“是”选项的点击操作之后,将第一控制命令发送至空调。In addition, the confirmation method for the first touch operation may also be an interface confirmation method. Specifically, the mobile phone interacts with the user by displaying an interface dialog box to obtain the user's confirmation operation. For example, the first device controlled by the user through the mobile phone is an air purifier. After the mobile phone obtains the first touch operation, it determines that the first device corresponding to the first touch operation is an air purifier, and the mobile phone pops up a dialog box that includes "Please confirm whether Start the air purifier" and display the options "Yes" and "No". After obtaining the user's click operation on the "Yes" option, the first control command is sent to the air conditioner.
一个具体的应用场景中,手机接收到第一触摸操作之后,发出语音提示“请确认控制第一设备”,并获取用户的语音信息,其中,语音信息可以是“是”、“yes(是)”、“可以”或“确认”等语音声音。需要说明的是,此处可以不用预先存入用户的声纹信息,只要接收到对应的语音信息即可。另外,手机在发出语音提示之后,还可以接收用户在触摸屏上的操作进行确认,如,用户可以通过在手机屏幕进行双击或单击等操作进行确认。也就是说,手机进行语音确认的过程中,是手机会发出语音提示,用户可以进行语音回答,也可以进行屏幕操作进行确认。在手机进行语音确认的过程中,手机屏幕可以一直处于黑屏显示,也可以显示语音的声纹形状等,具体不做限定。In a specific application scenario, after the mobile phone receives the first touch operation, it will give a voice prompt "Please confirm to control the first device" and obtain the user's voice information, where the voice information can be "yes" or "yes" Voice sounds such as "", "Yes" or "Confirm". It should be noted that there is no need to store the user's voiceprint information in advance, as long as the corresponding voice information is received. In addition, after the mobile phone sends out the voice prompt, it can also receive the user's operation on the touch screen for confirmation. For example, the user can confirm by double-clicking or clicking on the mobile phone screen. In other words, during the voice confirmation process of the mobile phone, the mobile phone will give out a voice prompt, and the user can make a voice answer or perform a screen operation to confirm. In the process of voice confirmation by the mobile phone, the mobile phone screen can always be displayed on a black screen, or the shape of the voice print of the voice can also be displayed, which is not specifically limited.
一个具体的应用场景中,手机接收到第一触摸操作之后,预设方式为手势确认方式,如,手机显示出确认手势的图标,打开摄像头,获取当前的用户的手势。如图8所示,手势为“OK”,手机的显示屏显示如图的手势,摄像头拍摄用户的手势,若用户的手势与显示图像的手势相同,确定第一手势为手机对第一设备的控制操作。另外,手势确认方式还可以是,在手机上显示出箭头标志,如图9所示,手机显示向下的箭头,用户按照箭头方向滑动即可。其中,手势操作还可以是用户在触摸屏上划出数字1、2、3或4的形状等,具体对于手势操作的形式不做限定。In a specific application scenario, after the mobile phone receives the first touch operation, the preset mode is the gesture confirmation mode. For example, the mobile phone displays an icon to confirm the gesture, turns on the camera, and obtains the current user's gesture. As shown in Figure 8, the gesture is "OK", the screen of the mobile phone displays the gesture as shown in the figure, and the camera captures the user's gesture. If the user's gesture is the same as the gesture of the displayed image, it is determined that the first gesture is the mobile phone's gesture to the first device. Control operation. In addition, the gesture confirmation method can also be to display an arrow sign on the mobile phone, as shown in FIG. 9, the mobile phone displays a downward arrow, and the user can slide in the direction of the arrow. Wherein, the gesture operation may also be a shape in which the user draws a number 1, 2, 3, or 4 on the touch screen, etc. The specific form of the gesture operation is not limited.
另外,在实际应用中,为了避免第一触摸操作中的指纹信息误触发手机的解锁操作,可以在录入第一触摸操作的过程中,对指纹信息进行限定。也就是说,在录入第一触摸操作的过程中,若发现手机的解锁操作中的指纹特征与第一触摸操作的指纹信息中的指纹特征相同,提示用户更换手指,录入不同的指纹特征的指纹信息。In addition, in practical applications, in order to prevent the fingerprint information in the first touch operation from erroneously triggering the unlock operation of the mobile phone, the fingerprint information may be limited during the process of entering the first touch operation. That is to say, in the process of entering the first touch operation, if the fingerprint feature in the unlocking operation of the mobile phone is found to be the same as the fingerprint feature in the fingerprint information of the first touch operation, the user is prompted to change the finger and enter a fingerprint with a different fingerprint feature information.
本申请的第二方式提供一种设备的控制方法,该实施方式与第一实施方式大致相同,主要区别之处在于:本实施方式中,电子设备向第一设备发送第一控制命令之前,确定电子设备的环境信息,并根据环境信息选择对应的预设确认方式,其方法流程如图10所示。本领域的技术人员能够明白的是,本实施方式中的确定电子设备当前的环境信息的方式仅是示例,其他用于确定电子设备当前环境信息的方法也可应用于本申请中。The second mode of the present application provides a device control method. This embodiment is roughly the same as the first embodiment. The main difference is: in this embodiment, the electronic device determines that before sending the first control command to the first device According to the environmental information of the electronic device, the corresponding preset confirmation method is selected according to the environmental information, and the method flow is shown in FIG. 10. Those skilled in the art can understand that the method of determining the current environmental information of the electronic device in this embodiment is only an example, and other methods for determining the current environmental information of the electronic device may also be applied in this application.
本实施方式中依然以电子设备为手机为例进行说明,若电子设备为其他类型,可适应性调整实施步骤,此处不再赘述。In this embodiment, the electronic device is still a mobile phone as an example for description. If the electronic device is of another type, the implementation steps can be adjusted adaptively, which will not be repeated here.
需要说明的是,本实施方式中的步骤301-步骤302、步骤306分别于第一实施方式中的步骤201-步骤202、步骤203相同,为了减少重复不再赘述,此处仅说明不同之处。It should be noted that step 301 to step 302 and step 306 in this embodiment are the same as steps 201 to step 202 and step 203 in the first embodiment, respectively. In order to reduce repetition, we will not repeat them, and only the differences will be described here. .
步骤303:获取手机中传感器的参数,并确定所述传感器参数对应的手机当前的环境信息。Step 303: Obtain the parameters of the sensors in the mobile phone, and determine the current environmental information of the mobile phone corresponding to the sensor parameters.
步骤304:确定与手机当前的环境信息对应的预设确认方式。Step 304: Determine a preset confirmation method corresponding to the current environmental information of the mobile phone.
步骤305:根据预设确认方式发出确认信息,并接收确认反馈信息。Step 305: Send a confirmation message according to a preset confirmation mode, and receive confirmation feedback information.
步骤306:判断确认反馈信息是否表示用户确认触发一个或多个第一设备。若为是,执行步骤307,否则,执行步骤308。Step 306: Determine whether the confirmation feedback information indicates that the user confirms to trigger one or more first devices. If yes, go to step 307; otherwise, go to step 308.
步骤307:向一个或多个第一设备发送第一控制命令。Step 307: Send a first control command to one or more first devices.
步骤308:禁止向一个或多个第一设备发送第一控制命令。Step 308: Prohibit sending the first control command to one or more first devices.
具体地说,手机中设置有传感器模块,如图1中的电子设备100具有传感器模块180,可借助手机中的多种传感器确定手机当前的状态,进而根据手机当前的状态选择手机对第一触摸操作的具体确定方式。其中,手机中的传感器至少包括:环境光传感器、加速度传感器、摄像头、距离传感器和麦克风中的一个或多个。一个具体实施为,手机获取到第一触摸操作之后,手机获取一个或多个传感器的数据,根据传感器的数据确定手机当前的环境信息,并根据手机当前的环境信息确定预设确认方式。Specifically, the mobile phone is provided with a sensor module. The electronic device 100 in FIG. 1 has a sensor module 180, which can determine the current state of the mobile phone with the help of various sensors in the mobile phone, and then select the first touch of the mobile phone according to the current state of the mobile phone. The specific determination method of the operation. Among them, the sensors in the mobile phone include at least one or more of an ambient light sensor, an acceleration sensor, a camera, a distance sensor, and a microphone. A specific implementation is that after the mobile phone acquires the first touch operation, the mobile phone acquires data from one or more sensors, determines the current environmental information of the mobile phone according to the sensor data, and determines the preset confirmation method according to the current environmental information of the mobile phone.
需要说明的是,手机当前的环境信息表示手机所述的当前环境,如,手机的环境信息为无光、静止、未被握持。手机当前的环境信息可能推测出用户当前的状态,如无光、静止、未被握持表示手机未被使用,此时获取手机系统时间,若为夜晚12:00,可能表示用户已经休息。根据手机的环境信息推测可能的用户的状态,根据推测出的用户的状态选择合适的第一触摸操作的确认方式,提高了手机的智能程度,优化用户体验。因此,在获取手机中传感器的数据之后,还可以获取手机的系统时间等信息,进一步确定手机的环境信息。It should be noted that the current environment information of the mobile phone represents the current environment described by the mobile phone, for example, the environment information of the mobile phone is dull, static, and unheld. The current environmental information of the mobile phone may infer the current state of the user. For example, no light, static, or unhandled means the mobile phone is not used. At this time, the mobile phone system time is obtained. If it is 12:00 at night, it may mean that the user has rested. According to the environmental information of the mobile phone, the state of the possible user is inferred, and the appropriate confirmation method of the first touch operation is selected according to the inferred user's state, which improves the intelligence of the mobile phone and optimizes the user experience. Therefore, after acquiring the data of the sensors in the mobile phone, information such as the system time of the mobile phone can also be obtained to further determine the environmental information of the mobile phone.
可选的,预设确认方式包括手势确认方式、语音确认方式和界面确认方式。例如,获取手机中麦克风的参数,确认手机的环境信息是否为低音环境,若为低音环境则可以尽心语音确认,预设确认方式选择语音确认方式。Optionally, the preset confirmation mode includes a gesture confirmation mode, a voice confirmation mode, and an interface confirmation mode. For example, to obtain the parameters of the microphone in the mobile phone, to confirm whether the environmental information of the mobile phone is a bass environment, if it is a bass environment, the voice confirmation can be done with all efforts, and the preset confirmation method selects the voice confirmation method.
可选的,可根据一个传感器的参数确认手机的环境信息,也可以通过至少两个传感器的参数确认手机的环境信息。例如,获取手机加速度传感器的参数,确定手机当前的加速度,若加速度为0可选择界面确认方式或手势确认方式。进一步的,还可以根据传感器参数和系统信息确认手机当前的环境信息。例如,系统信息为手机当前的时间信息,获取触摸传感器和光传感器的参数和系统时间,触摸传感器确认手机是否被握持,如,根据触摸传感器的参数确认手机被握持,根据光传感器的参数确认手机处于明亮的环境中,系统时间为上午12:00,可确定预设确认方式为界面确认方式或手势确认方式。Optionally, the environmental information of the mobile phone can be confirmed based on the parameters of one sensor, or the environmental information of the mobile phone can be confirmed based on the parameters of at least two sensors. For example, to obtain the parameters of the acceleration sensor of the mobile phone to determine the current acceleration of the mobile phone, if the acceleration is 0, the interface confirmation mode or the gesture confirmation mode can be selected. Further, the current environmental information of the mobile phone can also be confirmed according to the sensor parameters and system information. For example, the system information is the current time information of the mobile phone to obtain the parameters of the touch sensor and the light sensor and the system time, and the touch sensor confirms whether the mobile phone is being held. For example, confirm that the mobile phone is held according to the parameters of the touch sensor and confirm according to the parameters of the light sensor The phone is in a bright environment, the system time is 12:00 am, and the preset confirmation method can be determined to be the interface confirmation method or the gesture confirmation method.
一个具体的应用场景中,第一触摸操作的指纹信息为左手食指对应空气净化器,手机黑屏时,接收到用户的第一触摸操作,并确定第一触摸操作中的指纹信息为左手食指的指纹信息,确定第一设备为空气净化器。获取手机中传感器的参数,根据环境光传感器、麦克风和加速度传感器的参数,确定手机处于室外,用户可能在行走,第一触摸操作的确定方式可以为界面确认方式或手势确认方式。In a specific application scenario, the fingerprint information of the first touch operation is the left index finger corresponding to the air purifier. When the mobile phone is black, the user's first touch operation is received and the fingerprint information in the first touch operation is determined to be the fingerprint of the left index finger. Information, it is determined that the first device is an air purifier. Obtain the parameters of the sensors in the mobile phone, and determine that the mobile phone is outdoors and the user may be walking according to the parameters of the ambient light sensor, microphone, and acceleration sensor. The first touch operation can be determined by an interface confirmation method or a gesture confirmation method.
值得一提的是,确定手机当前的环境信息需要获取多个传感器的数据,根据手机当前的环境信息判断可能的用户行为,给出合适的第一触摸操作的确认方式。这种设置有助于简化对第一设备的控制方式,尽可能的方便用户使用,优化了用户体验。It is worth mentioning that determining the current environmental information of the mobile phone requires acquiring data from multiple sensors, judging possible user behaviors based on the current environmental information of the mobile phone, and giving an appropriate confirmation method for the first touch operation. This setting helps simplify the control method of the first device, make it as convenient as possible for users to use, and optimize the user experience.
上述对手机当前的环境的确认方式可以是根据传感器的参数进行判断得到,也可以是根据手机的使用模式确定的,例如,手机处于运动模式,且手机显示黑屏,手机接收到用户的第一触摸操作,根据当前的手机模式选择语音确认方式。The above method of confirming the current environment of the mobile phone can be determined based on the sensor parameters, or determined based on the usage mode of the mobile phone. For example, the mobile phone is in sports mode and the mobile phone displays a black screen, and the mobile phone receives the user's first touch Operation, select the voice confirmation method according to the current mobile phone mode.
具体地说,根据传感器判断手机所处的环境并进一步确定第一触摸操作的确认方式,一些可能的情况如表3中所示。Specifically, according to the sensor to determine the environment of the mobile phone and further determine the confirmation method of the first touch operation, some possible situations are shown in Table 3.
表3:传感器参数与手机环境的对应关系以及第一触摸操作确认方式的对应关系Table 3: Correspondence between sensor parameters and mobile phone environment and the correspondence between the first touch operation confirmation method
具体地说,手机在将第一控制命令发送至第一设备之后,为了方便用户之后对该第一设备的操作,可在手机上显示该第一设备的控制开关或调节开关。一个具体实现为,手机显示第二界面,其中,第二界面包括:一个或多个第一设备的控制开关和/或一个或多个第一设备的调节开关;手机接收用户对第二界面中的控制开关或者调节开关的第二触摸操作;响应于所述第二触摸操作,手机向一个或多个第一设备发送第 二控制命令,其中,第二控制命令用于触发一个或多个第一设备执行第二触摸操作对应的事件。Specifically, after the mobile phone sends the first control command to the first device, in order to facilitate the user's subsequent operations on the first device, the control switch or adjustment switch of the first device may be displayed on the mobile phone. A specific implementation is that the mobile phone displays a second interface, where the second interface includes: one or more control switches of the first device and/or one or more adjustment switches of the first device; In response to the second touch operation, the mobile phone sends a second control command to one or more first devices, where the second control command is used to trigger one or more first devices An event corresponding to a device performing a second touch operation.
需要说明的是,手机上显示第二界面,第二界面中包括第一设备的控制开关,第二界面为适应性界面,则第二界面中的控制开关可根据不同的第一设备显示不同的控制界面,或者,第二界面显示通用的控制界面,则对于任意的第一设备均显示预设设置的控制界面。It should be noted that the second interface is displayed on the mobile phone, the second interface includes the control switch of the first device, and the second interface is an adaptive interface, the control switch in the second interface can display different If the control interface or the second interface displays a general control interface, a preset control interface is displayed for any first device.
可选的,若第二界面为适应性界面,获取第一设备的设备类型,并根据第一设备的设备类型确定第一设备的控制界面,第二界面显示第一设备的控制界面。例如,确定第一设备为空调,则确定空调的控制界面,并在第二界面中显示空调的控制界面。Optionally, if the second interface is an adaptive interface, the device type of the first device is acquired, and the control interface of the first device is determined according to the device type of the first device, and the second interface displays the control interface of the first device. For example, if it is determined that the first device is an air conditioner, the control interface of the air conditioner is determined, and the control interface of the air conditioner is displayed in the second interface.
需要说明的是,上述实施方式中,可预先将多种设备的控制界面存储于手机中,以便手机根据设备类型直接确定对应的控制界面,或者,手机根据设备类型自动生成该设备的控制界面。It should be noted that in the above embodiments, the control interfaces of multiple devices can be stored in the mobile phone in advance, so that the mobile phone directly determines the corresponding control interface according to the device type, or the mobile phone automatically generates the control interface of the device according to the device type.
可选的,若第二界面为通用的控制界面,第二界面中至少包括,增按键、减按键、模式选择按键等,其中,模式选择按键包括第一选择按键和第二选择按键。Optionally, if the second interface is a general control interface, the second interface includes at least an increase button, a decrease button, a mode selection button, etc., wherein the mode selection button includes a first selection button and a second selection button.
需要说明的是,对于不能调节的第一设备,第二界面中仅显示开关控制按键。例如,第一设备为壁灯,但是该壁灯不能调节亮度,则第二界面中仅显示该壁灯的开关按键即可,如图11所示。It should be noted that for the first device that cannot be adjusted, only the switch control buttons are displayed on the second interface. For example, if the first device is a wall lamp, but the wall lamp cannot adjust the brightness, only the switch button of the wall lamp can be displayed in the second interface, as shown in FIG. 11.
一个具体的应用场景中,若第一触摸操作中的指纹信息对应的第一设备为热水器和空调,则第二界面可以同时显示热水和空调的控制界面,如图12所示。热水的显示界面包括热水器当前的水温,开关控制按键和水温调节按键。空调的显示界面包括空调当前的运行温度,空调的开关控制按键和空调的温度调节按键以及空调的模式调节按键等。In a specific application scenario, if the first device corresponding to the fingerprint information in the first touch operation is a water heater and an air conditioner, the second interface can display the control interface of the hot water and the air conditioner at the same time, as shown in FIG. 12. The hot water display interface includes the current water temperature of the water heater, switch control buttons and water temperature adjustment buttons. The display interface of the air conditioner includes the current operating temperature of the air conditioner, the switch control button of the air conditioner, the temperature adjustment button of the air conditioner, and the mode adjustment button of the air conditioner.
例如,上述第二界面的显示如图13所示,可以是“上”、“下”、“左”和“右”的几个箭头,以及第二界面上显示该第一设备的名称。以图13的显示为例,对应不同的第一设备,可以实现不同的控制目的,如下表4将第一设备与第二界面的控制开关对应的关系:For example, the display of the foregoing second interface is shown in FIG. 13, which may be several arrows of "up", "down", "left" and "right", and the name of the first device displayed on the second interface. Taking the display in Figure 13 as an example, different first devices can achieve different control purposes. The following table 4 corresponds to the first device and the control switch of the second interface:
表4:第一设备与操作按键的对应关系表Table 4: Correspondence table of the first device and operation keys
需要说明的是,若图13对应的可以为通用界面,其中,“上”对应“增按键”,“下”对应“减按键”,“左”对应“第一选择按键”,“右”对应“第二选择按键”。上述表4中并不是所有的第一设备都对应四个控制按键,如表中的热水器、灯和地暖对应的只有两个控制按键,具体应用中,对于这三个第一设备可以仅显示两个控制按键。It should be noted that if Figure 13 corresponds to a general interface, "up" corresponds to "increase button", "down" corresponds to "decrease button", "left" corresponds to "first selection button", and "right" corresponds to "Second selection button". Not all the first devices in the above table 4 correspond to four control buttons. For example, there are only two control buttons corresponding to the water heater, light and floor heating in the table. In specific applications, only two control buttons can be displayed for these three first devices. Control buttons.
一个具体的应用场景中,若第一设备为音响,则第二界面的显示如图14a所示,其中,“上”“下”、“左”和“右”分别对应,“音量增”、“音量减”、“上一首”和“下一首”。为了美化显示界面,音响的控制界面可以为图14b所示,包括音量调节开关,播放控制开关等。In a specific application scenario, if the first device is a speaker, the second interface is displayed as shown in Figure 14a, where "up", "down", "left" and "right" correspond to each other, and "volume up", "Volume Down", "Previous Song" and "Next Song". In order to beautify the display interface, the audio control interface can be as shown in Figure 14b, including a volume adjustment switch, a playback control switch, and so on.
具体地说,第二界面中显示第一设备的控制开关或调节开关,另外,第二界面上还可以显示第一设备当前的状态信息,如,第一设备是空调,则第二界面中除了显示空调的开关,温度调节按键等之外,还可以显示空调当前的温度和运行模式等,如图15所示。具体实现过程为,手机向第一设备发送第一控制命令之后,接收第一设备发送的第一控制响应,其中,第一控制响应中携带一个或多个第一设备的状态信息,手机显示一个或多个第一设备的状态信息。Specifically, the control switch or adjustment switch of the first device is displayed on the second interface. In addition, the current status information of the first device can also be displayed on the second interface. For example, if the first device is an air conditioner, in addition to In addition to displaying the air conditioner's switch and temperature adjustment buttons, it can also display the current temperature and operating mode of the air conditioner, as shown in Figure 15. The specific implementation process is that after the mobile phone sends the first control command to the first device, it receives the first control response sent by the first device. The first control response carries one or more status information of the first device, and the mobile phone displays a Or multiple first device status information.
值得一提的是,若是第一设备中包括不止一个的设备,如,第一设备包括空调、窗帘、音响和咖啡机,手机的第二显示界面中难以将四个设备的控制界面全部显示,一个具体实现为,在第一界面中显示竖向的菜单,根据获取到的用户的选择操作显示对应的控制界面,如图16所示,用户选择空调。It is worth mentioning that if the first device includes more than one device, for example, the first device includes air conditioners, curtains, speakers, and coffee machines, it is difficult to display all the control interfaces of the four devices in the second display interface of the mobile phone. A specific implementation is that the vertical menu is displayed in the first interface, and the corresponding control interface is displayed according to the obtained user's selection operation. As shown in FIG. 16, the user selects the air conditioner.
需要说明的是,本实施方式中对各步骤的具体说明仅是为了体现该实施步骤的实现细节,仅是为了本领域的技术人员方便理解本实施方式而提出的技术细节,并非是本实施步骤的必须。另外,本实施方式中各具体实现仅为举例说明,并不对本申请的技术方案构成限定。It should be noted that the specific description of each step in this embodiment is only to reflect the implementation details of the implementation step, and is only for the convenience of those skilled in the art to understand the technical details of this implementation, and is not the implementation step. Must. In addition, each specific implementation in this embodiment is only an example for illustration, and does not limit the technical solution of the present application.
本申请的实施例还提供一种电子设备,该电子设备用于控制至少一个的设备,且具有触摸屏。其模块结构如图17所示,包括输入模块1701、确定模块1702和发送模块1703。The embodiment of the present application also provides an electronic device, which is used to control at least one device and has a touch screen. The module structure is shown in Fig. 17, including an input module 1701, a determination module 1702, and a sending module 1703.
输入模块1701用于,接收用户在触摸屏输入的第一触摸操作,并采集第一触摸操作对应的指纹信息,其中,电子设备处于预设状态时,显示第一界面或者黑屏。The input module 1701 is configured to receive the first touch operation input by the user on the touch screen, and collect fingerprint information corresponding to the first touch operation, wherein, when the electronic device is in a preset state, a first interface or a black screen is displayed.
确定模块1702用于,电子设备从与之连接的至少一个第一设备中、确定指纹信息对应的一个或多个第一设备。The determining module 1702 is configured to determine one or more first devices corresponding to fingerprint information from among at least one first device connected to the electronic device.
发送模块1703用于,电子设备向一个或多个第一设备发送第一控制命令,第一控制命令用于触发一个或多个第一设备执行对应的事件。The sending module 1703 is configured to send a first control command to one or more first devices by the electronic device, and the first control command is used to trigger one or more first devices to execute a corresponding event.
由于本申请中的电子设备是与前述中的设备的控制方法对应的装置,因此本申请实施方式可与前述的方式实施方式相互配合实施。方法实施方式中提到的相关技术细节在本实施方式中依然有效,在方法实施方式中所能达到的技术效果在本实施方式中同样可以实现,为了减少重复,这里不再赘述。Since the electronic device in this application is a device corresponding to the control method of the device described above, the implementation manner of this application can be implemented in cooperation with the foregoing implementation manner. The relevant technical details mentioned in the method implementation are still valid in this embodiment, and the technical effects that can be achieved in the method implementation can also be achieved in this embodiment. In order to reduce repetition, details are not repeated here.
本申请另一些实施例还提供了一种电子设备,该电子设备可以包括:上述触摸屏、存储器和一个或多个处理器。该触摸屏、存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,电子设备可执行上述方法实施例中有关倒计时显示方法的实施步骤。该电子设备的结构 可以参考图1所示的电子设备100的结构。Some other embodiments of the present application also provide an electronic device, which may include the above-mentioned touch screen, a memory, and one or more processors. The touch screen, memory and processor are coupled. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device can execute the steps related to the countdown display method in the foregoing method embodiment. The structure of the electronic device can refer to the structure of the electronic device 100 shown in FIG. 1.
本申请实施例还提供一种芯片系统,如图18所示,该芯片系统包括至少一个处理器1801和至少一个接口电路1802。处理器1801和接口电路1802可通过线路互联。例如,接口电路1802可用于从其它装置(例如电子设备的存储器)接收信号。又例如,接口电路1802可用于向其它装置(例如处理器1801)发送信号。示例性的,接口电路1802可读取存储器中存储的指令,并将该指令发送给处理器1801。当所述指令被处理器1801执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。An embodiment of the present application also provides a chip system. As shown in FIG. 18, the chip system includes at least one processor 1801 and at least one interface circuit 1802. The processor 1801 and the interface circuit 1802 may be interconnected by wires. For example, the interface circuit 1802 can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit 1802 may be used to send signals to other devices (such as the processor 1801). Exemplarily, the interface circuit 1802 can read instructions stored in the memory and send the instructions to the processor 1801. When the instructions are executed by the processor 1801, the electronic device can execute the steps in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
本申请实施例还提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在上述电子设备上运行时,使得该电子设备执行上述方法实施例的各个步骤。The embodiments of the present application also provide a computer storage medium, which includes computer instructions, which when the computer instructions run on the above-mentioned electronic device, cause the electronic device to execute each step of the above-mentioned method embodiment.
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例的各个步骤。The embodiment of the present application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute each step of the foregoing method embodiment.
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by Different functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed to multiple different places. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of software products, which are stored in a storage medium There are several instructions 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 embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任 何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above content is only the specific implementation of this application, but the protection scope of this application is not limited to this, and any changes or substitutions within the technical scope disclosed in this application shall be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.
Claims (18)
- 一种设备的控制方法,应用于电子设备,其特征在于,所述电子设备用于控制至少一个第一设备,所述电子设备包括触摸屏,所述方法包括:A device control method applied to an electronic device, characterized in that the electronic device is used to control at least one first device, the electronic device includes a touch screen, and the method includes:所述电子设备处于预设状态时,接收用户在所述触摸屏输入的第一触摸操作,并采集所述第一触摸操作对应的指纹信息;其中,所述电子设备处于所述预设状态时,显示第一界面或者黑屏;When the electronic device is in the preset state, it receives the first touch operation input by the user on the touch screen, and collects fingerprint information corresponding to the first touch operation; wherein, when the electronic device is in the preset state, Display the first interface or a black screen;所述电子设备从所述至少一个第一设备中、确定所述指纹信息对应的一个或多个所述第一设备;Determining, by the electronic device, one or more first devices corresponding to the fingerprint information from the at least one first device;所述电子设备向所述一个或多个第一设备发送第一控制命令,所述第一控制命令用于触发所述一个或多个第一设备执行对应的事件。The electronic device sends a first control command to the one or more first devices, and the first control command is used to trigger the one or more first devices to execute a corresponding event.
- 根据权利要求1所述的设备的控制方法,其特征在于,在所述电子设备向所述一个或多个第一设备发送第一控制命令之后,所述方法还包括:The device control method according to claim 1, wherein after the electronic device sends the first control command to the one or more first devices, the method further comprises:所述电子设备显示第二界面,其中,所述第二界面包括:所述一个或多个第一设备的控制开关和/或所述一个或多个第一设备的调节开关;The electronic device displays a second interface, where the second interface includes: control switches of the one or more first devices and/or adjustment switches of the one or more first devices;所述电子设备接收用户对所述第二界面中的控制开关或者调节开关的第二触摸操作;Receiving, by the electronic device, a user's second touch operation on the control switch or the adjustment switch in the second interface;响应于所述第二触摸操作,所述电子设备向所述一个或多个第一设备发送第二控制命令,所述第二控制命令用于触发所述一个或多个第一设备执行对应的事件。In response to the second touch operation, the electronic device sends a second control command to the one or more first devices, and the second control command is used to trigger the one or more first devices to execute the corresponding event.
- 根据权利要求1或2所述的设备的控制方法,其特征在于,在所述向所述一个或多个第一设备发送第一控制命令之后,所述方法还包括:The device control method according to claim 1 or 2, characterized in that, after the sending the first control command to the one or more first devices, the method further comprises:所述电子设备接收所述一个或多个第一设备发送的第一控制响应,所述第一控制响应携带所述一个或多个第一设备的状态信息;Receiving, by the electronic device, a first control response sent by the one or more first devices, the first control response carrying status information of the one or more first devices;所述电子设备显示所述一个或多个第一设备的状态信息。The electronic device displays status information of the one or more first devices.
- 根据权利要求1-3中任一项所述的设备的控制方法,其特征在于,在所述电子设备确定所述指纹信息对应的一个或多个第一设备之后,所述电子设备向所述一个或多个第一设备发送第一控制命令之前,所述方法还包括:The device control method according to any one of claims 1-3, wherein after the electronic device determines the one or more first devices corresponding to the fingerprint information, the electronic device reports to the Before the one or more first devices send the first control command, the method further includes:所述电子设备确定所述第一触摸操作是预设触摸操作。The electronic device determines that the first touch operation is a preset touch operation.
- 根据权利要求1-3中任一项所述的设备的控制方法,其特征在于,在所述电子设备确定所述指纹信息对应的一个或多个第一设备之后,所述电子设备向所述一个或多个第一设备发送第一控制命令之前,所述方法还包括:The device control method according to any one of claims 1-3, wherein after the electronic device determines the one or more first devices corresponding to the fingerprint information, the electronic device reports to the Before the one or more first devices send the first control command, the method further includes:所述电子设备通过预设确认方式,确定所述第一触摸操作为所述电子设备对所述一个或多个第一设备发出所述第一控制命令;其中,所述预设确认方式至少包括:语音确认方式和手势确认方式。The electronic device determines through a preset confirmation method that the first touch operation is the electronic device issuing the first control command to the one or more first devices; wherein the preset confirmation method includes at least : Voice confirmation mode and gesture confirmation mode.
- 根据权利要求5所述的设备的控制方法,其特征在于,所述电子设备还包括一个或多个传感器;所述一个或多个传感器至少包括:环境光传感器、加速度传感器、摄像头、距离传感器和麦克风中的一个或多个;The device control method according to claim 5, wherein the electronic device further includes one or more sensors; the one or more sensors at least include: an ambient light sensor, an acceleration sensor, a camera, a distance sensor, and One or more of the microphones;在所述电子设备通过预设确认方式,确定所述第一触摸操作为所述电子设备对所述一个或多个第一设备发出第一控制命令之前,所述方法还包括:Before the electronic device determines that the first touch operation is a first control command issued by the electronic device to the one or more first devices through a preset confirmation method, the method further includes:所述电子设备根据所述一个或多个传感器采集的参数,确定所述预设确认方式。The electronic device determines the preset confirmation mode according to the parameters collected by the one or more sensors.
- 根据权利要求1-6中任一项所述的设备的控制方法,其特征在于,所述指纹信息包括一个或多个手指的指纹特征。The device control method according to any one of claims 1-6, wherein the fingerprint information includes fingerprint characteristics of one or more fingers.
- 一种电子设备,其特征在于,所述电子设备用于控制至少一个第一设备,所述电子设备还包括:输入模块、确定模块和发送模块;An electronic device, characterized in that the electronic device is used to control at least one first device, and the electronic device further includes: an input module, a determination module, and a sending module;所述输入模块用于,所述电子设备处于预设状态时,接收用户在触摸屏输入的第一触摸操作,并采集所述第一触摸操作对应的指纹信息;其中,所述电子设备处于所述预设状态时,显示第一界面或者黑屏;The input module is used to receive the first touch operation input by the user on the touch screen when the electronic device is in the preset state, and collect fingerprint information corresponding to the first touch operation; wherein, the electronic device is in the In the preset state, the first interface or a black screen is displayed;所述确定模块用于,从所述至少一个第一设备中、确定所述指纹信息对应的一个或多个第一设备;The determining module is configured to determine one or more first devices corresponding to the fingerprint information from the at least one first device;所述发送模块用于,向所述一个或多个第一设备发送第一控制命令,所述第一控制命令用于触发所述一个或多个第一设备执行对应的事件。The sending module is configured to send a first control command to the one or more first devices, and the first control command is used to trigger the one or more first devices to execute a corresponding event.
- 根据权利要求8所述的电子设备,其特征在于,所述电子设备还包括:显示模块;The electronic device according to claim 8, wherein the electronic device further comprises: a display module;所述显示模块用于,显示第二界面,其中,所述第二界面包括:所述一个或多个第一设备的控制开关和/或所述一个或多个第一设备的调节开关;The display module is configured to display a second interface, where the second interface includes: control switches of the one or more first devices and/or adjustment switches of the one or more first devices;所述输入模块还用于,接收用户对所述第二界面中的控制开关或者调节开关的第二触摸操作;The input module is further configured to receive a second touch operation of the user on the control switch or the adjustment switch in the second interface;所述发送模块还用于,响应于所述第二触摸操作,向所述一个或多个第一设备发送第二控制命令,所述第二控制命令用于触发所述一个或多个第一设备执行对应的事件。The sending module is further configured to, in response to the second touch operation, send a second control command to the one or more first devices, and the second control command is used to trigger the one or more first devices. The device executes the corresponding event.
- 根据权利要求8或9所述的电子设备,其特征在于,The electronic device according to claim 8 or 9, wherein:所述输入模块还用于,接收所述一个或多个第一设备发送的第一控制响应,所述第一控制响应携带所述一个或多个第一设备的状态信息;The input module is further configured to receive a first control response sent by the one or more first devices, where the first control response carries status information of the one or more first devices;所述显示模块还用于,显示所述一个或多个第一设备的状态信息。The display module is also used to display status information of the one or more first devices.
- 根据权利要求8-10中任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 8-10, wherein:所述确定模块还用于,确定所述第一触摸操作是预设触摸操作。The determining module is further configured to determine that the first touch operation is a preset touch operation.
- 根据权利要求8-10中任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 8-10, wherein:所述确定模块还用于,通过预设确认方式,确定所述第一触摸操作为所述电子设备对所述一个或多个第一设备发出所述第一控制命令;其中,所述预设确认方式至少包括:语音确认方式和手势确认方式。The determining module is further configured to determine, through a preset confirmation manner, that the first touch operation is the electronic device issuing the first control command to the one or more first devices; wherein, the preset The confirmation methods include at least: voice confirmation and gesture confirmation.
- 根据权利要求12所述的电子设备,其特征在于,所述电子设备还包括一个或多个传感器;所述一个或多个传感器至少包括:环境光传感器、加速度传感器、摄像头、距离传感器和麦克风中的一个或多个;The electronic device according to claim 12, wherein the electronic device further comprises one or more sensors; the one or more sensors at least include: an ambient light sensor, an acceleration sensor, a camera, a distance sensor, and a microphone. One or more of所述确定模块还用于,根据所述一个或多个传感器采集的参数,确定所述预设确认方式。The determining module is further configured to determine the preset confirmation mode according to the parameters collected by the one or more sensors.
- 根据权利要求8-13中任一项所述的电子设备,其特征在于,所述指纹信息包括一个或多个手指的指纹特征。The electronic device according to any one of claims 8-13, wherein the fingerprint information includes fingerprint characteristics of one or more fingers.
- 一种电子设备,其特征在于,所述电子设备包括触摸屏、存储器和至少一个的处理器;所述触摸屏、所述存储器和所述处理器耦合;所述存储器用于存储计算机 程序代码,所述计算机程序代码包括计算机指令,当所述处理器执行所述计算机指令时,使所述电子设备执行如权利要求1-7任一项所述的方法。An electronic device, characterized in that the electronic device includes a touch screen, a memory, and at least one processor; the touch screen, the memory and the processor are coupled; the memory is used to store computer program codes, the The computer program code includes computer instructions, which when the processor executes the computer instructions, cause the electronic device to execute the method according to any one of claims 1-7.
- 一种芯片系统,其特征在于,所述芯片系统应用于包括触摸屏的电子设备;所述芯片系统包括一个或多个接口电路和一个或多个处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述电子设备执行如权利要求1-7中任一项所述的方法。A chip system, characterized in that the chip system is applied to an electronic device including a touch screen; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor pass through Line interconnection; the interface circuit is used to receive a signal from the memory of the electronic device, and send the signal to the processor, the signal includes the computer instructions stored in the memory; when the processor executes all When the computer instruction is used, the electronic device executes the method according to any one of claims 1-7.
- 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-7任一项所述的方法。A computer storage medium, characterized by comprising computer instructions, which when the computer instructions run on an electronic device, causes the electronic device to execute the method according to any one of claims 1-7.
- 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-7任一项所述的方法。A computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1-7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910677017.3A CN110519444A (en) | 2019-07-25 | 2019-07-25 | A kind of control method and electronic equipment of equipment |
CN201910677017.3 | 2019-07-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021013136A1 true WO2021013136A1 (en) | 2021-01-28 |
Family
ID=68623530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/103129 WO2021013136A1 (en) | 2019-07-25 | 2020-07-20 | Apparatus control method, and electronic apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110519444A (en) |
WO (1) | WO2021013136A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442474A (en) * | 2021-06-02 | 2022-12-06 | 华为技术有限公司 | Information protection method and electronic equipment |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110519444A (en) * | 2019-07-25 | 2019-11-29 | 华为技术有限公司 | A kind of control method and electronic equipment of equipment |
CN114268617B (en) * | 2020-09-15 | 2023-09-01 | 华为技术有限公司 | Electronic equipment and positioning control method and medium thereof |
CN112333504B (en) * | 2020-10-26 | 2023-03-10 | 深圳Tcl数字技术有限公司 | Intelligent device control method, remote control device and readable storage medium |
CN115904057A (en) * | 2021-08-17 | 2023-04-04 | 华为技术有限公司 | Equipment control method and electronic equipment |
CN118444826A (en) * | 2023-09-20 | 2024-08-06 | 荣耀终端有限公司 | Equipment interaction method, electronic equipment and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120129496A1 (en) * | 2010-11-23 | 2012-05-24 | Jonghoon Park | Content control apparatus and method thereof |
CN103631733A (en) * | 2012-08-21 | 2014-03-12 | 联想(北京)有限公司 | Control method and device |
CN104574932A (en) * | 2015-01-07 | 2015-04-29 | 广东欧珀移动通信有限公司 | Intelligent-terminal-based remote control method and device and intelligent terminal |
CN106331353A (en) * | 2016-08-26 | 2017-01-11 | 广东欧珀移动通信有限公司 | Mobile terminal-based remote control method and device, and mobile terminal |
CN106611493A (en) * | 2017-02-06 | 2017-05-03 | 邯郸美的制冷设备有限公司 | Intelligent device control method, intelligent device control system and terminal |
CN107395889A (en) * | 2017-07-28 | 2017-11-24 | 广东欧珀移动通信有限公司 | Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption |
CN109166580A (en) * | 2018-09-17 | 2019-01-08 | 珠海格力电器股份有限公司 | Voice feedback prompt control method and system and air conditioner |
CN110519444A (en) * | 2019-07-25 | 2019-11-29 | 华为技术有限公司 | A kind of control method and electronic equipment of equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9420464B2 (en) * | 2014-12-15 | 2016-08-16 | Intel Corporation | Technologies for controlling network access based on electronic device communication fingerprints |
CN106527160B (en) * | 2016-09-28 | 2020-03-03 | 北京小米移动软件有限公司 | Equipment control method and device |
-
2019
- 2019-07-25 CN CN201910677017.3A patent/CN110519444A/en active Pending
-
2020
- 2020-07-20 WO PCT/CN2020/103129 patent/WO2021013136A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120129496A1 (en) * | 2010-11-23 | 2012-05-24 | Jonghoon Park | Content control apparatus and method thereof |
CN103631733A (en) * | 2012-08-21 | 2014-03-12 | 联想(北京)有限公司 | Control method and device |
CN104574932A (en) * | 2015-01-07 | 2015-04-29 | 广东欧珀移动通信有限公司 | Intelligent-terminal-based remote control method and device and intelligent terminal |
CN106331353A (en) * | 2016-08-26 | 2017-01-11 | 广东欧珀移动通信有限公司 | Mobile terminal-based remote control method and device, and mobile terminal |
CN106611493A (en) * | 2017-02-06 | 2017-05-03 | 邯郸美的制冷设备有限公司 | Intelligent device control method, intelligent device control system and terminal |
CN107395889A (en) * | 2017-07-28 | 2017-11-24 | 广东欧珀移动通信有限公司 | Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption |
CN109166580A (en) * | 2018-09-17 | 2019-01-08 | 珠海格力电器股份有限公司 | Voice feedback prompt control method and system and air conditioner |
CN110519444A (en) * | 2019-07-25 | 2019-11-29 | 华为技术有限公司 | A kind of control method and electronic equipment of equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115442474A (en) * | 2021-06-02 | 2022-12-06 | 华为技术有限公司 | Information protection method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110519444A (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112351322B (en) | Terminal device, method and system for realizing touch screen projection through remote controller | |
WO2021013136A1 (en) | Apparatus control method, and electronic apparatus | |
CN110244893B (en) | Operation method for split screen display and electronic equipment | |
CN111650840B (en) | Intelligent household scene arranging method and terminal | |
EP3570527B1 (en) | Synchronization of configuration setting values between two electronic devices | |
EP4024168A1 (en) | Hand gesture interaction method and apparatus, and terminal device | |
WO2021238230A1 (en) | Smart home system and control method and device thereof | |
WO2021052344A1 (en) | Parameter adjustment method and electronic device | |
WO2021082564A1 (en) | Operation prompt method and electronic device | |
WO2021004527A1 (en) | Countdown display method and electronic device | |
JP2022548910A (en) | Short-range communication method and electronic device | |
CN114115770B (en) | Display control method and related device | |
WO2021037146A1 (en) | File sharing method and device for mobile terminal | |
WO2020019355A1 (en) | Touch control method for wearable device, and wearable device and system | |
EP3883299A1 (en) | Method for smart home appliance to access network and related device | |
CN115701032B (en) | Device control method, electronic device and storage medium | |
CN111492678B (en) | A file transmission method and electronic device | |
WO2020221062A1 (en) | Navigation operation method and electronic device | |
CN113572798B (en) | Device control method, system, device, and storage medium | |
WO2023071497A1 (en) | Photographing parameter adjusting method, electronic device, and storage medium | |
CN117319369A (en) | File delivery method, electronic device and storage medium | |
CN114079809A (en) | Terminal and input method and device thereof | |
CN113867520A (en) | Device control method, electronic device, and computer-readable storage medium | |
CN117130515B (en) | Method and device for creating a quick entry | |
EP4440132A1 (en) | Camera function control method, electronic device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20843726 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20843726 Country of ref document: EP Kind code of ref document: A1 |