Device control method, apparatus, digital signal processor, and electronic device
By integrating a Bluetooth module into the digital signal processor of the fingerprint module, the problem of connecting the fingerprint module with the terminal device is solved, achieving low-cost and efficient communication connection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BYD SEMICON CO LTD
- Filing Date
- 2024-08-19
- Publication Date
- 2026-05-05
AI Technical Summary
When existing fingerprint modules are connected to the main control chip via a wired connection, they cannot establish a connection with the terminal device, resulting in a complex structure and increased cost.
A Bluetooth module is integrated into the digital signal processor of the fingerprint module, which establishes a communication connection with the terminal device through Bluetooth, thus avoiding the need for an additional Bluetooth chip.
It achieves a compact design and low-power communication, reducing the communication cost between electronic devices and terminal devices.
Smart Images

Figure CN119854965B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a device control method, apparatus, digital signal processor and electronic device. Background Technology
[0002] Fingerprint recognition technology is widely used in various scenarios. A fingerprint module is a specific implementation of fingerprint recognition technology. A 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] Currently, most fingerprint modules on the market connect to the main control chip via wired connections. However, wired fingerprint modules cannot establish connections with terminal devices. To solve this problem, existing technology adds a Bluetooth chip module to the fingerprint module to enable communication between the fingerprint module and the terminal device. However, adding a Bluetooth chip module complicates the structure of the fingerprint module and increases its cost. Summary of the Invention
[0004] This application provides a device control method, apparatus, digital signal processor, and electronic device, which can reduce the communication cost between electronic devices and terminal devices, thereby at least partially solving the above-mentioned technical problems.
[0005] To achieve the above objectives, according to a first aspect of this application, a device control method is provided, comprising:
[0006] Obtain a wake-up signal and control the digital signal processor to exit the sleep state;
[0007] A Bluetooth connection is established with an external terminal device through the Bluetooth module in the digital signal processor.
[0008] The control signal is acquired through the Bluetooth connection, and the target functional module in the digital signal processor or the electronic device is controlled to respond based on the control signal.
[0009] Optionally, acquiring the wake-up signal and controlling the digital signal processor to exit the sleep state includes:
[0010] The system receives a wake-up signal from the control chip of the electronic device and controls the digital signal processor to exit the sleep state.
[0011] Alternatively, it can receive a wake-up signal sent by the target sensor of the electronic device and control the digital signal processor to exit the sleep state;
[0012] Alternatively, when the digital signal processor is in sleep mode, a broadcast signal may be emitted via the Bluetooth module of the digital signal processor;
[0013] The Bluetooth module receives a scan request sent by the terminal device and controls the digital signal processor to exit the sleep state, wherein the scan request is a wake-up signal.
[0014] Optionally, the target functional module includes a control chip and a target sensor. In a scenario where the digital signal processor is controlled to exit a sleep state based on the scan request, the step of acquiring the control signal via the Bluetooth connection and controlling the target functional module in the digital signal processor or the electronic device to respond based on the control signal includes:
[0015] If the Bluetooth connection is successfully established, a first control signal is generated;
[0016] A first control signal is sent to the control chip and target sensor of the electronic device to trigger the control chip and target sensor to exit the sleep state.
[0017] Optionally, the step of acquiring control signals via the Bluetooth connection and controlling the target functional module in the digital signal processor or the electronic device to respond based on the control signals includes:
[0018] The second control signal sent by the terminal device is obtained through the Bluetooth connection;
[0019] Based on the second control signal, a device mechanical operation command is sent to the control chip to control the electronic device to perform the mechanical operation corresponding to the device mechanical operation command.
[0020] Optionally, after the digital signal processor exits the sleep state, the method further includes:
[0021] Acquire biometric information collected by the target sensors of electronic devices;
[0022] Biometric identification is performed based on the biometric information and the target biometric template to obtain the identification result;
[0023] The step of acquiring control signals via the Bluetooth connection and controlling the target functional module in the digital signal processor or the electronic device to respond based on the control signals includes:
[0024] The identification result is sent to the terminal device via the Bluetooth connection, and a third control signal is received from the terminal device based on the identification result.
[0025] The third control signal is used to control the digital signal processor or the target functional module in the electronic device to respond.
[0026] Optionally, before obtaining the recognition 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 via the Bluetooth connection.
[0028] Optionally, the step of performing biometric identification based on the biometric information and the target biometric template to obtain the 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 the identification result.
[0030] Optionally, the third control signal includes a signal instructing the electronic device to perform mechanical operations, and controlling the digital signal processor or the target functional module in the electronic device to respond based on the third control signal includes:
[0031] Based on the third control signal, a mechanical operation command is generated, and the mechanical operation command is sent to the control chip, so that the electronic device can be controlled by the control chip to perform the mechanical operation corresponding to the mechanical operation command.
[0032] Optionally, the third control signal includes a signal instructing the 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 includes:
[0033] If the recognition result is successful, based on the third control signal, the target biometric template is determined to be a template that needs to be deleted;
[0034] The target biometric template is deleted from the digital signal processor.
[0035] According to a second aspect of this application, a device control apparatus is provided, comprising:
[0036] A signal acquisition unit is used to acquire a wake-up signal and control the digital signal processor to exit the sleep state.
[0037] The connection unit is used to establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor.
[0038] The control unit is configured to acquire control signals via the Bluetooth connection and, based on the control signals, control the digital signal processor or the target functional module in the electronic device to respond.
[0039] According to a third aspect of this application, a digital signal processor is also provided, which integrates a Bluetooth module and stores a computer program for causing the digital signal processor to perform the steps of the device control method described above.
[0040] According to a fourth aspect of this application, a biometric identification module is also provided, including a target sensor for detecting biometric information and a digital signal processor as described above.
[0041] According to a fifth aspect of this application, an electronic device is also provided, including a main control chip and the biometric identification module as described above.
[0042] The device control method of this application embodiment controls the digital signal processor (DSP) to exit sleep mode by acquiring a wake-up signal; establishes a Bluetooth connection with an external terminal device through the Bluetooth module in the DSP; acquires control signals through the Bluetooth connection; and controls the DSP or a target functional module in the electronic device to respond based on the control signals. The above technical solution integrates Bluetooth functionality into the DSP of the electronic device, enabling communication between the electronic device and the terminal device through the DSP's Bluetooth function, without requiring an additional Bluetooth chip, thereby reducing the communication cost between the electronic device and the terminal device.
[0043] Other features and advantages of this application will be described in detail in the following detailed description section. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] To gain a more complete understanding of this application and its beneficial effects, the following description will be provided in conjunction with the accompanying drawings, wherein the same reference numerals in the following description denote the same parts.
[0046] Figure 1 This is a schematic diagram illustrating an application scenario of a device control method provided in an exemplary embodiment of this disclosure;
[0047] Figure 2 This is a schematic diagram of a device control system architecture provided in an exemplary embodiment of this disclosure;
[0048] Figure 3This is a flowchart illustrating a device control method provided in an exemplary embodiment of this disclosure;
[0049] Figure 4 This is a flowchart illustrating another device control method provided in an exemplary embodiment of this disclosure;
[0050] Figure 5 This is a flowchart illustrating another device control method provided in an exemplary embodiment of this disclosure;
[0051] Figure 6 This is a flowchart illustrating another device control method provided in an exemplary embodiment of this disclosure;
[0052] Figure 7 This is a structural block diagram of a device control apparatus provided in an exemplary embodiment of this disclosure;
[0053] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an exemplary embodiment of this disclosure. Detailed Implementation
[0054] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0055] To address the aforementioned issues, this application provides a device control method, apparatus, digital signal processor, and electronic device. Specifically, the device control method of this application can be executed by an electronic device or a cloud server. The cloud server can be an independent physical cloud server, a cloud server cluster or distributed system composed of multiple physical cloud servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0056] For example, please see Figure 1 , Figure 1 This diagram illustrates an application scenario of a device control method provided in an exemplary embodiment of this disclosure. The electronic device may include a main control chip module, a fingerprint module, a power supply module, and a motor drive module. The electronic device can communicate with a terminal device via the fingerprint module.
[0057] The main control chip module is used to control the operation of the electronic device, coordinating the work of various hardware devices and the processor to achieve 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, process, store, and identify fingerprint information, as well as establish a Bluetooth connection with the terminal device and obtain Bluetooth permissions from the terminal device; the power supply module is used to supply power to the electronic device; the motor drive module can be used to convert electrical signals from the controller (e.g., the main control chip module) into current or voltage signals that the motor can recognize, thereby driving the motor to rotate.
[0058] In this embodiment, the fingerprint sensor can be used to detect touch signals. When the fingerprint sensor detects a touch signal, it sends an interrupt signal to the fingerprint algorithm DSP and the main control chip. The fingerprint algorithm DSP with Bluetooth functionality can receive the interrupt signal, calculate the fingerprint comparison result, and send the comparison result to the main control chip. It also continuously broadcasts Bluetooth signals after power-on, allowing external terminal devices to scan and receive the signal successfully, establishing a Bluetooth communication connection to achieve the desired operation. It supports Bluetooth standard protocols such as BLE (Bluetooth Low Energy) to achieve low-power data transmission.
[0059] The terminal device can be used to perform fingerprint enrollment, fingerprint deletion and other operations 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, an electronic device could be a smart fingerprint lock, which is a smart lock that uses fingerprints from the human finger as the identification medium and method. A smart fingerprint lock includes a main control chip module, a fingerprint module, a power supply module, and a motor drive module. The smart fingerprint lock can establish a connection with a terminal device via the Bluetooth function of the fingerprint module for data transmission.
[0061] The fingerprint module is compatible with various device platforms, such as smartphones, tablets, and personal computers, providing a flexible remote operation experience.
[0062] Traditional Bluetooth-enabled fingerprint modules typically have a separate Bluetooth module added to the main control chip. Data exchange between the Bluetooth module and the main control chip is handled by the main control chip. However, in practical applications, to control the overall module cost, the main control chip is usually a relatively low-cost chip with correspondingly lower computing power. In contrast, fingerprint algorithm DSPs require processing large amounts of data and utilize chips with high computing power. The module in this application integrates the Bluetooth module into the fingerprint algorithm DSP, allowing Bluetooth data to be processed directly on the DSP at a significantly faster speed than on the main control chip. This results in smoother Bluetooth command operations and an improved user experience.
[0063] For further details, please refer to Figure 2 , Figure 2 This is a schematic diagram of a device control system architecture provided in an exemplary embodiment of this disclosure. The control circuit of the fingerprint module may include a fingerprint algorithm DSP and a fingerprint sensor. The fingerprint module can be connected to the main control chip via an interface, which may include six lines: a fingerprint sensor power line (V-sensor), an interrupt request signal IRQ (Interrupt Request) that allows the fingerprint algorithm DSP and the main control chip to wake each other up, a GND ground line, an interrupt signal INT line, and serial communication lines UART-TX and UART-RX.
[0064] Interrupt requests (IRQs) are a mechanism in computer systems used to handle interrupt signals sent to the CPU (Central Processing Unit) by external devices or internal programs. Interrupts allow the CPU to pause the execution of the current program while performing its current task, to handle a sudden event (such as a request from an external device, a timeout of an internal timer, etc.), and then return to the original program to continue execution after the event is handled.
[0065] UARTA-RX (the receiver of Universal Asynchronous Receiver / Transmitter A) is a crucial component of the UART (Universal Asynchronous Receiver / Transmitter) communication interface. It is specifically responsible for receiving serial data and converting it into parallel data for further processing in digital systems. UARTA-TX, the transmitter of the UART, is also an important component of the UART communication protocol. In UART communication, the TX end is responsible for converting parallel data into serial data and transmitting it.
[0066] The SPI (Serial Peripheral Interface) port is a high-speed, full-duplex, synchronous communication bus primarily used for short-distance communication between embedded systems and microcontrollers and peripheral devices. The SPI communication protocol consists of four wires, typically including: SCLK (Serial Clock): also known as CLK (Clock), this is a clock signal generated by the master device (usually the MCU) used to synchronize data transmission between the master and slave devices; MOSI (Master Out Slave In): this is the serial data line from master to slave, through which the master sends data to the slave; MISO (Master In Slave Out): this is the serial data line from slave to master, through which the slave sends data to the master; and CS (Chip Select): a control signal used to select which slave device communicates with the master. On an SPI bus with multiple slave devices, each slave device has an independent CS signal. When a master device wants to communicate with a specific slave device, it pulls the CS signal of that slave device low (or activates it), while the CS signals of other slave devices remain high (or inactive).
[0067] In this embodiment, the fingerprint module mainly includes a fingerprint sensor and a fingerprint algorithm DSP with Bluetooth functionality. The fingerprint sensor is mainly used to detect the user's finger touch and acquire the user's fingerprint image; the fingerprint algorithm DSP with Bluetooth functionality is used to process the received fingerprint image, extract fingerprint features, and compare them with 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] The above Figure 2 The example given is merely a system architecture instance for implementing embodiments of the present invention, and embodiments of the present invention are not limited to those described above. Figure 2 The system architecture shown is used to propose various embodiments of the present invention.
[0069] For example, the device control method provided in the exemplary embodiments of this disclosure can be applied to a digital signal processor in an electronic device. The digital signal processor can acquire 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; acquire control signals through the Bluetooth connection; and control the target functional module in the digital signal processor or electronic device to respond based on the control signals.
[0070] The fingerprint module in this embodiment integrates Bluetooth communication functionality onto an existing DSP, eliminating the need for an external Bluetooth module and achieving a more compact design and lower power consumption. Furthermore, since Bluetooth is integrated into the fingerprint algorithm DSP, the algorithm DSP interacts directly with the mobile terminal device via Bluetooth, without needing a main control chip. This allows for more direct and convenient control of various operations of the fingerprint module, and more flexible application methods. Moreover, because the Bluetooth module is integrated into the fingerprint algorithm DSP, and Bluetooth data is also processed within the fingerprint algorithm DSP, the requirements for the main control chip are reduced. A lower-cost chip can be selected for the main control chip, further reducing the overall module cost.
[0071] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0072] This application provides a device control method, which can be executed by an electronic device. This application will illustrate the method by taking the execution of the device control method by an electronic device as an example.
[0073] Please see Figure 3 , Figure 3 This is a flowchart illustrating a device control method provided in an exemplary embodiment of this disclosure. The specific flow of the device control method can be as follows:
[0074] 101. Obtain the wake-up signal and control the digital signal processor to exit the sleep state.
[0075] In this embodiment, the electronic device integrates a main control chip and a biometric identification module. 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 recognizing biometric information, and establishing a Bluetooth connection with the terminal device for communication.
[0076] For example, if the biometric identification module can be a fingerprint module, then the target sensor can be a fingerprint sensor, used to detect the user's finger touch and collect the user's fingerprint information; the digital signal processor can be used to process the collected fingerprint information, such as identification.
[0077] A wake-up signal is a signal used to activate or wake up a device or system that is in a hibernation, standby, or off state. In this embodiment, the wake-up signal can be used to wake up a digital signal processor that is in a hibernation state.
[0078] In some embodiments, to meet different wake-up requirements of the digital signal processor, the step "acquire wake-up signal and control the digital signal processor to exit from sleep state" may include the following operations:
[0079] It receives a wake-up signal from the control chip of the electronic device and controls the digital signal processor to exit the sleep state;
[0080] Alternatively, it can receive a wake-up signal from the target sensor of the electronic device and control the digital signal processor to exit the sleep state;
[0081] Alternatively, when the digital signal processor is in sleep mode, a broadcast signal can be emitted through the Bluetooth module of the digital signal processor;
[0082] The system receives scan requests from terminal devices via Bluetooth modules and controls the digital signal processor to exit sleep mode. The scan request serves as 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 devices. It is responsible for coordinating the work of various hardware devices and the processor, and realizing the control and management of electronic devices.
[0084] In the embodiments of this application, controlling the digital signal processor to exit the sleep state via a wake-up signal can include various methods, including: receiving a wake-up signal sent by the control chip of the electronic device, receiving a wake-up signal sent by the target sensor of the electronic device, and receiving a wake-up signal sent by the terminal device through the 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 command from the digital signal processor, the control chip sends a 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 biometric features, it sends a wake-up signal to control the digital signal processor to exit the sleep state.
[0087] For example, the target sensor can be a fingerprint sensor. When the fingerprint sensor receives a finger touch signal, it can send a wake-up signal to the digital signal processor. After receiving the wake-up signal, the digital signal processor can exit the sleep state.
[0088] The Bluetooth module receiving a scan request from the terminal device can include: the terminal device enabling Bluetooth scanning; after the terminal device approaches the electronic device and detects the broadcast signal of the Bluetooth module in the digital signal processor, it can send a scan request to the Bluetooth module, thereby generating a wake-up signal based on the scan request to control the digital signal processor to exit the sleep state.
[0089] Bluetooth scanning allows a device to search for and identify broadcast signals from other Bluetooth devices within a certain range.
[0090] 102. Establish a Bluetooth connection with external terminal devices through the Bluetooth module in the digital signal processor.
[0091] The Bluetooth module receives a scan request from the terminal device, responds to the scan request, pairs with the terminal device, and establishes a Bluetooth connection.
[0092] For example, an external terminal device can enable Bluetooth and scan for nearby Bluetooth devices. Upon detecting the Bluetooth module in the digital signal processor (DSP), the user can manually trigger a pairing scan request to the Bluetooth module. To ensure Bluetooth connection security, the terminal device and the DSP's Bluetooth module typically need to pair upon initial connection. During pairing, the terminal device and Bluetooth module exchange encryption keys to ensure secure data transmission. After successful pairing, the terminal device and Bluetooth module can trust each other and establish a Bluetooth connection. Data transmission is possible between the terminal device and the Bluetooth module during this Bluetooth connection period.
[0093] 103. Acquire control signals via Bluetooth connection, and control the target functional modules in digital signal processors or electronic devices to respond based on the control signals.
[0094] Control signals are widely used in control systems to guide and regulate the behavior of the system. They can be electrical signals, digital signals, or other forms of information, used to manipulate the system's inputs or outputs to achieve the desired control objectives.
[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 "acquiring a control signal via Bluetooth connection and controlling the target functional module in the digital signal processor or electronic device to respond based on the control signal" may include the following operations:
[0096] If the Bluetooth connection is successfully established, the first control signal is generated;
[0097] Send a first control signal to the control chip and target sensor of the electronic device to trigger the control chip and target sensor to exit the sleep state.
[0098] Successful Bluetooth connection establishment refers to the 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 can 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 external terminal device fails to connect to the Bluetooth module in the digital signal processor via Bluetooth, it is not necessary to wake up the control chip and the target sensor. 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 also record the abnormal information of the failure of the terminal device to connect to the Bluetooth module, so as to analyze the cause of the Bluetooth connection failure and process it in the future.
[0102] In some embodiments, in order to implement multiple control methods for the electronic device, the step "acquiring control signals via Bluetooth connection and controlling the target functional module in the digital signal processor or electronic device to respond based on the control signals" may include the following operations:
[0103] The second control signal sent by the terminal device is obtained through Bluetooth connection;
[0104] Based on the second control signal, a mechanical operation command for the device is sent to the control chip to control the electronic device to execute the mechanical operation corresponding to the mechanical operation command.
[0105] 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 can include: an unlock signal, a lock signal, etc. The unlock signal can be used to control the smart fingerprint lock to perform an unlocking operation; the lock signal can be used to control the smart fingerprint lock to perform a locking operation, etc.
[0106] In this embodiment of the application, after the terminal device and the Bluetooth module in the digital signal processor of the electronic device successfully establish a Bluetooth connection, 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 command to the control chip, thereby controlling the electronic device to perform the mechanical operation corresponding to the device mechanical operation command.
[0107] In some embodiments, to facilitate data management in the electronic device, after the digital signal processor exits the sleep state, the method may further include the following steps:
[0108] Acquire biometric information collected by the target sensors of electronic devices;
[0109] Biometric identification is performed based on biometric information and target biometric templates to obtain identification results.
[0110] Biometric information, also known as biometric data, refers to personal data that uniquely identifies a natural person by processing their physical, physiological, or behavioral characteristics using specific technologies. These characteristics include, but are not limited to, physiological features such as fingerprints, facial images, irises, and voiceprints.
[0111] The biometric information collected by the target sensor refers to the biometric information collected after the target sensor detects biometric features after the control digital signal processor exits 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 can be: identification successful; if the biometric information is different from the target biometric template, it can be determined that the biometric information does not belong to the target biometric template, and the identification result can be: identification failed.
[0114] In some embodiments, the electronic device can be a smart fingerprint lock. When the smart lock is in standby mode, both the fingerprint algorithm DSP and the main control chip are in a low-power sleep state. The fingerprint sensor is normally in a low-power finger touch detection state. When a user's finger touches the fingerprint sensor, the fingerprint sensor sends an interrupt signal to the Bluetooth-enabled fingerprint algorithm DSP and the main control chip, simultaneously waking up the main control chip and the fingerprint algorithm DSP. The Bluetooth-enabled fingerprint algorithm DSP can acquire a fingerprint image from the fingerprint sensor via the SPI interface after receiving a command from the main control chip, then perform fingerprint image processing, compare it with an existing fingerprint template, and then send the comparison result to the main control chip.
[0115] In some embodiments, to facilitate data management of the electronic device, the step "acquiring control signals via Bluetooth connection and controlling the target functional module in the digital signal processor or electronic device to respond based on the control signals" may include the following operations:
[0116] The system sends identification results to the terminal device via Bluetooth connection and receives third control signals from the terminal device based on the identification results.
[0117] The target functional module in the digital signal processor or electronic device is controlled to respond based on the third control signal.
[0118] Specifically, after obtaining the identification result by performing biometric identification based on biometric information and target biometric template, the identification result can be sent to the terminal device via Bluetooth connection, 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 that instructs the electronic device to perform mechanical operations.
[0120] In some embodiments, the third control signal can be sent by the user through a terminal device. The user can send the third control signal to the electronic device through the terminal device based on a Bluetooth connection according to the management needs of the electronic device.
[0121] Furthermore, after receiving the third control signal sent by the terminal device, the electronic device 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, to improve the accuracy of biometric recognition, the following steps may be included before the step "perform biometric recognition based on biometric information and target biometric template to obtain recognition results":
[0123] The target biometric template is obtained from the terminal device via Bluetooth connection.
[0124] After the terminal device successfully connects to the Bluetooth module in the digital signal processor (DSP), the DSP can send an information retrieval request to the terminal device via Bluetooth. This request instructs the DSP to retrieve the target biometric template corresponding to the electronic device. Upon receiving this request, the terminal device can then send the target biometric template to the DSP.
[0125] The digital signal processor can store the target biometric template after receiving it from the terminal device, so that it can be used for subsequent biometric identification.
[0126] In some embodiments, the step "perform biometric identification based on biometric information and target biometric template to obtain identification results" may include the following operations:
[0127] Biometric identification is performed based on biometric information and target biometric templates stored in a digital signal processor to obtain identification results.
[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: recognition successful; if the biometric information is different from 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: recognition failed.
[0129] In some embodiments, the electronic device can be a smart fingerprint lock. Depending on the application design, after the Bluetooth-enabled fingerprint algorithm DSP is woken up, it can acquire fingerprint images from the fingerprint sensor via the SPI port without waiting for commands from the main control chip. It then processes the fingerprint images, performs fingerprint comparison, and sends the comparison results to the main control chip. When the Bluetooth-enabled fingerprint algorithm DSP is woken up, it continuously broadcasts Bluetooth messages. Terminal devices can scan and receive these messages successfully, establishing a Bluetooth communication connection. Depending on the application, the comparison results can be transmitted to the paired terminal device, allowing corresponding operations to be performed through the corresponding APP (Application) on the terminal device. During fingerprint feature comparison, pre-stored fingerprint templates can be stored in the fingerprint algorithm DSP's storage module, or fingerprint templates stored on a remote terminal can be transmitted to the fingerprint algorithm DSP via Bluetooth for comparison.
[0130] Among them, the corresponding APP on the terminal device can be the 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 "controlling the target functional module in the digital signal processor or electronic device to respond based on the third control signal" may include the following operations:
[0132] Based on the third control signal, mechanical operation instructions are generated and sent to the control chip, so that the electronic device can be controlled by the control chip to execute the mechanical operation corresponding to the mechanical operation instructions.
[0133] The digital signal processor can generate a mechanical operation instruction corresponding to the third control signal based on 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 instructing the deletion of the biometric template, then the step "controlling the target functional module in the digital signal processor or electronic device to respond based on the third control signal" may include the following operations:
[0135] If the recognition result is successful, the target biometric template is determined to be the template that needs to be deleted based on the third control signal;
[0136] Remove the target biometric template from the digital signal processor.
[0137] Deleting a biometric template refers to deleting stored biometric information.
[0138] When the recognition result is successful, indicating that the biometric information matches the target biometric template, the target biometric template can be determined as the one to be deleted. Furthermore, the target biometric template can be deleted from the biometric templates stored in the digital signal processor. This facilitates the management of 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's understanding of the information of the biometric template stored in the electronic device, a message indicating that the target biometric template has been successfully deleted can be sent to the terminal device via Bluetooth connection, so that the user knows that the target biometric template has been deleted.
[0140] This application discloses a device control method, which includes: acquiring a wake-up signal to control a digital signal processor (DSP) to exit a sleep state; establishing a Bluetooth connection with an external terminal device through a Bluetooth module in the DSP; acquiring a control signal through the Bluetooth connection; and controlling a target functional module in the DSP or electronic device to respond based on the control signal. By integrating Bluetooth functionality into the DSP of the electronic device, communication between the electronic device and the terminal device is achieved through the Bluetooth function of the DSP, eliminating the need for an additional Bluetooth chip and thus reducing the communication cost between the electronic device and the terminal device.
[0141] Based on the above description, the following examples will further illustrate the device control method of this application.
[0142] For example, please see Figure 4 , Figure 4 This is a flowchart illustrating another device control method provided in an exemplary embodiment of this disclosure. Taking the application of this device control method to a smart fingerprint lock as an example, the specific process can be as follows:
[0143] 201. In fingerprint lock standby mode, the main control chip and fingerprint algorithm DSP enter low-power sleep mode, and the fingerprint sensor detects the finger status in low-power mode.
[0144] In this embodiment, the smart fingerprint lock is normally in standby mode. At this time, the main control chip and the fingerprint algorithm DSP with Bluetooth are also in low-power sleep mode, and the fingerprint sensor is in low-power finger touch detection mode.
[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 the fingerprint sensor detects that a user's finger is touching it, the fingerprint sensor sends an interrupt to the fingerprint algorithm DSP and the main control chip, waking them up.
[0147] 203. After the fingerprint algorithm DSP receives the interrupt signal, the Bluetooth module inside the fingerprint algorithm DSP is woken up and puts it into broadcast mode.
[0148] When the fingerprint algorithm DSP receives an interrupt signal, the Bluetooth module in the fingerprint algorithm DSP can be woken up, that is, it 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; the terminal device interacts with the fingerprint algorithm DSP, 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 the corresponding operation.
[0150] After the Bluetooth module enters broadcast mode, it can respond to the scanning request of the terminal device, establish a connection with the terminal device, and pair.
[0151] In this embodiment, to ensure communication security, the pairing process may include exchanging keys or entering a PIN code. After connection and pairing are completed, data exchange can begin between the terminal device and the fingerprint algorithm DSP with Bluetooth functionality. The fingerprint module can be operated through the corresponding APP on the terminal device. To ensure security, the fingerprint data during Bluetooth transmission is encrypted using a high-strength encryption algorithm to prevent data interception and cracking.
[0152] If fingerprint authentication is not required for unlocking, the terminal device sends the corresponding unlocking protocol command to the fingerprint algorithm DSP with Bluetooth functionality. After parsing the protocol, the fingerprint algorithm DSP sends the command to the host, notifying the host to perform the unlocking operation.
[0153] If fingerprint comparison is required, the protocol content corresponding to the comparison command is sent to the fingerprint algorithm DSP with Bluetooth functionality. The fingerprint sensor acquires the fingerprint image, the fingerprint algorithm DSP processes the fingerprint image, and then compares the fingerprint image information with a pre-stored fingerprint template. The comparison result is then transmitted to the terminal device via Bluetooth. Simultaneously, the fingerprint module displays corresponding lights or sounds to indicate the comparison result. The terminal device APP can respond accordingly based on the comparison result. If the comparison is successful, it returns the protocol command for unlocking. After being decrypted and parsed by the fingerprint algorithm DSP, the unlocking command is transmitted to the main control chip through the interface. The main control chip then controls the motor module to perform the corresponding operations.
[0154] 205. Data interaction completed, operation ended, Bluetooth connection disconnected.
[0155] Once the operation is complete, the terminal device or the fingerprint algorithm DSP with Bluetooth can initiate a disconnection request, and the connection will be disconnected after both parties confirm.
[0156] This application discloses a device control method, which includes: a fingerprint lock in standby mode; a main control chip and a fingerprint algorithm DSP in low-power sleep mode; and a fingerprint sensor in low-power finger detection mode. When the fingerprint sensor receives a finger touch signal, it sends an interrupt signal to the fingerprint algorithm DSP and the main control chip. Upon receiving the interrupt signal, the Bluetooth module within the fingerprint algorithm DSP is woken up and enters a broadcast state. The Bluetooth module responds to the scanning request from the terminal device, establishes a connection with the terminal device, and pairs. The terminal device and the fingerprint algorithm DSP interact with each other, the fingerprint algorithm DSP parses the Bluetooth commands, and transmits the commands to the main control chip through an 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 fingerprint sensor wakes up the digital signal processor, and then the Bluetooth module in the digital signal processor establishes a Bluetooth connection with the terminal device to perform subsequent operations, thereby improving the convenience of controlling the smart fingerprint lock.
[0157] For example, please see Figure 5 , Figure 5 This is a flowchart illustrating another device control method provided in an exemplary embodiment of this disclosure. Taking the application of this device control method to a smart fingerprint lock as an example, the specific process can be as follows:
[0158] 301. When the fingerprint lock is in standby mode, the main control chip and the fingerprint sensor are in a low-power sleep state, and the Bluetooth module in the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state.
[0159] In this embodiment, when the smart fingerprint lock is in standby mode, the main control chip is in low-power sleep mode, the fingerprint sensor in the fingerprint module is in low-power sleep mode, and the Bluetooth module in the fingerprint algorithm DSP with Bluetooth function is a low-power Bluetooth module, which is in low-power broadcast mode and waiting for host scanning.
[0160] 302. When the mobile terminal is near, the Bluetooth Low Energy module responds to the master device's scan, establishes a connection, and pairs. After successful pairing verification, 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 sleep mode to finger detection mode.
[0161] When a mobile terminal approaches, the Bluetooth module of the fingerprint algorithm DSP responds to the scanning request of the mobile terminal, establishes a connection and pairs with the mobile terminal. After the connection and pairing are completed, the mobile terminal and the fingerprint algorithm DSP with Bluetooth function can start data interaction. The mobile terminal can perform corresponding operations according to the APP on the mobile terminal. It can send an interrupt request 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 via the mobile terminal APP.
[0163] The fingerprint sensor acquires fingerprint images, the fingerprint algorithm DSP processes the fingerprint images, and then performs various fingerprint management operations such as fingerprint image enrollment and fingerprint recognition, or sends unlocking and locking commands to the main control chip.
[0164] 304. Data interaction completed, operation ended, Bluetooth connection disconnected, fingerprint sensor switched to sleep mode.
[0165] Once the operation is complete, switch the fingerprint sensor to sleep mode, and then the Bluetooth module initiates a disconnection request. After both parties confirm, the Bluetooth connection will be disconnected, and the Bluetooth module will switch back to low-power broadcast mode.
[0166] This application discloses a device control method, which includes: the fingerprint lock is in standby mode, the main control chip and the fingerprint sensor are in a low-power sleep state, and the Bluetooth module in the fingerprint algorithm DSP is in a low-power Bluetooth broadcast state. When a mobile terminal approaches, the low-power Bluetooth module responds to the main device scan, establishes a connection, and pairs. After successful pairing verification, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake it up and switches the fingerprint sensor from sleep state to finger detection state. The fingerprint module is then operated according to the mobile terminal APP. After data interaction is completed and the operation ends, the Bluetooth connection is disconnected, and the fingerprint sensor is switched back to sleep mode. In this way, the Bluetooth module in the digital signal processor wakes up the digital signal processor, and then the Bluetooth module in the digital signal processor connects to the mobile terminal via Bluetooth to perform subsequent operations, thereby improving the convenience of controlling the smart fingerprint lock.
[0167] For example, please see Figure 6 , Figure 6 This is a flowchart illustrating another device control method provided in an exemplary embodiment of this disclosure. Taking the application of this device control method to a smart fingerprint lock as an example, the specific process can be as follows:
[0168] 401. When 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 this embodiment, when the smart fingerprint lock is in standby mode, the main control chip is in low-power sleep mode, the Bluetooth module of the fingerprint algorithm DSP is in low-power Bluetooth broadcast mode, waiting for the host to scan; and the fingerprint sensor is in low-power finger touch detection mode.
[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. Alternatively, when the mobile terminal is close, the low-power Bluetooth module responds to the master device's scan, establishes a connection, and pairs. After successful pairing verification, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake up the main control chip.
[0171] When a user's finger touches the fingerprint sensor, the fingerprint sensor sends an interrupt signal to the host and the fingerprint algorithm DSP. Alternatively, when a mobile terminal approaches, it responds to the mobile terminal's scanning request, establishes a connection and pairs with the mobile terminal. After successful verification and pairing, the mobile terminal and the Bluetooth-enabled fingerprint algorithm DSP can begin data interaction, sending an interrupt request to wake up the main control chip.
[0172] 403. The fingerprint sensor collects fingerprint images, the fingerprint algorithm DSP processes the fingerprint images, and fingerprint recognition is performed. Once the fingerprint recognition is successful, a command can be directly sent to the main controller to unlock the door, or the recognition result can be sent to a mobile terminal APP, which can then operate the fingerprint module.
[0173] The fingerprint sensor captures fingerprint images, the fingerprint algorithm DSP processes these images, and compares them with pre-stored fingerprint templates. If a match is found, an unlock command is sent directly to the main control chip, and then the unlock record is sent to the mobile app. Alternatively, the comparison result can be sent to the mobile app, which then performs corresponding operations based on the app's instructions.
[0174] For example, when unlocking a smart fingerprint lock, if the fingerprint match is successful, the result can be sent to a mobile terminal. The mobile terminal app then sends the unlock command to the fingerprint algorithm DSP with Bluetooth functionality. The fingerprint algorithm DSP then sends the unlock command to the main controller to execute the unlocking action.
[0175] Alternatively, when a fingerprint needs to be successfully matched before the corresponding fingerprint is deleted, the matching result is sent to the mobile terminal APP. If the matching is successful, the mobile terminal sends a fingerprint deletion command and the fingerprint D to be deleted to the fingerprint algorithm DSP based on the matching result. The fingerprint algorithm DSP executes the deletion of the corresponding fingerprint template, and after the deletion is completed, it replies with a deletion success message to the mobile terminal APP.
[0176] 404. Data interaction completed, operation ended, Bluetooth connection disconnected.
[0177] Once the operation is complete, switch the fingerprint sensor to sleep mode, and then the Bluetooth module initiates a disconnection request. After both parties confirm, the Bluetooth connection will be disconnected, and the Bluetooth module will switch back to low-power broadcast mode.
[0178] This application discloses a device control method, which includes: 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. 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 a mobile terminal approaches, the low-power Bluetooth module responds to the main device scan, establishes a connection, and pairs. After successful pairing verification, the fingerprint algorithm DSP sends an interrupt request to the main control chip to wake it up. The fingerprint sensor acquires a fingerprint image, the fingerprint algorithm DSP processes the fingerprint image, and performs fingerprint recognition. If the fingerprint recognition is successful, a command can be directly sent to the main control to unlock the lock, or the recognition result can be sent to a mobile terminal APP. The fingerprint module is operated according to the mobile terminal APP. After data interaction is completed, the operation ends, and the Bluetooth connection is disconnected. In this way, the digital signal processor is woken up in multiple ways, and then the Bluetooth module in the digital signal processor connects with the mobile terminal via Bluetooth to perform subsequent operations, thereby improving the convenience of controlling the smart fingerprint lock.
[0179] To facilitate better implementation of the device control method provided in the exemplary embodiments of this disclosure, this application also provides a device control apparatus based on the above-described device control method. The meanings of the terms used are the same as in the above-described device control method, and specific implementation details can be found in the descriptions within the method embodiments.
[0180] Please see 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 includes:
[0181] The signal acquisition unit 501 is used to acquire a wake-up signal and control the digital signal processor to exit the sleep state.
[0182] The connection unit 502 is used to establish a Bluetooth connection with an external terminal device via the Bluetooth module in the digital signal processor.
[0183] The control unit 503 is used to acquire control signals via Bluetooth connection and to control the target functional module in the digital signal processor or electronic device to respond based on the control signals.
[0184] In some embodiments, the signal acquisition unit 501 may include:
[0185] The first receiving subunit is used to receive the wake-up signal sent by the control chip of the electronic device and control the digital signal processor to exit the sleep state;
[0186] Alternatively, the second receiving subunit is used to receive a wake-up signal sent by the target sensor of the electronic device and control the digital signal processor to exit the sleep state;
[0187] Alternatively, the first broadcast subunit is used to broadcast signals via the Bluetooth module of the digital signal processor when the digital signal processor is in sleep mode;
[0188] The first control subunit is used to receive a scan request sent by the terminal device via the Bluetooth module and control the digital signal processor to exit the 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 a scenario where the digital signal processor is controlled to exit a sleep state based on a scan request, the control unit 503 may include:
[0190] The first generation subunit is used to generate a first control signal if the Bluetooth connection is successfully established.
[0191] The first transmitting subunit is used to send a first control signal to the control chip and target sensor of the electronic device to trigger the control chip and target sensor to exit the sleep state.
[0192] In some embodiments, the control unit 503 may include:
[0193] The first acquisition subunit is used to acquire the second control signal sent by the terminal device via Bluetooth connection;
[0194] The second transmitting subunit is used to send equipment mechanical operation instructions to the control chip based on the second control signal, so as to control the electronic equipment to execute the mechanical operation corresponding to the equipment mechanical operation instructions.
[0195] In some embodiments, the device may further include:
[0196] The information acquisition unit is used to acquire biometric information collected by the target sensor of the electronic device;
[0197] The identification unit is used to perform biometric identification based on biometric information and target biometric template to obtain identification results;
[0198] The control unit 503 may include:
[0199] The third transmitting subunit is used to send the identification result to the terminal device via Bluetooth connection, and to receive the third control signal fed back by the terminal device based on the identification result;
[0200] The response subunit is used to control the target functional module in the digital signal processor or electronic device to respond based on the third control signal.
[0201] In some embodiments, the device 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 biometric information and target biometric templates stored in the digital signal processor, and obtain the identification result.
[0205] In some embodiments, the third control signal includes a signal instructing the electronic device to perform mechanical operations, and the response subunit may specifically be used for:
[0206] Based on the third control signal, mechanical operation instructions are generated and sent to the control chip, so that the electronic device can be controlled by the control chip to execute the mechanical operation corresponding to the mechanical operation instructions.
[0207] In some embodiments, the third control signal includes a signal instructing the deletion of the biometric template, and the response subunit may specifically include:
[0208] If the recognition result is successful, the target biometric template is determined to be the template that needs to be deleted based on the third control signal;
[0209] Remove the target biometric template from the digital signal processor.
[0210] This application discloses a device control apparatus. A signal acquisition unit 501 acquires a wake-up signal to control a digital signal processor (DSP) to exit a sleep state. A connection unit 502 establishes a Bluetooth connection with an external terminal device via a Bluetooth module in the DSP. A control unit 503 acquires control signals via the Bluetooth connection and controls a target functional module in the DSP or electronic device to respond based on these control signals. This reduces the communication cost between the electronic device and the terminal device.
[0211] Accordingly, embodiments of this application also provide an electronic device. For example... Figure 8 As shown, Figure 8 This is a schematic diagram of the structure of an electronic device provided in an exemplary embodiment of this disclosure. The electronic device 600 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored in the memory 602 and executable on the processor. The processor 601 and the memory 602 are electrically connected. Those skilled in the art will understand that... Figure 8 The electronic device structures shown herein do not constitute a limitation on electronic devices and may include, but are not limited to, those shown. Figure 8 It can show more or fewer parts, or combine certain parts, or arrange different parts.
[0212] The processor 601 is the control center of the electronic device 600. It connects various parts of the electronic device 600 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the electronic device 600 and processes data, thereby monitoring the electronic device 600 as a whole.
[0213] In this embodiment, the processor 601 in the electronic device 600 loads the instructions corresponding to the processes of one or more applications into the memory 602 according to the following steps, and the processor 601 runs the applications stored in the memory 602 to achieve various functions:
[0214] Obtain a wake-up signal to control the digital signal processor to exit sleep mode;
[0215] A Bluetooth connection is established with an external terminal device through the Bluetooth module in the digital signal processor;
[0216] The system acquires control signals via Bluetooth connection and controls target functional modules in digital signal processors or electronic devices to respond based on these control signals.
[0217] This application embodiment obtains a wake-up signal to control the digital signal processor (DSP) to exit sleep mode; establishes a Bluetooth connection with an external terminal device through the Bluetooth module in the DSP; obtains control signals through the Bluetooth connection, and controls the target functional module in the DSP or electronic device to respond based on the control signals. The above technical solution integrates Bluetooth functionality into the DSP of the electronic device, achieving communication between the electronic device and the terminal device through the DSP's Bluetooth function, eliminating the need for an additional Bluetooth chip and thus reducing communication costs between the electronic device and the terminal device.
[0218] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated 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 both the display 603 and the input unit 604. Those skilled in the art will understand that... Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0220] The display 603 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The display 603 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, guidance information, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other similar devices. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program. Optionally, the touch panel may include a touch detection device and a touch controller.
[0221] The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 601. It can also receive and execute commands from the processor 601. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 601 to determine the type of touch event. Subsequently, the processor 601 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and display panel can be integrated into the display 603 to achieve input and output functions. However, in some embodiments, the touch panel and display panel can be implemented as two independent components to achieve input and output functions. That is, the display 603 can also be used as part of the input unit 604 to achieve input functions.
[0222] The input unit 604 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, 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 can be used to provide an audio interface between the user and the device control device via a speaker and a microphone. The audio circuit can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by the audio circuit, converted back into audio data, and processed by the processor 601. The audio data is then transmitted via a radio frequency circuit to, for example, another device control device, or output to a memory 602 for further processing. The audio circuit may also include an earphone jack to provide communication between a peripheral headset and the device control device.
[0224] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0225] As can be seen from the above, the electronic device provided in this embodiment can acquire a wake-up signal to control the digital signal processor to exit the sleep state; establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; acquire control signals through the Bluetooth connection; and control the target functional module in the digital signal processor or electronic device to respond based on the control signals.
[0226] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a digital signal processor to execute the steps of any of the device control methods provided in embodiments of this application. For example, the computer program can execute the following steps:
[0227] Obtain a wake-up signal to control the digital signal processor to exit sleep mode;
[0228] A Bluetooth connection is established with an external terminal device through the Bluetooth module in the digital signal processor;
[0229] The system acquires control signals via Bluetooth connection and controls target functional modules in digital signal processors or electronic devices to respond based on these control signals.
[0230] This application embodiment obtains a wake-up signal to control the digital signal processor (DSP) to exit sleep mode; establishes a Bluetooth connection with an external terminal device through the Bluetooth module in the DSP; obtains control signals through the Bluetooth connection, and controls the target functional module in the DSP or electronic device to respond based on the control signals. The above technical solution integrates Bluetooth functionality into the DSP of the electronic device, achieving communication between the electronic device and the terminal device through the DSP's Bluetooth function, eliminating the need for an additional Bluetooth chip and thus reducing communication costs between the electronic device and the terminal device.
[0231] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0232] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0233] Since the computer program stored in the storage medium can execute the steps of any of the device control methods provided in the embodiments of this application, the beneficial effects that any of the device control methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0234] The above provides a detailed description of a device control method, apparatus, digital signal processor, and electronic device provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A device control method, characterized in that, The method, applied to a digital signal processor in an electronic device, includes: Obtain a wake-up signal and control the digital signal processor to exit the sleep state; A Bluetooth connection is established with an external terminal device through the Bluetooth module in the digital signal processor. The control signal is acquired through the Bluetooth connection, and the target functional module in the digital signal processor or the electronic device is controlled to respond based on the control signal; wherein the target functional module includes a control chip and a target sensor; After the digital signal processor is exited from sleep mode, the method further includes: Acquire biometric information collected by the target sensors of electronic devices; Biometric identification is performed based on the biometric information and the target biometric template to obtain the identification result; The step of acquiring control signals via the Bluetooth connection and controlling the target functional module in the digital signal processor or the electronic device to respond based on the control signals includes: The identification result is sent to the terminal device via the Bluetooth connection, and a third control signal is received from the terminal device based on the identification result. The third control signal is used to control the target functional module in the digital signal processor or the electronic device to respond. The third control signal is used to send mechanical operation instructions to the control chip and / or control the deletion of the target biometric template used for identification from the digital signal processor.
2. The equipment control method according to claim 1, characterized in that, The step of acquiring a wake-up signal and controlling the digital signal processor to exit the sleep state includes: The system receives a wake-up signal from the control chip of the electronic device and controls the digital signal processor to exit the sleep state. Alternatively, it can receive a wake-up signal sent by the target sensor of the electronic device and control the digital signal processor to exit the sleep state; Alternatively, when the digital signal processor is in sleep mode, a broadcast signal may be emitted via the Bluetooth module of the digital signal processor; The Bluetooth module receives a scan request sent by the terminal device and controls the digital signal processor to exit the sleep state, wherein the scan request is a wake-up signal.
3. The equipment control method according to claim 2, characterized in that, In a scenario where the digital signal processor is controlled to exit a sleep state based on the scan request, the step of acquiring a control signal via 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: If the Bluetooth connection is successfully established, a first control signal is generated; A first control signal is sent to the control chip and target sensor of the electronic device to trigger the control chip and target sensor to exit the sleep state.
4. The equipment control method according to claim 1, characterized in that, The step of acquiring control signals via the Bluetooth connection and controlling the target functional module in the digital signal processor or the electronic device to respond based on the control signals includes: The second control signal sent by the terminal device is obtained through the Bluetooth connection; Based on the second control signal, a device mechanical operation command is sent to the control chip to control the electronic device to perform the mechanical operation corresponding to the device mechanical operation command.
5. The equipment control method according to claim 1, characterized in that, Before performing biometric identification based on the biometric information and the target biometric template to obtain the identification result, the method further includes: The target biometric template is obtained from the terminal device via the Bluetooth connection.
6. The equipment control method according to claim 1, characterized in that, The biometric identification based on the biometric information and the target biometric template, to obtain the 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 the identification result.
7. The equipment control method according to claim 1, characterized in that, The third control signal includes a signal instructing the electronic device to perform mechanical operations; controlling the digital signal processor or the target functional module in the electronic device to respond based on the third control signal includes: Based on the third control signal, a mechanical operation command is generated, and the mechanical operation command is sent to the control chip, so that the electronic device can be controlled by the control chip to perform the mechanical operation corresponding to the mechanical operation command.
8. The equipment control method according to claim 1, characterized in that, The third control signal includes a signal instructing the deletion of the biometric template; The control of the target functional module in the digital signal processor or the electronic device to respond based on the third control signal includes: If the recognition result is successful, based on the third control signal, the target biometric template is determined to be a template that needs to be deleted; The target biometric template is deleted from the digital signal processor.
9. A device control apparatus, characterized in that, include: The signal acquisition unit is used to acquire a wake-up signal and control the digital signal processor to exit the sleep state; The connection unit is used to establish a Bluetooth connection with an external terminal device through the Bluetooth module in the digital signal processor; A control unit is configured to acquire control signals via the Bluetooth connection and control a target functional module in the digital signal processor or electronic device to respond based on the control signals; wherein the target functional module includes a control chip and a target sensor; After the digital signal processor is exited from sleep mode, the device is further configured to: Acquire biometric information collected by the target sensors of electronic devices; Biometric identification is performed based on the biometric information and the target biometric template to obtain the identification result; The control unit is also used for: The identification result is sent to the terminal device via the Bluetooth connection, and a third control signal is received from the terminal device based on the identification result. The third control signal is used to control the target functional module in the digital signal processor or the electronic device to respond. The third control signal is used to send mechanical operation instructions to the control chip and / or control the deletion of the target biometric template used for identification from the digital signal processor.
10. A digital signal processor, characterized in that, The digital signal processor integrates a Bluetooth module and also stores a computer program, which causes the digital signal processor to perform the steps of the method as described in any one of claims 1-8.
11. A biometric identification module, characterized in that, It includes a target sensor for detecting biometric information and a digital signal processor as described in claim 10.
12. An electronic device, characterized in that, It includes a main control chip and a biometric identification module as described in claim 11.
Citation Information
Patent Citations
Bluetooth communication method, medium and electronic equipment
CN113490191A