CN107566154A - A kind of electric quantity controlling method and device - Google Patents

A kind of electric quantity controlling method and device Download PDF

Info

Publication number
CN107566154A
CN107566154A CN201710610261.9A CN201710610261A CN107566154A CN 107566154 A CN107566154 A CN 107566154A CN 201710610261 A CN201710610261 A CN 201710610261A CN 107566154 A CN107566154 A CN 107566154A
Authority
CN
China
Prior art keywords
internet
things terminal
trigger condition
electricity control
access point
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.)
Granted
Application number
CN201710610261.9A
Other languages
Chinese (zh)
Other versions
CN107566154B (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

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 a kind of electric quantity controlling method, including:Whether the running status for the internet-of-things terminal that detection access point is connected meets that electricity controls trigger condition;If detect that the running status for the internet-of-things terminal i that described access point is connected meets X electricity control trigger condition corresponding to the internet-of-things terminal i, the one of electricity for controlling the internet-of-things terminal i to switch in the X electricity control trigger condition controls battery saving mode corresponding to trigger condition, wherein, described access point connects N group internet-of-things terminal set, the N groups internet-of-things terminal set corresponds to N number of sub- IP network section, every group of internet-of-things terminal set corresponds to W electricity control trigger condition respectively, the X is more than or equal to 1, the W is more than or equal to 0, the N is the integer more than 1.The embodiment of the present invention additionally provides a kind of electric quantity control unit of internet-of-things terminal.The service life of internet-of-things terminal can be lifted using the embodiment of the present invention.

Description

A kind of electric quantity controlling method and device
Technical field
The present invention relates to internet of things field, more particularly to a kind of electric quantity controlling method and device.
Background technology
Internet of Things is generation information technology, English name " The Internet of things ".As its name suggests, Internet of Things It is exactly " the connected internet of thing thing ".This has two layers of meaning:First, the core of Internet of Things and basis are still internet, be The network of extension and extension on Internet basic;Second, its user terminal extends and extend between any object and object, Enter row information to exchange and communicate.Therefore, the definition of Internet of Things is:Pass through radio frequency identification (RFID), infrared inductor, global location The information sensing devices such as system, laser scanner, by the agreement of agreement, any object is connected with internet, enters row information Exchange and communicate, to realize a kind of network to the Weigh sensor of object, positioning, tracking, monitoring and management.
The terminal that can be frequently charged in being communicated with person to person is different, and internet-of-things terminal is special because its local environment The problem of property and substantial amounts, therefore, how to avoid because the service life of internet-of-things terminal is shorter, and cause internet-of-things terminal more It is technical problem urgently to be resolved hurrily to change compared with the problem of frequency.
The content of the invention
The embodiment of the present invention provides a kind of electric quantity controlling method and device, for lifting the service life of internet-of-things terminal.
In a first aspect, the embodiment of the present invention provides a kind of electric quantity controlling method of internet-of-things terminal, suitable for Internet of Things system System, the Internet of things system include access point and internet-of-things terminal, including:
When the running status for detecting internet-of-things terminal i that described access point is connected meets i pairs of the internet-of-things terminal During the X electricity control trigger condition answered, the gateway/access point controls the internet-of-things terminal i to switch to the X electricity Control battery saving mode corresponding to one of electricity control trigger condition in trigger condition;
Wherein, described access point connection N group internet-of-things terminal set, the N groups internet-of-things terminal set correspond to N number of sub- IP The network segment, every group of internet-of-things terminal set correspond to W electricity control trigger condition respectively, and the X, the W and the N are just whole Number.
In some feasible embodiments, W electricity control corresponding to every group of internet-of-things terminal set respectively is touched Clockwork spring part is that user is set for the N groups internet-of-things terminal set respectively by the Man Machine Interface of described access point.
In some feasible embodiments, the N is the number of all internet-of-things terminals connected according to described access point Measure what M was determined, the M is the integer more than 1.
In some feasible embodiments, when the M is more than or equal to first threshold, the N be according to the M and What Second Threshold determined;When the M is less than the first threshold, the N is to determine the N according to the M and the 3rd threshold value, Wherein, the 3rd threshold value is less than the Second Threshold, and the first threshold is more than or equal to the Second Threshold * B, the B For positive integer.
In some feasible embodiments, the gateway/access point controls the internet-of-things terminal i to switch to the X Battery saving mode corresponding to one of electricity control trigger condition in individual electricity control trigger condition, including:
Gateway/the access point sends electricity control instruction to the internet-of-things terminal i, and the electricity control instruction carries Electricity control trigger condition j, the X electricity control trigger condition include electricity control trigger condition j, the electricity control System instruction is used to indicate that the internet-of-things terminal i switches to battery saving mode corresponding to the electricity control trigger condition j.
In some feasible embodiments, methods described also includes:
Whether the quantity that the gateway/access point is periodically detected the newly-increased internet-of-things terminal of described access point connection exceedes 4th threshold value;
If the quantity of the newly-increased internet-of-things terminal of described access point connection exceedes the 4th threshold value, described access point is again The internet-of-things terminal that described access point connects is grouped, to obtain H group internet-of-things terminal set, the H groups Internet of Things is whole The corresponding H sub- IP network sections of end set, the 4th threshold value are more than or equal to M*T, and the T is positive integer;
The H groups internet-of-things terminal set is reported to user by the gateway/access point, so as to obtain user again to described The set of H group internet-of-things terminals resets electricity control trigger condition.
It can be seen that when the quantity of the newly-increased internet-of-things terminal of access point connection is all at least equal to what access point before was connected During the quantity of internet-of-things terminal, Internet of Things server re-starts packet, in order to more accurately control newly-increased Internet of Things whole End.
Second aspect, the embodiments of the invention provide a kind of electric quantity control unit of internet-of-things terminal, suitable for Internet of Things System, the Internet of things system include access point and internet-of-things terminal, including:
Control module, described in meeting when the running status that detect internet-of-things terminal i that described access point connected Corresponding to internet-of-things terminal i during X electricity control trigger condition, the internet-of-things terminal i is controlled to switch to the X electricity control Battery saving mode corresponding to one of electricity control trigger condition in trigger condition processed;
Wherein, described access point connection N group internet-of-things terminal set, the N groups internet-of-things terminal set correspond to N number of sub- IP The network segment, every group of internet-of-things terminal set correspond to W electricity control trigger condition respectively, and the X, the W and the N are just whole Number.
In some feasible embodiments, W electricity control corresponding to every group of internet-of-things terminal set respectively is touched Clockwork spring part is that user is set for the N groups internet-of-things terminal set respectively by the Man Machine Interface of described access point.
In some feasible embodiments, the N is the number of all internet-of-things terminals connected according to described access point Measure what M was determined, the M is the integer more than 1.
In some feasible embodiments, when the M is more than or equal to first threshold, the N be according to the M and What Second Threshold determined;When the M is less than the first threshold, the N is to determine the N according to the M and the 3rd threshold value, Wherein, the 3rd threshold value is less than the Second Threshold, and the first threshold is more than or equal to the Second Threshold * B, the B For positive integer.
In some feasible embodiments, the control module is specifically used for:
Electricity control instruction is sent to the internet-of-things terminal i, the electricity control instruction carries electricity control triggering bar Part j, the X electricity control trigger condition include electricity control trigger condition j, and the electricity control instruction is used to indicate The internet-of-things terminal i switches to battery saving mode corresponding to the electricity control trigger condition j.
The third aspect, the present invention provide a kind of electric quantity control unit of internet-of-things terminal, the electricity control of the internet-of-things terminal Device processed includes processor, and processor is configured as supporting the electric quantity control unit of the internet-of-things terminal to perform first aspect and carry Corresponding function in a kind of electric quantity controlling method of the internet-of-things terminal supplied.The electric quantity control unit of the internet-of-things terminal can be with Including memory, memory is used to couple with processor, and it preserves the necessary program of electric quantity control unit of the internet-of-things terminal Instruction and data.The electric quantity control unit of the internet-of-things terminal can also include communication interface, the electricity for the internet-of-things terminal Amount control device and other equipment or communication.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, wherein, above computer is readable Storage medium stores the computer program for electronic data interchange, wherein, above computer program causes computer to perform such as Part or all of step described by first aspect of the embodiment of the present invention, the electricity that above computer includes internet-of-things terminal control Device.
5th aspect, the embodiments of the invention provide a kind of computer program product, wherein, above computer program product Non-transient computer-readable recording medium including storing computer program, above computer program are operable to make calculating Machine performs the part or all of step as described by first aspect of the embodiment of the present invention.The computer program product can be one Software installation bag, above computer include the electric quantity control unit of internet-of-things terminal.
Compared to prior art, the electricity control that each internet-of-things terminal can be previously set in scheme provided by the invention is touched Clockwork spring part, when the running status of internet-of-things terminal meets that electricity controls trigger condition, control internet-of-things terminal switching power saving mould Formula, and then lift the service life of internet-of-things terminal.
The aspects of the invention or other aspects can more straightforwards in the following description.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic diagram of Internet of Things network architecture provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of the electric quantity controlling method of internet-of-things terminal provided in an embodiment of the present invention;
Fig. 3 is a kind of electricity control schematic diagram of internet-of-things terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of the electric quantity controlling method of internet-of-things terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of the electric quantity control unit of internet-of-things terminal provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of the electric quantity control unit of internet-of-things terminal provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Hereinafter, the part term in the application is explained, in order to skilled artisan understands that.
1), internet-of-things terminal is that Sensor Network network layers and transport network layer are connected in Internet of Things, realizes gathered data and to net The equipment that network layers send data.It is responsible for the multiple functions such as data acquisition, preliminary treatment, encryption, transmission.For example, Internet of Things Terminal can be portable equipment, mobile unit, mobile phone, tablet personal computer, notebook computer, the palm for having wireless connecting function Computer, mobile internet device (mobile internet device, MID), wearable device, such as intelligent watch, intelligence Bracelet, pedometer etc., certain internet-of-things terminal can also include the other equipment with network savvy, such as intelligent television, intelligence Smart machine of energy air-conditioning, intelligent kettle or some Internet of Things etc..In another example internet-of-things terminal can also be repeater, relaying Device, its English name are:" Repeater (RP) ", it is a kind of connection equipment of work on a physical layer.Suitable for identical The interconnection of two class networks, major function be by resending or forwarding to data-signal, come expand network transmission away from From.
2), gateway, English name are:" Gateway ", gateway (Gateway) are also known as gateway, protocol converter.Net Close in Internet implementation above network interconnection, be most complicated network interconnection apparatus, network interconnection, be only used for two different nets of upper-layer protocol Network interconnects.Gateway both can be used for wide area network interconnection, can be used for local area network interconnection.Gateway is that a kind of serve as changes important task Computer system or equipment.Using in different communication protocol, data format or language, in addition architecture it is entirely different two Between kind system, gateway is a translater.Simply simply reception and registration information is different from bridge, and gateway will weigh to the information received New packing, with the demand of adaptation to end system.
3), access point (AP) refer to incorporate the intelligent information that wireless network access points and RFID access points are integrated receive and Equipment is sent, Internet of Things AP can receive and send simultaneously WIFI signal and RFID signal.
4) IP network section (network segment) refers generally to (pass using same physical layer equipment in a computer network Defeated medium, repeater, hub etc.) it is capable of that part of Direct Communication.For example, 192.168.0.1~ 192.168.255.255 it is exactly a network segment between this.
5), " multiple " refer to two or more."and/or", describes the incidence relation of affiliated partner, and expression can deposit In three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B. It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.
Embodiments herein is described below in conjunction with the accompanying drawings.
A kind of according to an aspect of the invention, there is provided electric quantity controlling method of internet-of-things terminal.Wherein, this method should In internet of things framework as shown in Figure 1, as shown in figure 1, the internet of things framework includes:Gateway 10, multiple access points 20th, the internet-of-things terminal 30 and repeater 40 that are connected with access point 20, the internet-of-things terminal 50 being connected with repeater 40.Wherein, Internet-of-things terminal 50 is wirelessly connected with repeater 40, and repeater 40 and internet-of-things terminal 30 are wirelessly with connecing Access point 20 connects, and access point 20 is wirelessly or wired mode accesses internet with gateway 10, and above-mentioned wireless mode includes But it is not limited to:The mode such as bluetooth, WIFI, ZigBee, GPRS, 3G, 4G, Wimax.It is in a wired fashion example in Fig. 1, for side Just represent, only represented here with a solid line.
Fig. 2 is referred to, Fig. 2 is that a kind of flow of the electric quantity controlling method of internet-of-things terminal provided in an embodiment of the present invention is shown It is intended to, wherein, the executive agent for performing the electric quantity controlling method of internet-of-things terminal is the electricity of internet-of-things terminal of the present invention Amount control device (electric quantity control unit of internet-of-things terminal can be gateway or access point), below with executive agent To be illustrated exemplified by access point, comprise the following steps:
Whether the running status for the internet-of-things terminal that S201, access point detection access point are connected meets electricity control triggering Condition.
S202, meet that the Internet of Things is whole when the running status for detecting internet-of-things terminal i that described access point is connected When holding X electricity control trigger condition corresponding to i, access point controls the internet-of-things terminal i to switch to the X electricity control Battery saving mode corresponding to one of electricity control trigger condition in trigger condition, wherein, described access point connection N group Internet of Things Network termination set, the N groups internet-of-things terminal set correspond to N number of sub- IP network section, and every group of internet-of-things terminal set corresponds to W respectively Electricity controls trigger condition, and the X, the W and the N are positive integer.
Wherein, above step S201 can be the fortune that access point periodically detects the internet-of-things terminal that access point is connected Whether row state meets that electricity controls trigger condition, for example, it may be detection in each minute is once.
As an example it is assumed that the internet-of-things terminal of access point connection there are 100, N=3, W=2, there are 3 in the range of networking Sub- IP network section (than if any:192.168.1.20~192.168.1.55,192.168.1.56~192.168.1.120, 192.168.1.121~192.168.1.210), (ratio is if any internet-of-things terminal set 1, Internet of Things for 3 groups of internet-of-things terminal set Terminal set 2 and internet-of-things terminal set 3), 3 groups of internet-of-things terminal set are based on this 3 sub- IP network section divisions, 3 groups of Internet of Things Terminal set corresponds to 2 electricity control trigger conditions (such as corresponding first electricity control triggering bar of internet-of-things terminal set 1 respectively Part and the second electricity control trigger condition, the corresponding 3rd electricity control trigger condition of internet-of-things terminal set 2 and the 4th electricity control Trigger condition processed, the corresponding 5th electricity control trigger condition of internet-of-things terminal set 3 and the 6th electricity control trigger condition), when Access point detects that the running status of some internet-of-things terminal in internet-of-things terminal set 1 meets the first electricity control triggering bar When part and/or the second electricity control trigger condition, access point controls some internet-of-things terminal to switch to the control of the first electricity and touched Battery saving mode corresponding to battery saving mode corresponding to clockwork spring part or the second electricity control trigger condition.It is it can be seen that each by being previously set The electricity control trigger condition of individual internet-of-things terminal, when the running status of internet-of-things terminal meets that electricity controls trigger condition, Internet-of-things terminal switching battery saving mode is controlled, and then lifts the service life of internet-of-things terminal.
Receiving data mode it should be noted that the running status of internet-of-things terminal generally has, sending data State, holding state, resting state etc..The operation shape for the internet-of-things terminal that above step S201 detection access points are connected State, detect here be internet-of-things terminal within a period of time (such as 23 minutes, 30 minutes, 1 hour, 4 hours or its He be worth) running status.
As an example it is assumed that corresponding first electricity of internet-of-things terminal set 1 controls trigger condition to be averaged for internet-of-things terminal Standby time in the first preset duration scope, internet-of-things terminal average received/transmission duration in the range of the second preset duration, than As internet-of-things terminal is average standby in 10 minutes, internet-of-things terminal average received/transmission duration is in 3 minutes, the first electricity Control trigger condition corresponding to battery saving mode can be the every dormancy in 7 minutes of internet-of-things terminal once, each sleep time be 8 points Clock, if the running status of some internet-of-things terminal in internet-of-things terminal set 1 meets the first electricity control trigger condition, Access point controls some internet-of-things terminal to switch to every dormancy in 7 minutes once, and each sleep time is the power saving mould of 8 minutes Formula.
Again as an example it is assumed that corresponding first electricity of internet-of-things terminal set 1 controls trigger condition to be put down for internet-of-things terminal Equal standby time in the first preset duration scope, internet-of-things terminal average received/transmission duration in the range of the second preset duration, For example internet-of-things terminal is average standby in 10 minutes, internet-of-things terminal average received/transmission duration is in 3 minutes, the first electricity Amount control trigger condition corresponding to battery saving mode can be the every dormancy in 7 minutes of internet-of-things terminal once, each sleep time be 8 points Clock, it is assumed that corresponding second electricity of internet-of-things terminal set 1 controls trigger condition pre- more than the 3rd for internet-of-things terminal standby time If duration, internet-of-things terminal receives/sent duration more than the 4th preset duration, for example internet-of-things terminal standby time is more than 5 points Clock, internet-of-things terminal receive/sent duration and exceed at 3 minutes, and battery saving mode corresponding to the second electricity control trigger condition can be with Be the every dormancy in 10 minutes of internet-of-things terminal once, each sleep time be 6 minutes, if some in internet-of-things terminal set 1 When the running status of internet-of-things terminal meets the first electricity control trigger condition and the second electricity control trigger condition, access point control Make some internet-of-things terminal and switch to every dormancy in 7 minutes once, each sleep time is the battery saving mode of 8 minutes, or is accessed Point controls some internet-of-things terminal to switch to every dormancy in 10 minutes once, and each sleep time is the battery saving mode of 6 minutes.
Alternatively, corresponding W electricity control trigger condition is that user passes through respectively for every group of internet-of-things terminal set What the Man Machine Interface of described access point was set for the N groups internet-of-things terminal set respectively.That is, every group of Internet of Things Corresponding W electricity control trigger condition is user-defined respectively for network termination set.
Alternatively, the N is that the quantity M of all internet-of-things terminals connected according to described access point determines that the M is Integer more than 1.
For example, there is a total IP network section in the range of usual networking, such as 192.168.1.20~ 192.168.1.210, an IP network section can be divided into more sub- IP network sections, it is assumed that N is bigger, and corresponding internet-of-things terminal set is just It is more multigroup, the more much more inconvenient management of internet-of-things terminal set, in order to suitably limit the quantity of internet-of-things terminal set, this programme limit The quantity M that above-mentioned N is all internet-of-things terminals connected according to access point is made to determine.
Alternatively, when the M is more than or equal to first threshold, the N is determined according to the M and Second Threshold; When the M is less than the first threshold, the N is to determine the N according to the M and the 3rd threshold value, wherein, the 3rd threshold Value is less than the Second Threshold, and the first threshold is more than or equal to the Second Threshold * B, and the B is positive integer.
Wherein, first threshold for example can be 60,100,136,200,400,560 or other values.
Wherein, Second Threshold for example can be 30,50,68,100,200,280 or other values.
Wherein, the 3rd threshold value for example can be 20,30,45,65,78,100 or other values.
As an example it is assumed that M=100, first threshold=50, Second Threshold=25, it is seen then that M is more than first threshold, then N is determined according to the M and Second Threshold, such as N=M/ Second Threshold=4.M=90, first threshold=50, the are assumed again Two threshold value=25, N=M/ Second Threshold=3 ... 15, it is seen that M is aliquant in Second Threshold, if remainder is more than Second Threshold Half, then N=business+1=4, otherwise N=business=3.Hypothesis M=60 again, threshold value=20 of first threshold=100, the three, that N is determined according to the M and the 3rd threshold value, such as threshold value=3 of N=M/ the 3rd.
Alternatively, the number for the IP address that above-mentioned N number of sub- IP network section includes can be identical, such as 192.168.1.20 ~192.168.1.55,192.168.1.56~192.168.1.81, for the IP address that certain above-mentioned N number of sub- IP network section includes Number can differ, such as 192.168.1.20~192.168.1.55,192.168.1.56~192.168.1.120.
Alternatively, the N is that access point voluntarily determines.
Alternatively, methods described also includes:
When described access point detects that new internet-of-things terminal application accesses described access point, described access point is described New internet-of-things terminal distribution IP address, and the new internet-of-things terminal is divided to by corresponding thing according to the IP address In networked terminals set.
Specifically, the internet-of-things terminal quantity that access point is connected can constantly change, for example increase or decrease, and work as access point During the internet-of-things terminal quantity increase connected, IP network of the access point residing for automatically according to the IP address of newly-increased internet-of-things terminal Section is about to newly-increased internet-of-things terminal certainly and is divided into corresponding internet-of-things terminal set.Such as, it is assumed that N=3,3 sub- IP network sections (than if any: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 newly-increased internet-of-things terminal is 192.168.1.44, it is seen that newly-increased internet-of-things terminal IP address be in sub- IP network section 192.168.1.20~192.168.1.55, then access point is from being about to newly-increased Internet of Things Terminal is divided into internet-of-things terminal set corresponding to sub- IP network section 192.168.1.20~192.168.1.55.
Alternatively, methods described also includes:
Whether described access point is periodically detected the quantity of the newly-increased internet-of-things terminal of described access point connection more than the 4th Threshold value;If the quantity of the newly-increased internet-of-things terminal of described access point connection exceedes the 4th threshold value, described access point again will The internet-of-things terminal of described access point connection is grouped, to obtain H group internet-of-things terminal set, the H groups internet-of-things terminal The corresponding H sub- IP network sections of set, the 4th threshold value are more than or equal to M*T, and the T is positive integer;Described access point is by the H Group internet-of-things terminal set reports to user, so that obtain user resets electricity to the H groups internet-of-things terminal set again Control trigger condition.
The above-mentioned cycle for example can be 3 days, 10 days, 20 days, 1 month, 2 months or other values.T for example can be 1,2, 3rd, 4,6,7 or other values.
For example, access the internet-of-things terminal of access point and can change over time and (for example increase plus/minus It is few), it is assumed that when the quantity of newly-increased internet-of-things terminal exceedes 2 times of the quantity of internet-of-things terminal before, manage, connect for convenience Access point needs again to be grouped these internet-of-things terminals, after being grouped, reports user and allows user to reset these The electricity control trigger condition of packet.Wherein, the determination of the determination of above-mentioned H values and N values described above is the same, herein not Describe again.
In addition, it is necessary to explanation, if user does not reset to new packet (the H groups internet-of-things terminal set) When electricity controls trigger condition, it is based on electricity control triggering bar corresponding to packet before that access point, which performs above step S201, Part (the N groups internet-of-things terminal set corresponds to W electricity control respectively) carries out detecting judgement.That is new packet is not It is activated, access point still carries out corresponding operating based on packet before.
Alternatively, described access point controls the internet-of-things terminal i to switch in the X electricity control trigger condition There is the embodiment of battery saving mode corresponding to one of electricity control trigger condition:
Described access point sends electricity control instruction to the internet-of-things terminal i, and the electricity control instruction carries electricity Trigger condition j is controlled, the X electricity control trigger condition includes electricity control trigger condition j, and the electricity control refers to Make for indicating that the internet-of-things terminal i switches to battery saving mode corresponding to the electricity control trigger condition j.
For example, Fig. 3 is referred to, Fig. 3 is that a kind of electricity control of internet-of-things terminal provided in an embodiment of the present invention is shown It is intended to, wherein, access point 60, the internet-of-things terminal that access point 60 connects has 10, more whole than if any internet-of-things terminal 70, Internet of Things End 71, internet-of-things terminal 72, internet-of-things terminal 73, internet-of-things terminal 74, internet-of-things terminal 75, internet-of-things terminal 76, Internet of Things Terminal 77, internet-of-things terminal 78, internet-of-things terminal 79, internet-of-things terminal set have two, than being wrapped if any internet-of-things terminal set 1 Contain internet-of-things terminal 70, internet-of-things terminal 71, internet-of-things terminal 72, internet-of-things terminal 73 and internet-of-things terminal 74, Internet of Things Terminal set 2 includes internet-of-things terminal 75, internet-of-things terminal 76, internet-of-things terminal 77, internet-of-things terminal 78, internet-of-things terminal 79, the corresponding first electricity control trigger condition of internet-of-things terminal set 1, the corresponding first power saving mould of the first electricity control trigger condition Formula, the corresponding second electricity control trigger condition of internet-of-things terminal set 2, the corresponding second power saving mould of the second electricity control trigger condition Formula, if access point 60 detect internet-of-things terminal 75 running status meet the first electricity control trigger condition, access point 60 to Internet-of-things terminal 75 sends electricity control instruction, to cause internet-of-things terminal 75 to switch to the first battery saving mode.
The embodiment of the present invention additionally provides another more detailed method flow, as shown in figure 4, wherein, performing Internet of Things The executive agent of the electric quantity controlling method of terminal is the electric quantity control unit (internet-of-things terminal of internet-of-things terminal of the present invention Electric quantity control unit can be gateway or access point), below by executive agent be access point exemplified by illustrate, Including:
The quantity M, the M that S401, access point obtain all internet-of-things terminals of described access point connection are whole more than 1 Number.
The N, the N that the quantity M for all internet-of-things terminals that S402, described access point connect according to described access point is determined For the integer more than 1.
IP network section in the range of networking is divided into N number of sub- IP network section by S403, described access point.
S404, described access point determine N group internet-of-things terminal set according to N number of sub- IP network section.
S405, described access point receive the N groups Internet of Things that user is inputted by the Man Machine Interface of described access point W electricity control trigger condition corresponding to network termination set respectively.
S406, described access point the W electricity control triggering bar according to corresponding to the N groups internet-of-things terminal set respectively Part, the electricity of the N groups internet-of-things terminal set is set to control trigger condition.
Whether the running status for the internet-of-things terminal that S407, described access point detection access point are connected meets electricity control Trigger condition.
If S408, detect that the running status for the internet-of-things terminal i that described access point is connected meets that the Internet of Things is whole When holding X electricity control trigger condition corresponding to i, described access point sends electricity control instruction, institute to the internet-of-things terminal i State electricity control instruction and carry electricity control trigger condition j, the X electricity control trigger condition includes electricity control and touched Clockwork spring part j.
S409, the internet-of-things terminal i receive the electricity control instruction that described access point is sent, and according to electricity Control instruction switches to battery saving mode corresponding to the electricity control trigger condition j.
It should be noted that the specific implementation process of each step of method shown in Fig. 4 can be found in described in the above method Specific implementation process, no longer describe herein.
The embodiment of the present invention additionally provides a kind of electric quantity control unit 500 of internet-of-things terminal, as shown in figure 5, including:
Whether detection module 501, the running status of the internet-of-things terminal connected for detecting access point meet electricity control Trigger condition processed;
Control module 502, if the internet-of-things terminal i connected for detecting described access point running status meets institute When stating X electricity control trigger condition corresponding to internet-of-things terminal i, the internet-of-things terminal i is controlled to switch to the X electricity Battery saving mode corresponding to one of electricity control trigger condition in trigger condition is controlled, wherein, described access point connection N groups Internet-of-things terminal set, the N groups internet-of-things terminal set correspond to N number of sub- IP network section, and every group of internet-of-things terminal set is right respectively W electricity control trigger condition is answered, the X is more than or equal to 1, and the W is more than or equal to 0, and the N is the integer more than 1.
Alternatively, corresponding W electricity control trigger condition is that user passes through respectively for every group of internet-of-things terminal set What the Man Machine Interface of described access point was set for the N groups internet-of-things terminal set respectively.
Alternatively, the N is that the quantity M of all internet-of-things terminals connected according to described access point determines that the M is Integer more than 1.
Alternatively, when the M is more than or equal to first threshold, the N is determined according to the M and Second Threshold; When the M is less than the first threshold, the N is to determine the N according to the M and the 3rd threshold value, wherein, the 3rd threshold Value is less than the Second Threshold, and the first threshold is more than or equal to the Second Threshold * B, and the B is positive integer.
Alternatively, the control module is specifically used for:
Electricity control instruction is sent to the internet-of-things terminal i, the electricity control instruction carries electricity control triggering bar Part j, the X electricity control trigger condition include electricity control trigger condition j, and the electricity control instruction is used to indicate The internet-of-things terminal i switches to battery saving mode corresponding to the electricity control trigger condition j.
It should be noted that above-mentioned each module (detection module 501 and control module 502) is used for the phase for performing the above method Close step.For example detection module 501 is used to perform above step S201, control module 502 for performing above step S202.
In the present embodiment, the electric quantity control unit 500 of internet-of-things terminal is to present in modular form.Here " module " can refer to ASIC (application-specific integrated circuit, ASIC), hold The processor and memory of the one or more softwares of row or firmware program, integrated logic circuit, and/or other can provide it is above-mentioned The device of function.In addition, above detection module 501 and control module 502 can be controlled by the internet-of-things terminal electricity shown in Fig. 6 The processor 601 of device is realized.
As shown in fig. 6, the electric quantity control unit 600 of internet-of-things terminal can be realized with the structure in Fig. 6, the Internet of Things The electric quantity control unit 600 of terminal includes at least one processor 601, at least one memory 602 and at least one communication Interface 603.The processor 601, the memory 602 are connected and complete with the communication interface 603 by the communication bus Into mutual communication.
Processor 601 can be general central processor (CPU), microprocessor, ASIC (application-specific integrated circuit, ASIC), or it is one or more for controlling above scheme journey The integrated circuit that sequence performs.
Communication interface 603, for other equipment or communication, such as Ethernet, wireless access network (RAN), nothing Line LAN (Wireless Local Area Networks, WLAN) etc..
Memory 602 can be read-only storage (read-only memory, ROM) or can store static information and instruction Other kinds of static storage device, random access memory (random access memory, RAM) or letter can be stored Breath and other kinds of dynamic memory or the EEPROM (Electrically of instruction Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read- Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to The desired program code of order or data structure form simultaneously can be by any other medium of computer access, but not limited to this. Memory can be individually present, and be connected by bus with processor.Memory can also integrate with processor.
Wherein, the memory 602 be used for store perform above scheme application code, and by processor 601 Control performs.The processor 601 is used to perform the application code stored in the memory 602.
The code that memory 602 stores can perform the electricity for the above-mentioned internet-of-things terminal that terminal device provided above performs Whether control method, such as the running status of internet-of-things terminal that detection access point is connected meet that electricity controls trigger condition; If detecting, the running status for the internet-of-things terminal i that described access point is connected meets X electricity corresponding to the internet-of-things terminal i During amount control trigger condition, control the internet-of-things terminal i to switch to the X electricity and control one of them in trigger condition Battery saving mode corresponding to electricity control trigger condition, wherein, described access point connection N group internet-of-things terminal set, the N groups thing Networked terminals set corresponds to N number of sub- IP network section, and every group of internet-of-things terminal set corresponds to W electricity control trigger condition, institute respectively X is stated more than or equal to 1, the W is more than or equal to 0, and the N is the integer more than 1.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium is stored for electricity The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method The part or all of step of method, the computer include the electric quantity control unit of internet-of-things terminal.
The embodiment of the present invention also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer-readable recording medium of machine program, the computer program are operable to make computer perform side as described above The part or all of step of either method described in method embodiment.The computer program product can be a software installation Bag, the computer include the electric quantity control unit of internet-of-things terminal.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, to sum up above-mentioned, this specification content should not be construed as limiting the invention.

Claims (10)

  1. A kind of 1. electric quantity controlling method of internet-of-things terminal, it is characterised in that suitable for Internet of things system, the Internet of things system Including access point and internet-of-things terminal, including:
    When the running status for detecting internet-of-things terminal i that described access point is connected meets X corresponding to the internet-of-things terminal i During individual electricity control trigger condition, the internet-of-things terminal i is controlled to switch in the X electricity control trigger condition wherein Battery saving mode corresponding to one electricity control trigger condition;
    Wherein, described access point connection N group internet-of-things terminal set, the N groups internet-of-things terminal set correspond to N number of sub- IP network Section, every group of internet-of-things terminal set correspond to W electricity control trigger condition respectively, and the X, the W and the N are just whole Number.
  2. 2. according to the method for claim 1, it is characterised in that W corresponding to every group of internet-of-things terminal set respectively Electricity control trigger condition is that user is directed to the N groups internet-of-things terminal collection respectively by the Man Machine Interface of described access point Close what is set.
  3. 3. method according to claim 1 or 2, it is characterised in that the control internet-of-things terminal i switches to described Battery saving mode corresponding to one of electricity control trigger condition in X electricity control trigger condition, including:
    Electricity control instruction is sent to the internet-of-things terminal i, the electricity control instruction carries electricity control trigger condition j, The X electricity control trigger condition includes electricity control trigger condition j, and the electricity control instruction is described for indicating Internet-of-things terminal i switches to battery saving mode corresponding to the electricity control trigger condition j.
  4. 4. according to the method described in claim any one of 1-3, it is characterised in that the N is connected according to described access point What the quantity M of all internet-of-things terminals was determined, the M is the integer more than 1.
  5. 5. according to the method for claim 4, it is characterised in that
    When the M is more than or equal to first threshold, the N is determined according to the M and Second Threshold;
    When the M is less than the first threshold, the N is to determine the N according to the M and the 3rd threshold value, wherein, described Three threshold values are less than the Second Threshold, and the first threshold is more than or equal to the Second Threshold * B, and the B is positive integer.
  6. A kind of 6. electric quantity control unit of internet-of-things terminal, it is characterised in that suitable for Internet of things system, the Internet of things system Including access point and internet-of-things terminal, including:
    Control module, the internet-of-things terminal i connected for that ought detect described access point running status meet the Internet of Things Corresponding to network termination i during X electricity control trigger condition, control the internet-of-things terminal i to switch to the X electricity control and touch Battery saving mode corresponding to one of electricity control trigger condition in clockwork spring part;
    Wherein, described access point connection N group internet-of-things terminal set, the N groups internet-of-things terminal set correspond to N number of sub- IP network Section, every group of internet-of-things terminal set correspond to W electricity control trigger condition respectively, and the X, the W and the N are just whole Number.
  7. 7. device according to claim 6, it is characterised in that W corresponding to every group of internet-of-things terminal set respectively Electricity control trigger condition is that user is directed to the N groups internet-of-things terminal collection respectively by the Man Machine Interface of described access point Close what is set.
  8. 8. the device according to claim 6 or 7, it is characterised in that the control module is specifically used for:
    Electricity control instruction is sent to the internet-of-things terminal i, the electricity control instruction carries electricity control trigger condition j, The X electricity control trigger condition includes electricity control trigger condition j, and the electricity control instruction is described for indicating Internet-of-things terminal i switches to battery saving mode corresponding to the electricity control trigger condition j.
  9. 9. according to the device described in claim any one of 6-8, it is characterised in that the N is connected according to described access point What the quantity M of all internet-of-things terminals was determined, the M is the integer more than 1.
  10. 10. device according to claim 9, it is characterised in that
    When the M is more than or equal to first threshold, the N is determined according to the M and Second Threshold;
    When the M is less than the first threshold, the N is to determine the N according to the M and the 3rd threshold value, wherein, described Three threshold values are less than the Second Threshold, and the first threshold is more than or equal to the Second Threshold * B, and the B is positive integer.
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 true CN107566154A (en) 2018-01-09
CN107566154B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454662A (en) * 2017-07-26 2017-12-08 深圳市盛路物联通讯技术有限公司 A kind of energy control method and device

Citations (8)

* 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
US20130182615A1 (en) * 2010-09-21 2013-07-18 Aifang Sun Energy-saving management method and system for wireless sensor network, and remote management server
CN104125274A (en) * 2014-07-16 2014-10-29 美的集团武汉制冷设备有限公司 Electric quantity control method, internet of things terminal and internet of things server
US20160072638A1 (en) * 2014-09-10 2016-03-10 Cielo WiGle Inc. System and method for remotely controlling ir-enabled appliances via networked device
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 (4)

* 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
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
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system

Patent Citations (8)

* 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
US20130182615A1 (en) * 2010-09-21 2013-07-18 Aifang Sun Energy-saving management method and system for wireless sensor network, and remote management server
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
US20160072638A1 (en) * 2014-09-10 2016-03-10 Cielo WiGle Inc. System and method for remotely controlling ir-enabled appliances via networked device
CN106790611A (en) * 2016-12-29 2017-05-31 上海科勒电子科技有限公司 The monitoring method of internet of things equipment, supervising device and monitoring system

Cited By (2)

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

Also Published As

Publication number Publication date
WO2019019286A1 (en) 2019-01-31
CN107566154B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN107682390A (en) A kind of facility information processing method and processing device based on Internet of Things
CN107529213A (en) A kind of resource control method and device
CN107316450A (en) A kind of transmission line of electricity monitoring system based on wireless sensor network
CN108293231A (en) Extend Internet of Things(IOT)The service life of equipment
CN107396287A (en) The choosing method and device of a kind of working frequency points
Kazi et al. IoT based Interactive Industrial Home wireless system, Energy management system and embedded data acquisition system to display on web page using GPRS, SMS & E-mail alert
CN106557407A (en) A kind of monitoring method and device of apparatus of load
CN108337625A (en) A kind of switching method and device of operating mode
CN107606687A (en) The apparatus control method and Related product of Internet of Things web area
CN102457867A (en) Wireless network device, wireless network system and wireless network node control method
CN107659612A (en) Data transfer control method and device based on device packets
CN107547631A (en) A kind of communication control method and Internet of Things server
EP4057637A1 (en) Battery life extension via changes in transmission rates
CN103369719A (en) Wireless humiture sensor network structure based on zigbee
CN109142861A (en) The means of communication and device of intelligent electric meter, intelligent electric meter
CN107566156A (en) The switching method and device of a kind of battery saving mode
CN107566154A (en) A kind of electric quantity controlling method and device
CN106604316A (en) Wireless access equipment fault positioning method, device and system
CN107566447A (en) A kind of method for managing security and Internet of Things server
CN107547208A (en) A kind of energy saving method and device
CN107465538A (en) A kind of internet-of-things terminal moving method and gateway
CN107483550A (en) A kind of monitoring method and Internet of Things server based on Internet of Things
CN107483330A (en) A kind of repeater bridging method and gateway
CN106292612B (en) A kind of ladle baking facility on-line fault diagnosis system
CN107544722A (en) A kind of monitoring method and terminal

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