Wireless communication application awakening method and device, electronic equipment and storage medium
By deploying a signal screening module in the electronic device, the received wireless communication signals are screened, and only signals that are allowed to be woken up are reported, which solves the power consumption problem caused by frequent waking up of wireless communication applications and achieves reduction in power consumption.
Patent Information
- Application Number
- CN202310430647.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing technology, electronic devices frequently wake up wireless communication applications when receiving wireless communication signals, resulting in increased power consumption.
Deploy a signal filtering module in the electronic device to filter the received wireless communication signals through preset filtering conditions, and only report target signals that are allowed to wake up the wireless communication application to the application layer.
Frequent waking up of wireless communication applications is reduced, and the power consumption of electronic devices is reduced.
Smart Images

Figure CN118828811A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a wireless communication application wake-up method and device, electronic equipment, and storage medium. Background Art
[0002] With the development of wireless communication technologies, functions such as Bluetooth, WIFI, and NFC (Near Field Communication) have become common configurations of electronic devices.
[0003] In the related art, although the wireless communication function brings great convenience, there is a situation where the wireless communication signal frequently wakes up the wireless communication application during user use. Summary of the invention
[0004] The present disclosure provides a wireless communication application wake-up method and device, electronic device, and storage medium, which can avoid the situation where wireless communication signals frequently wake up the wireless communication application.
[0005] According to a first aspect of the present disclosure, a wireless communication application wake-up method is provided, which is applied to an electronic device, wherein a signal screening module is deployed in the electronic device; the method comprises:
[0006] Acquire wireless communication signals in the environment, and input the wireless communication signals into the signal screening module, so that the signal screening module outputs screening results based on preset screening conditions;
[0007] When the screening result indicates that the acquired wireless communication signal includes a target wireless communication signal that allows waking up the wireless communication application, the screened target wireless communication signal is reported to the application layer to wake up the wireless communication application.
[0008] According to a second aspect of the present disclosure, a Bluetooth communication application wake-up method is provided, which is applied to an electronic device, wherein a Bluetooth signal screening module is deployed in the electronic device; the method comprises:
[0009] Acquire a Bluetooth signal in the environment, and input the acquired Bluetooth signal into the Bluetooth signal screening module, so that the Bluetooth signal screening module outputs a screening result based on a preset screening condition;
[0010] When the screening result indicates that the acquired Bluetooth signal contains a target Bluetooth signal that allows waking up the Bluetooth communication application, the screened target Bluetooth signal is reported to the application layer to wake up the Bluetooth communication application.
[0011] According to a third aspect of the present disclosure, a system architecture is provided, including:
[0012] Application layer, where Bluetooth communication applications are deployed;
[0013] The driver framework layer is deployed with Bluetooth sensors;
[0014] The Bluetooth sensor is used to screen the Bluetooth signals in the environment, and report the screened target Bluetooth signals that are allowed to wake up the Bluetooth communication application to the application layer, so as to wake up the Bluetooth communication application.
[0015] According to a fourth aspect of the present disclosure, a wireless communication application wake-up device is provided, which is applied to an electronic device, wherein a signal screening module is deployed in the electronic device; the device comprises:
[0016] A screening unit, which obtains wireless communication signals in the environment, and inputs the wireless communication signals into the signal screening module, so that the signal screening module outputs screening results based on preset screening conditions;
[0017] The awakening unit reports the screened target wireless communication signal to the application layer to wake up the wireless communication application when the screening result indicates that the acquired wireless communication signal contains a target wireless communication signal that allows waking up the wireless communication application.
[0018] According to a fifth aspect of the present disclosure, there is provided an electronic device, including:
[0019] processor;
[0020] a memory for storing processor-executable instructions;
[0021] The processor implements the method as described in the first aspect or the second aspect by running the executable instructions.
[0022] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0023] In the technical solution of the present disclosure, a signal filtering module is pre-deployed in the electronic device, so that the present disclosure can filter the wireless communication signals in the environment based on the signal filtering module, and only report the screened target wireless communication applications that are allowed to wake up the wireless communication applications to the application layer to wake up the wireless communication applications.
[0024] It should be understood that since the present disclosure has completed the screening operation of the wireless communication signal in the signal screening module, the present disclosure only needs to report a small amount of wireless communication signals obtained by screening to the application layer, thereby avoiding the problem that the related technology reports all acquired wireless communication signals to the application layer, frequently wakes up the wireless communication application, and causes high power consumption of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0026] Figure 1 is a flow chart of a wireless communication application wake-up method shown in an exemplary embodiment of the present disclosure;
[0027] Figure 2 is a flow chart of a method for waking up a Bluetooth communication application shown in an exemplary embodiment of the present disclosure;
[0028] Figure 3 is a schematic diagram of a system architecture shown in an exemplary embodiment of the present disclosure;
[0029] Figure 4 is a schematic diagram of another system architecture shown in an exemplary embodiment of the present disclosure;
[0030] Figure 5 is a flowchart of another Bluetooth communication application wake-up method shown in an exemplary embodiment of the present disclosure;
[0031] Figure 6 is a block diagram of a wireless communication application wake-up device shown in an exemplary embodiment of the present disclosure;
[0032] Figure 7 is a block diagram of a Bluetooth communication application wake-up device shown in an exemplary embodiment of the present disclosure;
[0033] Figure 8 It is a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0035] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0036] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0037] In the related art, when an electronic device receives a wireless communication signal, it will report the wireless communication signal to the application layer to wake up the corresponding wireless communication application and then perform the communication operation. Among them, the related art is to determine whether it is necessary to respond to the corresponding wireless communication signal after waking up the wireless communication application. In other words, the electronic device will report all the wireless communication signals it has obtained to the application layer and wake up the wireless communication application.
[0038] It should be understood that, since the related technology reports all wireless communication signals to the application layer, the wireless communication application screens the wireless communication signals for response, so that no matter whether the wireless communication application responds to the acquired wireless communication signal, the wireless communication application needs to be awakened, resulting in a large number of invalid awakenings, and each time the wireless communication application is awakened, a certain amount of power consumption is consumed. It can be seen that the related technology has the problem that the wireless communication application is frequently awakened, resulting in high power consumption of the electronic device.
[0039] To this end, the present disclosure proposes a wireless communication application wake-up method to avoid the problem in related technologies that all acquired wireless communication applications need to be reported to the application layer, resulting in frequent wake-up of the wireless communication application, thereby causing high power consumption of the electronic device.
[0040] Figure 1 The flowchart of a wireless communication application wake-up method shown in an exemplary embodiment of the present disclosure. The method is applied to an electronic device, in which a signal filtering module is deployed; Figure 1 As shown, the method may include the following steps:
[0041] Step 102: Acquire wireless communication signals in the environment, and input the wireless communication signals into the signal screening module, so that the signal screening module outputs screening results based on preset screening conditions.
[0042] From the above introduction, it can be seen that the reason why the related technology has the problem of wireless communication applications being frequently woken up, resulting in high power consumption of electronic devices, is that the related technology requires the wireless communication application to perform signal screening operations, resulting in the need for all wireless communication signals to be reported to the application layer.
[0043] In view of this, the present disclosure deploys a signal screening module in the electronic device, which can screen the acquired wireless communication signal according to the preset screening conditions to determine whether the acquired wireless communication signal contains the target wireless communication signal that allows the wireless communication application to be awakened. If so, the screened target wireless communication signal is reported to the application layer to wake up the wireless communication application. On this basis, the wireless communication application no longer needs to screen the received target wireless communication signal, but can directly respond to the target wireless communication signal.
[0044] It should be understood that since the present disclosure additionally deploys a signal filtering module for filtering target wireless communication signals that are allowed to wake up wireless communication applications, the present disclosure has already implemented the filtering operation of wireless communication signals before reporting them to the application layer, reducing the wireless communication signals that need to be reported to the application layer, thereby avoiding the problem of related technologies that all acquired wireless communication signals are reported to the application layer due to the need for the wireless communication application to perform the filtering operation, thereby frequently waking up the wireless communication application.
[0045] In the present disclosure, wireless communication signals in the environment can be obtained in a variety of ways. For example, since wireless communication devices usually send wireless communication signals in the form of broadcasting, a wireless communication chip can also be deployed in the electronic device of the present disclosure, so that the wireless communication chip can obtain the wireless communication signals in the environment by means of route scanning. For example, a route scanning instruction can be issued to the wireless communication chip by the signal screening module, instructing the wireless communication chip to perform route scanning to obtain the wireless communication signals in the environment; for another example, the wireless communication application can also issue a route scanning instruction when it is started, instructing the wireless communication chip to perform route scanning to obtain the wireless communication signals in the environment. In this example, the route scanning instruction can be directly issued to the wireless communication chip by the wireless communication application, or forwarded to the wireless communication chip via the signal screening module, wherein the route scanning instruction issued by the application can be a periodic route scanning instruction, so that the wireless communication chip can perform periodic route scanning based on the scanning instruction, avoiding the need to repeatedly issue the route scanning instruction.
[0046] In the present disclosure, the signal screening module may be deployed in various forms.
[0047] In one embodiment, the signal screening module may be deployed in the form of a sensor. In other words, the deployed signal screening module may be a “wireless signal sensor”.
[0048] In this embodiment, since various sensors are usually deployed in the driving framework layer, a driving framework layer different from the application layer can be additionally deployed for the electronic device, and then the wireless signal sensor can be deployed in the driving framework layer. Of course, in addition to wireless signal sensors, other types of sensors can also be deployed in the driving framework layer, and the present disclosure does not limit this. In addition, the present embodiment can use any technology to deploy the driving framework layer, for example, it can be deployed using the Sensor Hub framework, and it can also be deployed using MEMS (Micro-Electro-Mechanical System, micro-electromechanical system) technology, and the present disclosure does not limit this.
[0049] It is worth noting that the wireless signal sensor in this embodiment can be a low-power sensor. For example, in a scenario where the wireless communication technology used is Bluetooth technology, the wireless signal sensor can be a BLE (Bluetooth Low Energy) Sensor, thereby reducing the power consumption of the device. Similarly, in scenarios where other wireless communication technologies are used, the deployed wireless signal sensor can also be a low-power sensor using the corresponding technology, which will not be repeated here.
[0050] In another embodiment, the signal screening module can be deployed in the form of a logic component. The logic component can be deployed in any layer of the system framework that is different from the application layer, for example, it can be deployed in the system layer or the Framework layer (software framework layer), and the present disclosure does not limit this.
[0051] Step 104, when the screening result indicates that the acquired wireless communication signal contains a target wireless communication signal that allows waking up the wireless communication application, the screened target wireless communication signal is reported to the application layer to wake up the wireless communication application.
[0052] In the present disclosure, a wireless communication signal that allows triggering a response of a wireless communication application can be set as a target wireless communication signal that allows waking up the wireless communication application, thereby ensuring that the screened target wireless communication signals reported to the application layer can trigger a response of the wireless communication application.
[0053] The present disclosure can set screening conditions for screening target wireless communication signals in a variety of ways, that is, different wireless communication signals can be set as wireless communication signals that are allowed to wake up the wireless communication application.
[0054] In one embodiment, the screening condition can be set according to the communication device that sends the wireless communication signal. For example, each communication device can obtain the wake-up permission of the wireless communication application deployed in the electronic device in advance to become a standard device corresponding to the wireless communication application. Then, after the electronic device obtains the wireless communication signal, it can determine whether the communication device that sends the wireless communication signal has obtained the wake-up permission of the wireless communication application. If so, it reports to the application layer to wake up the wireless communication application.
[0055] In another embodiment, the screening condition may also be set according to the characteristics of the wireless communication signal itself. For example, a preset signal frequency band that allows waking up the wireless communication application may be set, and then, when a wireless communication signal is acquired, it can be determined whether the wireless communication signal belongs to the preset signal frequency band, and if so, it is reported to the application layer to wake up the wireless communication application.
[0056] Of course, the above examples are only illustrative. How to set the screening conditions so that the signal screening module can screen the wireless communication signals that are allowed to wake up the wireless communication application can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.
[0057] In the present disclosure, the signal screening module deployed in the electronic device and the wireless communication application can adopt the same wireless communication technology. The wireless communication technology can be any one of "Bluetooth technology, WIFI technology, NFC (Near Field Communication)". Taking the use of Bluetooth technology as an example, the wireless communication application can be a Bluetooth communication application, and the deployed signal screening module can be a Bluetooth sensor, for example, it can be the above-mentioned BLE Sensor. It is similar when other wireless communication technologies are used, which will not be repeated here.
[0058] In the present disclosure, an electronic device may be equipped with an AP (Application Processor) and a BP (Baseband Processor), wherein the wireless communication application may run on the application processor, and the signal screening module may run on the baseband processor.
[0059] It should be noted that the execution subject of the technical solution of the present disclosure can be any type of electronic device, for example, the electronic device can be a mobile terminal such as a smart phone, a tablet computer, or a fixed terminal such as a smart TV, a PC (personal computer). It should be understood that any electronic device with a wireless communication function can be used as the electronic device in the present disclosure, and which type of electronic device is used as the execution subject of the technical solution of the present disclosure can be determined by those skilled in the art according to actual needs, and the present disclosure does not limit this.
[0060] It can be seen from the above technical solution that the present invention can pre-deploy a signal filtering module in an electronic device. The signal filtering module can filter the acquired wireless communication signals according to preset filtering conditions, and only report the target wireless communication signals allowed to wake up the wireless communication application to the application layer to wake up the wireless communication application.
[0061] It should be understood that since the signal filtering module performs the operation of filtering wireless communication signals in the present disclosure, the present disclosure only needs to report the target wireless communication signal that is allowed to wake up the wireless communication application, thereby avoiding the problem of related technologies that require the wireless communication application to perform the filtering operation, resulting in all wireless communication signals needing to be reported to the application layer, causing frequent wake-up of the wireless communication application.
[0062] The present disclosure also proposes a method for waking up a Bluetooth communication application. In this method, most of the operation modes are consistent with the wireless communication application waking up method described above, except that the wireless communication technology used is specifically limited to Bluetooth technology, and accordingly, the wireless communication application is limited to Bluetooth communication application, and the signal screening module is limited to Bluetooth signal screening module. The relevant contents can all refer to the above introduction to the wireless communication application waking up method, and will not be repeated in the following.
[0063] Figure 2 The flowchart of a method for waking up a Bluetooth communication application is shown as an exemplary embodiment of the present disclosure. The method is applied to an electronic device, in which a Bluetooth signal screening module is deployed; Figure 2 As shown, the method may include the following steps:
[0064] Step 202: obtain Bluetooth signals in the environment, and input the obtained Bluetooth signals into the Bluetooth signal screening module, so that the Bluetooth signal screening module outputs screening results based on preset screening conditions.
[0065] As described above, the present disclosure can obtain Bluetooth signals in the environment in a variety of ways. For example, since communication devices usually send Bluetooth signals in the form of broadcasting, a Bluetooth chip can also be deployed in the electronic device of the present disclosure, so that the Bluetooth chip can obtain Bluetooth signals in the environment by routing scanning.
[0066] As described above, the present disclosure can deploy the Bluetooth signal filtering module in a variety of forms. For example, the Bluetooth signal filtering module can be deployed in the form of a sensor. In other words, the deployed Bluetooth signal filtering module can be: a Bluetooth sensor. In this case, a driver framework layer that is different from the application layer can be additionally deployed for the electronic device, and then the Bluetooth sensor can be deployed in the driver framework layer. For example, the driver framework layer can be deployed using the Sensor Hub framework, that is, the Bluetooth sensor can be deployed in the Sensor Hub framework layer, wherein, in order to avoid excessive power consumption of the device, the Bluetooth sensor used can be the BLE Sensor described above. For another example, the Bluetooth signal filtering module can be deployed in the form of a logical component, and the logical component can be deployed in any layer of the system framework that is different from the application layer, for example, it can be deployed in the system layer, or the Framework layer (software framework layer), and the present disclosure does not limit this.
[0067] Step 204: When the screening result indicates that the acquired Bluetooth signals include a target Bluetooth signal that allows waking up the Bluetooth communication application, the screened target Bluetooth signal is reported to the application layer to wake up the Bluetooth communication application.
[0068] As described above, the present disclosure can set a Bluetooth signal that allows triggering a Bluetooth communication application response as a target Bluetooth signal that allows waking up the Bluetooth communication application, thereby ensuring that the screened target Bluetooth signals reported to the application layer can trigger a response from the Bluetooth communication application.
[0069] As described above, the present disclosure can set the screening conditions for screening the target Bluetooth signal in various ways. For example, the set screening conditions may include at least one of the following: the communication device that sends the Bluetooth signal is a "standard device that obtains the wake-up permission of the Bluetooth communication application"; the Bluetooth signal belongs to a preset signal frequency band.
[0070] As mentioned above, the electronic device may be equipped with an AP (Application Processor) and a BP (Baseband Processor), wherein the Bluetooth communication application may run on the application processor, and the Bluetooth signal screening module may run on the baseband processor.
[0071] It can be seen from the above technical solution that the present invention can pre-deploy a Bluetooth signal filtering module in an electronic device. The Bluetooth signal filtering module can filter the acquired Bluetooth signals according to preset filtering conditions, and only report the target Bluetooth signals that are allowed to wake up the Bluetooth communication application to the application layer to wake up the Bluetooth communication application.
[0072] It should be understood that since the Bluetooth signal filtering module performs the operation of filtering Bluetooth signals in the present invention, the present invention only needs to report the target Bluetooth signal that is allowed to wake up the Bluetooth communication application, thereby avoiding the problem in related technologies that all Bluetooth signals need to be reported to the application layer, resulting in frequent wake-up of the Bluetooth communication application due to the need for the Bluetooth communication application to perform the filtering operation.
[0073] The present disclosure also proposes a system architecture to implement the above wireless communication application wake-up method and Bluetooth communication application wake-up method. The specific operation and operation of the applications and components deployed in each architecture layer included in the system architecture can be referred to the introduction of the above two methods, which will not be repeated in the following.
[0074] Figure 3 FIG. 1 is a schematic diagram of a system architecture showing an exemplary embodiment of the present disclosure. Figure 3 As shown, the architecture may include:
[0075] The application layer 31 is deployed with a Bluetooth communication application 311 (i.e., Bluetooth 311 in the figure);
[0076] The driving framework layer 32 is deployed with a Bluetooth sensor 321 (i.e., BLE Sensor 321 in the figure);
[0077] The Bluetooth sensor 321 is used to filter the Bluetooth signals in the environment, and report the filtered target Bluetooth signals that are allowed to wake up the Bluetooth communication application 311 to the application layer 31 to wake up the Bluetooth communication application 311.
[0078] In this system architecture, the Bluetooth sensor 321 deployed in the driver framework layer 32 can be used to filter the acquired Bluetooth signals to report the filtered target Bluetooth signals that are allowed to wake up the Bluetooth communication application 311 to the application layer 31, thereby waking up the Bluetooth communication application 311.
[0079] In the system architecture, a Bluetooth chip may be further deployed in the driving framework layer 32 to route and scan Bluetooth signals in the environment.
[0080] As described above, the Bluetooth sensor 321 may send a route scanning instruction to the Bluetooth chip to instruct the Bluetooth chip to perform route scanning, or the Bluetooth communication application 311 may send a route scanning instruction to the Bluetooth chip to instruct the Bluetooth chip to perform route scanning.
[0081] In the system architecture, the driver framework layer 32 may be a Sensor Hub framework layer, so as to deploy the above-mentioned Bluetooth sensor 321 with the help of the framework layer provided by the Android system.
[0082] It is worth noting that, in addition to the driver framework layer and the application layer, the system framework also includes multiple other architecture layers. Therefore, the present disclosure also proposes another system architecture.
[0083] Figure 4 FIG. 1 is a schematic diagram of another system architecture according to an exemplary embodiment of the present disclosure. Figure 4 As shown, the architecture may include:
[0084] The application layer 41 is deployed with various applications including Bluetooth communication applications;
[0085] The Framework layer 42 is deployed with various managers for implementing various functions;
[0086] The system operation layer 43 is deployed with the core code of the operating system;
[0087] The Sensor Hub layer 44 is deployed with various sensors including Bluetooth sensors to receive and detect various signals in the environment;
[0088] The Linux kernel layer 45 is deployed with logical components such as processes, drivers, and battery management.
[0089] In this system architecture, after the Bluetooth communication application included in the application layer 41 is started, routing scan instructions can be sent layer by layer starting from the Framework layer 42 to the Bluetooth sensor of the Sensor Hub layer 44 to instruct the Bluetooth sensor to periodically send routing scan instructions to the Bluetooth chip, thereby enabling the Bluetooth chip to perform continuous routing scans to obtain Bluetooth signals in the environment.
[0090] On this basis, the Bluetooth sensor can screen the acquired Bluetooth signals to determine whether there are Bluetooth signals that need to be reported.
[0091] Below, in Figure 4 Based on the system architecture shown, the technical solution of the present disclosure is explained in detail by taking "the screening condition is that the Bluetooth device that sends the Bluetooth signal is the preset device" as an example.
[0092] Figure 5 FIG. 1 is a flow chart of another method for waking up a Bluetooth communication application according to an exemplary embodiment of the present disclosure. Figure 5 As shown, the method may include the following steps:
[0093] Step 501: The Framework layer detects that the BLE scanning condition is met.
[0094] In this embodiment, a BLE scanning condition may be preset in the Framework layer to determine whether it is necessary to scan the BLE signal, ie, the Bluetooth signal, in the environment.
[0095] For example, the scanning condition may be: the Bluetooth communication application deployed at the application layer is started. For another example, in order to maintain low power consumption of the Bluetooth communication application, the Bluetooth communication application may be in a dormant state. Therefore, the scanning condition may also be: the Bluetooth communication application deployed at the application layer is started and is in a dormant state. Of course, this example is only illustrative. How to set the BLE scanning condition, or even whether to set the scanning condition, can be determined by those skilled in the art according to actual needs, and this embodiment does not limit this.
[0096] Step 502: Send BLE scanning instructions layer by layer from the Framework layer to the BLESensor of the Sensor Hub framework layer.
[0097] In this implementation, after the BLE scanning conditions are met, the BLE scanning instructions can be sent down layer by layer to the BLE Sensor (i.e., Bluetooth sensor) of the SensorHub framework layer, so that the BLE Sensor can periodically send routing scanning instructions for BLE signals to the BLE chip, so that the BLE chip can continuously obtain the BLE signals in the environment.
[0098] Step 503: The BLE Sensor sends a routing scan instruction for the BLE signal to the BLE chip.
[0099] Step 504: The BLE chip performs a routing scan operation.
[0100] Step 505: The BLE chip returns the scanning result to the BLE Sensor.
[0101] In this embodiment, the BLE chip can return the routing scanning result, that is, the acquired BLE signal to the BLESensor for parsing and screening.
[0102] Step 506: The BLE Sensor analyzes the scan result.
[0103] Step 507 : The BLE Sensor verifies the device ID of each BLE signal based on the analysis result.
[0104] In this embodiment, the BLE Sensor can parse the device ID contained in each BLE signal for comparison with the pre-set standard device ID that is allowed to wake up the Bluetooth communication application. If it is determined that the device ID of any BLE signal is consistent with the standard device ID, it proves that the any BLE signal is sent by the preset standard device. Therefore, the any BLE signal can be reported to the application layer layer by layer to wake up the Bluetooth communication application of the application layer so that it can respond to the BLE signal.
[0105] It is worth noting that in this embodiment, the device ID can be added to the BLE signal according to actual needs. For example, the device ID carried in the BLE signal can be the Manufacturer ID of the corresponding Bluetooth device, and this embodiment does not limit this.
[0106] Step 508 , the BLE Sensor reports the BLE signal indicating that the device identification belongs to the preset standard device to the application layer layer by layer.
[0107] Step 509: wake up the Bluetooth communication application at the application layer.
[0108] For example, the BLE signal reported to the application layer may be a connection request signal of a Bluetooth headset. Then, the Bluetooth communication application may respond to the BLE signal and perform a connection operation of the Bluetooth headset.
[0109] It can be seen from the above technical solution that the present invention can complete the screening operation of BLE signals at the Sensor Hub framework layer, so that only BLE signals that meet the screening conditions are reported to the application layer layer by layer, and then the Bluetooth communication application is awakened to respond to it, avoiding the problem of frequent awakening of Bluetooth communication applications in related technologies.
[0110] Figure 6 is a block diagram of a wireless communication application wake-up device shown in an exemplary embodiment of the present disclosure. The device is applied to an electronic device, and a signal filtering module is deployed in the electronic device; Figure 6 The device includes: a screening unit 601 and a wake-up unit 602; wherein,
[0111] The screening unit 601 acquires wireless communication signals in the environment, and inputs the wireless communication signals into the signal screening module, so that the signal screening module outputs screening results based on preset screening conditions;
[0112] The awakening unit 602 reports the screened target wireless communication signal to the application layer to wake up the wireless communication application when the screening result indicates that the acquired wireless communication signal contains a target wireless communication signal that allows waking up the wireless communication application.
[0113] Optionally, the screening unit 601 is further used for:
[0114] The signal screening module sends a routing scanning instruction to the wireless communication chip deployed in the electronic device to instruct the wireless communication chip to obtain the wireless communication signal in the environment by routing scanning.
[0115] Optionally, the signal screening module is: a wireless signal sensor.
[0116] Optionally, a driving framework layer different from the application layer is deployed in the electronic device, and the wireless signal sensor is deployed in the driving framework layer.
[0117] Optionally, the driver framework layer is deployed using a Sensor Hub framework.
[0118] Optionally, the screening condition includes at least one of the following:
[0119] The communication device that sends the wireless communication signal is: a standard device that obtains the wake-up permission of the wireless communication application;
[0120] The wireless communication signal belongs to a preset signal frequency band.
[0121] Optionally, the wireless communication application is consistent with the wireless communication technology adopted by the signal screening module, and the wireless communication technology is any of the following:
[0122] Bluetooth technology, WIFI technology, near field communication technology.
[0123] Optional,
[0124] The wireless communication application runs on an application processor;
[0125] The signal screening module runs on the baseband processor.
[0126] Figure 7 is a block diagram of a Bluetooth communication application wake-up device shown in an exemplary embodiment of the present disclosure. The device is applied to an electronic device, in which a Bluetooth signal screening module is deployed; Figure 7 The device comprises: a screening unit 701 and a wake-up unit 702; wherein,
[0127] The screening unit 701 acquires the Bluetooth signal in the environment, and inputs the acquired Bluetooth signal into the Bluetooth signal screening module, so that the Bluetooth signal screening module outputs the screening result based on the preset screening condition;
[0128] The awakening unit 702 reports the screened target Bluetooth signal to the application layer to wake up the Bluetooth communication application if the screening result indicates that the acquired Bluetooth signal includes a target Bluetooth signal that allows waking up the Bluetooth communication application.
[0129] Optionally, the Bluetooth signal screening module is: a Bluetooth sensor.
[0130] Optionally, the Bluetooth sensor is deployed in the Sensor Hub framework layer.
[0131] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0132] Accordingly, the present disclosure also provides a wireless communication application wake-up device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement a wireless communication application wake-up method as described in any of the above embodiments, for example, the method may include: obtaining a wireless communication signal in the environment, and inputting the wireless communication signal into the signal filtering module, so that the signal filtering module outputs a filtering result based on a preset filtering condition; when the filtering result indicates that the acquired wireless communication signal contains a target wireless communication signal that allows waking up the wireless communication application, reporting the filtered target wireless communication signal to the application layer to wake up the wireless communication application.
[0133] Accordingly, the present disclosure also provides an electronic device, which includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for implementing a wireless communication application wake-up method as described in any of the above embodiments. For example, the method may include: acquiring a wireless communication signal in the environment, and inputting the wireless communication signal into the signal filtering module, so that the signal filtering module outputs a filtering result based on a preset filtering condition; when the filtering result indicates that the acquired wireless communication signal includes a target wireless communication signal that allows waking up the wireless communication application, reporting the filtered target wireless communication signal to the application layer to wake up the wireless communication application.
[0134] Figure 8 8 is a block diagram of an apparatus 800 for implementing a method for waking up a wireless communication application according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0135] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0136] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0137] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0138] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0139] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0140] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0141] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0142] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0143] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio) or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0144] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0145] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0146] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0147] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0148] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.
Claims
1. A wireless communication application wake-up method, characterized in that: Applied to electronic equipment, the electronic equipment is equipped with a signal screening module; the method comprises: Acquire wireless communication signals in the environment, and input the wireless communication signals into the signal screening module, so that the signal screening module outputs screening results based on preset screening conditions; When the screening result indicates that the acquired wireless communication signal includes a target wireless communication signal that allows waking up the wireless communication application, the screened target wireless communication signal is reported to the application layer to wake up the wireless communication application.
2. The method according to claim 1, characterized in that The obtaining of wireless communication signals in the environment includes: The signal screening module sends a routing scanning instruction to the wireless communication chip deployed in the electronic device to instruct the wireless communication chip to obtain the wireless communication signal in the environment by routing scanning.
3. The method according to claim 1, characterized in that The signal screening module is: a wireless signal sensor.
4. The method according to claim 3, characterized in that A driving framework layer different from the application layer is deployed in the electronic device, and the wireless signal sensor is deployed in the driving framework layer.
5. The method according to claim 4, characterized in that The driver framework layer is deployed using the Sensor Hub framework.
6. The method according to claim 1, characterized in that The screening conditions include at least one of the following: The communication device that sends the wireless communication signal is: a standard device that obtains the wake-up permission of the wireless communication application; The wireless communication signal belongs to a preset signal frequency band.
7. The method according to claim 1, characterized in that The wireless communication application is consistent with the wireless communication technology used by the signal screening module, and the wireless communication technology is any of the following: Bluetooth technology, WIFI technology, near field communication technology.
8. The method according to claim 1, characterized in that The wireless communication application runs on an application processor; The signal screening module runs on the baseband processor.
9. A method for waking up a Bluetooth communication application, characterized in that: Applied to electronic devices, wherein a Bluetooth signal screening module is deployed in the electronic devices; the method comprises: Acquire a Bluetooth signal in the environment, and input the acquired Bluetooth signal into the Bluetooth signal screening module, so that the Bluetooth signal screening module outputs a screening result based on a preset screening condition; When the screening result indicates that the acquired Bluetooth signal contains a target Bluetooth signal that allows waking up the Bluetooth communication application, the screened target Bluetooth signal is reported to the application layer to wake up the Bluetooth communication application.
10. The method according to claim 9, characterized in that The Bluetooth signal screening module is: a Bluetooth sensor.
11. The method according to claim 10, characterized in that The Bluetooth sensor is deployed in the Sensor Hub framework layer.
12. A system architecture, characterized in that: include: Application layer, where Bluetooth communication applications are deployed; The driver framework layer is deployed with Bluetooth sensors; The Bluetooth sensor is used to screen the Bluetooth signals in the environment, and report the screened target Bluetooth signals that are allowed to wake up the Bluetooth communication application to the application layer, so as to wake up the Bluetooth communication application.
13. The system according to claim 12, characterized in that The driving framework layer is the Sensor Hub framework layer.
14. A wireless communication application wake-up device, characterized in that: Applied to electronic equipment, the electronic equipment is equipped with a signal screening module; the device comprises: A screening unit, which obtains wireless communication signals in the environment, and inputs the wireless communication signals into the signal screening module, so that the signal screening module outputs screening results based on preset screening conditions; The awakening unit reports the screened target wireless communication signal to the application layer to wake up the wireless communication application when the screening result indicates that the acquired wireless communication signal contains a target wireless communication signal that allows waking up the wireless communication application.
15. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1 to 11 by running the executable instructions.
16. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
