CN107566154B - Electric quantity control method and device - Google Patents

Electric quantity control method and device Download PDF

Info

Publication number
CN107566154B
CN107566154B CN201710610261.9A CN201710610261A CN107566154B CN 107566154 B CN107566154 B CN 107566154B CN 201710610261 A CN201710610261 A CN 201710610261A CN 107566154 B CN107566154 B CN 107566154B
Authority
CN
China
Prior art keywords
internet
electric quantity
things
quantity control
things terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710610261.9A
Other languages
Chinese (zh)
Other versions
CN107566154A (en
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710610261.9A priority Critical patent/CN107566154B/en
Priority to PCT/CN2017/100895 priority patent/WO2019019286A1/en
Publication of CN107566154A publication Critical patent/CN107566154A/en
Application granted granted Critical
Publication of CN107566154B publication Critical patent/CN107566154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Abstract

The invention discloses an electric quantity control method, which comprises the following steps: detecting whether the running state of an Internet of things terminal connected with an access point meets an electric quantity control triggering condition or not; if the operating state of an Internet of things terminal i connected with the access point is detected to meet X electric quantity control triggering conditions corresponding to the Internet of things terminal i, the Internet of things terminal i is controlled to be switched to a power saving mode corresponding to one of the X electric quantity control triggering conditions, wherein the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal set corresponds to W electric quantity control triggering conditions respectively, X is larger than or equal to 1, W is larger than or equal to 0, and N is an integer larger than 1. The embodiment of the invention also provides an electric quantity control device of the terminal of the Internet of things. By adopting the embodiment of the invention, the service life of the terminal of the Internet of things can be prolonged.

Description

Electric quantity control method and device
Technical Field
The invention relates to the technical field of Internet of things, in particular to an electric quantity control method and device.
Background
The Internet of things is a new generation of information technology, The english name "The Internet of things". As the name implies, the Internet of things is the Internet with connected objects. This has two layers: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; second, the user end extends and expands to any object to object for information exchange and communication. Therefore, the definition of the internet of things is: any object is connected with the internet through information sensing equipment such as Radio Frequency Identification (RFID), an infrared sensor, a global positioning system, a laser scanner and the like according to an agreed protocol to carry out information exchange and communication, so that a network for intelligently identifying, positioning, tracking, monitoring and managing the object is realized.
Different from a terminal which can be charged frequently in person-to-person communication, the problem that how to avoid frequent replacement of the internet of things terminal due to short service life of the internet of things terminal is a technical problem to be solved urgently because the internet of things terminal has great particularity and quantity in the environment where the internet of things terminal is located.
Disclosure of Invention
The embodiment of the invention provides an electric quantity control method and device, which are used for prolonging the service life of an Internet of things terminal.
In a first aspect, an embodiment of the present invention provides an electric quantity control method for an internet of things terminal, which is applicable to an internet of things system, where the internet of things system includes an access point and an internet of things terminal, and includes:
when detecting that the running state of an internet of things terminal i connected with the access point meets X electric quantity control triggering conditions corresponding to the internet of things terminal i, the gateway/access point controls the internet of things terminal i to switch to a power saving mode corresponding to one electric quantity control triggering condition in the X electric quantity control triggering conditions;
the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal set corresponds to W electric quantity control triggering conditions respectively, and X, W and N are positive integers.
In some feasible embodiments, the W electric quantity control trigger conditions respectively corresponding to each group of internet of things terminal sets are set by the user through the human-computer interaction interface of the access point for the N groups of internet of things terminal sets.
In some possible embodiments, N is determined according to the number M of all internet of things terminals connected by the access point, where M is an integer greater than 1.
In some possible embodiments, when M is greater than or equal to a first threshold, N is determined according to M and a second threshold; when M is less than the first threshold, the N is determined according to M and a third threshold, wherein the third threshold is less than the second threshold, the first threshold is greater than or equal to the second threshold B, and B is a positive integer.
In some possible embodiments, the gateway/access point controlling the internet of things terminal i to switch to a power saving mode corresponding to one of the X power control trigger conditions includes:
the gateway/access point sends an electric quantity control instruction to the Internet of things terminal i, the electric quantity control instruction carries an electric quantity control trigger condition j, the X electric quantity control trigger conditions comprise the electric quantity control trigger condition j, and the electric quantity control instruction is used for indicating the Internet of things terminal i to switch to a power saving mode corresponding to the electric quantity control trigger condition j.
In some possible embodiments, the method further comprises:
the gateway/access point periodically detects whether the number of the newly added Internet of things terminals connected with the access point exceeds a fourth threshold value;
if the number of the newly added internet of things terminals connected with the access point exceeds the fourth threshold, the access point re-groups the internet of things terminals connected with the access point to obtain an H group of internet of things terminal sets, wherein the H group of internet of things terminal sets correspond to H sub-IP network segments, the fourth threshold is greater than or equal to M x T, and T is a positive integer;
and the gateway/access point reports the H group of Internet of things terminal set to the user, so that the user resets the electric quantity control triggering condition for the H group of Internet of things terminal set again.
Therefore, when the number of the newly added internet of things terminals connected with the access point is at least equal to the number of all the internet of things terminals connected with the previous access point, the internet of things servers are grouped again, so that the newly added internet of things terminals can be controlled more accurately.
In a second aspect, an embodiment of the present invention provides an electric quantity control device for an internet of things terminal, which is applicable to an internet of things system, where the internet of things system includes an access point and the internet of things terminal, and includes:
the control module is used for controlling the Internet of things terminal i to switch to a power saving mode corresponding to one of X electric quantity control triggering conditions when detecting that the running state of the Internet of things terminal i connected with the access point meets the X electric quantity control triggering conditions corresponding to the Internet of things terminal i;
the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal set corresponds to W electric quantity control triggering conditions respectively, and X, W and N are positive integers.
In some feasible embodiments, the W electric quantity control trigger conditions respectively corresponding to each group of internet of things terminal sets are set by the user through the human-computer interaction interface of the access point for the N groups of internet of things terminal sets.
In some possible embodiments, N is determined according to the number M of all internet of things terminals connected by the access point, where M is an integer greater than 1.
In some possible embodiments, when M is greater than or equal to a first threshold, N is determined according to M and a second threshold; when M is less than the first threshold, the N is determined according to M and a third threshold, wherein the third threshold is less than the second threshold, the first threshold is greater than or equal to the second threshold B, and B is a positive integer.
In some possible embodiments, the control module is specifically configured to:
and sending an electric quantity control instruction to the Internet of things terminal i, wherein the electric quantity control instruction carries an electric quantity control trigger condition j, the X electric quantity control trigger conditions comprise the electric quantity control trigger condition j, and the electric quantity control instruction is used for indicating the Internet of things terminal i to switch to a power saving mode corresponding to the electric quantity control trigger condition j.
In a third aspect, the invention provides an electric quantity control device of an internet of things terminal, where the electric quantity control device of the internet of things terminal includes a processor, and the processor is configured to support the electric quantity control device of the internet of things terminal to execute a corresponding function in the electric quantity control method of the internet of things terminal provided in the first aspect. The electric quantity control device of the terminal of the internet of things can further comprise a memory, wherein the memory is used for being coupled with the processor and storing necessary program instructions and data of the electric quantity control device of the terminal of the internet of things. The electric quantity control device of the terminal of the internet of things can further comprise a communication interface, and the electric quantity control device of the terminal of the internet of things is used for communicating with other equipment or a communication network.
In a fourth aspect, the embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present invention, and the computer includes a power control device of a terminal in the internet of things.
In a fifth aspect, the present invention provides a computer program product, wherein the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in the first aspect of the present invention. The computer program product can be a software installation package, and the computer comprises an electric quantity control device of the terminal of the Internet of things.
Compared with the prior art, the scheme provided by the invention can preset the electric quantity control triggering conditions of all the Internet of things terminals, and when the operating state of the Internet of things terminals meets the electric quantity control triggering conditions, the Internet of things terminals are controlled to switch the power saving mode, so that the service life of the Internet of things terminals is prolonged.
These and other aspects of the invention are apparent from and will be elucidated with reference to the embodiments described hereinafter.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture of the internet of things according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an electric quantity control method for an internet of things terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating power control of an internet of things terminal according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an electric quantity control method for an internet of things terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electric quantity control device of an internet of things terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electric quantity control device of an internet of things terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of the invention and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Hereinafter, some terms in the present application are explained to facilitate understanding by those skilled in the art.
1) The terminal of the Internet of things is a device which is connected with a sensing network layer and a transmission network layer in the Internet of things and used for acquiring data and sending the data to the network layer. It is responsible for data acquisition, preliminary processing, encryption, transmission and other functions. For example, the internet of things terminal may be a handheld device, a vehicle-mounted device, a mobile phone, a tablet computer, a notebook computer, a handheld computer, a Mobile Internet Device (MID), a wearable device, such as a smart watch, a smart band, a pedometer, and the like, which have a wireless connection function, and of course, the internet of things terminal may also include other devices with a networking function, such as a smart television, a smart air conditioner, a smart water bottle, or some smart devices of the internet of things, and the like. For another example, the terminal of the internet of things may also be a repeater, which has the english name: "repeater (rp)", is a connected device that operates on the physical layer. The method is suitable for interconnection of two types of networks which are identical, and the main function is to enlarge the transmission distance of the networks by retransmitting or forwarding data signals.
2) Gateway, the english name is: gateway is also called Gateway, or protocol converter. The gateway realizes network interconnection above a network layer, is the most complex network interconnection equipment and is only used for interconnection of two networks with different high-level protocols. The gateway can be used for interconnection of both wide area networks and local area networks. A gateway is a computer system or device that acts as a switch-operative. The gateway is a translator used between two systems that differ in communication protocol, data format or language, or even in an entirely different architecture. Instead of the bridge simply communicating the information, the gateway repackages the received information to accommodate the needs of the destination system.
3) The Access Point (AP) is intelligent information receiving and sending equipment integrating a wireless network access point and an RFID access point, and the AP of the internet of things can simultaneously receive and send WIFI signals and RFID signals.
4) An IP network segment generally refers to a portion of a computer network that can communicate directly using the same physical layer device (transmission medium, repeater, hub, etc.). For example, 192.168.0.1-192.168.255.255 are a network segment.
5) "plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Embodiments of the present application are described below with reference to the drawings.
According to one aspect of the invention, an electric quantity control method of an Internet of things terminal is provided. The method is applied to an internet of things architecture shown in fig. 1, and as shown in fig. 1, the internet of things architecture includes: the terminal comprises a gateway 10, a plurality of access points 20, an internet of things terminal 30 and a repeater 40 which are connected with the access points 20, and an internet of things terminal 50 which is connected with the repeater 40. The terminal 50 of the internet of things is connected with the repeater 40 in a wireless manner, the repeater 40 and the terminal 30 of the internet of things are connected with the access point 20 in a wireless manner, and the access point 20 accesses the internet with the gateway 10 in a wireless manner or a wired manner, wherein the wireless manner includes but is not limited to: bluetooth, WIFI, ZigBee, GPRS, 3G, 4G, Wimax and the like. Fig. 1 is a wired example, and for convenience of representation, only one solid line is shown here.
Referring to fig. 2, fig. 2 is a schematic flow chart of an electric quantity control method for an internet of things terminal according to an embodiment of the present invention, where an execution subject of the electric quantity control method for the internet of things terminal is an electric quantity control device for the internet of things terminal (the electric quantity control device for the internet of things terminal may be a gateway or an access point), and the following description takes the execution subject as an access point as an example, and includes the following steps:
s201, the access point detects whether the running state of the Internet of things terminal connected with the access point meets an electric quantity control triggering condition.
S202, when the operating state of an Internet of things terminal i connected with the access point is detected to meet X electric quantity control triggering conditions corresponding to the Internet of things terminal i, the access point controls the Internet of things terminal i to switch to a power saving mode corresponding to one electric quantity control triggering condition in the X electric quantity control triggering conditions, wherein the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal sets respectively correspond to W electric quantity control triggering conditions, and X, W and N are positive integers.
In step S201, the access point may periodically detect whether the operating state of the terminal of the internet of things connected to the access point meets the power control trigger condition, for example, the operation state may be detected once every minute.
For example, assume that there are 100 internet of things terminals connected to the access point, N is 3, W is 2, there are 3 sub-IP network segments (e.g., 192.168.1.20-192.168.1.55, 192.168.1.56-192.168.1.120, 192.168.1.121-192.168.1.210) in the networking range, 3 groups of internet of things terminal sets (e.g., internet of things terminal set 1, internet of things terminal set 2, and internet of things terminal set 3), the 3 groups of internet of things terminal sets are divided based on the 3 sub-IP network segments, the 3 groups of internet of things terminal sets respectively correspond to 2 electric quantity control trigger conditions (e.g., internet of things terminal set 1 corresponds to a first electric quantity control trigger condition and a second electric quantity control trigger condition, internet of things terminal set 2 corresponds to a third electric quantity control trigger condition and a fourth electric quantity control trigger condition, and internet of things terminal set 3 corresponds to a fifth electric quantity control trigger condition and a sixth electric quantity control trigger condition), when the access point detects that the operating state of one internet of things terminal in internet of things terminal set 1 satisfies the first Or when the second electric quantity control triggering condition exists, the access point controls the certain Internet of things terminal to switch to the power saving mode corresponding to the first electric quantity control triggering condition or the power saving mode corresponding to the second electric quantity control triggering condition. Therefore, by presetting the electric quantity control triggering conditions of the internet of things terminals, when the operating state of the internet of things terminals meets the electric quantity control triggering conditions, the internet of things terminals are controlled to switch the power saving mode, and the service life of the internet of things terminals is prolonged.
It should be noted that the operation state of the terminal of the internet of things generally includes a data receiving state, a data sending state, a standby state, a sleep state, and the like. The foregoing step S201 detects an operation state of the terminal of the internet of things connected to the access point, where the operation state of the terminal of the internet of things is detected within a period of time (for example, 23 minutes, 30 minutes, 1 hour, 4 hours, or other values).
For example, it is assumed that the first electric quantity control trigger condition corresponding to the internet of things terminal set 1 is that the average standby time of the internet of things terminal is within a first preset time range, the average receiving/sending time of the internet of things terminal is within a second preset time range, for example, the average standby time of the internet of things terminal is within 10 minutes, and the average receiving/sending time of the internet of things terminal is within 3 minutes, the power saving mode corresponding to the first electric quantity control trigger condition may be that the internet of things terminal sleeps once every 7 minutes, and the sleep time is 8 minutes each time, if the operating state of a certain internet of things terminal in the internet of things terminal set 1 meets the first electric quantity control trigger condition, the access point controls the certain internet of things terminal to switch to the power saving mode that the internet of things terminal sleeps once.
For another example, assuming that the average standby time of the internet of things terminal set 1 is in a first preset time range, the average receiving/sending time of the internet of things terminal is in a second preset time range, for example, the average standby time of the internet of things terminal is in 10 minutes, and the average receiving/sending time of the internet of things terminal is in 3 minutes, the power saving mode corresponding to the first electric quantity control triggering condition may be that the internet of things terminal sleeps once every 7 minutes, each time the sleeping time is 8 minutes, assuming that the standby time of the internet of things terminal set 1 is longer than a third preset time, the receiving/sending time of the internet of things terminal is longer than a fourth preset time, for example, the standby time of the internet of things terminal is longer than 5 minutes, and the receiving/sending time of the internet of things terminal is longer than 3 minutes, the power saving mode corresponding to the second electric quantity control triggering condition may be that the internet of things terminal sleeps once every 10 minutes, the sleeping time of each time is 6 minutes, if the running state of a certain internet of things terminal in the internet of things terminal set 1 meets the first electric quantity control triggering condition and the second electric quantity control triggering condition, the access point controls the certain internet of things terminal to switch to sleeping once every 7 minutes, the sleeping time of each time is 8 minutes, or the access point controls the certain internet of things terminal to switch to sleeping once every 10 minutes, and the sleeping time of each time is 6 minutes.
Optionally, the W electric quantity control trigger conditions respectively corresponding to each group of internet of things terminal sets are set by the user through the human-computer interaction interface of the access point for the N groups of internet of things terminal sets. That is to say, the W electric quantity control trigger conditions respectively corresponding to each group of internet of things terminal sets are user-defined.
Optionally, N is determined according to the number M of all internet of things terminals connected to the access point, where M is an integer greater than 1.
For example, a total IP network segment, such as 192.168.1.20-192.168.1.210, is usually provided in the networking range, one IP network segment may be divided into a plurality of sub-IP network segments, it is assumed that the larger N is, the more corresponding internet of things terminal sets are, the more the management is inconvenient, and in order to appropriately limit the number of the internet of things terminal sets, the scheme limits N to be determined according to the number M of all the internet of things terminals connected by the access point.
Optionally, when M is greater than or equal to a first threshold, N is determined according to M and a second threshold; when M is less than the first threshold, the N is determined according to M and a third threshold, wherein the third threshold is less than the second threshold, the first threshold is greater than or equal to the second threshold B, and B is a positive integer.
The first threshold may be, for example, 60, 100, 136, 200, 400, 560 or other values.
The second threshold may be, for example, 30, 50, 68, 100, 200, 280 or other values.
The third threshold may be, for example, 20, 30, 45, 65, 78, 100 or other values.
For example, assuming that M is 100, the first threshold is 50, and the second threshold is 25, it can be seen that M is greater than the first threshold, then N is determined according to M and the second threshold, such as N is M/4. Further, assuming that M is 90, the first threshold is 50, the second threshold is 25, N/M/second threshold is 3 … 15, it can be seen that M cannot be divided by the second threshold, if the remainder is greater than half of the second threshold, N is 4, and otherwise N is 3. Further, assuming that M is 60, the first threshold is 100, and the third threshold is 20, then N is determined according to M and the third threshold, for example, N is M/3.
Optionally, the number of the IP addresses included in the N sub-IP segments may be the same, such as 192.168.1.20-192.168.1.55, 192.168.1.56-192.168.1.81, and certainly, the number of the IP addresses included in the N sub-IP segments may be different, such as 192.168.1.20-192.168.1.55, 192.168.1.56-192.168.1.120.
Optionally, the N is self-determined by the access point.
Optionally, the method further comprises:
when the access point detects that a new Internet of things terminal applies for access to the access point, the access point allocates an IP address for the new Internet of things terminal, and divides the new Internet of things terminal into corresponding Internet of things terminal sets according to the IP address.
Specifically, the number of the internet of things terminals connected to the access point may be changed continuously, for example, increased or decreased, and when the number of the internet of things terminals connected to the access point increases, the access point automatically divides the newly added internet of things terminal into the corresponding internet of things terminal set according to the IP network segment where the IP address of the newly added internet of things terminal is located. For example, if N is 3, 3 sub-IP network segments (e.g., 192.168.1.20-192.168.1.55, 192.168.1.56-192.168.1.120, 192.168.1.121-192.168.1.210), the IP address of the newly added internet of things terminal is 192.168.1.44, and it can be seen that the IP address of the newly added internet of things terminal is in the sub-IP network segments 192.168.1.20-192.168.1.55, then the access point automatically divides the newly added internet of things terminal into the internet of things terminal sets corresponding to the sub-IP network segments 192.168.1.20-192.168.1.55.
Optionally, the method further comprises:
the access point periodically detects whether the number of the newly added Internet of things terminals connected with the access point exceeds a fourth threshold value; if the number of the newly added internet of things terminals connected with the access point exceeds the fourth threshold, the access point re-groups the internet of things terminals connected with the access point to obtain an H group of internet of things terminal sets, wherein the H group of internet of things terminal sets correspond to H sub-IP network segments, the fourth threshold is greater than or equal to M x T, and T is a positive integer; and the access point reports the H group of Internet of things terminal set to the user, so that the user can reset the electric quantity control triggering condition for the H group of Internet of things terminal set.
The period may be, for example, 3 days, 10 days, 20 days, 1 month, 2 months, or other values. T may be, for example, 1, 2, 3, 4, 6, 7 or other values.
For example, the internet of things terminals accessing the access point may change (e.g., increase/decrease) over time, and if the number of the newly added internet of things terminals exceeds 2 times of the number of the previous internet of things terminals, the access point needs to group the internet of things terminals again for convenience of management, and after the grouping is completed, the access point reports the grouping to the user to enable the user to reset the electric quantity control trigger conditions of the grouping. The determination of the H value is the same as the determination of the N value described above, and will not be described here.
In addition, if the user does not reset the power control trigger condition for a new group (the H group of the internet of things terminal sets), the access point performs the above step S201 to perform the detection determination based on the power control trigger conditions corresponding to the previous group (the N group of the internet of things terminal sets correspond to W power controls, respectively). I.e. the new packet is not activated, the access point also operates accordingly based on the previous packet.
Optionally, a specific implementation manner of the access point controlling the internet of things terminal i to switch to the power saving mode corresponding to one of the X power control trigger conditions is as follows:
the access point sends an electric quantity control instruction to the internet of things terminal i, the electric quantity control instruction carries an electric quantity control trigger condition j, the X electric quantity control trigger conditions comprise the electric quantity control trigger condition j, and the electric quantity control instruction is used for indicating the internet of things terminal i to switch to a power saving mode corresponding to the electric quantity control trigger condition j.
For example, referring to fig. 3, fig. 3 is a schematic diagram of power control of an internet of things terminal according to an embodiment of the present invention, where the access point 60 and the access point 60 are connected to 10 internet of things terminals, such as an internet of things terminal 70, an internet of things terminal 71, an internet of things terminal 72, an internet of things terminal 73, an internet of things terminal 74, an internet of things terminal 75, an internet of things terminal 76, an internet of things terminal 77, an internet of things terminal 78, and an internet of things terminal 79, where there are two internet of things terminals, such as an internet of things terminal set 1 including the internet of things terminal 70, the internet of things terminal 71, the internet of things terminal 72, the internet of things terminal 73, and the internet of things terminal 74, an internet of things terminal set 2 including the internet of things terminal 75, the internet of things terminal 76, the first power control triggering condition corresponds to a first power saving mode, the internet of things terminal set 2 corresponds to a second power control triggering condition, and the second power control triggering condition corresponds to a second power saving mode, and if the access point 60 detects that the running state of the internet of things terminal 75 meets the first power control triggering condition, the access point 60 sends a power control instruction to the internet of things terminal 75, so that the internet of things terminal 75 is switched to the first power saving mode.
An embodiment of the present invention further provides another more detailed method flow, as shown in fig. 4, where an execution main body of the method for executing the power control of the terminal of the internet of things is the power control device of the terminal of the internet of things (the power control device of the terminal of the internet of things may be a gateway or an access point), and the following description takes the execution main body as an access point as an example, and includes:
s401, the access point obtains the number M of all the terminals of the Internet of things connected with the access point, wherein M is an integer larger than 1.
S402, the access point determines N according to the number M of all terminals of the Internet of things connected with the access point, wherein the N is an integer larger than 1.
S403, the access point divides the IP network segment in the networking range into N sub-IP network segments.
S404, the access point determines N groups of Internet of things terminal sets according to the N sub-IP network segments.
S405, the access point receives W electric quantity control trigger conditions which are input by a user through a man-machine interaction interface of the access point and respectively correspond to the N groups of Internet of things terminal sets.
S406, the access point sets electric quantity control trigger conditions of the N groups of Internet of things terminal sets according to the W electric quantity control trigger conditions respectively corresponding to the N groups of Internet of things terminal sets.
S407, the access point detects whether the running state of the Internet of things terminal connected with the access point meets the electric quantity control triggering condition.
S408, if the operating state of the Internet of things terminal i connected with the access point is detected to meet X electric quantity control triggering conditions corresponding to the Internet of things terminal i, the access point sends an electric quantity control instruction to the Internet of things terminal i, the electric quantity control instruction carries an electric quantity control triggering condition j, and the X electric quantity control triggering conditions comprise the electric quantity control triggering condition j.
S409, the Internet of things terminal i receives the electric quantity control instruction sent by the access point, and switches to a power saving mode corresponding to the electric quantity control triggering condition j according to the electric quantity control instruction.
It should be noted that, the specific implementation of the steps of the method shown in fig. 4 can refer to the specific implementation described in the above method, and will not be described here.
An embodiment of the present invention further provides an electric quantity control apparatus 500 of an internet of things terminal, as shown in fig. 5, including:
the detection module 501 is configured to detect whether an operation state of an internet of things terminal connected to an access point meets an electric quantity control trigger condition;
the control module 502 is configured to control, if it is detected that an operating state of an internet of things terminal i connected to the access point satisfies X electric quantity control trigger conditions corresponding to the internet of things terminal i, the internet of things terminal i is switched to a power saving mode corresponding to one of the X electric quantity control trigger conditions, wherein the access point is connected with N sets of internet of things terminals, the N sets of internet of things terminals correspond to N sub-IP network segments, each set of internet of things terminal corresponds to W electric quantity control trigger conditions respectively, X is greater than or equal to 1, W is greater than or equal to 0, and N is an integer greater than 1.
Optionally, the W electric quantity control trigger conditions respectively corresponding to each group of internet of things terminal sets are set by the user through the human-computer interaction interface of the access point for the N groups of internet of things terminal sets.
Optionally, N is determined according to the number M of all internet of things terminals connected to the access point, where M is an integer greater than 1.
Optionally, when M is greater than or equal to a first threshold, N is determined according to M and a second threshold; when M is less than the first threshold, the N is determined according to M and a third threshold, wherein the third threshold is less than the second threshold, the first threshold is greater than or equal to the second threshold B, and B is a positive integer.
Optionally, the control module is specifically configured to:
and sending an electric quantity control instruction to the Internet of things terminal i, wherein the electric quantity control instruction carries an electric quantity control trigger condition j, the X electric quantity control trigger conditions comprise the electric quantity control trigger condition j, and the electric quantity control instruction is used for indicating the Internet of things terminal i to switch to a power saving mode corresponding to the electric quantity control trigger condition j.
It should be noted that the above modules (the detection module 501 and the control module 502) are used for executing relevant steps of the above method. For example, the detecting module 501 is used to execute the above step S201, and the controlling module 502 is used to execute the above step S202.
In this embodiment, the power control device 500 of the terminal of the internet of things is presented in the form of a module. A "module" herein may refer to an application-specific integrated circuit (ASIC), a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and/or other devices that may provide the described functionality. In addition, the above detection module 501 and the control module 502 can be implemented by the processor 601 of the internet of things terminal power control device shown in fig. 6.
As shown in fig. 6, the power control apparatus 600 of the terminal of the internet of things may be implemented in the structure of fig. 6, and the power control apparatus 600 of the terminal of the internet of things includes at least one processor 601, at least one memory 602, and at least one communication interface 603. The processor 601, the memory 602 and the communication interface 603 are connected through the communication bus and perform communication with each other.
The processor 601 may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the above schemes.
Communication interface 603 is used for communicating with other devices or communication Networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.
The Memory 602 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 602 is used for storing application program codes for executing the above scheme, and the processor 601 controls the execution. The processor 601 is used to execute application program code stored in the memory 602.
The codes stored in the memory 602 may perform the power control method of the internet of things terminal performed by the terminal device provided above, for example, detect whether the operating state of the internet of things terminal connected to the access point satisfies the power control trigger condition; if the operating state of an Internet of things terminal i connected with the access point is detected to meet X electric quantity control triggering conditions corresponding to the Internet of things terminal i, the Internet of things terminal i is controlled to be switched to a power saving mode corresponding to one of the X electric quantity control triggering conditions, wherein the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal set corresponds to W electric quantity control triggering conditions respectively, X is larger than or equal to 1, W is larger than or equal to 0, and N is an integer larger than 1.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a power control device of a terminal of the internet of things.
Embodiments of the present invention also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as recited in the above method embodiments. The computer program product can be a software installation package, and the computer comprises an electric quantity control device of the terminal of the Internet of things.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present invention.

Claims (6)

1. The electric quantity control method of the terminal of the Internet of things is characterized by being suitable for the system of the Internet of things, wherein the system of the Internet of things comprises an access point and the terminal of the Internet of things, and the method comprises the following steps:
when the operating state of an Internet of things terminal i connected with the access point is detected to meet X electric quantity control triggering conditions corresponding to the Internet of things terminal i, controlling the Internet of things terminal i to switch to a power saving mode corresponding to one electric quantity control triggering condition in the X electric quantity control triggering conditions;
the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal sets respectively correspond to W electric quantity control trigger conditions, and X, W and N are positive integers;
when M is greater than or equal to a first threshold value, N is determined according to M and a second threshold value, M is the number of terminals of the Internet of things, and M is an integer greater than 1;
wherein when M is less than the first threshold, the N is determined from M and a third threshold, wherein the third threshold is less than the second threshold, the first threshold is greater than or equal to the second threshold B, and B is a positive integer;
the running states of the terminal i of the Internet of things comprise a data receiving state, a data sending state, a standby state and a dormant state;
the access point periodically detects whether the number of the newly added Internet of things terminals connected with the access point exceeds a fourth threshold value; if the number of the newly added internet of things terminals connected with the access point exceeds the fourth threshold, the access point re-groups the internet of things terminals connected with the access point to obtain an H group of internet of things terminal sets, wherein the H group of internet of things terminal sets correspond to H sub-IP network segments, the fourth threshold is greater than or equal to M x T, and T is a positive integer; and the access point reports the H group of Internet of things terminal set to the user, so that the user can reset the electric quantity control triggering condition for the H group of Internet of things terminal set.
2. The method according to claim 1, wherein the W electric quantity control trigger conditions respectively corresponding to each group of internet of things terminal sets are respectively set for the N groups of internet of things terminal sets by a user through a human-computer interaction interface of the access point.
3. The method according to claim 1 or 2, wherein the controlling the internet of things terminal i to switch to a power saving mode corresponding to one of the X power control trigger conditions includes:
and sending an electric quantity control instruction to the Internet of things terminal i, wherein the electric quantity control instruction carries an electric quantity control trigger condition j, the X electric quantity control trigger conditions comprise the electric quantity control trigger condition j, and the electric quantity control instruction is used for indicating the Internet of things terminal i to switch to a power saving mode corresponding to the electric quantity control trigger condition j.
4. The utility model provides an electric quantity control device at thing networking terminal which characterized in that is applicable to thing networking system, thing networking system includes access point and thing networking terminal, includes:
the detection module is used for periodically detecting whether the number of the newly added Internet of things terminals connected with the access point exceeds a fourth threshold value;
the control module is used for controlling the Internet of things terminal i to switch to a power saving mode corresponding to one of X electric quantity control triggering conditions when detecting that the running state of the Internet of things terminal i connected with the access point meets the X electric quantity control triggering conditions corresponding to the Internet of things terminal i;
the control module is further configured to control the access point to re-group the internet of things terminals connected to the access point when it is detected that the number of the newly added internet of things terminals connected to the access point exceeds the fourth threshold, so as to obtain an H group of internet of things terminal sets, where the H group of internet of things terminal sets correspond to H sub-IP network segments, the fourth threshold is greater than or equal to M × T, and T is a positive integer; the access point is controlled to report the H group of Internet of things terminal sets to users, so that the users can reset the electric quantity control triggering conditions for the H group of Internet of things terminal sets;
the access point is connected with N groups of Internet of things terminal sets, the N groups of Internet of things terminal sets correspond to N sub-IP network segments, each group of Internet of things terminal sets respectively correspond to W electric quantity control trigger conditions, and X, W and N are positive integers;
when M is greater than or equal to a first threshold value, N is determined according to M and a second threshold value, M is the number of terminals of the Internet of things, and M is an integer greater than 1;
wherein when M is less than the first threshold, the N is determined from M and a third threshold, wherein the third threshold is less than the second threshold, the first threshold is greater than or equal to the second threshold B, and B is a positive integer;
the operation states of the terminal i of the internet of things comprise a data receiving state, a data sending state, a standby state and a dormant state.
5. The apparatus according to claim 4, wherein the W power control trigger conditions respectively corresponding to each set of IOT terminals are set by a user through a human-computer interaction interface of the access point for the N sets of IOT terminals respectively.
6. The apparatus according to claim 4 or 5, wherein the control module is specifically configured to:
and sending an electric quantity control instruction to the Internet of things terminal i, wherein the electric quantity control instruction carries an electric quantity control trigger condition j, the X electric quantity control trigger conditions comprise the electric quantity control trigger condition j, and the electric quantity control instruction is used for indicating the Internet of things terminal i to switch to a power saving mode corresponding to the electric quantity control trigger condition j.
CN201710610261.9A 2017-07-25 2017-07-25 Electric quantity control method and device Active CN107566154B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710610261.9A CN107566154B (en) 2017-07-25 2017-07-25 Electric quantity control method and device
PCT/CN2017/100895 WO2019019286A1 (en) 2017-07-25 2017-09-07 Method and apparatus for controlling power

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710610261.9A CN107566154B (en) 2017-07-25 2017-07-25 Electric quantity control method and device

Publications (2)

Publication Number Publication Date
CN107566154A CN107566154A (en) 2018-01-09
CN107566154B true CN107566154B (en) 2020-04-14

Family

ID=60973775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710610261.9A Active CN107566154B (en) 2017-07-25 2017-07-25 Electric quantity control method and device

Country Status (2)

Country Link
CN (1) CN107566154B (en)
WO (1) WO2019019286A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454662B (en) * 2017-07-26 2020-04-14 深圳市盛路物联通讯技术有限公司 Energy control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035887A (en) * 2010-12-14 2011-04-27 广州市香港科大***研究院 Remote batch update method orientating large-scale wireless sensor network node program
CN102413432A (en) * 2010-09-21 2012-04-11 ***通信集团公司 Method for carrying out group management on terminal, and device therefor
CN103024008A (en) * 2012-12-03 2013-04-03 中国联合网络通信集团有限公司 Data transmission method, device and system in internet of things
CN104125274A (en) * 2014-07-16 2014-10-29 美的集团武汉制冷设备有限公司 Electric quantity control method, internet of things terminal and internet of things server
CN105830462A (en) * 2013-12-16 2016-08-03 三菱电机株式会社 Gateway, management center, and remote access system
CN106790611A (en) * 2016-12-29 2017-05-31 上海科勒电子科技有限公司 The monitoring method of internet of things equipment, supervising device and monitoring system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143562B (en) * 2010-02-01 2015-06-10 中兴通讯股份有限公司 Machine-to-machine-based electricity-saving method and electricity-saving device
CN101959295B (en) * 2010-09-21 2015-06-03 中兴通讯股份有限公司 Energy-saving management method, system and remote management server of wireless sensor network
CN103281064B (en) * 2013-04-19 2016-08-24 四川长虹电器股份有限公司 A kind of realize the method and device that household electrical appliances are energy-conservation
WO2015116681A1 (en) * 2014-01-28 2015-08-06 Convida Wireless, Llc Context-aware and proximity-aware service layer connectivity management
US10119714B2 (en) * 2014-09-10 2018-11-06 Cielo WiGle Inc. System and method for remotely controlling IR-enabled appliances via networked device
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413432A (en) * 2010-09-21 2012-04-11 ***通信集团公司 Method for carrying out group management on terminal, and device therefor
CN102035887A (en) * 2010-12-14 2011-04-27 广州市香港科大***研究院 Remote batch update method orientating large-scale wireless sensor network node program
CN103024008A (en) * 2012-12-03 2013-04-03 中国联合网络通信集团有限公司 Data transmission method, device and system in internet of things
CN105830462A (en) * 2013-12-16 2016-08-03 三菱电机株式会社 Gateway, management center, and remote access system
CN104125274A (en) * 2014-07-16 2014-10-29 美的集团武汉制冷设备有限公司 Electric quantity control method, internet of things terminal and internet of things server
CN106790611A (en) * 2016-12-29 2017-05-31 上海科勒电子科技有限公司 The monitoring method of internet of things equipment, supervising device and monitoring system

Also Published As

Publication number Publication date
WO2019019286A1 (en) 2019-01-31
CN107566154A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107529213B (en) Resource control method and device
US9888441B2 (en) Method and system for managing power usage of a mobile terminal
US10228740B2 (en) Sensor device and method
EP1833199A1 (en) Adjustment of wireless communication parameters based upon battery status
US8750791B2 (en) Hub, relay node, and node for reconfiguring active state position in wireless body area network (WBAN), and communication method thereof
CN103249115B (en) Tactics configuring method and device
CN107306443B (en) Information processing method and terminal
EP3544344B1 (en) Method, user equipment and computer readable storage medium for switching the operation mode of a user equipment between carrier aggregation (ca) and non-ca operation modes
US11540213B2 (en) Measuring in a mobile communications terminal
CN101867958A (en) Method and system for managing wireless sensing network terminal
WO2019015051A1 (en) Method and apparatus for switching operating modes
US20130219032A1 (en) Mobile device, storage medium, and method for automatically connecting the mobile device to server
CN107566156B (en) Power-saving mode switching method and device
CN107566154B (en) Electric quantity control method and device
CN107465538B (en) Internet of things terminal migration method and gateway
CN107547208B (en) Energy saving method and device
CN108200546B (en) Data reporting method and device, mobile terminal and computer readable medium
CN104869617A (en) Terminal control method
CN108307420B (en) Control method of Internet of things terminal and Internet of things access point
CN107454662B (en) Energy control method and device
CN109041265A (en) A kind of core network access method and base station
CN104954583A (en) Terminal
CN107809487B (en) Sensor data transmission method, system and medium
CN102333288B (en) Method for controlling application program running of terminal and terminal
US10917772B2 (en) Information processing apparatus and non-transitory computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant