A device state adjustment method and apparatus, and an electronic device

By adjusting the monitoring cycle of the Wi-Fi battery camera and determining the consistency of Beacon frame identifiers, the system ensures that the device is in sleep or active state, thus resolving the conflict between monitoring cycle and power consumption and response time, and achieving a balance between power consumption and response speed.

CN115442878BActive Publication Date: 2025-11-18HANGZHOU HUACHENG SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210993896.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-18
Publication Date
2025-11-18
Estimated Expiration
2042-08-18

AI Technical Summary

Technical Problem

In Wi-Fi battery camera kits, a monitoring cycle that is too short results in high power consumption, while a monitoring cycle that is too long results in excessively long service response time, affecting the stability and efficiency of the equipment.

Method used

By listening to the Beacon frames of the control device, the listening cycle of the access device is adjusted so that it switches to a broadcast cycle when it needs to respond to service requests, and otherwise enters a sleep state to reduce power consumption.

Benefits of technology

This achieves reduced power consumption when no business needs are required, while enabling timely responses to business needs when they are required, thus improving the stability and efficiency of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115442878B_ABST
    Figure CN115442878B_ABST
Patent Text Reader

Abstract

The application discloses a device state adjustment method and device and an electronic device, and relates to the technical field of electronics. The state adjustment method corresponding to an access device end comprises the following steps: an access device listens to a Beacon frame broadcasted by a control device according to a broadcast period, and obtains a device identifier in the Beacon frame; it is determined whether the device identifier of the access device is consistent with the device identifier in the Beacon frame; and the working state and the listening period of the access device are further adjusted. Through the above method, the access device adjusts the corresponding listening period according to different working states, so that the effect of quickly responding when there is a service demand and reducing operating power consumption is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates primarily to the field of electronic technology, and in particular to a method, apparatus, and electronic device for adjusting device status. Background Technology

[0002] In the field of video surveillance equipment technology, the application of Wi-Fi battery-powered camera kits is becoming increasingly widespread. The system architecture of such Wi-Fi battery-powered camera kits is as follows: Figure 1 As shown, in Figure 1 It includes a control center and multiple Wi-Fi battery cameras connected to the control center. The control center can access a wireless network and can also communicate wirelessly with the connected Wi-Fi battery cameras.

[0003] exist Figure 1 In the scenario shown, to ensure the stability of communication between the control center and the Wi-Fi battery camera, the control center will broadcast Beacon frames in real time to maintain network stability.

[0004] Furthermore, to reduce the overall power consumption of the Wi-Fi battery camera suite, the Wi-Fi battery cameras connected to the control center will enter a sleep state when there is no service activity. In sleep mode, the Wi-Fi battery cameras will be configured with a listening period, which is used to determine whether to receive Beacon frames broadcast by the control center. If this listening period is too short, frequent listening will result in high power consumption; if the listening period is too long, the Wi-Fi battery cameras will be unable to receive Beacon frames with service requirements in a timely manner, leading to excessively long service response times. Summary of the Invention

[0005] This application provides a device state adjustment method, apparatus, and electronic device to reduce the operating power consumption of access devices when they do not need to respond to service requests, and to respond promptly to the service requests of control devices when they do need to respond to service requests.

[0006] In a first aspect, this application provides a method for adjusting the state of a device, the method comprising:

[0007] The access device listens to the Beacon frames broadcast by the control device according to the broadcast period and obtains the device identifier in the Beacon frames;

[0008] Determine whether the device identifier of the access device matches the device identifier in the Beacon frame;

[0009] If they match, the listening period of the access device is adjusted to the broadcast period;

[0010] If they are inconsistent, the access device will be put into sleep mode and the monitoring period will be adjusted to a sleep monitoring period.

[0011] The above methods can not only reduce the power consumption of access devices when they do not need to respond to service requests, but also enable timely responses to the service requests of control devices when they do need to respond to service requests.

[0012] In one optional design, adjusting the listening period of the access device to the broadcast period includes:

[0013] Determine the current operating status of the access device;

[0014] If the current running state is a dormant state, then the state is changed from dormant to active, and the listening period is changed to the broadcast period;

[0015] If the current running state is the active state, then the listening period will be kept consistent with the broadcast period.

[0016] By using the above method, it can be ensured that the listening cycle of the active access device is consistent with the broadcast cycle of the control device, thereby ensuring the service response speed of the access device.

[0017] In an alternative design, before obtaining the device identifier in the Beacon frame, the method further includes:

[0018] Obtain the DTIM Period field value and Beacon frame interval field value of the control device;

[0019] The broadcast period of the Beacon frame broadcast by the control device is obtained by multiplying the DTIM Period field value and the Beacon frame interval field value.

[0020] Divide the maximum listening period of the access device by the broadcast period to obtain the period multiple value, wherein the period multiple value is an integer;

[0021] The product of the period multiple and the broadcast period is used as the listening period for the sleep phase.

[0022] This method can determine the operating status of the access device and adjust the monitoring cycle in a timely manner, thereby reducing power consumption and improving response speed.

[0023] Secondly, this application provides a data processing method, the method comprising:

[0024] Determine the access device selected by the user and obtain the device identifier of the access device;

[0025] The device identifier is added to the broadcast Beacon frame, and the Beacon frame with the device identifier added is broadcast according to the broadcast cycle.

[0026] In an alternative design, after broadcasting a Beacon frame with the device identifier added according to the broadcast cycle, the method further includes:

[0027] The control device receives video display requests sent by the user terminal;

[0028] Send the video display request to the access device;

[0029] Receive video data returned by the access device based on the video display request;

[0030] The video data is sent to the user terminal.

[0031] By using the above method, it can be ensured that after the user makes a selection on the user terminal, if the access device is selected, the access device will be activated and its listening cycle will be adjusted to the broadcast cycle of the control device; if the access device is not selected, the access device will enter a sleep state. This achieves the goal of enabling the access device to respond promptly when the control device has business needs, and reducing operating power consumption after entering the sleep state.

[0032] Thirdly, this application provides a device for adjusting device status, the device comprising:

[0033] The acquisition module is used to listen to the Beacon frames broadcast by the control device according to the broadcast period, and to acquire the device identifier in the Beacon frames;

[0034] The processing module is used to determine whether the device identifier of the access device is consistent with the device identifier in the Beacon frame;

[0035] If they match, the listening period of the access device is adjusted to the broadcast period;

[0036] If they are inconsistent, the access device will be put into sleep mode and the monitoring period will be adjusted to a sleep monitoring period.

[0037] In one optional design, the processing module is specifically used to determine the current operating state of the access device;

[0038] If the current running state is a dormant state, then the state is changed from dormant to active, and the listening period is changed to the broadcast period;

[0039] If the current running state is the active state, then the listening period will be kept consistent with the broadcast period.

[0040] Fourthly, this application provides a data processing apparatus, the apparatus comprising:

[0041] The acquisition module is used to determine the access device selected by the user and acquire the device identifier of the access device;

[0042] The control module is used to add the device identifier to the Beacon frame to be broadcast, and broadcast the Beacon frame with the device identifier added according to the broadcast period.

[0043] In an optional design, the control module is further configured to:

[0044] The control device receives video display requests sent by the user terminal;

[0045] Send the video display request to the access device;

[0046] Receive video data returned by the access device based on the video display request;

[0047] The video data is sent to the user terminal.

[0048] Fifthly, this application provides an electronic device, comprising:

[0049] Memory, used to store computer programs;

[0050] When a processor executes a computer program stored in the memory, it implements the steps of the above-described device state adjustment method and data processing method.

[0051] Sixthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described device state adjustment method and data processing method.

[0052] For the various aspects of the third to sixth aspects mentioned above, and the technical effects that each aspect may achieve, please refer to the above description of the technical effects that can be achieved for the first and second aspects or the various possible solutions in the first and second aspects, which will not be repeated here. Attached Figure Description

[0053] Figure 1 A schematic diagram of an electronic device structure provided in an embodiment of this application;

[0054] Figure 2 A control device system architecture diagram provided in this application embodiment;

[0055] Figure 3 A flowchart of a device control method corresponding to a control terminal provided in an embodiment of this application;

[0056] Figure 4 A flowchart illustrating a data processing method for a device side as provided in this application embodiment;

[0057] Figure 5 A schematic diagram illustrating the relationship between a control device and a user terminal provided in an embodiment of this application;

[0058] Figure 6 This is a schematic diagram of a surveillance video package structure provided in an embodiment of this application;

[0059] Figure 7 This application provides a schematic diagram of the structure of a device control device corresponding to a control terminal in an embodiment of the present application.

[0060] Figure 8 This is a schematic diagram of the structure of a data processing device corresponding to an embodiment of the present application;

[0061] Figure 9 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation

[0062] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The specific operational methods in the method embodiments can also be applied to the device embodiments or system embodiments. It should be noted that in the description of this application, "multiple" is understood as "at least two". "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. A connected to B can represent: A and B directly connected, and A and B connected through C. Furthermore, in the description of this application, terms such as "first" and "second" are used only for distinguishing the purpose of description and should not be construed as indicating or implying relative importance or order.

[0063] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0064] Example 1:

[0065] First, the device control method provided in this application embodiment is applied to, for example... Figure 2The system architecture shown includes a control device and at least one access device. The control device and the access device are connected via wired or wireless means. The control device can be a router or other device with routing capabilities, and the access device can be a camera or a device with image acquisition capabilities. The method provided in Embodiment 1 of this application is applied to... Figure 2 In the access device shown.

[0066] Reference Figure 3 As shown, this application provides a device control method that is applied to... Figure 2 The access device shown is used to change its monitoring strategy, thereby reducing its power consumption and improving its service response speed. The implementation process of this method is as follows:

[0067] S31, the access device listens to the Beacon frames broadcast by the control device according to the broadcast period, and obtains the device identifier in the Beacon frames;

[0068] S32, determine whether the device identifier of the access device is consistent with the device identifier in the Beacon frame;

[0069] If the device identifier in the Beacon frame matches the device identifier of the access device itself, then proceed to step S33; if the device identifier in the Beacon frame does not match the device identifier of the access device itself, then proceed to step S34.

[0070] S33, adjust the listening cycle of the access device to the broadcast cycle of the control device;

[0071] S34, adjust the access device to sleep mode and adjust the listening cycle to the sleep listening cycle.

[0072] Firstly, in the embodiments of this application, this method can be applied to, for example... Figure 2 In order to reduce the power consumption of the access device in the system shown, the access device has two different working states: a normal working state and a low-power sleep state.

[0073] Under normal operating conditions, the access device will listen to the Beacon frames broadcast by the control device according to the normal listening cycle.

[0074] When the access device is in sleep mode, it will listen to the Beacon frames broadcast by the control device according to the sleep listening cycle.

[0075] For example, the broadcast period of the Beacon frame broadcast by the control device is 300ms. If the access device is in normal working condition, the access device will listen to the Beacon frame of the control device at a period of 300ms; if the access device is in sleep mode, the access device will listen at a sleep listening period of 900ms. The above period values ​​are only for illustrative purposes.

[0076] Furthermore, in this embodiment of the application, the access device can accurately listen to the Beacon frames broadcast by the control device in the sleep state. Therefore, when the access device enters the sleep state, it needs to determine the sleep listening period.

[0077] In some optional implementations, before the access device enters a sleep state, the access device receives a Beacon frame from the control device and determines the Beacon Interval field value and the DTIM Period field value from the Beacon frame. Multiplying these two field values ​​yields the broadcast period of the Beacon frame broadcast by the control device.

[0078] Then, determine the maximum listening period of the access device, which is the sleep listening period during the sleep phase of the access device.

[0079] In the above optional implementation, the sleep monitoring period can be specifically calculated using the following formula:

[0080] Bcn_li_dtim=sl_dtim / (DTIM_AP*BI_AP);

[0081] Where sl_dtim: the Beacon frame period of the access device's monitoring control device, i.e., the maximum monitoring period;

[0082] DTIM_AP: The DTIM Period field value of the control device; BI_AP: The Beacon Interval field value of the control device.

[0083] The broadcast period of the Beacon frame broadcast by the control device is obtained by multiplying the DTIM field value and the Beacon frame interval field value. The maximum listening period of the access device is divided by the broadcast period to obtain a period multiple. If the period multiple is not an integer, it is rounded down. For example, if the maximum listening period of the access device is 1000ms and the broadcast period of the control device is 300ms, then 1000ms / 300ms = 3.3333. Since this value is not an integer, it is rounded down to obtain a period multiple of 3.

[0084] Finally, the period multiplier is multiplied by the broadcast period to obtain the sleep monitoring period during the access device's sleep phase. For example, if the broadcast period is 300ms and the period multiplier is 3, the sleep monitoring period is 900ms. This method allows for timely adjustment of the monitoring period based on the access device's operating status, thereby reducing power consumption and improving response speed.

[0085] Therefore, when the access device is in normal or sleep mode, it will listen to the Beacon frames broadcast by the control device according to different listening cycles.

[0086] After the access device listens to the Beacon frame broadcast by the control device, it obtains the device identifier carried in the Beacon frame, and then compares the obtained device identifier with the access device's own device identifier. By comparing the device identifiers, the access device can determine whether to receive and process the Beacon frame.

[0087] In this embodiment of the application, the device identifier can be a MAC address or a unique device identifier such as AID.

[0088] Specifically, the AID is a unique ID assigned by the control device when an access device connects to the control device. Both the device itself and the control device store this ID. The MAC address is a unique physical address for each device. Both are unique, therefore, there is a unique correspondence between the device identifier and the access device. Of course, in this embodiment, in addition to using any of the above-mentioned device identifiers, other types of device identifiers can also be used.

[0089] Therefore, after comparing device identifiers, there will be two different results: one is that the device identifier contained in the Beacon frame broadcast by the control device is consistent with the device identifier of the access device itself, and the other is that the device identifier contained in the Beacon frame broadcast by the control device is inconsistent with the device identifier of the access device itself.

[0090] In some optional implementations, when the comparison result indicates that the device identifier in the Beacon frame is consistent with the device identifier of the access device itself, the access device needs to determine its current working state. Specifically, the access device may be in an active state or in a dormant state at this time.

[0091] In this embodiment of the application, the access device can only respond to the service requests of the control device in a timely manner when the access device is in an activated state.

[0092] Therefore, if the access device is in an active state, the access device does not need to make any adjustments, such as maintaining its own listening cycle of 300ms.

[0093] If the access device is in sleep mode, it needs to be activated from sleep mode to active mode, and its sleep monitoring cycle needs to be adjusted to match the control device's broadcast cycle. For example, the access device can adjust its sleep monitoring cycle from 900ms to 300ms. By adjusting the access device's monitoring cycle, it can respond promptly to the control device's service requests.

[0094] In addition, when the comparison results indicate that the device identifier in the Beacon frame is inconsistent with the device identifier of the access device itself, the access device needs to determine its current working status.

[0095] If the access device is active, it exits the frequent listening state and restores the initial sleep state and sleep phase listening cycle. The sleep phase listening cycle of the access device is adjusted to the sleep listening cycle calculated by the formula described in step S31. For example, if the control device's broadcast cycle is 300ms, the access device adjusts its sleep listening cycle to 900ms. If the access device is already in sleep mode, it continues to remain in sleep mode and maintains listening according to the sleep phase listening cycle. This achieves the effect of reducing operating power consumption.

[0096] Based on the above method, after the control device broadcasts a Beacon frame, the access device can compare its own device identifier with the device identifier in the broadcast Beacon frame. Based on the comparison result, it determines the two operating states and adjusts its monitoring strategy accordingly. If the comparison results match, the access device's monitoring cycle is adjusted to the broadcast cycle; if the comparison results do not match, the access device is put into a sleep state and its monitoring cycle is adjusted to the sleep monitoring cycle. This not only reduces the power consumption of the access device when it does not need to respond to service requests, but also allows for timely responses to the control device's service requests when they are required.

[0097] Example 2:

[0098] First, the data processing method provided in this application embodiment is applied to, for example... Figure 2 The system architecture shown includes a control device and an access device. The control device and the access device are connected via wired or wireless means. The control device can be a router or other device with routing capabilities, and the access device can be a camera or a device with image acquisition capabilities. The method provided in Embodiment 1 of this application is applied to... Figure 2 In the access device shown.

[0099] Reference Figure 4 The figure shown illustrates a data processing method provided in this application, which is applied to... Figure 2The control device shown is used to control the corresponding access device to change its listening policy by adding a device identifier to the Beacon frame, thereby reducing the power consumption of the access device and improving the service response speed of the access device. The implementation process of this method is as follows:

[0100] S40, determine the access device selected by the user, and obtain the device identifier of the access device;

[0101] S41, the control device adds the device identifier to the Beacon frame to be broadcast and broadcasts it periodically.

[0102] In some optional implementations, the control device can connect to a user terminal, allowing the user to lock a specific IPC via an app on the terminal and designate it as the master device, with other IPCs waiting to be selected. In this case, the control device retrieves a list of mappings between IPCs and device identifiers, and based on this list, determines the device identifier corresponding to the selected IPC.

[0103] The control device adds the device identifier of the access device to the private field of the Beacon frame to be broadcast, and finally broadcasts the Beacon frame containing the device identifier according to the broadcast period.

[0104] For example, such as Figure 5 As shown, in Figure 5 The control device is connected to at least one user terminal. The user terminal APP displays a display interface containing various IPCs. The user locks IPC1 in the display interface. When the control device determines that the IPC has been selected by the user, it will extract the device identifier contained therein. After obtaining the device identifier of the access device selected by the user, the control device will fill the device identifier of the access device into the private field of its own Beacon frame to be broadcast, and continue to broadcast Beacon frames periodically. For example, if the user selects IPC1, the control device will obtain the device identifier of IPC1 and fill the device identifier into the control device's own Beacon frame private field, and then continue to broadcast according to the broadcast period. At this time, other IPC devices will be in sleep mode, waiting to be selected.

[0105] At this time, after the access device corresponding to the IPC device listens to the Beacon frame carrying the device identifier broadcast by the control device, it obtains the device identifier carried in the Beacon frame broadcast by the control device and compares it with its own device identifier. If the comparison result is consistent, the access device adjusts to the active state and adjusts the listening period to the broadcast period of the control device. If the comparison result is inconsistent, the access device adjusts to the sleep state and adjusts the listening period to the sleep listening period of the sleep phase.

[0106] Therefore, after the user makes a selection on the user terminal, if the access device is selected, the access device will be activated and its listening cycle will be adjusted to the control device's broadcast cycle; if the access device is not selected, the access device will enter a sleep state. This achieves the goal of enabling the access device to respond promptly when the control device has business needs, and reducing operating power consumption after entering the sleep state.

[0107] In a specific embodiment, the control device will receive a video display request from the user terminal. After receiving the video display request, the control device will send the video display request from the user terminal to the access device. At this time, the access device will return the video display data to the control device based on the video display request. Finally, the control device will send the video display data to the user terminal, and the user can view the video data through the APP.

[0108] For example, in daily life, we might encounter home video surveillance devices. In such devices, users can select and activate the camera via an app to enable video monitoring. This function involves the app sending a video request to the control device, which then forwards the request signal to the connected camera. Finally, the camera sends its video signal back to the control device, which then transmits the live video feed to the user's device.

[0109] In this scenario, users can select a camera through the app, and after the control device sends a video display request to the connected camera, they can quickly obtain the real-time monitoring video from the camera.

[0110] The technical solution provided in this application will be further explained below in conjunction with specific application scenarios.

[0111] like Figure 6 As shown, in Figure 6 It includes the user terminal device's APP, AP device, and multiple cameras. When the user selects a certain IPC through the APP, the AP device will obtain the MAC address or AID of that IPC. At this time, the AP device will add the MAC address or AID of the IPC to the private field of its own Beacon frame to be broadcast, and then broadcast the Beacon frame according to the broadcast period.

[0112] After receiving a Beacon frame broadcast by the access point (AP) device, the camera obtains the MAC address or AID contained within it and compares it with the MAC address or AID carried in its own device. If the comparison results match, and the camera is already active, it maintains the same listening cycle as the AP device's broadcast cycle. If the camera is in sleep mode, it first adjusts from sleep to active mode, and then adjusts the camera's listening cycle to the AP device's broadcast cycle. If the comparison results do not match, and the access device is active, it exits the frequent listening state and restores the initial sleep state and the listening cycle of the sleep phase. If the access device is already in sleep mode, it continues to remain in sleep mode and maintains listening according to the sleep phase listening cycle. After comparing the MAC address or AID in the broadcast Beacon frame, the camera determines itself as the selected device and remains active, thus achieving timely response when there is a business need. If it is not the selected device, it enters sleep mode to reduce operating power consumption.

[0113] Example 3:

[0114] Corresponding to the device status adjustment method provided in Embodiment 1, this application also provides a device status adjustment apparatus, as described above. Figure 7 The diagram shown is a structural schematic of a device for adjusting the status of an equipment according to this application. The device includes:

[0115] The acquisition module 701 is used to listen to the Beacon frames broadcast by the control device according to the broadcast period, and to acquire the device identifier in the Beacon frames.

[0116] Processing module 702 is used to determine whether the device identifier of the access device is consistent with the device identifier in the Beacon frame;

[0117] If they match, the listening period of the access device is adjusted to the broadcast period;

[0118] If they are inconsistent, the access device will be put into sleep mode and the monitoring period will be adjusted to a sleep monitoring period.

[0119] Based on the aforementioned device, after the control device broadcasts a Beacon frame, the access device can compare its own device identifier with the device identifier in the broadcast Beacon frame. Based on the comparison result, it determines the two operating states and adjusts its monitoring strategy accordingly. If the comparison results match, the access device adjusts its monitoring cycle to the broadcast cycle; if the comparison results do not match, the access device enters a sleep state and adjusts its monitoring cycle to the sleep monitoring cycle. This not only reduces the power consumption of the access device when it does not need to respond to service requests, but also allows for timely responses to the control device's service requests when they are required.

[0120] In an optional design, the processing module 702 is specifically used to determine the current operating status of the access device;

[0121] If the current running state is a dormant state, then the state is changed from dormant to active, and the listening period is changed to the broadcast period;

[0122] If the current running state is the active state, then the listening period will be kept consistent with the broadcast period.

[0123] Example 4:

[0124] Corresponding to the data processing method provided in Embodiment 2, this application also provides a data processing apparatus, as described above. Figure 8 The diagram shown is a structural schematic of a data processing apparatus provided in this application. The apparatus includes:

[0125] The acquisition module 801 is used to determine the access device selected by the user and acquire the device identifier of the access device;

[0126] The control module 802 is used to add the device identifier to the broadcast Beacon frame and broadcast the Beacon frame with the device identifier added according to the broadcast period.

[0127] In an optional design, the control module 802 is also used to control the device to receive video display requests sent by the user terminal;

[0128] Send the video display request to the access device;

[0129] Receive video data returned by the access device based on the video display request;

[0130] The video data is sent to the user terminal.

[0131] Therefore, after the user makes a selection on the user terminal, if the access device is selected, the access device will be activated and its listening cycle will be adjusted to the control device's broadcast cycle; if the access device is not selected, the access device will enter a sleep state. This achieves the goal of enabling the access device to respond promptly when the control device has business needs, and reducing operating power consumption after entering the sleep state.

[0132] Based on the same inventive concept, this application also provides an electronic device that can realize the functions of the aforementioned device state adjustment device and data processing device. (Refer to...) Figure 9 The electronic device includes:

[0133] At least one processor 901 and a memory 902 connected to at least one processor 901. In this embodiment, the specific connection medium between the processor 901 and the memory 902 is not limited. Figure 9 The example shown is the connection between processor 901 and memory 902 via bus 900. Bus 900 is... Figure 9 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The Bus 900 can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 9 The term is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Alternatively, the processor 901 can also be called a controller; there is no restriction on the name.

[0134] In this embodiment, the memory 902 stores instructions executable by at least one processor 901. By executing the instructions stored in the memory 902, the at least one processor 901 can perform the device state adjustment and data processing methods described above. The processor 901 can implement... Figure 9 The functions of each module in the device shown.

[0135] The processor 901 is the control center of the device. It can connect to various parts of the control device through various interfaces and lines. By running or executing instructions stored in memory 902 and calling data stored in memory 902, the processor can perform various functions and process data, thereby monitoring the device as a whole.

[0136] In an alternative design, processor 901 may include one or more processing units. Processor 901 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 901. In some embodiments, processor 901 and memory 902 may be implemented on the same chip; in some embodiments, they may also be implemented on separate chips.

[0137] The processor 901 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the device state adjustment device and data processing device disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or being executed by a combination of hardware and software modules within the processor.

[0138] Memory 902, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 902 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 902 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 902 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0139] By designing and programming the processor 901, the code corresponding to the device state adjustment device and data processing method described in the foregoing embodiments can be embedded into the chip, thereby enabling the chip to execute these functions during operation. Figure 3The device state adjustment method of the embodiment shown and Figure 4 The steps of the data processing method in the illustrated embodiment are as follows. How to design and program the processor 901 is a technique well-known to those skilled in the art and will not be described further here.

[0140] Based on the same inventive concept, embodiments of this application also provide a storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the device state adjustment method and data processing method described above.

[0141] In some alternative embodiments, various aspects of the device state adjustment apparatus and data processing method provided in this application can also be implemented in the form of a program product, which includes program code. When the program product is run on the device, the program code is used to cause the control device to perform the steps in the device state adjustment apparatus and data processing method according to the various exemplary embodiments of this application described above.

[0142] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0143] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0144] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0145] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0146] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for adjusting equipment status, characterized in that, The method includes: Obtain the DTIM Period field value and Beacon frame interval field value of the control device; The broadcast period of the Beacon frame broadcast by the control device is obtained by multiplying the DTIM Period field value and the Beacon frame interval field value. Divide the maximum listening period of the access device by the broadcast period to obtain the period multiple value, wherein the period multiple value is an integer; The product of the period multiple and the broadcast period is taken as the sleep monitoring period; The access device listens to the Beacon frames broadcast by the control device according to the broadcast period and obtains the device identifier in the Beacon frames; Determine whether the device identifier of the access device matches the device identifier in the Beacon frame; If they match, the listening period of the access device is adjusted to the broadcast period of the control device, including: Determine the current operating status of the access device; If the current operating state is a dormant state, then the state is changed from dormant to active, and the listening cycle is adjusted to the broadcast cycle of the control device; If the current operating state is the active state, then the listening period is adjusted to the broadcast period of the control device; If they are inconsistent, the access device will be put into sleep mode and the monitoring period will be adjusted to the sleep monitoring period.

2. A device for adjusting equipment status, characterized in that, The device includes: The acquisition module is used to acquire the DTIM Period field value and the Beacon frame interval field value of the delay transmission indication information of the control device; The broadcast period of the Beacon frame broadcast by the control device is obtained by multiplying the DTIM Period field value and the Beacon frame interval field value. Divide the maximum listening period of the access device by the broadcast period to obtain the period multiple value, wherein the period multiple value is an integer; The product of the period multiple and the broadcast period is taken as the sleep monitoring period; The acquisition module is used to listen to the Beacon frames broadcast by the control device according to the broadcast period and acquire the device identifier in the Beacon frames; The processing module is used to determine whether the device identifier of the access device is consistent with the device identifier in the Beacon frame; If they match, the listening period of the access device is adjusted to the broadcast period of the control device, including: Determine the current operating status of the access device; If the current operating state is a dormant state, then the state is changed from dormant to active, and the listening cycle is adjusted to the broadcast cycle of the control device; If the current operating state is the active state, then the listening period is adjusted to the broadcast period of the control device; If they are inconsistent, the access device will be put into sleep mode and the monitoring period will be adjusted to the sleep monitoring period.

3. An electronic device, characterized in that, include: Memory, used to store computer programs; The processor, when executing the computer program stored in the memory, implements the device state adjustment method as described in claim 1.

4. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the device state adjustment method as described in claim 1.

Citation Information

Patent Citations

  • Management method and accessing point of terminal and terminal

    CN103096419A

  • Equipment wake-up method, system and equipment

    CN106714281A