Energy saving method, system, device and storage medium for intelligent device
By verifying the login information in the smart device and directly returning it to the device when the WIFI module caches the response data, the problem of insufficient power supply of the smart device is solved, the response speed and power efficiency are improved, and the remote operation needs of users are met.
Patent Information
- Application Number
- CN202011468373.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-14
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-12-14
AI Technical Summary
The WIFI modules of existing smart devices consume a lot of power, resulting in insufficient power supply, especially when performing remote operations, it is difficult to meet the needs of users.
After verifying that the login information matches the preset identity information, the WIFI module is started, and the response data of the event operation request is directly returned to the smart device when the module caches the response data of the event operation request, avoiding repeated forwarding to the Internet of Things cloud platform, shortening response time and saving energy Consumption.
It improves response speed, saves time and electricity, meets the operation needs of different users, and extends the use time of the equipment.
Smart Images

Figure CN114625238B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information interaction technology, and in particular to an energy-saving method, system, device and storage medium for intelligent devices. Background Art
[0002] With the improvement of people's living standards and the development of science and technology, smart devices have entered thousands of households. These smart devices are connected to the Internet by embedding WIFI modules, thus forming the Internet of Things, which is applied to smart homes, M2M and other environments. However, as the existing WIFI modules based on the Internet of Things become more advanced and diversified in function, their power consumption is also increasing, which often causes operation failures due to insufficient power supply when users perform operations. In particular, when users perform special operations such as remote door opening and parameter setting, sufficient power supply time is often required to meet the user's remote control needs.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] Based on this, it is necessary to propose an energy-saving method, system, device and storage medium for smart devices to solve the technical problem of poor energy-saving effect of smart devices in the prior art.
[0005] In a first aspect, the present application provides an energy-saving method for a smart device, the energy-saving method for a smart device comprising:
[0006] Get login information;
[0007] Matching the login information with the preset identity information, and if the login information matches the preset identity information, powering on and starting the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device;
[0008] Obtaining an event operation request, and identifying the event operation request through a WiFi module;
[0009] If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module;
[0010] If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request is returned to the IoT cloud platform through the WiFi module again.
[0011] Optionally, if the WiFi module caches the first response data of the event operation request, returning the first response data to the smart device through the WiFi module includes:
[0012] Obtaining the cache in the WiFi module;
[0013] If the first response data of the event operation request is stored in the cache of the WiFi module, the first response data is returned through the WiFi module;
[0014] The first response data is received to perform an event operation.
[0015] Optionally, if the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request of the IoT cloud platform is returned again through the WiFi module, including:
[0016] If the WiFi module does not cache the first response data of the event operation request, forwarding the event operation request to the IoT cloud platform through the WiFi module;
[0017] The second response data of the IoT cloud platform in response to the event operation request is stored in the WiFi module;
[0018] Receive the second response data fed back by the WiFi module.
[0019] Optionally, if the WiFi module caches the first response data of the event operation request, after returning the first response data to the smart device through the WiFi module, the method further includes:
[0020] Start the timer and begin counting;
[0021] When the timing duration reaches the preset first time, the power-on operation of the WiFi module is continuously performed.
[0022] Optionally, the method further comprises:
[0023] If the smart device does not detect data transmission or reception, it enters a low power consumption state and powers off the WiFi module.
[0024] Optionally, the method further includes:
[0025] If the event operation request is a preset event operation request, a low power consumption state is entered within a preset second time.
[0026] Optionally, matching the login information with preset identity information includes:
[0027] If the login information is identification information, matching the identification information with preset identification information; or
[0028] If the login information is fingerprint image information, determining the overlapping area of the fingerprint image information, and calculating the fingerprint average value of the overlapping area to match the fingerprint average value with a preset fingerprint average threshold; or
[0029] If the login information is face photo information, the face photo information is matched with a preset face mask.
[0030] In a second aspect, the present application provides an energy-saving system, which includes a smart device and an Internet of Things cloud platform, wherein the smart device is configured with a WiFi module,
[0031] The smart device is used to obtain login information, match the login information with preset identity information, and if the login information matches the preset identity information, power on the WiFi module and establish a network connection with the IoT cloud platform; forward the event operation request to the WiFi module; receive the first response data sent by the WiFi module or the second response data fed back by the IoT cloud platform to execute the event operation request;
[0032] The WiFi module is used to identify the event operation request after the network connection between the smart device and the IoT cloud platform is successful, so as to obtain the first response data corresponding to the event operation request in the cache of the WiFi module or the second response data corresponding to the IoT cloud platform's response to the event operation request, and forward the first response data or the second response data to the smart device;
[0033] The Internet of Things cloud platform is used to establish a network connection with the smart device through a WiFi module, and to generate and feed back second response data corresponding to the event operation request after the WiFi module does not store the first response data corresponding to the event operation request.
[0034] In a third aspect, an embodiment of the present application further provides a smart device, including a processor and a memory, wherein the memory is connected to the processor, and the memory stores one or more programs, and the one or more programs are executed by the processor to perform the following steps:
[0035] Get login information;
[0036] Matching the login information with the preset identity information, and if the login information matches the preset identity information, powering on and starting the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device;
[0037] Obtaining an event operation request, and identifying the event operation request through a WiFi module;
[0038] If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module;
[0039] If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request is returned to the IoT cloud platform through the WiFi module again.
[0040] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0041] Get login information;
[0042] Matching the login information with the preset identity information, and if the login information matches the preset identity information, powering on and starting the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device;
[0043] Obtaining an event operation request, and identifying the event operation request through a WiFi module;
[0044] If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module;
[0045] If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request is returned to the IoT cloud platform through the WiFi module again.
[0046] The embodiments of the present invention have the following beneficial effects:
[0047] The technical solution provided by the embodiment of the present invention starts the WiFi module after verifying that the login information matches the preset identity information, so that the smart device and the Internet of Things cloud platform are connected to the network. If the event operation request is not the first time, it can be determined that the WiFi module has stored the first response data corresponding to the event request operation, so that the first response data is directly fed back to the smart device, and there is no need to forward the event operation request to the Internet of Things cloud platform and then feed back through the WiFi module, which shortens the feedback time and improves the response speed. In addition, because the WiFi module has the function of recording related event request operations, more time is saved to execute more events, meet the operation requirements of different users, and achieve the purpose of saving energy consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] in:
[0050] Figure 1 A schematic diagram of a process flow of an energy-saving method for a smart device in an embodiment of the present application;
[0051] Figure 2 This is a schematic diagram of the structure of the energy-saving system in the embodiment of the present application;
[0052] Figure 3 This is a structural block diagram of the smart device in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] See also Figure 1 , is a flow chart of an energy-saving method for a smart device in an embodiment of the present application, the method comprising:
[0055] Step 101, obtaining login information;
[0056] In the embodiment of the present application, the login information refers to the information received by the smart device, that is, the relevant information input by the user into the smart device. The login information is used to verify the user's identity information to ensure information security, and to start the WiFi module after the user's identity information is verified to achieve network connection without the need for additional network configuration, thereby saving energy consumption.
[0057] Among them, there are three ways for users to input login information into smart devices, namely APP login, fingerprint login and face login. Then, the corresponding login information obtained by the smart device includes identification information, fingerprint image information and face photo information. Among them, identification information refers to the ID identification information of the smart device, or it can be user account information such as mobile phone number, which is obtained from the start operation request triggered when logging into the APP. The fingerprint image information is the fingerprint image obtained by collecting the user's fingerprint through the fingerprint sensor, and the fingerprint image is encoded to obtain the fingerprint image information. The face photo information is the face photo obtained by collecting the face through the camera, and the face photo is encoded to obtain the face photo information.
[0058] Step 102: matching the login information with the preset identity information. If the login information matches the preset identity information, powering on the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device;
[0059] In the embodiment of the present application, respective identity information is pre-configured in the smart device and stored in a database. Since the user can use the three methods in step 101 to start the WiFi module through the smart device, the preset identity information is also set accordingly for these three methods.
[0060] Specifically, for APP login, the preset identity information is the preset identification information, which includes device ID or account information such as mobile phone number; for fingerprint login, the preset identity information is the preset fingerprint average threshold; for face login, the preset identity information is the preset face profile.
[0061] Then, in one feasible manner, the detailed step of matching the login information with the preset identity information in step 102 includes:
[0062] S1021. If the login information is identification information, matching the identification information with preset identification information;
[0063] S1022: If the login information is fingerprint image information, determine the overlapping area of the fingerprint image information, and calculate the fingerprint average value of the overlapping area to match the fingerprint average value with a preset fingerprint average threshold value;
[0064] S1023: If the login information is face photo information, match the face photo information with a preset face mask.
[0065] Specifically, for APP login:
[0066] The user opens the APP, enters the mobile phone number and password, and clicks "Login" to enter the APP. At this time, a start operation request is triggered, which carries the mobile phone number and the device ID corresponding to the smart device;
[0067] At this time, the smart device detects that the user uses the APP login method, obtains the mobile phone number entered by the user and obtains the device ID from the startup operation request, and then traverses the database corresponding to the APP login method to find the preset identification information to determine whether there is preset identification information that matches the mobile phone number or device ID.
[0068] If there is preset identification information that is the same as the mobile phone number or device ID, it is considered that the login information matches the preset identification information, so that the WiFi module is awakened through the processor MCU of the smart device, and the WiFi module is powered on to start the WiFi module.
[0069] For fingerprint login:
[0070] The fingerprint sensor built into the smart device collects the user's fingerprint image and divides the fingerprint image into several areas. Each area corresponds to a sub-fingerprint band, and all sub-fingerprint bands constitute the fingerprint image. The sub-fingerprint bands of two adjacent areas are compared to determine the overlapping area of the two adjacent areas. The same method is used for the remaining two adjacent areas to obtain several overlapping areas. The best overlapping area of the fingerprint image is determined from the several overlapping areas, and the fingerprint average value corresponding to the best overlapping area is calculated.
[0071] Obtain several fingerprint average thresholds preset in the fingerprint database, and determine whether there is a fingerprint average threshold equal to the fingerprint average value. If so, it is considered that the user's login information matches the preset identity information, so that the WiFi module is awakened by the processor MCU of the smart device, and the WiFi module is powered on to start the WiFi module.
[0072] It should be noted that the fingerprint average threshold can uniquely identify the user.
[0073] In a feasible manner, the average fingerprint value of the fingerprint image can also be calculated in other ways, specifically, the fingerprint image is divided into several areas, each area corresponds to a sub-fingerprint band, and all sub-fingerprint bands constitute the fingerprint image. The sub-fingerprint bands of two adjacent areas are compared to determine the overlapping area of the two adjacent areas, and then the fingerprint value corresponding to the overlapping area of the two adjacent areas is calculated. The same calculation method is used for the remaining two adjacent areas, and finally several fingerprint values are obtained. The average operation of the several fingerprint values is performed to obtain the fingerprint average value of the fingerprint image.
[0074] For face login:
[0075] The built-in camera of the smart device collects face photos, and the collected face photos are encoded by an encoding tool to obtain face photo information, which is a face pattern code. The preset face in the face database is obtained, and the face pattern code is compared with the preset face to determine whether there is a face that matches the face pattern code. If so, it is considered that the user's login information matches the preset identity information, so that the WiFi module is awakened by the processor MCU of the smart device, and the WiFi module is powered on to start the WiFi module.
[0076] Once the WiFi module is successfully started, the router is connected through the WiFi module to achieve network connection between the smart device and the IoT cloud platform. The network connection is a WiFi connection, and no additional WiFi connection equipment is required, which reduces costs.
[0077] Of course, if the login information does not match the preset identity information, the user will be prompted.
[0078] Step 103: Obtain an event operation request, and identify the event operation request through a WiFi module;
[0079] Step 104: If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module;
[0080] Step 105: If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request is returned to the IoT cloud platform through the WiFi module again.
[0081] In the embodiment of the present application, the event operation request refers to the request corresponding to all event operations that the user can implement through the IoT cloud platform. For example, the event operation request can be a remote door opening request or a remote door closing request.
[0082] Since the WiFi module is configured with a cache, the cache stores historical records, which refer to the response data corresponding to the first time the same user executes a certain event operation request. In other words, if the WiFi module recognizes that the event operation request received by the smart device is not the first time, the WiFi module can directly obtain the first response data corresponding to the event operation request from the cache, without forwarding the event operation request to the IoT cloud platform, and the IoT cloud platform will feedback the corresponding response data, which shortens the response time and improves the response speed.
[0083] Therefore, if the first response data of the event operation request is stored in the cache of the WiFi module, the first response data is returned through the WiFi module so that the smart device receives the first response data to perform the event operation, such as remotely opening or closing the door.
[0084] If the WiFi module cache does not cache the first response data of the event operation request, the event operation request is forwarded to the IoT cloud platform through the WiFi module; the IoT cloud platform processes the event operation request after receiving it, obtains the second response data, and then sends the second response data to the WiFi module. After receiving the second response data, the WiFi module will first store it in the cache, and then forward the second response data to the smart device. The smart device receives the second response data to execute the event operation, such as remotely opening or closing the door.
[0085] Furthermore, if the smart device does not detect any data transmission or reception, such as no data to be reported, in order to reduce energy consumption, the smart device will enter a low power consumption state and power off the WiFi module.
[0086] Furthermore, in order to ensure a quick response to each event operation request and also to ensure that more event operation requests are executed within a limited time, after the WiFi module returns the first response data to the smart device, the timer is started and the timing is started. When the timing reaches the preset first time, the power-on operation of the WiFi module is continuously performed, which not only ensures that the smart device and the Internet of Things cloud platform are not disconnected within the preset first time, but also effectively manages the power-on time of the WiFi module, and the operation is simple. In the embodiment of the present application, the preset first time is preferably set to 60 seconds.
[0087] It should be noted that if the event operation request is a preset event operation request, in the embodiment of the present application, the preset event operation request is a control panel operation request such as a user pressing the "*" key button or a voice operation instruction, then the smart device enters a low power consumption state within the preset second time to save power consumption. In the embodiment of the present application, the preset second time may be equal to the preset first time or may not be equal. The preset second time is preferably set to 3 seconds to ensure that the smart device quickly enters a low power consumption state and the WiFi module is powered off at the same time.
[0088] Based on steps 101 to 105, the WiFi module is started after verifying that the login information matches the preset identity information, so that the smart device is connected to the Internet of Things cloud platform. If the event operation request is not the first time, it can be determined that the WiFi module has stored the first response data corresponding to the event request operation, so that the first response data is directly fed back to the smart device. There is no need to forward the event operation request to the Internet of Things cloud platform and then feedback through the WiFi module, which shortens the feedback time and improves the response speed. In addition, because the WiFi module has the function of recording related event request operations, more time is saved to execute more events, meet the operation requirements of different users, and achieve the purpose of saving energy.
[0089] See also Figure 2 , is a structural block diagram of an energy-saving system in an embodiment of the present application, which includes a smart device 100 and an IoT cloud platform 200, wherein the smart device 100 is configured with a WiFi module 10, wherein:
[0090] The smart device 100 is used to obtain login information, match the login information with preset identity information, and if the login information matches the preset identity information, power on the WiFi module and establish a network connection with the IoT cloud platform 200; forward the event operation request to the WiFi module; receive the first response data sent by the WiFi module 10 or the second response data fed back by the IoT cloud platform 200 to execute the event operation request;
[0091] The WiFi module 10 is used to identify the event operation request after the network connection between the smart device 100 and the IoT cloud platform 200 is successful, so as to obtain the first response data corresponding to the event operation request in the cache of the WiFi module 10 or the second response data corresponding to the event operation request of the IoT cloud platform 200, and forward the first response data or the second response data to the smart device 100;
[0092] The IoT cloud platform 200 is used to establish a network connection with the smart device 100 through the WiFi module 10, and to generate and feed back second response data corresponding to the event operation request after the WiFi module 10 does not store the first response data corresponding to the event operation request.
[0093] It should be noted that the relevant content of the above energy-saving system can be found in Figure 1 The contents described in are not repeated here.
[0094] In an embodiment of the present application, the WiFi module is started after verifying that the login information matches the preset identity information, so that the smart device is connected to the Internet of Things cloud platform. If the event operation request is not the first time, it can be determined that the WiFi module has stored the first response data corresponding to the event request operation, so that the first response data is directly fed back to the smart device. There is no need to forward the event operation request to the Internet of Things cloud platform and then feedback through the WiFi module, which shortens the feedback time and improves the response speed. Moreover, because the WiFi module has the function of recording related event request operations, more time is saved to execute more events, meet the operation requirements of different users, and achieve the purpose of saving energy.
[0095] Figure 3 The figure shows the internal structure of a smart device in one embodiment. The smart terminal can be any device that can be connected to the Internet, such as a mobile phone, an iPad, a desktop computer, etc. The smart terminal includes a processor 20, a memory 22 and a WiFi module 30 respectively connected to the processor 20, Figure 3 Only some components of the smart terminal are shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
[0096] In some embodiments, the memory 22 may be an internal storage unit of the smart terminal, such as a memory. In other embodiments, the memory 22 may also be an external storage device, such as a plug-in USB flash drive, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the smart terminal. Furthermore, the memory 22 may also include both an internal storage unit of the smart terminal and an external storage device. The memory 22 is used to store application software and various types of data installed in the smart terminal, such as the energy-saving program code, etc. The memory 22 may also be used to temporarily store data that has been output or is to be output. In one embodiment, an energy-saving program is stored in the memory 22, and the energy-saving program can be executed by the processor 20 as follows:
[0097] Get login information;
[0098] Matching the login information with the preset identity information, and if the login information matches the preset identity information, powering on and starting the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device;
[0099] Obtaining an event operation request, and identifying the event operation request through a WiFi module;
[0100] If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module;
[0101] If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request is returned to the IoT cloud platform through the WiFi module again.
[0102] In one embodiment, a computer-readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:
[0103] Get login information;
[0104] Matching the login information with the preset identity information, and if the login information matches the preset identity information, powering on and starting the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device;
[0105] Obtaining an event operation request, and identifying the event operation request through a WiFi module;
[0106] If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module;
[0107] If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request is returned to the IoT cloud platform through the WiFi module again.
[0108] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0109] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0110] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for energy saving of a smart device, characterized in that: The method comprises: Get login information; Matching the login information with the preset identity information, and if the login information matches the preset identity information, powering on and starting the WiFi module to establish a network connection with the IoT cloud platform through the WiFi module; wherein the WiFi module is built into the smart device; Obtaining an event operation request, and identifying the event operation request through a WiFi module; If the WiFi module caches the first response data of the event operation request, the first response data is returned to the smart device through the WiFi module; or If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request from the IoT cloud platform is returned again through the WiFi module; If the WiFi module caches the first response data of the event operation request, returning the first response data to the smart device through the WiFi module includes: Obtaining the cache in the WiFi module; If the first response data of the event operation request is stored in the cache of the WiFi module, the first response data is returned through the WiFi module; receiving the first response data to perform an event operation; Three login methods are pre-set, namely APP login, fingerprint login and face login; The event operations are all operations initiated by the user through the smart device and interacted through the IoT cloud platform.
2. The method according to claim 1, characterized in that: If the WiFi module does not cache the first response data of the event operation request, the event operation request is sent to the IoT cloud platform, and the second response data corresponding to the event operation request of the IoT cloud platform is returned again through the WiFi module, including: If the WiFi module does not cache the first response data of the event operation request, forwarding the event operation request to the IoT cloud platform through the WiFi module; The second response data of the IoT cloud platform in response to the event operation request is stored in the WiFi module; Receive the second response data fed back by the WiFi module.
3. The method according to claim 1, characterized in that If the WiFi module caches the first response data of the event operation request, after returning the first response data to the smart device through the WiFi module, the method further includes: Start the timer and begin counting; When the timing duration reaches the preset first time, the power-on operation of the WiFi module is continuously performed.
4. The method according to claim 1, characterized in that: The method further comprises: If the smart device does not detect data transmission or reception, it enters a low power consumption state and powers off the WiFi module.
5. The method according to claim 1, characterized in that The method further comprises: If the event operation request is a preset event operation request, a low power consumption state is entered within a preset second time.
6. The method according to claim 1, characterized in that The matching of the login information with the preset identity information includes: If the login information is identification information, matching the identification information with preset identification information; or If the login information is fingerprint image information, determining the overlapping area of the fingerprint image information, and calculating the fingerprint average value of the overlapping area to match the fingerprint average value with a preset fingerprint average threshold; or If the login information is face photo information, the face photo information is matched with a preset face mask.
7. An energy-saving system, characterized in that: The energy-saving system includes a smart device and an IoT cloud platform, wherein the smart device is equipped with a WiFi module. The smart device is used to obtain login information, match the login information with preset identity information, and if the login information matches the preset identity information, power on the WiFi module and establish a network connection with the IoT cloud platform; forward the event operation request to the WiFi module; receive the first response data sent by the WiFi module or the second response data fed back by the IoT cloud platform to execute the event operation request; The WiFi module is used to identify the event operation request after the network connection between the smart device and the IoT cloud platform is successful, so as to obtain the first response data corresponding to the event operation request in the cache of the WiFi module or the second response data corresponding to the IoT cloud platform's response to the event operation request, and forward the first response data or the second response data to the smart device; The Internet of Things cloud platform is used to establish a network connection with the smart device through a WiFi module, and to generate and feedback second response data corresponding to the event operation request after the WiFi module does not store the first response data corresponding to the event operation request; the event operation is all operations initiated by the user through the smart device and interacted through the Internet of Things cloud platform.
8. A smart device, characterized in that: The smart device includes a processor, a memory and a WiFi module, the memory and the WiFi module are respectively connected to the processor, the memory stores one or more programs, and the one or more programs are executed by the processor to implement the steps in the energy saving method of the smart device as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs are executed by a processor to implement the steps in the energy saving method for a smart device according to any one of claims 1 to 6.
Citation Information
Patent Citations
Information processing method, terminal and server, label
CN109345171A
Network switching method based on face recognition, mobile terminal and storage medium
CN111371945A
