Equipment awakening method and device, electronic equipment and computer readable storage medium
By parsing and identifying the search identification information in the search request when the device is in standby mode, and only waking up the device when preset conditions are met, the problem of low effectiveness and high power consumption of wireless wake-up technology is solved, and efficient wake-up control of the device is achieved. .
Patent Information
- Application Number
- CN202410783245.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-03
AI Technical Summary
The existing wireless wake-up technology has low effectiveness, resulting in high power consumption of the device and the problem of invalid wake-up.
By parsing the search identification information in the received search request when the device is in standby state, performing search identification processing according to the preset identification strategy, and only generating search matching information and returning it when the identification result meets the preset conditions, and receiving the matching information. Then initiate a service request to wake up the device to achieve precise wake-up control of the device.
It reduces the number of invalid wake-ups, improves the effectiveness of device wake-ups, and reduces device power consumption.
Smart Images

Figure CN118590973A
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communications, and specifically to a device wake-up method, apparatus, electronic device, and computer-readable storage medium. Background Art
[0002] Wireless Wake-up technology is a technology that allows devices to wake up and reestablish connections through wireless signals in sleep or standby mode. This technology is very helpful in improving the energy efficiency and user experience of devices. It allows devices to respond quickly when needed without having to maintain a continuous wireless connection.
[0003] However, current wireless wake-up still has the problem of low effectiveness and many invalid wake-ups resulting in high device power consumption. Summary of the invention
[0004] The embodiments of the present application provide a device wake-up method, an apparatus, an electronic device, and a computer-readable storage medium, which can improve the effectiveness of device wake-up and reduce device power consumption.
[0005] In a first aspect, an embodiment of the present application provides a device wake-up method, which is applied to a first device, and the method includes:
[0006] When the first device is in a standby state, if a search request sent by a second device is received, parsing the search request to obtain search identification information;
[0007] Perform search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result;
[0008] If the search identification result indicates that the search identification information satisfies a preset condition, generating search matching information, and returning the search matching information to the second device;
[0009] A service request initiated by the second device based on the search matching information is received, and the first device is awakened by the service request to switch the first device from the standby state to the awake state.
[0010] In a second aspect, an embodiment of the present application further provides a device waking up a device, which is applied to a first device, and the device includes:
[0011] a receiving module, configured to parse the search request to obtain search identification information if a search request sent by the second device is received when the first device is in a standby state;
[0012] An identification module, used to perform search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result;
[0013] a returning module, configured to generate search matching information if the search identification result indicates that the search identification information satisfies a preset condition, and return the search matching information to the second device;
[0014] The wake-up module is used to receive a service request initiated by the second device based on the search matching information, and wake up the first device through the service request to switch the first device from the standby state to the awake state.
[0015] Optionally, in some embodiments of the present application, the identification module includes:
[0016] A first determining unit, configured to determine an identification matching result corresponding to the search identification information according to a preset wake-up list;
[0017] A second determining unit, configured to determine a search identification result according to the number of wake-up times and the wake-up frequency of the first device if the identification matching result indicates that the search identification information is in the preset wake-up list;
[0018] The search and identification result includes at least one of satisfying a preset condition or not satisfying a preset condition.
[0019] In some embodiments of the present application, the service request includes a screen projection request, and the wake-up module includes:
[0020] A first receiving unit, configured to receive a screen projection request initiated by the second device based on the search matching information;
[0021] The first wake-up unit is used to switch the first device from the standby state to the wake-up state in response to the screen projection request, and establish a screen projection connection with the second device based on the screen projection request.
[0022] In some embodiments of the present application, the search identification information includes device identification information or application identification information, and the apparatus further includes a configuration module, which includes:
[0023] An acquiring unit, configured to acquire an application list of the first device;
[0024] A screening unit, configured to determine a target application supporting a wake-up function from the application list;
[0025] The configuration unit is used to generate a preset wake-up list according to the application identification information of the target application and a preset device list, wherein the preset device list includes a device identification of at least one target device that meets the wake-up condition.
[0026] Among them, in some embodiments of the present application, the receiving module includes:
[0027] A second receiving unit is configured to parse the search request sent by the second device through the low power consumption module to obtain search identification information if a search request sent by the second device is received;
[0028] The identification module includes:
[0029] A first identification unit, configured to perform search and identification processing on the search identification information according to a preset identification strategy through the low-power module to obtain a search and identification result;
[0030] The wake-up module includes:
[0031] The second awakening unit is configured to receive a service request initiated by the second device based on the search matching information, and awaken the operating system of the first device through the service request.
[0032] Among them, in some embodiments of the present application, the identification module includes:
[0033] A second identification unit is used to perform search and identification processing on the search identification information according to a preset identification strategy to obtain a first identification result;
[0034] an extracting unit, configured to extract a service interface image from the search request if the first search identification result satisfies a first reference condition, wherein the service interface image is a current interface of the second device captured by the second device when the second device generates the search request and packaged into the search request;
[0035] A third identification unit is used to perform content identification on the service interface image to obtain service content type information;
[0036] A generating unit is used to generate a search recognition result according to the business content type information and a second reference condition.
[0037] In a third aspect, an embodiment of the present application further provides a device wake-up method, which is applied to a second device, and the method includes:
[0038] In response to a device search operation, generating a search request, the search request including search identification information;
[0039] Sending the search request to the first device, wherein the first device performs search identification processing on the search identification information according to a preset identification strategy to generate a search identification result;
[0040] receiving search matching information returned by the first device in response to the search request, wherein the search matching information is generated by the first device after the search identification result indicates that the search identification information meets a preset condition;
[0041] A service request is sent to the first device based on the search matching information, so as to wake up the first device through the service request.
[0042] In a fourth aspect, an embodiment of the present application further provides a device waking up a device, which is applied to a second device, and the device includes:
[0043] A response module, configured to generate a search request in response to a device search operation, wherein the search request includes search identification information;
[0044] A sending module, configured to send the search request to a first device, wherein the first device performs search identification processing on the search identification information according to a preset identification strategy to generate a search identification result;
[0045] an acquisition module, configured to receive search matching information returned by the first device in response to the search request, wherein the search matching information is generated by the first device after the search identification result indicates that the search identification information meets a preset condition;
[0046] An initiating module is used to send a service request to the first device based on the search matching information, so as to wake up the first device through the service request.
[0047] In a fifth aspect, an embodiment of the present application further provides a device wake-up system, the device wake-up system comprising a first device and a second device, specifically:
[0048] The second device is used to respond to the device search operation, generate a search request, send the search request to the first device, receive search matching information returned by the first device for the search request, and send a service request to the first device based on the search matching information, so as to wake up the first device through the service request;
[0049] If the first device receives a search request sent by the second device and is in a standby state, it is used to parse the search request to obtain search identification information, and perform search identification processing on the search identification information according to a preset identification strategy to obtain a search identification result. If the search identification result indicates that the search identification information meets a preset condition, search matching information is generated, and the search matching information is returned to the second device, and a service request initiated by the second device based on the search matching information is received, and the first device is awakened by the service request to switch the first device from the standby state to the awakened state.
[0050] In a sixth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the steps in the above-mentioned device wake-up method are implemented.
[0051] In a seventh aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned device wake-up method are implemented.
[0052] In an eighth aspect, the embodiments of the present application further provide a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations described in the embodiments of the present application.
[0053] In summary, when the first device of the embodiment of the present application is in a standby state, if it receives a search request sent by a second device, it parses the search request to obtain search identification information, performs search identification processing on the search identification information according to a preset identification strategy, and obtains a search identification result. If the search identification result indicates that the search identification information satisfies a preset condition, it generates search matching information, returns the search matching information to the second device, receives a service request initiated by the second device based on the search matching information, and wakes up the first device through the service request, so as to switch the first device from a standby state to a wake-up state.
[0054] Among them, by identifying the search identification information contained in the search request when receiving the search request, obtaining the search identification result, and generating the search matching information only when the search identification result indicates that the search identification information meets the preset conditions, the search request initiated by the second device is filtered, that is, the search matching feedback is only made when the preset conditions are met. Furthermore, the second device initiates the service request and wakes up the first device only after obtaining the search matching information, realizing the wake-up control of the first device, reducing the number of invalid wake-ups, improving the wake-up effectiveness, and reducing the power consumption of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0056] Figure 1It is a schematic diagram of a scenario of a device wake-up method provided in an embodiment of the present application;
[0057] Figure 2 It is a flowchart of a device wake-up method provided in an embodiment of the present application;
[0058] Figure 3 is another flow chart of the device wake-up method provided in an embodiment of the present application;
[0059] Figure 4 This is another flowchart of the device wake-up method provided in the embodiment of the present application;
[0060] Figure 5 This is an architecture diagram of a device wake-up system provided in an embodiment of the present application;
[0061] Figure 6 It is a structural diagram of a device waking up a device provided in an embodiment of the present application;
[0062] Figure 7 It is a structural diagram of a device waking up a device provided in an embodiment of the present application;
[0063] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0065] The embodiments of the present application provide a device wake-up method, apparatus, electronic device, and computer-readable storage medium. Specifically, the embodiments of the present application provide a device wake-up device applicable to an electronic device, the electronic device comprising a first device and a second device, the first device including but not limited to a television, a laptop computer, a desktop computer, a tablet computer, a projector, and the like, and the second device including but not limited to a mobile phone, a tablet computer, a remote control, and the like.
[0066] For details, please refer to Figure 1 , Figure 1 : is a schematic diagram of a scenario in which a first device and a second device perform the device wake-up method provided in an embodiment of the present application, wherein the specific execution process of the device wake-up method is as follows:
[0067] When the first device 10 receives a search request sent by the second device 11, if the first device 10 is in standby mode, it parses the search request to obtain search identification information. The first device 10 performs search and identification processing on the search identification information according to a preset identification strategy to obtain a search identification result. If the search identification result indicates that the search identification information meets a preset condition, search matching information is generated and the search matching information is returned to the second device 11.
[0068] The first device 10 receives a service request initiated by the second device 11 based on the search matching information, and wakes up the first device 10 through the service request, so as to switch the first device 10 from a standby state to an awake state.
[0069] In summary, the embodiment of the present application obtains a search identification result by identifying the search identification information contained in the search request when receiving the search request, and generates search matching information only when the search identification result indicates that the search identification information meets the preset conditions, thereby filtering the search request initiated by the second device, that is, providing search matching feedback only when the preset conditions are met. Furthermore, the second device initiates a service request and wakes up the first device only after obtaining the search matching information, thereby realizing wake-up control of the first device, reducing the number of invalid wake-ups, improving wake-up effectiveness, and reducing device power consumption.
[0070] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.
[0071] See also Figure 2 , Figure 2 A flowchart of a device wake-up method provided in an embodiment of the present application. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings. Specifically, the device wake-up method is applied to a first device, and the specific process of the device wake-up method is as follows:
[0072] 101. When the first device is in a standby state, if a search request sent by a second device is received, the search request is parsed to obtain search identification information.
[0073] The standby state refers to the state of the first device when it is powered on but not doing any substantial work, that is, it is in a low power consumption mode. It is understandable that the embodiments of the present application are mainly aimed at the control of device wake-up, that is, the state of waking up the device to enter substantial work, therefore, it should be understood that the standby state may also be other low power consumption modes such as sleep mode.
[0074] The search request is a request issued by the second device to search for available devices or communicable devices, and the search request is usually issued by the second device in the form of broadcasting to search for available devices or communicable devices within the broadcast range of the second device. In the embodiment of the present application, the search request is broadcast in the form of an mdns message, that is, the search identification information is parsed from the identification field of the mdns message.
[0075] The search identification information is an identification corresponding to the search request, which is used to distinguish the source or type of the request. For example, the search identification information may be an identification of the device that issues the search request, or an identification of the application that sends the search request. The identification of the device includes information such as the name and physical address of the device, and the identification of the application includes the application name or application package name, etc.
[0076] 102. Perform search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result.
[0077] Among them, the search identification processing refers to identifying and filtering the search identification information to determine whether the search identification information meets the requirements and obtain the search identification result of whether it meets the preset conditions.
[0078] Among them, the search identification processing of the search identification information helps to realize the identification and filtering of the search identification information, and realizes the screening of search requests that meet the preset conditions.
[0079] 103. If the search identification result indicates that the search identification information meets a preset condition, generate search matching information, and return the search matching information to the second device.
[0080] It can be understood that the search matching information is generated after the search identification information meets the preset conditions. By generating the search matching information and returning the search matching information to the second device, it is possible to feedback the search results for the search request to the second device. For example, if the second device receives the search matching information, it indicates that the first device meets the communication requirements, that is, it can serve as a peer device for communication.
[0081] 104. Receive a service request initiated by the second device based on the search matching information, and wake up the first device through the service request to switch the first device from the standby state to the awake state.
[0082] It is understandable that when the second device receives the search matching information, it can directly initiate a service request to the first device based on the search matching information. For example, when the second device receives the search matching information, it indicates that the first device can be used as a communication partner of the second device. Therefore, device information (such as a device icon) for the first device can be generated in the interface of the second device, and then a service request for the first device can be initiated through the device information. For example, click to select the first device to generate a screen projection request for the first device.
[0083] In summary, the embodiment of the present application obtains a search identification result by identifying the search identification information contained in the search request when receiving the search request, and generates search matching information only when the search identification result indicates that the search identification information meets the preset conditions, thereby filtering the search request initiated by the second device, that is, providing search matching feedback only when the preset conditions are met. Furthermore, the second device initiates a service request and wakes up the first device only after obtaining the search matching information, thereby realizing wake-up control of the first device, reducing the number of invalid wake-ups, improving wake-up effectiveness, and reducing device power consumption.
[0084] Among them, in an embodiment of the present application, the identification and filtering processing of the search identification information can be implemented with reference to the preset wake-up list. If the search identification information is in the preset wake-up list, it indicates that the search identification information meets the preset conditions. Conversely, if the search identification information is not in the preset wake-up list, it indicates that the search identification information does not meet the preset conditions.
[0085] Correspondingly, in an embodiment of the present application, the search request or search identification information can also be identified and filtered based on the historical wake-up record of the first device. For example, when the wake-up number of the first device reaches an upper limit or the wake-up frequency is too high, in order to avoid the first device being frequently awakened or to improve the effectiveness of the wake-up, the search identification information can be set not to meet the preset conditions. Conversely, if the wake-up number and wake-up frequency of the first device both reach the set values, the search identification information can be set to meet the preset conditions.
[0086] It is understandable that in order to improve the accuracy of identification filtering, the search identification result of the search identification information can also be analyzed by combining a preset wake-up list with the number of wake-up times and the wake-up frequency. That is, optionally, in some embodiments of the present application, the step of "searching and identifying the search identification information according to a preset identification strategy to obtain a search identification result" includes:
[0087] Determine the identification matching result corresponding to the search identification information according to the preset wake-up list;
[0088] If the identification matching result indicates that the search identification information is in the preset wake-up list, determining the search identification result according to the wake-up times and wake-up frequency of the first device;
[0089] The search and identification result includes at least one of satisfying a preset condition or not satisfying a preset condition.
[0090] Among them, whether it is in the preset wake-up list is the preliminary filtering of the embodiment of the present application. The preset wake-up list can be understood as a whitelist. If the search identification information is in the preset wake-up list, it means that the search identification information meets the preliminary conditions. Then, after the preliminary conditions are met, the number of wake-up times and the wake-up frequency are filtered again, which can fully reduce the number of wake-ups of the first device and reduce invalid wake-ups. It is understandable that the preliminary filtering can also be configured based on demand. For example, without judging whether it is included in the preset wake-up list, the search identification result is directly generated based on the number of wake-up times and the wake-up frequency.
[0091] In the embodiment of the present application, the wake-up times and wake-up frequency may include the wake-up times and wake-up frequency set by the first device, that is, the upper limit of the wake-up times and the upper limit of the wake-up frequency. It may also include the currently completed wake-up times and wake-up frequency, for example, determining how many wake-ups have been completed and the current wake-up frequency based on historical wake-up records.
[0092] In the embodiment of the present application, when the number of wake-ups and the wake-up frequency have been completed, the reference number and the reference frequency can be set, and the search identification result of the search identification information can be analyzed by comparing the reference number and the number of wake-ups, and comparing the reference frequency and the wake-up frequency. For example, if the number of wake-ups is greater than the reference number or the wake-up frequency is greater than the reference frequency, the search identification information is set to not meet the preset condition. On the contrary, if the number of wake-ups is less than or equal to the reference number, or the wake-up frequency is less than or equal to the reference frequency, the search identification information is set to meet the preset condition.
[0093] Among them, in the embodiment of the present application, in order to distinguish between important searches and non-important searches, or to distinguish between effective wake-ups and invalid malicious wake-ups, more precise control can be achieved by configuring priorities. For example, the priority of the search identification information is configured, and different reference times and reference frequencies are configured based on different priorities to achieve diversified control of search identification information of different priorities. For example, for search identification information with higher priority, a larger search number and a higher search frequency can be set, while for search identification information with lower priority, a smaller search number and a lower search frequency can be set. Furthermore, after the search identification information is parsed and obtained, the reference number and reference frequency are obtained according to the priority of the search identification information, and the search identification result of the search identification information is analyzed by comparing the reference number and the wake-up number, and comparing the reference frequency with the wake-up frequency. For example, the reference number and reference frequency are determined according to the priority corresponding to the search identification information; the wake-up identification result of the search identification information is determined according to the reference number, the reference frequency, the wake-up number and the wake-up frequency.
[0094] It can be understood that if the priority is higher, the reference number is higher, and accordingly, the probability that the reference number is higher than the wake-up number is higher. If the reference number is higher than the wake-up number, it indicates that the first device meets the search condition, that is, meets the wake-up condition. Similarly, if the priority is lower, the reference number is lower, and accordingly, the probability that the reference number is lower than the wake-up number is lower. If the reference number is lower than the wake-up number, it indicates that the first device does not meet the search condition, that is, does not meet the wake-up condition.
[0095] Among them, since the level of priority matches the target of the expected successful awakening, the scheme of setting different reference times and reference frequencies for different priorities in the embodiment of the present application meets the requirements of successful search of important search identification information, unsuccessful search of unimportant search identification information, or reducing the probability of successful search. Therefore, based on the reference times and reference frequencies configured by the priority, effective control of the search and identification results can be achieved, and then precise control of whether the search can be successful, whether the awakening can be successful, and whether the awakening is effective can be achieved.
[0096] Optionally, the recognition of the search identification information and the wake-up control scheme can be applied to screen projection scenarios. For example, when a user initiates a screen projection operation through the interface control of the second device, the first device that meets the screen projection requirements is first searched, and then after the first device is searched, the screen projection to the first device is initiated. This scheme can substantially reduce the number of wake-up times of the first device by controlling the first device that meets the screen projection requirements during the search. For example, a first device whose search identification result does not meet the conditions will not be used as the object of subsequent screen projection wake-up operations, which can reduce invalid wake-ups of the first device and improve the effectiveness of the wake-up.
[0097] That is, optionally, in some embodiments of the present application, the service request includes a screen projection request, and the step of “receiving a service request initiated by the second device based on the search matching information, and waking up the first device through the service request” includes:
[0098] Receiving a screen projection request initiated by the second device based on the search matching information;
[0099] In response to the screen projection request, the first device is switched from the standby state to the awake state, and a screen projection connection is established with the second device based on the screen projection request.
[0100] It should be noted that the service request or screen projection request is issued after the search request. For example, after the user clicks on the screen projection control, a search request is first issued to search for the first device that meets the screen projection requirement. After receiving the search request, each first device performs search and identification processing on the search request to obtain a search identification result. Only the search identification result that meets the preset conditions, that is, the first device that returns the search matching information can be used as the target device for screen projection. For example, the device icon of the first device whose search identification result meets the preset conditions or returns the search matching information is displayed on the interface of the second device, and the user triggers a service request to initiate screen projection to the first device by clicking on the device icon.
[0101] Optionally, in an embodiment of the present application, the search identification information may be device identification information or application identification information. Therefore, the preset wake-up list may be configured based on the device identification information and the application identification information. That is, optionally, in some embodiments of the present application, the search identification information includes device identification information or application identification information. Before the step of “determining the identification matching result corresponding to the search identification information according to the preset wake-up list”, the method further includes:
[0102] Obtaining an application list of the first device;
[0103] Determine a target application supporting a wake-up function from the application list;
[0104] A preset wake-up list is generated according to the application identification information of the target application and a preset device list, wherein the preset device list includes a device identification of at least one target device that meets the wake-up condition.
[0105] Among them, the application can be screened by whether it supports the wake-up function, that is, only the application that supports the wake-up function is qualified to wake up the first device, and then the search and identification result corresponding to the application can be set to meet the preset condition. Similarly, the device identification of the target device that meets the wake-up condition is configured to obtain a preset device list, and the preset wake-up list is obtained by combining the application identification information and the preset device list.
[0106] The target application may also be filtered based on the needs of the user, for example, the target application may be filtered based on the user's personalization from the applications supporting the wake-up function.
[0107] Among them, in the embodiment of the present application, since the device is in a state to be awakened, the search request can be detected by the configured low-power module, and the detected search request is searched and identified to obtain a search identification result, that is, optionally, in some embodiments of the present application, the step of "if a search request sent by a second device is received, parsing the search request to obtain search identification information" includes:
[0108] If a search request sent by the second device is received, the search request is parsed by the low power consumption module to obtain search identification information;
[0109] The performing search identification processing on the search identification information according to the preset identification strategy to obtain the search identification result includes:
[0110] The low-power module performs search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result;
[0111] The receiving a service request initiated by the second device based on the search matching information, and waking up the first device through the service request includes:
[0112] A service request initiated by the second device based on the search matching information is received, and an operating system of the first device is awakened through the service request.
[0113] Among them, the low-power module includes a low-power chip. For example, for the scenario of wireless screen projection, the low-power module can be configured as a WIFI chip.
[0114] Among them, by analyzing and determining the search identification result corresponding to the search request through the low power consumption module, low power consumption determination of the search request can be achieved without starting the system of the first device.
[0115] The purpose of waking up the operating system of the first device is to implement screen projection response based on the operating system. That is, the embodiment of the present application transfers the frequently generated search identification processing to the low-power module, which can fully reduce the power consumption of the first device.
[0116] In the embodiment of the present application, the application list can be obtained when the device is initialized, for example, see Figure 3 As shown, Figure 31 is another flow chart of the device wake-up method provided by an embodiment of the present application, wherein the device startup includes three stages, each stage corresponds to a state, namely, an initialization state, a standby state, and a wake-up state, wherein, in the device initialization state, an application list of the first device is obtained, and a target application supporting the wake-up function is obtained from the application list, and the package name of the target application is stored in the low-power module, and, in the initialization state, the set wake-up number and wake-up frequency are also stored in the low-power module;
[0117] Furthermore, when the device is in a standby state, the search request can be monitored based on the low power module, and the search identification information corresponding to the search request can be searched and identified based on the stored package name, wake-up times and wake-up frequency to obtain a search identification result;
[0118] Furthermore, when the search identification result indicates that the search identification information meets the preset conditions, search matching information is generated and returned to the second device. The second device can then initiate a service request based on the search matching information and wake up the first device based on the service request, so that the first device switches from the standby state to the awake state.
[0119] Among them, in the embodiments of the present application, in order to improve the accuracy of the search identification processing, the search identification result corresponding to the search identification information can also be determined in combination with the purpose of the search, that is, the business needs. That is, optionally, in some embodiments of the present application, the step of "performing a search identification process on the search identification information according to a preset identification strategy to obtain a search identification result" includes:
[0120] Perform search and identification processing on the search identification information according to a preset identification strategy to obtain a first identification result;
[0121] If the first search identification result satisfies the first reference condition, extracting a service interface image from the search request, wherein the service interface image is a current interface of the second device captured by the second device when the second device generates the search request and packaged into the search request;
[0122] Performing content recognition on the business interface image to obtain business content type information;
[0123] A search identification result is generated according to the business content type information and the second reference condition.
[0124] The business interface image is an image of the current interface of the second device when the second device sends a search request. The interface image when sending a search request can usually reflect the search purpose to a certain extent. For example, if the interface is a video playback interface, it can be preliminarily analyzed as a screen projection for the video. If the interface is a conference interface, it can be preliminarily analyzed as a screen projection for the conference screen, and then the corresponding different business content type information can be obtained.
[0125] Among them, the business content type information also includes whether it involves privacy content, that is, whether it is a privacy type. For example, if through content recognition of the business interface image, it is analyzed that the interface contains chat content, or information involving words such as "internal information", then it can be determined that the current screen projection interface contains privacy information. Therefore, the screen projection can be controlled to be rejected, that is, the search identification information corresponding to the search request at this time is set to not meet the preset conditions.
[0126] Among them, by extracting the business interface image and analyzing its business content type information through content recognition, and generating search recognition results according to the business content type information, it helps to improve the accuracy of the search recognition results.
[0127] The first reference condition and the second reference condition can be customized based on the needs. For example, the first reference condition can include satisfying the preset condition, which means that the first search recognition result satisfies the preset condition. The second reference condition can be a predefined multiple type, such as video type, public type, conference type, etc.
[0128] In summary, the embodiment of the present application obtains a search identification result by identifying the search identification information contained in the search request when receiving the search request, and generates search matching information only when the search identification result indicates that the search identification information meets the preset conditions, thereby filtering the search request initiated by the second device, that is, providing search matching feedback only when the preset conditions are met. Furthermore, the second device initiates a service request and wakes up the first device only after obtaining the search matching information, thereby realizing wake-up control of the first device, reducing the number of invalid wake-ups, improving wake-up effectiveness, and reducing device power consumption.
[0129] Among them, identifying the search identification information by pre-setting the wake-up list, the number of wake-up times, the wake-up frequency content recognition, etc., helps to improve the accuracy of the search identification results.
[0130] In order to more clearly understand the device wake-up method of the embodiment of the present application, the embodiment of the present application will be described from the second device side below. For details, please refer to Figure 4 As shown, Figure 4 is another flow chart of the device waking up method provided in an embodiment of the present application, wherein the device waking up method specifically includes: i.
[0131] 201. In response to a device search operation, generate a search request, where the search request includes search identification information;
[0132] 202. Send the search request to a first device, wherein the first device performs search identification processing on the search identification information according to a preset identification strategy to generate a search identification result;
[0133] 203. Receive search matching information returned by the first device in response to the search request, wherein the search matching information is generated by the first device after the search identification result indicates that the search identification information meets a preset condition;
[0134] 204. Send a service request to the first device based on the search matching information, so as to wake up the first device through the service request.
[0135] For example, taking screen projection as an example, when a screen projection demand arises, the user triggers the screen projection control, generates a search request, and determines the first device that meets the preset conditions based on the search results, then generates a screen projection request for the first device and sends the screen projection request to the first device to wake up the first device.
[0136] Further, in order to have a clearer understanding of the embodiments of the present application, the embodiments of the present application also provide a device wake-up system, please refer to Figure 5 As shown, Figure 5 : is an architecture diagram of a device wake-up system provided in an embodiment of the present application, and the device wake-up system includes a first device A and a second device B, specifically:
[0137] The second device B is used to respond to the device search operation, generate a search request, send the search request to the first device A, receive search matching information returned by the first device A for the search request, and send a service request to the first device A based on the search matching information, so as to wake up the first device A through the service request;
[0138] If the first device A receives a search request sent by the second device B and is in a standby state, it parses the search request to obtain search identification information, and performs search identification processing on the search identification information according to a preset identification strategy to obtain a search identification result. If the search identification result indicates that the search identification information meets a preset condition, it generates search matching information and returns the search matching information to the second device B, and receives a service request initiated by the second device B based on the search matching information, and wakes up the first device A through the service request to switch the first device A from the standby state to the awake state.
[0139] Among them, the device wake-up system is used to control the wake-up of the first device by the second device. The first device is woken up only when the search and identification results meet the preset conditions, which effectively controls the wake-up times of the first device and improves the effectiveness of the wake-up.
[0140] In order to better implement the device wake-up method of the present application, the present application also provides a device wake-up apparatus based on the device wake-up method, wherein the meanings of the terms are the same as those in the device wake-up method, and the specific implementation details can refer to the description in the method embodiment.
[0141] See also Figure 6 , Figure 6 : is a schematic diagram of the structure of a device wake-up device provided in an embodiment of the present application, wherein the device wake-up device is applied to a first device, and specifically can be as follows:
[0142] The receiving module 301 is configured to parse the search request to obtain search identification information if a search request sent by the second device is received when the first device is in a standby state;
[0143] The identification module 302 is used to perform search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result;
[0144] A return module 303 is configured to generate search matching information if the search identification result indicates that the search identification information meets a preset condition, and return the search matching information to the second device;
[0145] The awakening module 304 is configured to receive a service request initiated by the second device based on the search matching information, and awaken the first device through the service request to switch the first device from the standby state to the awake state.
[0146] Optionally, in some embodiments of the present application, the identification module 302 includes:
[0147] A first determining unit, configured to determine an identification matching result corresponding to the search identification information according to a preset wake-up list;
[0148] A second determining unit, configured to determine a search identification result according to the number of wake-up times and the wake-up frequency of the first device if the identification matching result indicates that the search identification information is in the preset wake-up list;
[0149] The search and identification result includes at least one of satisfying a preset condition or not satisfying a preset condition.
[0150] In some embodiments of the present application, the service request includes a screen projection request, and the wake-up module 304 includes:
[0151] A first receiving unit, configured to receive a screen projection request initiated by the second device based on the search matching information;
[0152] The first wake-up unit is used to switch the first device from the standby state to the wake-up state in response to the screen projection request, and establish a screen projection connection with the second device based on the screen projection request.
[0153] In some embodiments of the present application, the search identification information includes device identification information or application identification information, and the apparatus further includes a configuration module, which includes:
[0154] An acquiring unit, configured to acquire an application list of the first device;
[0155] A screening unit, configured to determine a target application supporting a wake-up function from the application list;
[0156] The configuration unit is used to generate a preset wake-up list according to the application identification information of the target application and a preset device list, wherein the preset device list includes a device identification of at least one target device that meets the wake-up condition.
[0157] In some embodiments of the present application, the receiving module 301 includes:
[0158] A second receiving unit is configured to parse the search request sent by the second device through the low power consumption module to obtain search identification information if a search request sent by the second device is received;
[0159] The identification module 302 includes:
[0160] A first identification unit, configured to perform search and identification processing on the search identification information according to a preset identification strategy through the low-power module to obtain a search and identification result;
[0161] The wake-up module 304 includes:
[0162] The second awakening unit is configured to receive a service request initiated by the second device based on the search matching information, and awaken the operating system of the first device through the service request.
[0163] In some embodiments of the present application, the identification module 302 includes:
[0164] A second identification unit is used to perform search and identification processing on the search identification information according to a preset identification strategy to obtain a first identification result;
[0165] an extracting unit, configured to extract a service interface image from the search request if the first search identification result satisfies a first reference condition, wherein the service interface image is a current interface of the second device captured by the second device when the second device generates the search request and packaged into the search request;
[0166] A third identification unit is used to perform content identification on the service interface image to obtain service content type information;
[0167] A generating unit is used to generate a search recognition result according to the business content type information and a second reference condition.
[0168] In the embodiment of the present application, the receiving module 301 first parses the search request to obtain search identification information if it receives a search request sent by the second device when the first device is in the standby state. Then, the identification module 302 performs search identification processing on the search identification information according to a preset identification strategy to obtain a search identification result. Subsequently, the return module 303 generates search matching information and returns the search matching information to the second device if the search identification result indicates that the search identification information satisfies a preset condition. Then, the wake-up module 304 receives a service request initiated by the second device based on the search matching information, and wakes up the first device through the service request to switch the first device from the standby state to the wake-up state.
[0169] Among them, the embodiment of the present application obtains a search identification result by identifying the search identification information contained in the search request when receiving the search request, and generates search matching information only when the search identification result indicates that the search identification information meets the preset conditions, thereby filtering the search request initiated by the second device, that is, providing search matching feedback only when the preset conditions are met. Furthermore, the second device initiates a service request and wakes up the first device only after obtaining the search matching information, thereby realizing wake-up control of the first device, reducing the number of invalid wake-ups, improving wake-up effectiveness, and reducing device power consumption.
[0170] See also Figure 7 , Figure 7 : is a schematic diagram of the structure of a device wake-up device provided in an embodiment of the present application, wherein the device wake-up device is applied to a second device, and specifically can be as follows:
[0171] A response module 311, configured to generate a search request in response to a device search operation, wherein the search request includes search identification information;
[0172] A sending module 312, configured to send the search request to a first device, wherein the first device performs search identification processing on the search identification information according to a preset identification strategy to generate a search identification result;
[0173] An acquisition module 313 is used to receive search matching information returned by the first device in response to the search request, wherein the search matching information is generated by the first device after the search identification result indicates that the search identification information meets a preset condition;
[0174] The initiating module 314 is configured to send a service request to the first device based on the search matching information, so as to wake up the first device through the service request.
[0175] Among them, the embodiment of the present application obtains a search identification result by identifying the search identification information contained in the search request when receiving the search request, and generates search matching information only when the search identification result indicates that the search identification information meets the preset conditions, thereby filtering the search request initiated by the second device, that is, providing search matching feedback only when the preset conditions are met. Furthermore, the second device initiates a service request and wakes up the first device only after obtaining the search matching information, thereby realizing wake-up control of the first device, reducing the number of invalid wake-ups, improving wake-up effectiveness, and reducing device power consumption.
[0176] In addition, the present application also provides an electronic device, such as Figure 8 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:
[0177] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0178] The processor 401 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.
[0179] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0180] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power supply device debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0181] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0182] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby implementing the steps in any device wake-up method provided in the embodiments of the present application.
[0183] When the first device of the embodiment of the present application is in a standby state, if it receives a search request sent by a second device, it parses the search request to obtain search identification information, performs search identification processing on the search identification information according to a preset identification strategy, and obtains a search identification result. If the search identification result indicates that the search identification information satisfies a preset condition, it generates search matching information, returns the search matching information to the second device, receives a service request initiated by the second device based on the search matching information, and wakes up the first device through the service request, so as to switch the first device from a standby state to an awake state.
[0184] Among them, by identifying the search identification information contained in the search request when receiving the search request, obtaining the search identification result, and generating the search matching information only when the search identification result indicates that the search identification information meets the preset conditions, the search request initiated by the second device is filtered, that is, the search matching feedback is only made when the preset conditions are met. Furthermore, the second device initiates the service request and wakes up the first device only after obtaining the search matching information, realizing the wake-up control of the first device, reducing the number of invalid wake-ups, improving the wake-up effectiveness, and reducing the power consumption of the device.
[0185] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0186] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0187] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any device wake-up method provided in the present application.
[0188] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0189] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0190] Since the instructions stored in the computer-readable storage medium can execute the steps in any device wake-up method provided in the present application, the beneficial effects that can be achieved by any device wake-up method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0191] The above is a detailed introduction to a device wake-up method, apparatus, electronic device and computer-readable storage medium provided in the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0192] It should be noted that in the specific implementation of the present application, related data such as device status information (initialization status, standby status and wake-up status), search requests, application package names, device identification, service requests, wake-up times and wake-up frequencies are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
Claims
1. A device wake-up method, characterized in that: Applied to a first device, the method includes: When the first device is in a standby state, if a search request sent by a second device is received, parsing the search request to obtain search identification information; Perform search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result; If the search identification result indicates that the search identification information satisfies a preset condition, generating search matching information, and returning the search matching information to the second device; A service request initiated by the second device based on the search matching information is received, and the first device is awakened by the service request to switch the first device from the standby state to the awake state.
2. The device wake-up method according to claim 1, characterized in that: The performing search identification processing on the search identification information according to the preset identification strategy to obtain the search identification result includes: Determine the identification matching result corresponding to the search identification information according to the preset wake-up list; If the identification matching result indicates that the search identification information is in the preset wake-up list, determining the search identification result according to the wake-up times and wake-up frequency of the first device; The search and identification result includes at least one of satisfying a preset condition or not satisfying a preset condition.
3. The device wake-up method according to claim 1, characterized in that: The service request includes a screen projection request, and the receiving the service request initiated by the second device based on the search matching information, and waking up the first device through the service request includes: Receiving a screen projection request initiated by the second device based on the search matching information; In response to the screen projection request, the first device is switched from the standby state to the awake state, and a screen projection connection is established with the second device based on the screen projection request.
4. The device wake-up method according to claim 2, characterized in that: The search identification information includes device identification information or application identification information. Before determining the identification matching result corresponding to the search identification information according to the preset wake-up list, the method further includes: Obtaining an application list of the first device; Determine a target application supporting a wake-up function from the application list; A preset wake-up list is generated according to the application identification information of the target application and a preset device list, wherein the preset device list includes a device identification of at least one target device that meets the wake-up condition.
5. The device wake-up method according to claim 1, characterized in that: If a search request sent by the second device is received, parsing the search request to obtain search identification information includes: If a search request sent by the second device is received, the search request is parsed by the low power consumption module to obtain search identification information; The performing search identification processing on the search identification information according to the preset identification strategy to obtain the search identification result includes: The low-power module performs search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result; The receiving a service request initiated by the second device based on the search matching information, and waking up the first device through the service request includes: A service request initiated by the second device based on the search matching information is received, and an operating system of the first device is awakened through the service request.
6. The device wake-up method according to claim 1, characterized in that: The performing search identification processing on the search identification information according to the preset identification strategy to obtain the search identification result includes: Perform search and identification processing on the search identification information according to a preset identification strategy to obtain a first identification result; If the first search identification result satisfies the first reference condition, extracting a service interface image from the search request, wherein the service interface image is a current interface of the second device captured by the second device when the second device generates the search request and packaged into the search request; Performing content recognition on the business interface image to obtain business content type information; A search identification result is generated according to the business content type information and the second reference condition.
7. A device wake-up method, characterized in that: Applied to the second device, the method includes: In response to a device search operation, generating a search request, the search request including search identification information; Sending the search request to the first device, wherein the first device performs search identification processing on the search identification information according to a preset identification strategy to generate a search identification result; receiving search matching information returned by the first device in response to the search request, wherein the search matching information is generated by the first device after the search identification result indicates that the search identification information meets a preset condition; A service request is sent to the first device based on the search matching information, so as to wake up the first device through the service request.
8. A device waking up a device, characterized in that: Applied to a first device, the apparatus comprises: a receiving module, configured to parse the search request to obtain search identification information if a search request sent by the second device is received when the first device is in a standby state; An identification module, used to perform search and identification processing on the search identification information according to a preset identification strategy to obtain a search and identification result; a returning module, configured to generate search matching information if the search identification result indicates that the search identification information satisfies a preset condition, and return the search matching information to the second device; The wake-up module is used to receive a service request initiated by the second device based on the search matching information, and wake up the first device through the service request to switch the first device from the standby state to the awake state.
9. An electronic device, characterized in that: The device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps in the device wake-up method according to any one of claims 1 to 6 or the steps in the device wake-up method according to claim 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps in the device wake-up method according to any one of claims 1 to 7 are implemented.
