Disclosure of Invention
The invention solves the problem that the existing wireless communication terminal can not dynamically adapt to the change of the service interval time to control the self state after processing the service.
In order to solve the above problem, an embodiment of the present invention provides a method for controlling a state of a wireless communication terminal, including step 1: after the wireless communication terminal processes the service, acquiring parameter information related to the wireless communication terminal; step 2: respectively determining the power consumption of the wireless communication terminal in the starting process and the standby process based on the parameter information, wherein the standby process refers to the standby process from the time when the wireless communication terminal processes the current service to the time when the wireless communication terminal starts to process the next service; and step 3: comparing the power consumption of the wireless communication terminal during the power-on process with the power consumption of the wireless communication terminal during the standby process to control the state of the wireless communication terminal.
Optionally, the parameter information includes: the network signal intensity of a service cell where the wireless communication terminal is located, the current signal transmitting power of the wireless communication terminal, the starting-up time of the wireless communication terminal and the service interval time of the wireless communication terminal; the service interval time of the wireless communication terminal comprises all service interval time before the service and interval time from the service ending to the next service starting.
Optionally, after the step 1 is executed and before the step 2 is executed, the method further includes: judging whether the interval time from the end of the current service to the start of the next service is greater than or equal to the preset time or not, if so, executing the step 2 and the step 3; if the judgment result is no, executing the step 4: and controlling the wireless communication terminal to stand by.
Optionally, the determining, in step 2, the power consumption of the wireless communication terminal during the power-on process based on the parameter information includes: and determining the power consumption of the wireless communication terminal in the starting process according to the network signal intensity of the service cell where the wireless communication terminal is located, the starting time of the wireless communication terminal and the current signal transmitting power of the wireless communication terminal.
Optionally, the determining, in step 2, the power consumption of the wireless communication terminal during the standby process based on the parameter information includes: and determining the power consumption of the wireless communication terminal in the standby process according to the network signal intensity of the service cell in which the wireless communication terminal is positioned and the interval time from the end of the current service to the start of the next service of the wireless communication terminal.
Optionally, the interval time from the end of the current service to the start of the next service is determined based on an average value of all service interval times before the current service.
Optionally, the step 3 includes: if the power consumption of the wireless communication terminal in the starting process is larger than the power consumption of the wireless communication terminal in the standby process, controlling the wireless communication terminal to be in a standby state; and if the power consumption of the wireless communication terminal in the starting process is less than or equal to the power consumption in the standby process, controlling the wireless communication terminal to be powered off.
Optionally, the wireless communication terminal is an internet of things device.
Based on the state control method of the wireless communication terminal, an embodiment of the present invention further provides a state control apparatus of a wireless communication terminal, including: an information obtaining unit, configured to obtain parameter information associated with the wireless communication terminal after the wireless communication terminal has processed a service; the power consumption calculation unit is used for respectively determining the power consumption of the wireless communication terminal in the starting process and the standby process based on the parameter information acquired by the acquisition unit, wherein the standby process refers to the standby process from the time when the wireless communication terminal finishes processing the current service to the time when the wireless communication terminal starts processing the next service; and the comparison control unit is used for comparing the power consumption of the wireless communication terminal determined by the power consumption calculation unit in the starting process with the power consumption of the wireless communication terminal determined by the power consumption calculation unit in the standby process so as to control the state of the wireless communication terminal.
The embodiment of the invention also provides a wireless communication terminal comprising the state control device of the wireless communication terminal.
Compared with the prior art, the technical scheme of the invention has the following beneficial effects:
after the wireless communication terminal processes the service, whether the power consumption is large when the wireless communication terminal is standby to start processing the next service or the power consumption is large when the wireless communication terminal is powered off first to start processing the next service is determined according to the acquired parameter information related to the wireless communication terminal, and then the state of the wireless communication terminal is controlled according to a mode of small power consumption. Therefore, after the wireless communication terminal processes the service, the state of the wireless communication terminal can be dynamically controlled according to the obtained different parameter information, and a better power saving effect is achieved compared with the prior art.
Further, after the parameter information related to the wireless communication terminal is acquired, the state of the wireless communication terminal is controlled according to the relation between the interval time from the end of the current service to the start of the next service and the preset time, so that the wireless communication terminal is directly controlled to be in a standby state under the condition that the interval time between the current service and the next service is short, and the situation that the wireless communication terminal is repeatedly turned on/off in a short time is avoided.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, specific details are set forth in order to provide a thorough understanding of the present invention. The invention can be implemented in a number of ways different from those described herein and similar generalizations can be made by those skilled in the art without departing from the spirit of the invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 is a flow chart illustrating an embodiment of a method for controlling a state of a wireless communication terminal according to the present invention. Referring to fig. 1, the state control method includes:
step S1: after the wireless communication terminal processes the service, acquiring parameter information related to the wireless communication terminal;
step S2: respectively determining the power consumption of the wireless communication terminal in the starting process and the standby process based on the parameter information, wherein the standby process refers to the standby process from the time when the wireless communication terminal processes the current service to the time when the wireless communication terminal starts to process the next service;
step S3: comparing the power consumption of the wireless communication terminal during the power-on process with the power consumption of the wireless communication terminal during the standby process to control the state of the wireless communication terminal.
In this embodiment, the wireless communication terminal mainly aims at unattended communication equipment, and such a wireless communication terminal has an embedded system therein, and the embedded system can process the service of the wireless communication terminal according to a corresponding protocol specification. In addition, it is also necessary to automatically control the power-on, power-off and standby states of the wireless communication terminals, so that the wireless communication terminals achieve the power saving effect. In this embodiment, the wireless communication terminal refers to an internet of things device. The following describes in detail an embodiment of a state control method of a wireless communication terminal provided in this embodiment.
After the wireless communication terminal has processed the service, the parameter information associated with the wireless communication terminal is obtained as stated in step S1.
Since the wireless communication terminal is certainly in the power-on state during the process of processing the service, in order to achieve the effect of saving power of the wireless communication terminal, it needs to consider what state the wireless communication terminal is in during the interval time between two services, and the wireless communication terminal is more power-saving. Therefore, this step is performed on the premise that the parameter information associated with the wireless communication terminal is acquired each time the wireless communication terminal has processed a service. Wherein the parameter information includes: the network signal intensity of the service cell where the wireless communication terminal is located, the current signal transmitting power of the wireless communication terminal, the starting-up time of the wireless communication terminal and the service interval time of the wireless communication terminal. For convenience of description hereinafter, in the present embodiment, Rx _ Lev represents the network signal strength of the serving cell in which the wireless communication terminal is located, Tx _ Lev represents the current signal transmission power of the wireless communication terminal, T _ start represents the power-on duration of the wireless communication terminal, and Ti represents the traffic interval time of the wireless communication terminal.
In practical applications, the reference information may be obtained by providing an information sensor in the wireless communication terminal, and different reference information may be obtained by different information sensors. For example, the information sensors may be classified into two types, one type is for acquiring reference information related to a network, such as Rx _ Lev and Tx _ Lev, and such information sensors may interact with the network to acquire reference information related to the network; and another type is used for acquiring the reference information which is irrelevant to the network side, such as T _ start and Ti, and such information sensors can interact with an embedded system or an information recording device inside the wireless communication terminal to acquire the reference information which is irrelevant to the network side. Further, the information sensor may be connected to a controller with an embedded system in the wireless communication terminal, and when the embedded system processes the service, the controller may enable the information sensor to collect the reference information associated with the wireless communication terminal.
In the above reference information, the service interval time of the wireless communication terminal includes all service interval times before the current service and an interval time from the end of the current service to the start of the next service. All the service interval time Ti before the current service is determined, all the service interval time Ti before the current service can be recorded in the wireless communication terminal, and all the service interval time Ti before the current service can be acquired through an information sensor.
In this embodiment, the interval (Ti _ next) from the end of the current service to the start of the next service is uncertain, and prediction is required. A preferred prediction method is to determine Ti _ next according to all the service interval times Ti before the current service. For example, Ti _ next may be determined based on an average value of all service interval times Ti before the current service; for another example, Ti _ next may be determined based on the median of all traffic interval times Ti before the current traffic.
In other embodiments, Ti _ next may also be determined according to an interval from the last service end to the start of the current service, that is, Ti _ next is directly determined as the interval from the last service end to the start of the current service. Or, the Ti _ next may be determined according to an average value of N service interval times before the current service, where a value of N may be set by itself. In practical applications, the method is not limited to the above prediction method, and those skilled in the art may determine Ti _ next according to other prediction methods, which are not described herein again.
In step S2, the power consumption of the wireless communication terminal during the power-on process and the standby process is determined based on the parameter information, where the standby process is the process from the time the wireless communication terminal processes the current service to the time the wireless communication terminal starts processing the next service.
Those skilled in the art know that the power consumption of the wireless communication terminal during the power-on process and the standby process depends on different factors, and thus, the power consumption needs to be determined according to different tasks performed by the wireless communication terminal during the standby process and the power-on process. It should be noted that the power-on process of the wireless communication terminal refers to a period of time from when the wireless communication terminal is in a power-off state to when a service needs to be processed (i.e., a next service), the wireless communication terminal is awakened (i.e., powered on) to be in a standby state. The standby process of the wireless communication terminal refers to the time period from the time when the wireless communication terminal processes the current service to the time when the wireless communication terminal starts to process the next service, namely the interval time of the two services.
Specifically, in the embodiment, although the wireless communication terminal is different from a normal mobile terminal (e.g. a mobile phone), the wireless communication terminal and the normal mobile terminal have many similarities in tasks to be processed during the power-on process. For example, the wireless communication terminal also needs to perform frequency sweeping, synchronization with a currently camped cell, system message reading, network attachment, and the like during the power-on process. The similarity between the wireless communication terminal and the internet of things is realized in the starting process of the wireless communication terminal and the internet of things system, because the technical architecture of the internet of things is built on the basis of the existing wired network (such as a telecommunication fixed network) or wireless network (such as a mobile communication network), and is similar to the relation between a common mobile terminal and a network terminal, in the internet of things system, the network terminal needs to position, control and manage the wireless communication terminal through addressing, and the information of the wireless communication terminal transmitted through the sensor network is analyzed and processed, so that the information interconnection and sharing among the wireless communication terminals in the internet of things are realized. Therefore, the wireless communication terminal also needs to perform frequency sweeping, synchronization with the current resident cell, system message reading, network attachment, and the like during the startup process.
Further, the inventors have found through research that the power consumption of the wireless communication terminal during the process of processing the task is related to the network signal strength Rx _ Lev of the serving cell where the wireless communication terminal is located, the power-on duration T _ start of the wireless communication terminal, and the current signal transmission power Tx _ Lev of the wireless communication terminal.
As described above, the start-stop time of the power-on duration T _ start may be a time period from when the wireless communication terminal is woken up to entering the standby state. Generally, for the same wireless communication terminal, the time duration T _ start of each time can be considered to be approximately equal, so the next time starting time duration T _ start can be determined according to the previous time duration T _ start of each time of the wireless communication terminal or the average value of all previous time durations T _ start. For this reason alone, the longer the power-on duration T _ start, the greater the power consumption of the wireless communication terminal during power-on.
Network signal strength Rx _ Lev and current signal transmission power Tx _ Lev for a serving cell in which the wireless communication terminal is located. The stronger the network signal strength Rx _ Lev, i.e. the better the network signal, the less the power consumption of the wireless communication terminal, and the greater the signal transmission power Tx _ Lev, the greater the power consumption of the wireless communication terminal, among other factors.
It should be noted that, although in practical applications, the strength of the network signal strength Rx _ Lev and the magnitude of the signal transmission power Tx _ Lev of the serving cell where the wireless communication terminal is located at the next service start cannot be accurately predicted, the inventors found that for a wireless communication terminal with a fixed location, the network signal strength Rx _ Lev of the serving cell where the wireless communication terminal is located is stable for a long time, and the signal transmission power Tx _ Lev is relatively stable. Therefore, in this embodiment, the network signal strength Rx _ Lev at the start of the next service may be determined based on the network signal strength Rx _ Lev obtained after the current wireless communication terminal has processed the current service; or determining the transmission power Tx _ lev of the wireless communication terminal at the beginning of the next service based on the signal transmission power Tx _ lev obtained after the current wireless communication terminal finishes processing the current service.
Further, there is a certain relationship between the network signal strength Rx _ Lev of the serving cell where the wireless communication terminal is located and the signal transmission power Tx _ Lev of the wireless communication terminal. If the network signal strength Rx _ Lev of the serving cell in which the wireless communication terminal is located is strong, the wireless communication terminal may transmit a signal with a small signal transmission power Tx _ Lev. Therefore, in practical applications, it is also necessary to combine these two factors to determine the power consumption of the wireless communication terminal during the power-on process.
In this embodiment, a specific mathematical relationship between the power consumption of the wireless communication terminal during the power-on process and the three reference information is not limited. Because the specific mathematical relationship between the power consumption of the wireless communication terminal and the reference information in the starting process is related to the chip, the component, the process design and the like adopted by the wireless communication terminal, and the chips, the components and the process designs adopted by different wireless communication terminals are different, in practical application, the specific mathematical relationship between the power consumption of the wireless communication terminal and the three reference information in the starting process can be determined by testing different wireless communication terminals. Further, in practical applications, the power consumption of the wireless communication terminal during the power-on process may also be related to other factors (for example, the service life of the wireless communication terminal, etc.), and reference information corresponding to the other factors may be acquired by the information sensor, and then the reference information is combined to determine the power consumption during the power-on process.
The wireless communication terminal has a similar task to that of a normal mobile terminal, which needs to process during the standby process, for example, the wireless communication terminal also needs to periodically receive the paging message of the serving cell during the standby process. The inventor finds that the power consumption of the wireless communication terminal in the process of receiving the paging message is related to the network signal strength Rx _ Lev of the serving cell where the wireless communication terminal is located and the interval time Ti _ next from the end of the current service to the start of the next service of the wireless communication terminal.
Different from the above determination of the network signal strength Rx _ Lev of the serving cell where the wireless communication terminal is located during the power-on process, what is determined here is the network signal strength Rx _ Lev of the wireless communication terminal in the time period of Ti _ next, but as described above, for the wireless communication terminal with a fixed location, the network signal strength Rx _ Lev of the serving cell where the wireless communication terminal is located is stable for a long time, so the network signal strength Rx _ Lev in the time period of Ti _ next can also be determined according to the network signal strength Rx _ Lev obtained after the wireless communication terminal has processed the current service.
For determining the time interval Ti _ next from the end of the current service to the start of the next service of the wireless communication terminal, reference may be made to the description in step S1, and details thereof are not repeated herein.
In this embodiment, the specific mathematical relationship between the power consumption of the wireless communication terminal during the standby process and the reference information is related to the chip, the component, the process design, and the like adopted by the wireless communication terminal, so the specific mathematical relationship between the power consumption of the wireless communication terminal during the standby process and the two reference information is not limited.
The power consumption of the wireless communication terminal during power-on and the power consumption of the wireless communication terminal during standby are compared to control the state of the wireless communication terminal as described in step S3.
Specifically, in order to achieve the effect of saving power of the wireless communication terminal within two service intervals, if the power consumption of the wireless communication terminal in the starting process is greater than the power consumption of the wireless communication terminal in the standby process, the wireless communication terminal is controlled to be in a standby state; otherwise, if the power consumption of the wireless communication terminal in the starting process is less than or equal to the power consumption in the standby process, controlling the wireless communication terminal to be powered off.
It can be seen that, unlike the prior art, in this embodiment, after the wireless communication terminal processes a service, it may be determined according to the obtained parameter information associated with the wireless communication terminal whether the power consumption is large when the wireless communication terminal is standby to start processing a next service or when the wireless communication terminal is turned on after being turned off to start processing a next service, so as to control the state of the wireless communication terminal according to a manner that the power consumption is small. Therefore, the method of the embodiment can dynamically control the state of the wireless communication terminal according to the acquired different parameter information, thereby achieving a better power saving effect than the prior art.
The inventor further considers that if the power consumption of the wireless communication terminal during the power-on process and the power consumption of the wireless communication terminal during the standby process need to be respectively determined according to the obtained parameter information related to the wireless communication terminal after the wireless communication terminal processes the service, and then the state of the wireless communication terminal is controlled by comparing the power consumption, a large amount of computing resources of the wireless communication terminal need to be occupied to calculate the power consumption.
Therefore, the inventor further improves on the above embodiment, and as shown in fig. 2, is a flowchart of another specific implementation of a state control method of a wireless communication terminal according to the present invention. Referring to fig. 2, the state control method includes:
step S1: after the wireless communication terminal processes the service, acquiring parameter information related to the wireless communication terminal;
step S12: judging whether the interval time from the end of the current service to the start of the next service is greater than or equal to the preset time or not;
if the determination result in the step S12 is yes, execute steps S2 and S3, wherein the steps S2 and S3 are the same as the embodiment shown in fig. 1; if the determination result in the step S12 is negative, execute step S4: and controlling the wireless communication terminal to stand by.
It can be seen that, unlike the embodiment described in fig. 1, in this embodiment, how to control the state of the wireless communication terminal is determined by determining whether or not the interval time Ti _ next from the end of the current service to the start of the next service in the acquired reference information is greater than or equal to a predetermined time. In this embodiment, the specific value range of the predetermined time is not limited, and in practice, different predetermined times may be set according to different wireless communication terminals or according to different application scenarios, which does not affect the essence of the present invention.
Such a trigger condition (i.e. the step S12) is set in consideration that, for some wireless communication terminals with short service intervals, the power consumption during the standby process is generally less than the power consumption during the power-off process (when the next service needs to be processed) and the power consumption during the standby process is close to or even slightly greater than the power consumption during the power-on process, and the power-on/power-off of the wireless communication terminal is repeatedly controlled in a short time, which may adversely affect the service life of the wireless communication terminal.
Therefore, in this embodiment, when the trigger condition is satisfied, the state of the wireless communication terminal can be directly controlled to be in a standby state without separately calculating the power consumption of the wireless communication terminal during the power-on process and the standby process and controlling the state of the wireless communication terminal according to the power consumption. When the trigger condition is not satisfied, with reference to the embodiment described in fig. 1, step S2 and step S3 are continuously executed, that is, the state of the wireless communication terminal is controlled according to the amount of power consumption of the wireless communication terminal during the power-on process and the standby process, and the specific process may refer to the embodiment described in fig. 1 and will not be described again here.
Based on the above-mentioned implementation manner shown in fig. 1, an embodiment of the present invention further provides a state control device for a wireless communication terminal. Fig. 3 is a schematic structural diagram of a state control apparatus of a wireless communication terminal according to an embodiment of the present invention. Referring to fig. 3, the state control device 1 includes: an information obtaining unit 11, configured to obtain parameter information associated with the wireless communication terminal after the wireless communication terminal has processed a service; a power consumption calculating unit 12, configured to determine power consumption of the wireless communication terminal in a power-on process and a standby process respectively based on the parameter information acquired by the information acquiring unit 11, where the standby process is a standby process from when the wireless communication terminal processes the current service to when the wireless communication terminal starts to process the next service; and a comparison control unit 13 for comparing the power consumption amount of the wireless communication terminal during power-on and the power consumption amount during standby determined via the power consumption calculation unit 12 to control the state of the wireless communication terminal.
In this embodiment, the wireless communication terminal is an internet of things device. Wherein the parameter information includes: the network signal intensity of a service cell where the wireless communication terminal is located, the current signal transmitting power of the wireless communication terminal, the starting-up time of the wireless communication terminal and the service interval time of the wireless communication terminal; the service interval time of the wireless communication terminal comprises all service interval time before the service and interval time from the service ending to the next service starting.
Specifically, the information obtaining unit 11 includes a time determining unit 111, and the time determining unit 111 is configured to determine an interval time from the end of the current service to the start of the next service according to an average value of interval times of all previous services of the wireless communication terminal.
The power consumption calculation unit 12 includes a power-on power consumption calculation unit 121 and a standby power consumption calculation unit 122. The power consumption calculating unit 121 is configured to determine power consumption of the wireless communication terminal in the power on process according to the network signal strength of the serving cell in which the wireless communication terminal is located, the power on duration of the wireless communication terminal, and the current signal transmission power of the wireless communication terminal. The standby power consumption calculating unit 122 is configured to determine the power consumption of the wireless communication terminal in the standby process according to the network signal strength of the serving cell in which the wireless communication terminal is located and the interval time from the end of the current service of the wireless communication terminal to the start of the next service.
The comparison control unit 13 includes a standby control unit 131 and a shutdown control unit 132; the standby control unit 131 is configured to control the wireless communication terminal to be in a standby state when power consumption of the wireless communication terminal in a power-on process is greater than power consumption of the wireless communication terminal in a standby process; the power-off control unit 132 is configured to control the wireless communication terminal to power off when power consumption of the wireless communication terminal during power-on is less than or equal to power consumption of the wireless communication terminal during standby.
Based on the above-mentioned implementation manner shown in fig. 2, an embodiment of the present invention further provides another state control device for a wireless communication terminal. Fig. 4 is a schematic structural diagram of another embodiment of a state control apparatus of a wireless communication terminal according to the present invention. Referring to fig. 4, the state control device 1' includes: an information obtaining unit 11, configured to obtain parameter information associated with the wireless communication terminal after the wireless communication terminal has processed a service; a power consumption calculating unit 12, configured to determine power consumption of the wireless communication terminal in a power-on process and a standby process respectively based on the parameter information acquired by the information acquiring unit 11, where the standby process is a standby process from when the wireless communication terminal processes the current service to when the wireless communication terminal starts to process the next service; and a comparison control unit 13 for comparing the power consumption amount of the wireless communication terminal during power-on and the power consumption amount during standby determined via the power consumption calculation unit 12 to control the state of the wireless communication terminal.
The specific structures of the information obtaining unit 11, the power consumption calculating unit 12 and the comparison control unit 13 are the same as those of the state control apparatus 1 shown in fig. 3, and are not described herein again.
Unlike the state control device 1 shown in fig. 3, the state control device 1' further includes: a judging unit 14 and an instruction control unit 15. The judging unit 14 is configured to judge whether an interval time from the end of the current service to the start of the next service is greater than or equal to a preset time; in the case where the judgment result of the judgment unit 14 is yes, the instruction control unit 15 is configured to instruct the power consumption calculation unit 12 and the comparison control unit 13 to enter an operating state; in the case where the determination result of the determination unit 14 is no, the instruction control unit 15 is configured to control the wireless communication terminal to stand by.
An embodiment of the present invention further provides a wireless communication terminal, where the wireless communication terminal includes the state control device 1 shown in fig. 3 or the state control device 1' shown in fig. 4.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can make variations and modifications of the present invention without departing from the spirit and scope of the present invention by using the methods and technical contents disclosed above.