Equipment control method and device, digital signal processor and electronic equipment

By integrating Bluetooth modules in the digital signal processor, the Bluetooth connection between the fingerprint module and the terminal device is realized, which solves the problem that the fingerprint module cannot be connected to the terminal device in the prior art, reduces communication costs and improves design compactness and power consumption efficiency.

CN119854965AActive Publication Date: 2025-04-18BYD SEMICON CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411139724.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2025-04-18
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

The existing fingerprint module is connected to the main control chip through a wired connection, and cannot establish a connection with the terminal device, resulting in an increase in communication costs.

Method used

The Bluetooth module is integrated in the digital signal processor, and the wake-up signal is obtained through the Bluetooth connection, and the digital signal processor is controlled to exit from the sleep state, and a Bluetooth connection is established with an external terminal device to obtain the control signal in response to the target function module.

Benefits of technology

No additional Bluetooth chips are required, reducing the communication costs between electronic devices and terminal devices, achieving a compact design and low power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854965A_ABST
    Figure CN119854965A_ABST
Patent Text Reader

Abstract

The invention relates to an equipment control method and device, a digital signal processor and electronic equipment, and the method comprises the steps: obtaining a wake-up signal, and controlling the digital signal processor to exit from a dormant state; bluetooth connection with external terminal equipment is established through a Bluetooth module in the digital signal processor; and acquiring a control signal through the Bluetooth connection, and controlling the digital signal processor or a target function module in the electronic equipment to respond based on the control signal. According to the technical scheme, the Bluetooth function is integrated in the digital signal processor of the electronic equipment, the communication connection between the electronic equipment and the terminal equipment is realized through the Bluetooth function of the digital signal processor, and an additional Bluetooth chip does not need to be added, so that the communication cost between the electronic equipment and the terminal equipment can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a device control method, apparatus, digital signal processor and electronic equipment. Background Art

[0002] Fingerprint recognition technology is widely used in various scenarios. The fingerprint module is a specific implementation of fingerprint recognition technology. The fingerprint module mainly includes a fingerprint algorithm digital signal processor (DSP) and a fingerprint sensor. The DSP is mainly used to process fingerprint images, perform fingerprint comparison, and send the comparison results to the main control chip.

[0003] At present, fingerprint modules on the market are mainly connected to the main control chip through wired connection, but the wired fingerprint module cannot establish a connection with the terminal device. In order to solve this problem, the prior art adds a Bluetooth chip module to the fingerprint module to achieve the communication connection between the fingerprint module and the terminal device. However, the structure of the fingerprint module becomes complicated after adding the Bluetooth chip module, and the cost increases. Summary of the invention

[0004] The embodiments of the present application provide a device control method, apparatus, digital signal processor and electronic device, which can reduce the communication cost between the electronic device and the terminal device, so as to at least partially solve the above-mentioned technical problems.

[0005] In order to achieve the above object, according to a first aspect of the present application, a device control method is provided, comprising:

[0006] Acquire a wake-up signal to control the digital signal processor to exit from a sleep state;

[0007] Establishing a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor;

[0008] A control signal is acquired through the Bluetooth connection, and the digital signal processor or a target functional module in the electronic device is controlled to respond based on the control signal.

[0009] Optionally, the acquiring of the wake-up signal and controlling the digital signal processor to exit from a sleep state includes:

[0010] Receiving a wake-up signal sent by a control chip of an electronic device, and controlling the digital signal processor to exit from a sleep state;

[0011] Alternatively, receiving a wake-up signal sent by a target sensor of the electronic device, and controlling the digital signal processor to exit from a sleep state;

[0012] Alternatively, when the digital signal processor is in a dormant state, a broadcast signal is sent through a Bluetooth module of the digital signal processor;

[0013] The scanning request sent by the terminal device is received through the Bluetooth module, and the digital signal processor is controlled to exit from the sleep state, wherein the scanning request is a wake-up signal.

[0014] Optionally, the target functional module includes a control chip and a target sensor, and in a scenario where the digital signal processor is controlled to exit from a sleep state based on the scanning request, obtaining a control signal through the Bluetooth connection, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the control signal include:

[0015] If the Bluetooth connection is successfully established, generating a first control signal;

[0016] A first control signal is sent to a control chip and a target sensor of the electronic device to trigger the control chip and the target sensor to exit from a sleep state.

[0017] Optionally, acquiring a control signal through the Bluetooth connection, and controlling the digital signal processor or a target functional module in the electronic device to respond based on the control signal, includes:

[0018] Acquiring a second control signal sent by the terminal device through the Bluetooth connection;

[0019] A device mechanical operation instruction is sent to the control chip based on the second control signal to control the electronic device to perform a mechanical operation corresponding to the device mechanical operation instruction.

[0020] Optionally, after controlling the digital signal processor to exit from the sleep state, the method further includes:

[0021] Obtaining biometric information collected by a target sensor of an electronic device;

[0022] Performing biometric identification based on the biometric information and the target biometric template to obtain an identification result;

[0023] The acquiring of the control signal through the Bluetooth connection, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the control signal, includes:

[0024] Sending the recognition result to the terminal device through the Bluetooth connection, and receiving a third control signal fed back by the terminal device based on the recognition result;

[0025] The target functional module in the digital signal processor or the electronic device is controlled to respond based on the third control signal.

[0026] Optionally, before obtaining the identification result by performing biometric identification based on the biometric information and the target biometric template, the method further includes:

[0027] The target biometric template is obtained from the terminal device through the Bluetooth connection.

[0028] Optionally, performing biometric identification based on the biometric information and a target biometric template to obtain an identification result includes:

[0029] Biometric identification is performed based on the biometric information and the target biometric template stored in the digital signal processor to obtain an identification result.

[0030] Optionally, the third control signal includes a signal instructing the electronic device to perform a mechanical operation, and controlling the digital signal processor or a target functional module in the electronic device to respond based on the third control signal includes:

[0031] A mechanical operation instruction is generated based on the third control signal, and the mechanical operation instruction is sent to the control chip, so that the control chip controls the electronic device to perform the mechanical operation corresponding to the mechanical operation instruction.

[0032] Optionally, the third control signal includes a signal indicating deletion of a biometric template, and the step of controlling the digital signal processor or a target functional module in the electronic device to respond based on the third control signal includes:

[0033] If the recognition result is successful recognition, determining the target biometric template as a template to be deleted based on the third control signal;

[0034] The target biometric template is deleted from the digital signal processor.

[0035] According to a second aspect of the present application, there is provided a device control apparatus, comprising:

[0036] A signal acquisition unit, used to acquire a wake-up signal and control the digital signal processor to exit from a sleep state;

[0037] A connection unit, used to establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor;

[0038] A control unit is used to obtain a control signal through the Bluetooth connection, and control the digital signal processor or a target functional module in the electronic device to respond based on the control signal.

[0039] According to the third aspect of the present application, a digital signal processor is also provided, in which a Bluetooth module is integrated. A computer program is also stored in the digital signal processor, and the computer program is used to enable the digital signal processor to execute the steps of the above device control method.

[0040] According to a fourth aspect of the present application, a biometric feature recognition module is also provided, comprising a target sensor for detecting biometric feature information and the digital signal processor as above.

[0041] According to a fifth aspect of the present application, an electronic device is also provided, comprising a main control chip and the above biometric feature recognition module.

[0042] The device control method of the embodiment of the present application controls the digital signal processor to exit the sleep state by acquiring a wake-up signal; establishes a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; acquires a control signal through the Bluetooth connection, and controls the digital signal processor or the target functional module in the electronic device to respond based on the control signal. The above technical solution integrates the Bluetooth function in the digital signal processor of the electronic device, and realizes the communication connection between the electronic device and the terminal device through the Bluetooth function of the digital signal processor, without adding an additional Bluetooth chip, thereby reducing the communication cost between the electronic device and the terminal device.

[0043] Other features and advantages of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0045] In order to more completely understand the present application and its beneficial effects, the following description will be given in conjunction with the accompanying drawings, wherein the same figure numbers represent the same parts in the following description.

[0046] Figure 1 A schematic diagram of an application scenario of a device control method provided in an exemplary embodiment of the present disclosure;

[0047] Figure 2 A schematic diagram of a device control system architecture provided in an exemplary embodiment of the present disclosure;

[0048] Figure 3A schematic flow chart of a device control method provided in an exemplary embodiment of the present disclosure;

[0049] Figure 4 A flowchart of another device control method provided in an exemplary embodiment of the present disclosure;

[0050] Figure 5 A flowchart of another device control method provided in an exemplary embodiment of the present disclosure;

[0051] Figure 6 A flowchart of another device control method provided in an exemplary embodiment of the present disclosure;

[0052] Figure 7 It is a structural block diagram of a device control apparatus provided in an exemplary embodiment of the present disclosure;

[0053] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0055] Based on the above problems, the embodiments of the present application provide a device control method, apparatus, digital signal processor and electronic device. Specifically, the device control method of the embodiments of the present application can be executed by an electronic device or a cloud server. Among them, the cloud server can be an independent physical cloud server, or a cloud server cluster or distributed system composed of multiple physical cloud servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0056] For example, see Figure 1 , Figure 1 The following is a schematic diagram of an application scenario of a device control method provided in an exemplary embodiment of the present disclosure, wherein the electronic device may include a main control chip module, a fingerprint module, a power module, and a motor drive module, and the electronic device may communicate with the terminal device through the fingerprint module.

[0057] Among them, the main control chip module is used to control the operation of the electronic device, is responsible for coordinating the work of various hardware devices and processors, and realizes the control and management of the electronic device; the fingerprint module may include a fingerprint sensor and a fingerprint algorithm DSP with integrated Bluetooth function, which can be used to collect the user's fingerprint information, process fingerprint information, store fingerprint information, fingerprint identification and comparison, and establish a Bluetooth connection with the terminal device and obtain Bluetooth permissions from the terminal device; the power module is used to power the electronic device; the motor drive module can be used to convert the electrical signal from the controller (for example, the main control chip module) into a current or voltage signal that the motor can recognize, thereby driving the motor to rotate.

[0058] In the embodiment of the present application, the fingerprint sensor can be used to detect the touch signal. When the fingerprint sensor detects the touch signal, the fingerprint sensor sends an interrupt signal to the fingerprint algorithm DSP and the main control chip; the fingerprint algorithm DSP with Bluetooth function can be used to calculate the fingerprint comparison result after receiving the interrupt signal, and send the comparison result to the main control chip. And after power-on, Bluetooth broadcasting is continuously performed, and the external terminal device can scan and receive successfully, and establish a Bluetooth communication connection, thereby realizing the required operation. Support Bluetooth standard protocols such as BLE (Bluetooth Low Energy) to achieve low-power data transmission.

[0059] Among them, the terminal device can be used to perform operations such as fingerprint entry and fingerprint deletion of the fingerprint module. The number of fingerprints in the fingerprint module and the fingerprint comparison results can be displayed and viewed through the terminal device.

[0060] For example, the electronic device may be a smart fingerprint lock, which is a smart lock that uses the fingerprint of a human finger as an identification carrier and means. The smart fingerprint lock includes a main control chip module, a fingerprint module, a power module, and a motor drive module. The smart fingerprint lock can establish a connection with the terminal device through the Bluetooth function of the fingerprint module for data transmission.

[0061] Among them, the fingerprint module is compatible with multiple device platforms, such as smartphones, tablets, personal computers, etc., providing a flexible remote operation experience.

[0062] In traditional fingerprint modules with Bluetooth, the Bluetooth module is added to the main control chip. The Bluetooth module interacts with the main control chip for data, and the processing of Bluetooth data is also completed on the main control chip. In actual applications, in order to control the cost of the entire module, the main control chip uses relatively low-cost chips, and the corresponding main control chip has relatively low computing power. However, because the fingerprint algorithm DSP needs to process a large amount of data calculations, it uses chips with high computing power. The module Bluetooth module of this application is integrated in the fingerprint algorithm DSP, and the Bluetooth data is directly processed on the fingerprint algorithm DSP. The processing speed is much higher than the processing speed on the main control chip, so that various Bluetooth instruction operations can be smoother, improving the user experience.

[0063] For further information, see Figure 2 , Figure 2 The figure is a schematic diagram of a device control system architecture provided in an exemplary embodiment of the present disclosure. The control circuit of the fingerprint module may include a fingerprint algorithm DSP and a fingerprint sensor. The fingerprint module may be connected to the main control chip through an interface, wherein the interface may include 6 wires, namely, a fingerprint sensor power line V-sensor, an interrupt request signal IRQ (Interrupt Request) that the fingerprint algorithm DSP and the main control chip can wake up each other, a GND ground line, an interrupt signal INT line, and serial communication lines UART-TX and UART-RX.

[0064] IRQ is a mechanism in computer systems for processing interrupt signals sent by external devices or internal programs to the CPU (Central Processing Unit). Interrupts allow the CPU to pause the execution of the current program while executing the current task to handle an emergency (such as a request from an external device, an internal timer timeout, etc.), and then return to the original program to continue execution after the processing is completed.

[0065] Among them, UARTA-RX: (the receiving end of the universal asynchronous receiver transmitter A) is an important part of the UART (Universal Asynchronous Receiver / Transmitter) communication interface, which is responsible for receiving serial data and converting it into parallel data for further processing in the digital system; UARTA-TX, the transmitting end (Transmitter) of UART, is an important part of the UART communication protocol. In UART communication, the TX end is responsible for converting parallel data into serial data and sending it out.

[0066] Among them, the SPI (Serial Peripheral Interface) port, that is, the serial peripheral interface, is a high-speed, full-duplex, synchronous communication bus, mainly used for short-distance communication between embedded systems and microcontrollers and peripheral devices. The SPI communication protocol consists of four lines, and the standard configuration usually includes: SCLK (Serial Clock): also known as CLK (Clock), this is a clock signal generated by the master device (usually MCU) and used to synchronize data transmission between the master device and the slave device; MOSI (Master Out Slave In): This is the serial data line from the master device to the slave device, and the master device sends data to the slave device through this line; MISO (Master In Slave Out): This is the serial data line from the slave device to the master device. The slave device sends data to the master device through this line; CS (Chip Select) is a control signal used to select which slave device communicates with the master device. On an SPI bus with multiple slave devices, each slave device has an independent CS signal. When the master device wants to communicate with a specific slave device, it pulls the CS signal of that slave device low (or active), while the CS signals of other slave devices remain high (or inactive).

[0067] In the embodiment of the present application, the fingerprint module mainly includes a fingerprint sensor and a fingerprint algorithm DSP with Bluetooth function. The fingerprint sensor is mainly used to detect the user's finger touch and collect the user's fingerprint image; the fingerprint algorithm DSP with Bluetooth function is used to process the received fingerprint image, extract fingerprint features, and compare with the pre-stored fingerprint features. The Bluetooth module integrated in the DSP is used to realize wireless communication with external devices (such as mobile phones, computers, etc.).

[0068] Above Figure 2 The example is only an example of a system architecture for implementing the embodiment of the present invention. The embodiment of the present invention is not limited to the above Figure 2 The system architecture shown is based on which various embodiments of the present invention are proposed.

[0069] For example, the device control method provided in the exemplary embodiment of the present disclosure can be applied to a digital signal processor in an electronic device, which can obtain a wake-up signal and control the digital signal processor to exit from a sleep state; establish a Bluetooth connection with an external terminal device through a Bluetooth module in the digital signal processor; obtain a control signal through the Bluetooth connection, and control the digital signal processor or a target functional module in the electronic device to respond based on the control signal.

[0070] The fingerprint module in the embodiment of the present application integrates the Bluetooth communication function on the existing DSP, and no external Bluetooth module is required, thereby achieving a more compact design and lower power consumption. Moreover, since Bluetooth is integrated on the fingerprint algorithm DSP, the algorithm DSP directly interacts with the mobile terminal device via Bluetooth without going through the main control chip, and can more directly and conveniently control various operations of the fingerprint module, and the application method is also more flexible. Moreover, because the Bluetooth module is integrated in the fingerprint algorithm DSP, the Bluetooth data is also processed in the fingerprint algorithm DSP, which reduces the requirements for the main control chip, and the main control chip can choose a lower-cost chip, which can further reduce the cost of the entire module.

[0071] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0072] An embodiment of the present application provides a device control method, which can be executed by an electronic device. The embodiment of the present application is described by taking the device control method executed by an electronic device as an example.

[0073] See also Figure 3 , Figure 3 This is a flow chart of a device control method provided in an exemplary embodiment of the present disclosure. The specific flow of the device control method may be as follows:

[0074] 101. Obtain a wake-up signal and control the digital signal processor to exit from a sleep state.

[0075] In the embodiment of the present application, a main control chip and a biometric identification module are integrated in the electronic device, and the biometric identification module includes a target sensor and a digital signal processor. The main control chip can be used to control the operation of the electronic device; the biometric identification module can be used to detect biometrics, collect biometric information, and process biometric information. Specifically, the target sensor in the biometric identification module can be used for biometric detection and collection of biometric information; the digital signal processor can process biometric information, such as identifying biometric information, etc., and establish a Bluetooth connection with the terminal device for communication, etc.

[0076] For example, the biometric recognition module may be a fingerprint module, and the target sensor may be a fingerprint sensor for detecting the touch of a user's finger and collecting the user's fingerprint information; the digital signal processor may be used to perform processing such as identification on the collected fingerprint information.

[0077] The wake-up signal is a signal used to activate or wake up a device or system in a dormant, standby or off state. In an embodiment of the present application, the wake-up signal can be used to wake up a digital signal processor in a dormant state.

[0078] In some embodiments, in order to meet different wake-up requirements for the digital signal processor, the step of "obtaining a wake-up signal and controlling the digital signal processor to exit from a sleep state" may include the following operations:

[0079] Receive a wake-up signal sent by a control chip of an electronic device, and control a digital signal processor to exit a sleep state;

[0080] Alternatively, receiving a wake-up signal sent by a target sensor of the electronic device, and controlling the digital signal processor to exit from a sleep state;

[0081] Alternatively, when the digital signal processor is in a dormant state, a broadcast signal is sent through a Bluetooth module of the digital signal processor;

[0082] The scanning request sent by the terminal device is received through the Bluetooth module, and the digital signal processor is controlled to exit from the sleep state, wherein the scanning request is a wake-up signal.

[0083] Among them, the control chip, also known as the main control chip, is used to control the operation of electronic equipment, is responsible for coordinating the work of various hardware devices and processors, and realizes the control and management of electronic equipment.

[0084] In an embodiment of the present application, controlling the digital signal processor to exit from a sleep state through a wake-up signal may include multiple ways, including: receiving a wake-up signal sent by a control chip of an electronic device, receiving a wake-up signal sent by a target sensor of an electronic device, and receiving a wake-up signal sent by a terminal device through a Bluetooth module in the digital signal processor.

[0085] The wake-up signal sent by the control chip of the electronic device may include: after receiving the wake-up instruction of the digital signal processor, the control chip sends the wake-up signal to control the digital signal processor to exit the sleep state.

[0086] The wake-up signal sent by the target sensor of the electronic device may include: when the target sensor detects a biological feature, sending a wake-up signal to control the digital signal processor to exit a sleep state.

[0087] For example, the target sensor may be a fingerprint sensor. When the fingerprint sensor receives a finger touch signal, it may send a wake-up signal to the digital signal processor. After receiving the wake-up signal, the digital signal processor may exit the sleep state.

[0088] Among them, the Bluetooth module receives a scanning request sent by the terminal device, which may include: the terminal device starts Bluetooth scanning, and after the terminal device approaches the electronic device, after searching for the broadcast signal of the Bluetooth module in the digital signal processor, it can send a scanning request to the Bluetooth module, so that a wake-up signal can be generated according to the scanning request to control the digital signal processor to exit the sleep state.

[0089] Among them, Bluetooth scanning allows the device to search and identify the broadcast signals of other Bluetooth devices within a certain range.

[0090] 102. Establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor.

[0091] After receiving the scan request sent by the terminal device, the Bluetooth module can respond to the scan request, pair with the terminal device, and establish a Bluetooth connection.

[0092] For example, an external terminal device turns on the Bluetooth function and scans the surrounding Bluetooth devices. After detecting the Bluetooth module in the digital signal processor, the user can manually trigger the sending of a pairing scan request to the Bluetooth module. In order to ensure the security of the Bluetooth connection, the terminal device and the Bluetooth module of the digital signal processor usually need to be paired when they are first connected. During the pairing process, encryption keys are exchanged between the terminal device and the Bluetooth module to ensure the security of data transmission. After the pairing is successful, the terminal device and the Bluetooth module can trust each other and establish a Bluetooth connection. During the Bluetooth connection between the terminal device and the Bluetooth module, data can be transmitted between the terminal device and the Bluetooth module.

[0093] 103. Acquire a control signal through a Bluetooth connection, and control a target functional module in a digital signal processor or an electronic device to respond based on the control signal.

[0094] Among them, the control signal is a signal widely used in control systems to guide and adjust the behavior of the system. It can be an electrical signal, digital signal or other form of information used to manipulate the input or output of the system to achieve the desired control goal.

[0095] In some embodiments, the target functional module may include a control chip and a target sensor. In a scenario where a digital signal processor is controlled to exit a sleep state based on a scan request, the step of "obtaining a control signal through a Bluetooth connection, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the control signal" may include the following operations:

[0096] If the Bluetooth connection is successfully established, a first control signal is generated;

[0097] A first control signal is sent to a control chip and a target sensor of the electronic device to trigger the control chip and the target sensor to exit from a sleep state.

[0098] The successful establishment of the Bluetooth connection refers to a successful Bluetooth connection between the external terminal device and the Bluetooth module in the digital signal processor.

[0099] The first control signal is used to trigger the control chip and the target sensor to exit the sleep state. For example, the first control signal may be an interrupt signal.

[0100] For example, when the terminal device successfully establishes a Bluetooth connection with the Bluetooth module, the digital signal processor can generate a first control signal, and then send the first control signal to the control chip and the target sensor, so that the control chip and the target sensor exit the sleep state based on the first control signal.

[0101] In some embodiments, if the Bluetooth connection between the external terminal device and the Bluetooth module in the digital signal processor fails, the control chip and the target sensor do not need to be woken up. For example, if the Bluetooth connection fails, the digital signal processor can generate a new control signal, which can be a sleep signal, which can be used to trigger the control chip and the target sensor to re-enter the sleep state, and can record the abnormal information of the failure to connect the terminal device to the Bluetooth module, so as to subsequently analyze the cause of the Bluetooth connection failure and handle it.

[0102] In some embodiments, in order to implement multiple control methods for electronic devices, the step of "obtaining a control signal through a Bluetooth connection, and controlling a digital signal processor or a target functional module in the electronic device to respond based on the control signal" may include the following operations:

[0103] Acquire a second control signal sent by the terminal device through a Bluetooth connection;

[0104] Based on the second control signal, a device mechanical operation instruction is sent to the control chip to control the electronic device to perform the mechanical operation corresponding to the device mechanical operation instruction.

[0105] Among them, the second control signal can be used to control the electronic device to perform mechanical operations. For example, the electronic device can be a smart fingerprint lock, and the second control signal may include: an unlocking signal, a locking signal, etc., among which the unlocking signal can be used to control the smart fingerprint lock to perform an unlocking operation; the locking signal can be used to control the smart fingerprint lock to perform a locking operation, etc.

[0106] In an embodiment of the present application, after the terminal device successfully establishes a Bluetooth connection with the Bluetooth module in the digital signal processor of the electronic device, the user can send a second control signal to the digital signal processor through the terminal device. Then, after receiving the second control signal, the digital signal processor can send a device mechanical operation instruction to the control chip, thereby controlling the electronic device to perform the mechanical operation corresponding to the device mechanical operation instruction.

[0107] In some embodiments, in order to facilitate the management of data in the electronic device, after controlling the digital signal processor to exit from the sleep state, the method may further include the following steps:

[0108] Obtaining biometric information collected by a target sensor of an electronic device;

[0109] Biometric identification is performed based on the biometric information and the target biometric template to obtain an identification result.

[0110] Biometric information, also known as biometric identification information or biometric data, refers to personal data that can uniquely identify a natural person through specific technical processing of the natural person's physical, physiological or behavioral characteristics. These characteristics include but are not limited to fingerprints, facial images, irises, voiceprints and other physiological characteristics.

[0111] The biometric information collected by the target sensor refers to the biometric information collected after the target sensor detects the biometric after the digital signal processor is controlled to exit from the sleep state.

[0112] The target biometric template refers to the biometric information pre-stored in the electronic device.

[0113] In some embodiments, biometric identification based on biometric information and a target biometric template may include: comparing the biometric information with the target biometric template. If the biometric information is the same as the target biometric template, it can be determined that the biometric information belongs to the target biometric template, and the identification result may be: successful identification; if the biometric information is not the same as the target biometric template, it can be determined that the biometric information does not belong to the target biometric template, and the identification result may be: failed identification.

[0114] In some embodiments, the electronic device may be a smart fingerprint lock. When the smart lock is in standby mode, the fingerprint algorithm DSP and the main control chip are both in a low-power sleep state, and the fingerprint sensor is usually in a low-power finger touch detection state. When a user's finger is detected touching the fingerprint sensor, the fingerprint sensor sends an interrupt signal to the fingerprint algorithm DSP with Bluetooth function and the main control chip, and wakes up the main control chip and the fingerprint algorithm DSP at the same time. The fingerprint algorithm DSP with Bluetooth function can wait for the main control chip to send a command and then collect fingerprint images from the fingerprint sensor through the SPI interface, and then process the fingerprint image, compare it with the existing fingerprint template, and then send the comparison result to the main control chip.

[0115] In some embodiments, in order to facilitate the management of data of the electronic device, the step of "obtaining a control signal through a Bluetooth connection, and controlling a digital signal processor or a target functional module in the electronic device to respond based on the control signal" may include the following operations:

[0116] Sending the identification result to the terminal device via the Bluetooth connection, and receiving a third control signal fed back by the terminal device based on the identification result;

[0117] The target functional module in the digital signal processor or the electronic device is controlled to respond based on the third control signal.

[0118] Among them, after biometric identification is performed based on biometric information and target biometric template and an identification result is obtained, the identification result can be sent to the terminal device through a Bluetooth connection with the terminal device, so that the terminal can perform subsequent operations based on the identification result. For example, the terminal device can send a third control signal to the electronic device based on the identification result.

[0119] The third control signal may include a signal instructing the electronic device to perform a mechanical operation.

[0120] In some embodiments, the third control signal may be sent by the user through the terminal device. The user may send the third control signal to the electronic device through the terminal device based on a Bluetooth connection according to management requirements for the electronic device.

[0121] Furthermore, after the electronic device receives the third control signal sent by the terminal device, it can control the digital signal processor or the target functional module in the electronic device to respond according to the third control signal.

[0122] In some embodiments, in order to improve the accuracy of biometric identification, before the step of "performing biometric identification based on the biometric information and the target biometric template to obtain an identification result", the following steps may also be included:

[0123] Obtain the target biometric template from the terminal device through Bluetooth connection.

[0124] After the terminal device is successfully connected to the Bluetooth module in the digital signal processor, the digital signal processor can send an information acquisition request to the terminal device based on the Bluetooth connection, and the information acquisition request indicates to acquire the target biometric template corresponding to the electronic device. Further, after receiving the information acquisition request, the terminal device can send the target biometric template corresponding to the electronic device to the digital signal processor.

[0125] After receiving the target biometric template sent by the terminal device, the digital signal processor can store the target biometric template to facilitate subsequent biometric identification.

[0126] In some embodiments, the step of “performing biometric identification based on the biometric information and the target biometric template to obtain an identification result” may include the following operations:

[0127] Biometric identification is performed based on the biometric information and the target biometric template stored in the digital signal processor to obtain an identification result.

[0128] Specifically, the digital signal processor can directly read the stored target biometric template, and then compare the biometric information with the target biometric template. If the biometric information is the same as the target biometric template, it can be determined that the biometric information belongs to the target biometric template, and the recognition result can be: successful recognition; if the biometric information is not the same as the target biometric template, it can be determined that the biometric information does not belong to the target biometric template, and the recognition result can be: failed recognition.

[0129] In some embodiments, the electronic device can be a smart fingerprint lock. According to the application design, after the fingerprint algorithm DSP with Bluetooth function is awakened, it does not need to wait for the main control chip command. It collects fingerprint images from the fingerprint sensor through the SPI port, processes the fingerprint image, performs fingerprint comparison, and sends the comparison result to the main control chip. After the fingerprint algorithm DSP with Bluetooth function is awakened, it continuously performs Bluetooth broadcasting, and the terminal device can scan and receive successfully and establish a Bluetooth communication connection. According to the application, the comparison result can be transmitted to the terminal device that has been matched through Bluetooth, and the corresponding operation can be performed through the corresponding APP (Application) on the terminal device. Among them, when performing fingerprint feature comparison, the pre-stored fingerprint template can be stored in the storage module of the fingerprint algorithm DSP, or the fingerprint template stored on the remote terminal can be transmitted to the fingerprint algorithm DSP through the Bluetooth module for comparison.

[0130] Among them, the corresponding APP on the terminal device can be an APP corresponding to the electronic device, which is used by the user to manage and configure the electronic device.

[0131] In some embodiments, the step of “controlling a target functional module in a digital signal processor or an electronic device to respond based on a third control signal” may include the following operations:

[0132] A mechanical operation instruction is generated based on the third control signal, and the mechanical operation instruction is sent to the control chip, so that the control chip controls the electronic device to perform the mechanical operation corresponding to the mechanical operation instruction.

[0133] Among them, the digital signal processor can generate a mechanical operation instruction corresponding to the third control signal according to the third control signal, and then send the mechanical operation instruction to the control chip, so that the control chip controls the electronic device to perform the mechanical operation corresponding to the mechanical operation instruction.

[0134] In some embodiments, the third control signal may include a signal indicating deletion of the biometric template, and the step of “controlling the target functional module in the digital signal processor or the electronic device to respond based on the third control signal” may include the following operations:

[0135] If the recognition result is successful, determining the target biometric template as a template to be deleted based on the third control signal;

[0136] The target biometric template is deleted from the digital signal processor.

[0137] Deleting the biometric template refers to deleting the stored biometric information.

[0138] When the recognition result is successful, indicating that the biometric information is the same as the target biometric template, the target biometric template can be determined to be the biometric template that needs to be deleted, and further, the target biometric template can be deleted from the biometric templates stored in the digital signal processor. This makes it easy to manage biometric templates in electronic devices.

[0139] In some embodiments, after the target biometric template is deleted from the digital signal, in order to facilitate the user to understand the information of the biometric template stored in the electronic device, information that the target biometric template has been successfully deleted can be sent to the terminal device based on the Bluetooth connection, so that the user knows that the target biometric template has been deleted.

[0140] The embodiment of the present application discloses a device control method, which includes: obtaining a wake-up signal to control a digital signal processor to exit a sleep state; establishing a Bluetooth connection with an external terminal device through a Bluetooth module in the digital signal processor; obtaining a control signal through the Bluetooth connection, and controlling a target functional module in the digital signal processor or the electronic device to respond based on the control signal. By integrating the Bluetooth function in the digital signal processor of the electronic device, the communication connection between the electronic device and the terminal device is realized through the Bluetooth function of the digital signal processor, without adding an additional Bluetooth chip, thereby reducing the communication cost between the electronic device and the terminal device.

[0141] Based on the above introduction, the device control method of the present application will be further illustrated by giving examples below.

[0142] For example, see Figure 4 , Figure 4 This is a flow chart of another device control method provided in an exemplary embodiment of the present disclosure. Taking the scenario where the device control method is applied to a smart fingerprint lock as an example, the specific process may be as follows:

[0143] 201. The fingerprint lock is in standby mode, the main control chip and fingerprint algorithm DSP are in low-power sleep mode, and the fingerprint sensor is in low-power finger detection mode.

[0144] In the embodiment of the present application, the smart fingerprint lock is usually in standby mode. At this time, the main control chip and the fingerprint algorithm DSP with Bluetooth are also in a low-power sleep state, and the fingerprint sensor is in a low-power finger touch detection state.

[0145] 202. When the fingerprint sensor receives a finger touch signal, the fingerprint sensor sends an interrupt signal to the fingerprint algorithm DSP and the main control chip.

[0146] When it is detected that the user's finger touches the fingerprint sensor, the fingerprint sensor sends an interrupt to the fingerprint algorithm DSP and the main control chip to wake up the main control chip and the fingerprint algorithm DSP.

[0147] 203. After the fingerprint algorithm DSP receives the interrupt signal, the Bluetooth module in the fingerprint algorithm DSP is awakened and is in a broadcast state.

[0148] When the fingerprint algorithm DSP receives an interrupt signal, the Bluetooth module in the fingerprint algorithm DSP can be awakened, that is, exits the sleep state and enters the broadcast state.

[0149] 204. The Bluetooth module responds to the scanning request of the terminal device, establishes a connection with the terminal device, and pairs with the terminal device; the terminal device interacts with the fingerprint algorithm DSP for data, the fingerprint algorithm DSP parses the Bluetooth command, and transmits the command to the main control chip through the interface, and the main control chip performs corresponding operations.

[0150] After the Bluetooth module enters the broadcast state, it can respond to the scanning request of the terminal device, establish a connection with the terminal device, and pair.

[0151] In the embodiment of the present application, in order to ensure communication security, the pairing process may include processes such as exchanging keys or entering PIN codes. After completing the connection and pairing, data exchange can begin between the terminal device and the fingerprint algorithm DSP with Bluetooth function, and the fingerprint module can be operated through the corresponding APP on the terminal device. In order to ensure security, the fingerprint data in the Bluetooth transmission process is encrypted using a high-intensity encryption algorithm to prevent the data from being intercepted and cracked.

[0152] If fingerprint authentication is not required to unlock the door directly, the terminal device sends the corresponding unlocking protocol instruction to the fingerprint algorithm DSP with Bluetooth function. After the fingerprint algorithm DSP parses the protocol, it sends the command to the host to notify the host to perform the unlocking operation.

[0153] If fingerprint matching is required, the protocol content corresponding to the matching instruction is sent to the fingerprint algorithm DSP with Bluetooth function, the fingerprint sensor collects the fingerprint image, the fingerprint algorithm DSP processes the fingerprint image, and then compares the fingerprint image information with the pre-stored fingerprint template, and then transmits the matching result to the terminal device through the Bluetooth function. At the same time, the fingerprint module also has corresponding lights or sounds to prompt the matching result synchronously. The terminal device APP can make corresponding operation responses according to the matching results. If the matching is successful, the corresponding protocol instruction for unlocking is returned. After decryption and analysis by the fingerprint algorithm DSP, the unlocking command is transmitted to the main control chip through the interface, and the main control chip controls the motor module to perform corresponding operations.

[0154] 205. The data exchange is completed, the operation is ended, and the Bluetooth connection is disconnected.

[0155] When the operation is completed, the terminal device or the fingerprint algorithm DSP with Bluetooth function can initiate a request to disconnect, and the connection can be disconnected after confirmation by both parties.

[0156] The embodiment of the present application discloses a device control method, which includes: the fingerprint lock is in standby mode, the main control chip and the fingerprint algorithm DSP are in low-power sleep mode, and the fingerprint sensor is in low-power finger detection mode. When the fingerprint sensor receives a finger touch signal, the fingerprint sensor sends an interrupt signal to the fingerprint algorithm DSP and the main control chip. After the fingerprint algorithm DSP receives the interrupt signal, the Bluetooth module in the fingerprint algorithm DSP is awakened and is in a broadcast state. The Bluetooth module responds to the scanning request of the terminal device, establishes a connection with the terminal device, and pairs. The terminal device interacts with the fingerprint algorithm DSP, and the fingerprint algorithm DSP parses the Bluetooth command and transmits the command to the main control chip through the interface. The main control chip performs the corresponding operation, the data interaction is completed, the operation ends, and the Bluetooth connection is disconnected. In this way, the digital signal processor is awakened by the fingerprint sensor, and then the Bluetooth module in the digital signal processor is connected to the terminal device through Bluetooth to perform subsequent operations, thereby improving the convenience of controlling the smart fingerprint lock.

[0157] For example, see Figure 5 , Figure 5 This is a flow chart of another device control method provided in an exemplary embodiment of the present disclosure. Taking the scenario where the device control method is applied to a smart fingerprint lock as an example, the specific process may be as follows:

[0158] 301. The fingerprint lock is in standby mode. The main control chip and the fingerprint sensor are in a low-power sleep state. The Bluetooth module in the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state.

[0159] In the embodiment of the present application, when the smart fingerprint lock is in standby state, the main control chip is in a low-power sleep state. In the fingerprint module, the fingerprint sensor is in a low-power sleep state. The Bluetooth module in the fingerprint algorithm DSP with Bluetooth function is a low-power Bluetooth module, which is in a low-power broadcast state, waiting for the host to scan.

[0160] 302. When the mobile terminal approaches, the low-power Bluetooth module responds to the main device scan, establishes a connection, and pairs. After the pairing is successfully verified, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake up the main control chip and switch the fingerprint sensor from the sleep state to the finger detection state.

[0161] When the mobile terminal approaches, the Bluetooth module of the fingerprint algorithm DSP responds to the scanning request of the mobile terminal, establishes a connection with the mobile terminal, and pairs. After the connection and pairing are completed, data interaction can begin between the mobile terminal and the fingerprint algorithm DSP with Bluetooth function. Corresponding operations can be performed according to the APP on the mobile terminal, and an interrupt request can be sent to wake up the main control chip. The fingerprint algorithm DSP can also switch the fingerprint sensor from sleep state to finger detection state or finger scanning state.

[0162] 303. Operate the fingerprint module according to the mobile terminal APP.

[0163] The fingerprint sensor collects fingerprint images, the fingerprint algorithm DSP processes the fingerprint images, and then performs various fingerprint management operations such as fingerprint image entry and fingerprint recognition, or sends unlocking and locking commands to the main control chip.

[0164] 304. The data interaction is completed, the operation is ended, the Bluetooth connection is disconnected, and the fingerprint sensor is switched to sleep mode.

[0165] When the operation is completed, the fingerprint sensor is switched to sleep mode, and the Bluetooth module initiates a request to disconnect. After confirmation by both parties, the Bluetooth connection can be disconnected, and the Bluetooth module switches back to the low-power broadcast state.

[0166] The embodiment of the present application discloses a device control method, which includes: the fingerprint lock is in standby, the main control chip and the fingerprint sensor are in a low-power sleep state, the Bluetooth module in the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state, when the mobile terminal is close, the low-power Bluetooth module responds to the main device scan, establishes a connection, and pairs. After the pairing is successfully verified, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake up the main control chip, and switches the fingerprint sensor from the sleep state to the finger detection state. According to the mobile terminal APP, the fingerprint module is operated, the data interaction is completed, the operation ends, the Bluetooth connection is disconnected, and the fingerprint sensor is switched to the sleep mode. In this way, the digital signal processor is awakened by the Bluetooth module in the digital signal processor, and then the Bluetooth module in the digital signal processor is connected to the mobile terminal by Bluetooth, and subsequent operations are performed, thereby improving the convenience of controlling the smart fingerprint lock.

[0167] For example, see Figure 6 , Figure 6 This is a flow chart of another device control method provided in an exemplary embodiment of the present disclosure. Taking the scenario where the device control method is applied to a smart fingerprint lock as an example, the specific process may be as follows:

[0168] 401. The fingerprint lock is in standby mode, the main control chip is in a low-power sleep state, the Bluetooth module in the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state, and the fingerprint sensor is in a low-power finger detection state.

[0169] In the embodiment of the present application, when the smart fingerprint lock is in standby state, the main control chip is in a low-power sleep state, the Bluetooth module of the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state, waiting for the host to scan; the fingerprint sensor is in a low-power finger touch detection state.

[0170] 402. When the fingerprint sensor receives a finger touch signal, the fingerprint sensor sends an interrupt signal to the fingerprint algorithm DSP and the main control chip, or when the mobile terminal approaches, the low-power Bluetooth module responds to the main device scan, establishes a connection, and pairs. After the pairing is successfully verified, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake up the main control chip.

[0171] When the user's finger is detected touching the fingerprint sensor, the fingerprint sensor sends an interrupt signal to the host and the fingerprint algorithm DSP. Or when the mobile terminal approaches, it responds to the scanning request of the mobile terminal, establishes a connection with the mobile terminal, and pairs with the mobile terminal. After the connection and pairing are completed through verification, the mobile terminal and the fingerprint algorithm DSP with Bluetooth function can start data interaction and send an interrupt request to wake up the main control chip.

[0172] 403. The fingerprint sensor collects the fingerprint image, and the fingerprint algorithm DSP processes the fingerprint image and identifies the fingerprint. After the fingerprint identification, a command can be directly sent to the main control to unlock the door, or the identification result can be sent to the mobile terminal APP, and the fingerprint module can be operated according to the mobile terminal APP.

[0173] The fingerprint sensor collects the fingerprint image, the fingerprint algorithm DSP processes the fingerprint image, and compares the fingerprint image with the pre-stored fingerprint template. If the comparison is successful, the unlock command can be directly sent to the main control chip, and then the unlock record can be sent to the mobile terminal APP. Alternatively, the comparison result can be sent to the mobile terminal APP, and the corresponding operation can be performed according to the instructions of the mobile terminal APP.

[0174] For example, when you need to unlock the smart fingerprint lock, if the comparison is successful, the result of the successful comparison can be sent to the mobile terminal. The mobile terminal APP sends the unlocking command to the fingerprint algorithm DSP with Bluetooth function, and the fingerprint algorithm DSP then sends the unlocking command to the main control to execute the unlocking action.

[0175] Alternatively, when the fingerprint needs to be successfully compared and then the corresponding fingerprint needs to be deleted, the comparison result is sent to the mobile terminal APP. If the comparison is successful, the mobile terminal sends a fingerprint deletion command and the fingerprint D to be deleted to the fingerprint algorithm DSP according to the comparison result. The fingerprint algorithm DSP executes the deletion of the corresponding fingerprint template and replies with a deletion success message to the mobile terminal APP after the deletion is completed.

[0176] 404. Data interaction is completed, the operation is completed, and the Bluetooth connection is disconnected.

[0177] When the operation is completed, the fingerprint sensor is switched to sleep mode, and the Bluetooth module initiates a request to disconnect. After confirmation by both parties, the Bluetooth connection can be disconnected, and the Bluetooth module switches back to the low-power broadcast state.

[0178] The embodiment of the present application discloses a device control method, which includes: the fingerprint lock is in standby, the main control chip is in a low-power sleep state, the Bluetooth module in the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state, the fingerprint sensor is in a low-power finger detection state, when the fingerprint sensor receives a finger touch signal, the fingerprint sensor sends an interrupt signal to the fingerprint algorithm DSP and the main control chip, or when the mobile terminal is close, the low-power Bluetooth module responds to the main device scan, establishes a connection, and pairs. After the pairing is successfully verified, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake up the main control chip, the fingerprint sensor collects the fingerprint image, the fingerprint algorithm DSP performs fingerprint image processing, and fingerprint recognition. The fingerprint recognition can directly send instructions to the main control to unlock, or send the recognition result to the mobile terminal APP, operate the fingerprint module according to the mobile terminal APP, complete the data interaction, end the operation, and disconnect the Bluetooth connection. In this way, the digital signal processor is awakened in a variety of ways, and then the Bluetooth module in the digital signal processor is connected to the mobile terminal by Bluetooth, and subsequent operations are performed, thereby improving the convenience of controlling the smart fingerprint lock.

[0179] In order to better implement the device control method provided in the exemplary embodiment of the present disclosure, the present application embodiment also provides a device control apparatus based on the above device control method. The meanings of the terms are the same as those in the above device control method, and the specific implementation details can refer to the description in the method embodiment.

[0180] See also Figure 7 , Figure 7 This is a structural block diagram of a device control apparatus provided in an exemplary embodiment of the present disclosure, the apparatus comprising:

[0181] The signal acquisition unit 501 is used to acquire a wake-up signal and control the digital signal processor to exit from a sleep state;

[0182] The connection unit 502 is used to establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor;

[0183] The control unit 503 is used to obtain a control signal through a Bluetooth connection, and control a target functional module in a digital signal processor or an electronic device to respond based on the control signal.

[0184] In some embodiments, the signal acquisition unit 501 may include:

[0185] A first receiving subunit, configured to receive a wake-up signal sent by a control chip of the electronic device, and control the digital signal processor to exit from a sleep state;

[0186] Alternatively, the second receiving subunit is used to receive a wake-up signal sent by a target sensor of the electronic device, and control the digital signal processor to exit from a sleep state;

[0187] Alternatively, the first broadcast subunit is used to send a broadcast signal through a Bluetooth module of the digital signal processor when the digital signal processor is in a dormant state;

[0188] The first control subunit is used to receive a scan request sent by a terminal device through a Bluetooth module, and control the digital signal processor to exit from a sleep state, wherein the scan request is a wake-up signal.

[0189] In some embodiments, the target functional module includes a control chip and a target sensor. In the scenario of controlling the digital signal processor to exit from a sleep state based on a scan request, the control unit 503 may include:

[0190] A first generating subunit, configured to generate a first control signal if the Bluetooth connection is successfully established;

[0191] The first sending subunit is used to send a first control signal to the control chip and the target sensor of the electronic device to trigger the control chip and the target sensor to exit from the sleep state.

[0192] In some embodiments, the control unit 503 may include:

[0193] A first acquisition subunit, used to acquire a second control signal sent by the terminal device through a Bluetooth connection;

[0194] The second sending subunit is used to send the device mechanical operation instruction to the control chip based on the second control signal, so as to control the electronic device to perform the mechanical operation corresponding to the device mechanical operation instruction.

[0195] In some embodiments, the apparatus may further include:

[0196] An information acquisition unit, used to acquire biometric information collected by a target sensor of the electronic device;

[0197] An identification unit, used to perform biometric identification based on the biometric information and the target biometric template to obtain an identification result;

[0198] The control unit 503 may include:

[0199] A third sending subunit, used to send the recognition result to the terminal device through the Bluetooth connection, and receive a third control signal fed back by the terminal device based on the recognition result;

[0200] The response subunit is used to control the target functional module in the digital signal processor or the electronic device to respond based on the third control signal.

[0201] In some embodiments, the apparatus may further include:

[0202] The template acquisition unit is used to acquire the target biometric template from the terminal device via Bluetooth connection.

[0203] In some embodiments, the identification unit may include:

[0204] The identification subunit is used to perform biometric identification based on the biometric information and the target biometric template stored in the digital signal processor to obtain an identification result.

[0205] In some embodiments, the third control signal includes a signal instructing the electronic device to perform a mechanical operation, and the response subunit can be specifically used to:

[0206] A mechanical operation instruction is generated based on the third control signal, and the mechanical operation instruction is sent to the control chip, so that the control chip controls the electronic device to perform the mechanical operation corresponding to the mechanical operation instruction.

[0207] In some embodiments, the third control signal includes a signal indicating deletion of the biometric template, and the response subunit may specifically include:

[0208] If the recognition result is successful, determining the target biometric template as a template to be deleted based on the third control signal;

[0209] The target biometric template is deleted from the digital signal processor.

[0210] The embodiment of the present application discloses a device control apparatus, wherein a signal acquisition unit 501 acquires a wake-up signal to control a digital signal processor to exit a sleep state; a connection unit 502 establishes a Bluetooth connection with an external terminal device through a Bluetooth module in the digital signal processor; a control unit 503 acquires a control signal through the Bluetooth connection, and controls a target functional module in the digital signal processor or the electronic device to respond based on the control signal. In this way, the communication cost between the electronic device and the terminal device is reduced.

[0211] Accordingly, an embodiment of the present application also provides an electronic device. Figure 8 As shown, Figure 8 Schematic diagram of the structure of an electronic device provided in an exemplary embodiment of the present disclosure. The electronic device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer-readable storage media, and a computer program stored in the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. Those skilled in the art will appreciate that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include Figure 8 More or fewer components, or combinations of certain components, or different arrangements of components may be shown.

[0212] The processor 601 is the control center of the electronic device 600. It uses various interfaces and lines to connect various parts of the entire electronic device 600, executes various functions of the electronic device 600 and processes data by running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, thereby monitoring the electronic device 600 as a whole.

[0213] In the embodiment of the present application, the processor 601 in the electronic device 600 loads instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 runs the application programs stored in the memory 602 to implement various functions:

[0214] Get the wake-up signal and control the digital signal processor to exit from the sleep state;

[0215] Establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor;

[0216] A control signal is obtained through a Bluetooth connection, and a target functional module in a digital signal processor or an electronic device is controlled to respond based on the control signal.

[0217] The embodiment of the present application controls the digital signal processor to exit the sleep state by acquiring a wake-up signal; establishes a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; acquires a control signal through the Bluetooth connection, and controls the digital signal processor or the target functional module in the electronic device to respond based on the control signal. The above technical solution integrates the Bluetooth function in the digital signal processor of the electronic device, and realizes the communication connection between the electronic device and the terminal device through the Bluetooth function of the digital signal processor, without adding an additional Bluetooth chip, thereby reducing the communication cost between the electronic device and the terminal device.

[0218] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0219] Optional, such as Figure 8 As shown, the electronic device 600 may further include: a display 603 and an input unit 604. The processor 601 is electrically connected to the display 603 and the input unit 604 respectively. Those skilled in the art will understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0220] The display 603 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The display 603 may include a display panel and a touch panel. Among them, the display panel may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces may be composed of graphics, guide information, icons, videos and any combination thereof. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel may be used to collect the user's touch operation on or near it (such as the user using any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller.

[0221] Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 601, and can receive the command sent by the processor 601 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 601 to determine the type of touch event, and then the processor 601 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the display 603 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the display 603 can also be used as a part of the input unit 604 to realize the input function.

[0222] The input unit 604 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0223] In some embodiments, the electronic device may further include an audio circuit, which may be used to provide an audio interface between the user and the device control device through a speaker and a microphone. The audio circuit may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit and converted into audio data, and then the audio data is output to the processor 601 for processing, and then sent to another device control device through the radio frequency circuit, or the audio data is output to the memory 602 for further processing. The audio circuit may also include an earplug jack to provide communication between an external headset and the device control device.

[0224] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0225] From the above, it can be seen that the electronic device provided in this embodiment can obtain a wake-up signal and control the digital signal processor to exit from a sleep state; establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; obtain a control signal through the Bluetooth connection, and control the digital signal processor or the target functional module in the electronic device to respond based on the control signal.

[0226] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a digital signal processor to execute the steps in any device control method provided in the embodiment of the present application. For example, the computer program can execute the following steps:

[0227] Get the wake-up signal and control the digital signal processor to exit from the sleep state;

[0228] Establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor;

[0229] A control signal is obtained through a Bluetooth connection, and a target functional module in a digital signal processor or an electronic device is controlled to respond based on the control signal.

[0230] The embodiment of the present application controls the digital signal processor to exit the sleep state by acquiring a wake-up signal; establishes a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; acquires a control signal through the Bluetooth connection, and controls the digital signal processor or the target functional module in the electronic device to respond based on the control signal. The above technical solution integrates the Bluetooth function in the digital signal processor of the electronic device, and realizes the communication connection between the electronic device and the terminal device through the Bluetooth function of the digital signal processor, without adding an additional Bluetooth chip, thereby reducing the communication cost between the electronic device and the terminal device.

[0231] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0232] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0233] Since the computer program stored in the storage medium can execute the steps in any device control method provided in the embodiments of the present application, the beneficial effects that can be achieved by any device control method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0234] The above is a detailed introduction to a device control method, apparatus, digital signal processor and electronic device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A device control method, characterized in that: A digital signal processor applied to an electronic device, the method comprising: Acquire a wake-up signal to control the digital signal processor to exit from a sleep state; Establishing a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; A control signal is acquired through the Bluetooth connection, and the digital signal processor or a target functional module in the electronic device is controlled to respond based on the control signal.

2. The device control method according to claim 1, characterized in that: The step of obtaining a wake-up signal and controlling the digital signal processor to exit from a sleep state includes: Receiving a wake-up signal sent by a control chip of an electronic device, and controlling the digital signal processor to exit from a sleep state; Alternatively, receiving a wake-up signal sent by a target sensor of the electronic device, and controlling the digital signal processor to exit from a sleep state; Alternatively, when the digital signal processor is in a dormant state, a broadcast signal is sent through a Bluetooth module of the digital signal processor; The scanning request sent by the terminal device is received through the Bluetooth module, and the digital signal processor is controlled to exit from the sleep state, wherein the scanning request is a wake-up signal.

3. The device control method according to claim 2, characterized in that: The target functional module includes a control chip and a target sensor; in a scenario where the digital signal processor is controlled to exit from a sleep state based on the scanning request, obtaining a control signal through the Bluetooth connection, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the control signal include: If the Bluetooth connection is successfully established, generating a first control signal; A first control signal is sent to a control chip and a target sensor of the electronic device to trigger the control chip and the target sensor to exit from a sleep state.

4. The device control method according to claim 1, characterized in that: The acquiring of the control signal through the Bluetooth connection, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the control signal, includes: Acquiring a second control signal sent by the terminal device through the Bluetooth connection; A device mechanical operation instruction is sent to the control chip based on the second control signal to control the electronic device to perform a mechanical operation corresponding to the device mechanical operation instruction.

5. The device control method according to claim 1, characterized in that: After controlling the digital signal processor to exit from the sleep state, the method further includes: Obtaining biometric information collected by a target sensor of an electronic device; Performing biometric identification based on the biometric information and the target biometric template to obtain an identification result; The acquiring of the control signal through the Bluetooth connection, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the control signal, includes: Sending the recognition result to the terminal device through the Bluetooth connection, and receiving a third control signal fed back by the terminal device based on the recognition result; The digital signal processor or a target functional module in the electronic device is controlled to respond based on the third control signal.

6. The device control method according to claim 5, characterized in that: Before performing biometric identification based on the biometric information and the target biometric template to obtain an identification result, the method further includes: The target biometric template is obtained from the terminal device through the Bluetooth connection.

7. The device control method according to claim 5, characterized in that: The performing biometric identification based on the biometric information and the target biometric template to obtain an identification result includes: Biometric identification is performed based on the biometric information and the target biometric template stored in the digital signal processor to obtain an identification result.

8. The device control method according to claim 5, characterized in that: The third control signal includes a signal instructing the electronic device to perform a mechanical operation; and the step of controlling the digital signal processor or a target functional module in the electronic device to respond based on the third control signal includes: A mechanical operation instruction is generated based on the third control signal, and the mechanical operation instruction is sent to the control chip, so that the control chip controls the electronic device to perform the mechanical operation corresponding to the mechanical operation instruction.

9. The device control method according to claim 5, characterized in that: The third control signal includes a signal instructing to delete the biometric template; The step of controlling the digital signal processor or the target functional module in the electronic device to respond based on the third control signal includes: If the recognition result is successful recognition, determining the target biometric template as a template to be deleted based on the third control signal; The target biometric template is deleted from the digital signal processor.

10. A device control device, characterized in that: include: A signal acquisition unit, used to acquire a wake-up signal and control the digital signal processor to exit from a sleep state; A connection unit, used to establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; A control unit is used to obtain a control signal through the Bluetooth connection, and control the digital signal processor or a target functional module in the electronic device to respond based on the control signal.

11. A digital signal processor, characterized in that: A Bluetooth module is integrated in the digital signal processor, and a computer program is also stored in the digital signal processor, wherein the computer program is used to enable the digital signal processor to execute the steps of the method according to any one of claims 1 to 9.

12. A biometric identification module, characterized in that: The device comprises a target sensor for detecting biometric information and a digital signal processor as claimed in claim 11.

13. An electronic device, characterized in that: It comprises a main control chip and the biometric feature recognition module as claimed in claim 12.

Citation Information

Patent Citations

  • Bluetooth playing method and electronic device

    CN111713141A

  • Data transmission method and device, storage medium and electronic equipment

    CN112996089A

  • Bluetooth communication method, medium and electronic equipment

    CN113490191A

  • Sleep wake-up method, electronic device, bluetooth peripheral, and storage medium

    WO2024109259A1