WO2019019289A1 - Energy saving method and apparatus - Google Patents

Energy saving method and apparatus Download PDF

Info

Publication number
WO2019019289A1
WO2019019289A1 PCT/CN2017/100913 CN2017100913W WO2019019289A1 WO 2019019289 A1 WO2019019289 A1 WO 2019019289A1 CN 2017100913 W CN2017100913 W CN 2017100913W WO 2019019289 A1 WO2019019289 A1 WO 2019019289A1
Authority
WO
WIPO (PCT)
Prior art keywords
internet
energy saving
things
terminal
repeater
Prior art date
Application number
PCT/CN2017/100913
Other languages
French (fr)
Chinese (zh)
Inventor
杜光东
Original Assignee
深圳市盛路物联通讯技术有限公司
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 深圳市盛路物联通讯技术有限公司 filed Critical 深圳市盛路物联通讯技术有限公司
Publication of WO2019019289A1 publication Critical patent/WO2019019289A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to an energy saving method and apparatus.
  • the Internet of Things is a new generation of information technology, the English name "The Internet of things". As the name suggests, the Internet of Things is the Internet of Things. This has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extended and extended network based on the Internet. Second, its client extends and extends to any object and object for information. Exchange and communication. The Internet of Things is widely used in the convergence of networks through communication-aware technologies such as intelligent sensing, identification technology and pervasive computing. It is also called the third wave of the development of the world information industry after computers and the Internet. The Internet of Things is the application expansion of the Internet. It is not so much that the Internet of Things is a network, but the Internet of Things is a business and application. Therefore, application innovation is the core of the development of the Internet of Things. Innovation 2.0 with user experience as the core is the soul of the development of the Internet of Things.
  • the Internet of Things terminal Different from the terminal that can be charged frequently in communication with people, the Internet of Things terminal has a special problem and a huge number of problems in its environment. Therefore, how to avoid the short service life of the Internet of Things terminal, resulting in the Internet of Things terminal The problem of replacing more frequent ones is a technical problem that needs to be solved urgently.
  • Embodiments of the present invention provide an energy saving method and apparatus for improving the service life of an Internet of Things terminal.
  • an embodiment of the present invention provides an energy saving method for an Internet of Things terminal, where the repeater carries N sets of IoT terminals, and the N sets of IoT terminals correspond to N sub-IP network segments, and each group of IoT terminals The sets respectively correspond to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1, wherein the access point/repeater detects the operation of the Internet of Things terminal carried by the repeater Whether the state meets the energy saving trigger condition; if the object carried by the repeater is detected When the operating state of the networked terminal i satisfies the W energy saving triggering conditions corresponding to the Internet of Things terminal i, the access point/repeater controls the Internet of Things terminal i to switch to the W energy saving triggering conditions.
  • One of the energy saving trigger conditions corresponds to a power saving mode, and the W is a positive integer. It can be seen that by setting the energy saving trigger condition of each IoT terminal in advance, when the operating state of the IoT terminal satisfies the energy saving trigger condition, the IoT terminal is controlled to switch the power saving mode, thereby improving the service life of the IoT terminal.
  • the N is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater, where Both P and M are integers greater than one.
  • the method further includes:
  • the access point/repeater When detecting that the Internet of Things terminal j requests to access the repeater, the access point/repeater allocates an IP address to the Internet of Things terminal j, and the Internet of Things terminal j according to the IP address Divided into a corresponding set of Internet of Things terminals, the N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub-IP network segments include the IP address.
  • the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are respectively set by the user through the human-machine interaction interface of the repeater for the N sets of the Internet of Things terminal sets. .
  • the access point/repeater controls the power-saving mode in which the IoT terminal i switches to one of the W energy-saving trigger conditions, including:
  • the access point/repeater sends an energy saving instruction to the Internet of Things terminal i, the energy saving instruction carries an energy saving trigger condition I, and the W energy saving triggering conditions include the energy saving triggering condition I,
  • the energy saving instruction is used to instruct the IoT terminal i to switch to a power saving mode corresponding to the energy saving trigger condition I.
  • the method further includes:
  • the access point/repeater periodically detects whether the number of new Internet of Things terminals carried by the repeater exceeds a third threshold
  • the access point/repeater re-groups the Internet of Things terminals carried by the repeater to obtain
  • the H group of the Internet of Things terminal set, the H group of the Internet of Things terminal set corresponds to the H sub-IP network segments, the third threshold is greater than or equal to M*T, and the T is an integer greater than 1.
  • the access point/repeater reports the set of the Group H IoT terminals to the user, so that the user re-sets the energy saving trigger condition for the H group of the Internet of Things terminals.
  • the IoT server is regrouped to more accurately control the newly added Internet of Things. terminal.
  • an embodiment of the present invention provides an energy saving device for an Internet of Things terminal, where the repeater carries N sets of IoT terminals, and the N sets of IoT terminals correspond to N sub-IP network segments, and each group of IoT terminals The set respectively corresponds to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1, including:
  • a detecting module configured to detect whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition
  • control module configured to control the IoT terminal i to switch to the device if it detects that the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving triggering conditions corresponding to the Internet of Things terminal i
  • a power saving mode corresponding to one of the energy saving triggering conditions of the W energy saving triggering conditions, wherein the W is a positive integer.
  • the determining is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater. Both P and M are integers greater than one.
  • the apparatus further includes:
  • An allocating module configured to allocate an IP address to the Internet of Things terminal j when detecting that the Internet of Things terminal j requests to access the repeater;
  • a dividing module configured to divide the Internet of Things terminal j into a corresponding set of Internet of Things terminals according to the IP address, where the N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub-IP networks
  • the segment contains the IP address.
  • the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are respectively set by the user through the human-machine interaction interface of the repeater for the N sets of the Internet of Things terminal sets. .
  • the present invention provides an energy saving device for an Internet of Things terminal, where the energy saving device of the Internet of Things terminal includes a processor configured to support an energy saving device of the Internet of Things terminal to perform the first aspect A corresponding function in a power control method of an Internet of Things terminal.
  • the energy saving device of the Internet of Things terminal may further include a memory for coupling with the processor, which stores necessary program instructions and data of the energy saving device of the Internet of Things terminal.
  • the energy saving device of the Internet of Things terminal may further include a communication interface, and the energy saving device for the IoT terminal communicates with other devices or communication networks.
  • an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the embodiment of the present invention.
  • the computer includes an energy saving device for the Internet of Things terminal.
  • an embodiment of 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, the computer program being operative to cause a computer to perform the implementation of the present invention.
  • the computer program product can be a software installation package, and the computer includes an energy saving device of the Internet of Things terminal.
  • the solution provided by the present invention can set the energy saving trigger condition of each IoT terminal in advance, and control the object link when the operating state of the IoT terminal satisfies the energy saving trigger condition.
  • the network terminal switches the power saving mode to improve the service life of the Internet of Things terminal.
  • FIG. 1 is a schematic diagram of an Internet of Things network architecture according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for controlling a power quantity of an Internet of Things terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of power control of an Internet of Things terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for controlling a power quantity of an Internet of Things terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an energy saving device of an Internet of Things terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of an energy saving device of an Internet of Things terminal according to an embodiment of the present invention.
  • references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention.
  • the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the Internet of Things terminal is a device that connects the sensing network layer and the transmission network layer in the Internet of Things to collect data and send data to the network layer. It is responsible for data collection, preliminary processing, encryption, transmission and other functions.
  • the Internet of Things terminal can be a handheld device with wireless connectivity, an in-vehicle device, a mobile phone, a tablet, a laptop, a palmtop computer, a mobile internet device (MID), a wearable device, such as a smart watch, smart. Hand rings, pedometers, etc., of course, IoT terminals can also include other devices with networking capabilities, such as smart TVs, smart air conditioners, smart water bottles or some IoT smart devices.
  • RP Repeater
  • gateway is also known as the network connector, protocol converter.
  • the gateway implements network interconnection above the network layer. It is the most complex network interconnection device and is only used for different network interconnections of two high-level protocols. Gateways can be used for both WAN and LAN interconnections.
  • a gateway is a computer system or device that acts as a conversion. The gateway is a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures. Unlike bridges that simply convey information, the gateway repackages the received information to suit the needs of the destination system.
  • Access Point refers to the integration of wireless network access points and RFID access points.
  • the information receiving and transmitting device, the Internet of Things AP can simultaneously receive and transmit WIFI signals and RFID signals.
  • IP segment generally refers to the part of a computer network that can communicate directly using the same physical layer device (transmission medium, repeater, hub, etc.). For example, between 192.168.0.1 and 192.168.255.255 is a network segment.
  • Multiple means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.
  • a method of controlling a power of an Internet of Things terminal is provided.
  • the method is applied to the object network architecture shown in FIG. 1.
  • the object network architecture includes: a gateway 10, multiple access points 20, and an Internet of Things connected to the access point 20.
  • the terminal 30 and the repeater 40 and the Internet of Things terminal 50 connected to the repeater 40.
  • the Internet of Things terminal 50 is connected to the repeater 40 in a wireless manner, and the repeater 40 and the Internet of Things terminal 30 are connected to the access point 20 in a wireless manner, and the access point 20 is connected to the gateway 10 through a wireless or wired manner.
  • the above wireless methods include but are not limited to: Bluetooth, WIFI, ZigBee, GPRS, 3G, 4G, Wimax and other methods.
  • the wired mode is taken as an example, and for convenience of representation, only one solid line is shown here.
  • FIG. 2 is a schematic flowchart of a method for controlling an electric quantity of an Internet of Things terminal according to an embodiment of the present invention, wherein an execution subject of a method for controlling an electric quantity of an Internet of Things terminal is an object of the Internet of Things (IoT) terminal of the present invention.
  • the energy saving device (the energy saving device of the Internet of Things terminal may be an access point or a repeater), and the following is an example in which the execution subject is a repeater, and the repeater carries N sets of IoT terminals.
  • the N sets of IoT terminal sets correspond to N sub-IP network segments, and each set of IoT terminal sets respectively corresponds to K energy saving trigger conditions, where K is greater than or equal to 1, and the N is an integer greater than 1, including the following steps:
  • the relay device detects whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition.
  • the repeater controls the IoT terminal i to switch to a power-saving mode corresponding to one of the energy-saving triggering conditions of the W energy-saving triggering conditions.
  • W is a positive integer.
  • the above step S201 may be that the repeater periodically detects whether the running state of the Internet of Things terminal carried by the repeater meets the energy saving triggering condition, for example, may be detected once every minute.
  • the three sub-IP network segments are divided, and the three sets of IoT terminals respectively correspond to two energy saving trigger conditions (for example, the IoT terminal set 1 corresponds to the first energy saving trigger condition and the second energy saving trigger condition, and the IoT terminal set 2 corresponds to a third energy saving trigger condition and a fourth energy saving trigger condition, and so on, when the repeater detects that an operation state of an IoT terminal in the IoT terminal set 1 satisfies a first energy saving trigger condition and/or a When the energy saving trigger condition is met, the repeater controls the power-saving mode corresponding to the first power-saving triggering condition or the power-saving mode corresponding to the second energy-saving triggering condition.
  • the repeater controls the power-saving mode corresponding to the first power-saving triggering condition or the power-saving mode corresponding to the second energy-saving triggering condition.
  • the operating state of the Internet of Things terminal usually has a data receiving state, a data sending state, a standby state, a sleep state, and the like.
  • the above step S201 detects the running state of the Internet of Things terminal connected to the access point, where the operation of the Internet of Things terminal is detected for a period of time (such as 23 minutes, 30 minutes, 1 hour, 4 hours, or other values). status.
  • the first energy saving trigger condition of the Internet of Things terminal set 1 is that the average standby time of the Internet of Things terminal is within a first preset duration, and the average receiving/transmitting duration of the Internet of Things terminal is within a second preset duration, such as The average standby time of the IoT terminal is within 10 minutes, and the average receiving/sending time of the IoT terminal is within 3 minutes.
  • the power saving mode corresponding to the first energy saving trigger condition may be that the IoT terminal sleeps every 7 minutes, and each sleep time is 8 minutes, if the operating state of an IoT terminal in the IoT terminal set 1 satisfies the first energy saving trigger condition, the repeater controls the An IoT terminal switches to a power-saving mode that sleeps every 7 minutes and sleeps for 8 minutes each time.
  • the first energy saving trigger condition of the Internet of Things terminal set 1 is that the average standby time length of the Internet of Things terminal is within a first preset duration, and the average receiving/transmitting duration of the Internet of Things terminal is within a second preset duration.
  • the average standby time of the IoT terminal is within 10 minutes, and the average receiving/sending time of the IoT terminal is within 3 minutes.
  • the power saving mode corresponding to the first energy saving trigger condition may be that the IoT terminal sleeps every 7 minutes, each sleep time For 8 minutes, it is assumed that the IoT terminal set 1 corresponds to the second energy saving trigger condition that the IoT terminal standby time exceeds the third preset duration, and the IoT terminal receiving/transmitting time exceeds the fourth preset duration, such as the IoT terminal standby time If the IoT terminal receives/sends more than 3 minutes, the second energy saving trigger condition corresponds to the power saving mode.
  • the IoT terminal can sleep every 10 minutes, and each sleep time is 6 minutes, if the IoT terminal The operating state of an IoT terminal in the set 1 satisfies the first energy saving trigger condition and the second energy festival
  • the repeater controls the IoT terminal to switch to sleep every 7 minutes
  • the power saving mode is 8 minutes each sleep time
  • the access point controls the IoT terminal to switch to every 10 minutes. Sleep once, each sleep mode is 6 minutes of power saving mode.
  • the N is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater, where the P and the M is an integer greater than one.
  • the N the first threshold-the second threshold
  • the second threshold*R is less than the first threshold
  • R is an integer greater than 1
  • the P/M is less than the first threshold
  • the N is the first threshold
  • the first threshold may be, for example, 3, 5, 6, 7, 8, 10 or other values.
  • the second threshold may be, for example, 1, 2, 3, 5, 7, 10 or other values.
  • a network segment has a total IP network segment, such as 192.168.1.20 to 192.168.1.210.
  • a network segment includes multiple IP addresses.
  • the IP network segment includes 191 IP addresses.
  • the more sets of corresponding IoT terminals the more inconvenient the IoT terminal set is.
  • the solution restricts the above N to be the IP included in the total IP network segment within the networking scope.
  • the N is determined according to the number P of IP addresses included in the total IP network segment in the network scope, where P is an integer greater than 1.
  • the N is equal to a quotient of the P divided by a fourth threshold; when the P is less than the third threshold, the N is equal to the P In addition to the quotient of the fifth threshold, the fifth threshold is less than the fourth threshold, and the fourth threshold is less than the third threshold.
  • the third threshold may be, for example, 60, 100, 136, 200, 400, 560 or other values.
  • the fourth threshold may be, for example, 30, 50, 68, 100, 200, 280 or other values.
  • the fifth threshold may be, for example, 20, 30, 45, 65, 78, 100 or other values.
  • the method further includes:
  • the N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub IP network segments include the IP address.
  • the number of IoT terminals carried by the repeater will change continuously, such as increasing or decreasing.
  • the repeater automatically according to the IP address of the newly added IoT terminal.
  • the IP address of the IoT terminal is in the sub-IP segment 192.168.1.56 to 192.168.1.120, then the access point divides the newly added IoT terminal into the IoT corresponding to the sub-IP segment 192.168.1.56 to 192.168.1.120. In the terminal collection.
  • the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are that the user sets the N-type Internet of Things terminal sets separately through the human-machine interaction interface of the repeater. of. That is to say, the K energy saving trigger conditions corresponding to each set of IoT terminal sets are user-defined.
  • the method further includes:
  • the repeater periodically detects whether the number of new Internet of Things terminals carried by the repeater exceeds a third threshold; if the number of new Internet of Things terminals carried by the repeater exceeds the third Threshold, the repeater re-groups the IoT terminals carried by the repeater to obtain an H-group IoT terminal set, where the H-group IoT terminal set corresponds to H sub-IP network segments,
  • the third threshold is greater than or equal to M*T, and the T is an integer greater than 1.
  • the repeater reports the H group of the Internet of Things terminal to the user, so that the user re-resets the H group of the Internet of Things terminal Set energy saving trigger conditions.
  • the period may be, for example, 3 days, 10 days, 20 days, 1 month, 2 months, or other values.
  • the IoT terminal carried by the repeater changes over time (such as increase/decrease), assuming that the number of new IoT terminals exceeds twice the number of previous IoT terminals.
  • the repeater needs to re-group these IoT terminals, and after the grouping is completed, the user is reported to the user to reset the energy saving trigger conditions of these packets.
  • the determination of the above H value is the same as the determination of the N value described above, and will not be described here.
  • the repeater performs the above step S201 is based on the energy saving trigger corresponding to the previous group.
  • the condition (the N sets of IoT terminals is respectively corresponding to W power control) is detected and determined. That is to say, the new packet is not activated, and the access point performs corresponding operations based on the previous packet.
  • the specific implementation manner that the relay device controls the power-saving mode that the IoT terminal i switches to one of the W energy-saving triggering conditions is:
  • the access point sends an energy saving instruction to the Internet of Things terminal i, the energy saving instruction carrying an energy saving trigger condition j, the W energy saving triggering conditions including the energy saving triggering condition j, the energy saving The instruction is used to instruct the IoT terminal i to switch to a power saving mode corresponding to the energy saving trigger condition j.
  • FIG. 3 is a schematic diagram of power control of an Internet of Things terminal according to an embodiment of the present invention, wherein there are 12 Internet of Things terminals connected to the repeater 60 and the repeater 60, for example,
  • the Internet of Things terminal 70, the Internet of Things terminal 71, the Internet of Things terminal 72, the Internet of Things terminal 81, and the Internet of Things terminal set have two.
  • the Internet of Things terminal set 1 includes the Internet of Things terminal 70 to the Internet of Things terminal 75, and the Internet of Things.
  • the terminal set 2 includes an Internet of Things terminal 76 to an Internet of Things terminal 81.
  • the IoT terminal set 1 corresponds to a first energy saving trigger condition and a second energy saving trigger condition
  • the first energy saving trigger condition corresponds to the first power saving mode
  • the second The energy saving trigger condition corresponds to the second power saving mode
  • the IoT terminal set 2 corresponds to the third energy saving trigger condition
  • the third energy saving trigger condition corresponds to the third power saving mode
  • the embodiment of the present invention further provides another more detailed method flow, as shown in FIG. 4, wherein the execution subject of the power control method for executing the Internet of Things terminal is the energy saving device of the Internet of Things terminal according to the present invention.
  • the energy saving device of the networked terminal may be an access point or a repeater.
  • the following takes the execution subject as a repeater as an example.
  • the repeater carries N sets of IoT terminals, and the N group of Internet of Things
  • the terminal set corresponds to the N sub-IP network segments, and each set of the IoT terminal sets respectively corresponds to K energy saving trigger conditions, where the K is greater than or equal to 1, and the N is an integer greater than 1, including:
  • the repeater determines the number M of all the Internet of Things terminals carried by the repeater and the number P of IP addresses included in the total IP network segment in the network range, where the P and the M are both greater than An integer of 1.
  • the repeater determines N according to the number P of IP addresses included in the total IP network segment in the network range and the number M of IoT terminals carried by the repeater, where N is greater than 1. Integer.
  • the repeater divides the total IP network segment in the network range into N sub-IP network segments.
  • the repeater determines, according to the N sub-IP network segments, N sets of Internet of Things terminals.
  • the repeater receives K energy saving trigger conditions corresponding to the set of the N groups of Internet of Things terminals input by the user through the human-machine interaction interface of the repeater, where the K is greater than or equal to 1.
  • the repeater sets an energy saving trigger condition of the N sets of the Internet of Things terminal set according to the K energy saving trigger conditions respectively corresponding to the N sets of the Internet of Things terminal sets.
  • the repeater detects whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition.
  • the repeater sends the information to the Internet of Things terminal i.
  • An energy saving instruction carrying an energy saving trigger condition j, the W energy saving triggering conditions including the energy saving triggering condition j, wherein the W is a positive integer.
  • the IoT terminal i receives the energy saving instruction sent by the access point, and switches to a power saving mode corresponding to the energy saving trigger condition j according to the energy saving instruction.
  • the embodiment of the present invention further provides an energy saving device 500 for an Internet of Things terminal.
  • the repeater carries N sets of IoT terminals, and the N sets of IoT terminals correspond to N sub-IP segments.
  • Each set of the Internet of Things terminal corresponds to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1, including:
  • the detecting module 501 is configured to detect whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition
  • the control module 502 is configured to control the IoT terminal i to switch to if the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving trigger conditions corresponding to the Internet of Things terminal i
  • the power saving mode corresponding to one of the W energy saving triggering conditions, wherein the W is a positive integer.
  • the N is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater, where the P and the M is an integer greater than one.
  • the N the first threshold-the second threshold
  • the second threshold*R is less than the first threshold
  • R is an integer greater than 1
  • the N the first threshold
  • the device further includes:
  • the allocating module 503 is configured to allocate an IP address to the Internet of Things terminal j when detecting that the Internet of Things terminal j requests to access the repeater;
  • a partitioning module 504 configured to divide the Internet of Things terminal j into a corresponding IoT terminal set according to the IP address, where the N sets of Internet of Things terminal sets do not include the Internet of Things terminal j, the N sub-IPs
  • the network segment contains the IP address.
  • the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are respectively set by the user through the human-machine interaction interface of the repeater for the N sets of the Internet of Things terminal sets.
  • each of the above modules (detection module 501, control module 502, allocation module 503, and partitioning module 504) is used to perform the relevant steps of the above method.
  • the detecting module 501 is configured to perform the above step S201
  • the control module 502 is configured to perform the above step S202 and the like.
  • the energy saving device 500 of the Internet of Things terminal 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 executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality.
  • ASIC application-specific integrated circuit
  • the above detecting module 501, the control module 502, the assigning module 503, and the dividing module 504 can be implemented by the processor 601 of the energy saving device of the Internet of Things terminal shown in FIG. 6.
  • the energy saving device 600 of the Internet of Things terminal shown in FIG. 6 can be implemented by the structure in FIG. 6.
  • the energy saving device 600 of the Internet of Things 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, and the communication interface 603 are connected by the communication bus and complete communication with each other.
  • the processor 601 can 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 the above program.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication interface 603 for communicating with other devices or communication networks, such as Ethernet, wireless access network (RAN), Wireless Local Area Networks (WLAN), etc.
  • RAN wireless access network
  • WLAN Wireless Local Area Networks
  • the memory 602 can 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 that can store information and instructions.
  • the dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • the memory can exist independently and be connected to the processor via a bus.
  • the memory can also be integrated with the processor.
  • the memory 602 is configured to store application code that executes the above solution, and is controlled by the processor 601 for execution.
  • the processor 601 is configured to execute application code stored in the memory 602.
  • the code stored in the memory 602 can execute the power control method of the foregoing Internet of Things terminal executed by the terminal device provided by the terminal device, for example, the relay device carries N sets of IoT terminal sets, and the N sets of IoT terminal sets correspond to N sub-IP network segments.
  • Each set of the Internet of Things terminal corresponds to K energy saving triggering conditions, and the K is greater than or equal to 1, and the N is an integer greater than 1, including: detecting whether the operating state of the Internet of Things terminal carried by the repeater is The energy saving trigger condition is met; if it is detected that the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving trigger conditions corresponding to the Internet of Things terminal i, the IoT terminal i is controlled to switch to The power saving mode corresponding to one of the W energy saving triggering conditions, wherein the W is a positive integer.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments.
  • the computer includes an energy saving device of an Internet of Things terminal.
  • Embodiments of the present invention also provide a computer program product, the computer program product including storage A non-transitory computer readable storage medium for a computer program operative to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments.
  • the computer program product can be a software installation package that includes an energy saving device for the Internet of Things terminal.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the 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 standalone product, may be stored in a computer readable memory.
  • the technical solution of the present invention is essentially or a part contributing to the prior art or all of the technical solution.
  • a portion may be embodied in the form of a software product stored in a memory, including instructions for causing a computer device (which may be a personal computer, server or network device, etc.) to perform various embodiments of the present invention. All or part of the steps of the method.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Abstract

Disclosed is an energy saving method. A repeater loads N sets of Internet of Things terminals, the N sets of Internet of Things terminals correspond to N IP sub-network segments, each set of Internet of Things terminals respectively corresponds to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1. The method comprises: detecting whether the operating state of an Internet of Things terminal loaded by the repeater satisfies an energy saving trigger condition or not; and if it is detected that the operating state of an Internet of Things terminal i loaded by the repeater satisfies W energy saving trigger 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 of the W energy saving trigger conditions, the W being a positive integer. Embodiments of the present invention further provide an energy saving apparatus for the Internet of Things terminal. By means of the embodiments of the present invention, the service life of the Internet of Things terminal can be prolonged.

Description

一种能源节省方法及装置Energy saving method and device 技术领域Technical field
本发明涉及物联网技术领域,尤其涉及一种能源节省方法及装置。The present invention relates to the field of Internet of Things technologies, and in particular, to an energy saving method and apparatus.
背景技术Background technique
物联网是新一代信息技术,英文名“The Internet of things”。顾名思义,物联网就是“物物相连的互联网”。这有两层意思:第一,物联网的核心和基础仍然是互联网,是在互联网基础上的延伸和扩展的网络;第二,其用户端延伸和扩展到了任何物体与物体之间,进行信息交换和通信。物联网通过智能感知、识别技术与普适计算等通信感知技术,广泛应用于网络的融合中,也因此被称为继计算机、互联网之后世界信息产业发展的第三次浪潮。物联网是互联网的应用拓展,与其说物联网是网络,不如说物联网是业务和应用。因此,应用创新是物联网发展的核心,以用户体验为核心的创新2.0是物联网发展的灵魂。The Internet of Things is a new generation of information technology, the English name "The Internet of things". As the name suggests, the Internet of Things is the Internet of Things. This has two meanings: First, the core and foundation of the Internet of Things is still the Internet, which is an extended and extended network based on the Internet. Second, its client extends and extends to any object and object for information. Exchange and communication. The Internet of Things is widely used in the convergence of networks through communication-aware technologies such as intelligent sensing, identification technology and pervasive computing. It is also called the third wave of the development of the world information industry after computers and the Internet. The Internet of Things is the application expansion of the Internet. It is not so much that the Internet of Things is a network, but the Internet of Things is a business and application. Therefore, application innovation is the core of the development of the Internet of Things. Innovation 2.0 with user experience as the core is the soul of the development of the Internet of Things.
和人与人通讯中可以频繁进行充电的终端不同,物联网终端因其所处环境的特殊性和数量庞大的问题,因此,如何避免因物联网终端的使用寿命较短,而导致物联网终端更换较频的问题是亟待解决的技术问题。Different from the terminal that can be charged frequently in communication with people, the Internet of Things terminal has a special problem and a huge number of problems in its environment. Therefore, how to avoid the short service life of the Internet of Things terminal, resulting in the Internet of Things terminal The problem of replacing more frequent ones is a technical problem that needs to be solved urgently.
发明内容Summary of the invention
本发明实施例提供一种能源节省方法及装置,用于提升物联网终端的使用寿命。Embodiments of the present invention provide an energy saving method and apparatus for improving the service life of an Internet of Things terminal.
第一方面,本发明实施例提供一种物联网终端的能源节省方法,中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,其中,接入点/中继器检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件;若检测到所述中继器所承载的物 联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,所述接入点/中继器控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。可见,通过事先设定各个物联网终端的能源节省触发条件,当物联网终端的运行状态满足能源节省触发条件时,控制物联网终端切换省电模式,进而提升物联网终端的使用寿命。In a first aspect, an embodiment of the present invention provides an energy saving method for an Internet of Things terminal, where the repeater carries N sets of IoT terminals, and the N sets of IoT terminals correspond to N sub-IP network segments, and each group of IoT terminals The sets respectively correspond to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1, wherein the access point/repeater detects the operation of the Internet of Things terminal carried by the repeater Whether the state meets the energy saving trigger condition; if the object carried by the repeater is detected When the operating state of the networked terminal i satisfies the W energy saving triggering conditions corresponding to the Internet of Things terminal i, the access point/repeater controls the Internet of Things terminal i to switch to the W energy saving triggering conditions. One of the energy saving trigger conditions corresponds to a power saving mode, and the W is a positive integer. It can be seen that by setting the energy saving trigger condition of each IoT terminal in advance, when the operating state of the IoT terminal satisfies the energy saving trigger condition, the IoT terminal is controlled to switch the power saving mode, thereby improving the service life of the IoT terminal.
在一些可行的实施方式中,所述N是根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定的,所述P和所述M均为大于1的整数。In some feasible implementation manners, the N is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater, where Both P and M are integers greater than one.
在一些可行的实施方式中,当所述P/所述M大于或等于第一阈值时,所述N=所述第一阈值-第二阈值,所述第二阈值*R小于所述第一阈值,所述R为大于1的整数;当所述P/所述M小于所述第一阈值时,所述N=所述第一阈值。In some possible implementations, when the P/M is greater than or equal to a first threshold, the N=the first threshold-the second threshold, and the second threshold*R is smaller than the first a threshold, the R being an integer greater than 1; when the P/M is less than the first threshold, the N is the first threshold.
在一些可行的实施方式中,所述方法还包括:In some possible implementations, the method further includes:
当检测到物联网终端j申请接入所述中继器时,所述接入点/中继器为所述物联网终端j分配IP地址,以及根据所述IP地址将所述物联网终端j划分至相应的物联网终端集合中,所述N组物联网终端集合不包含所述物联网终端j,所述N个子IP网段包含所述IP地址。When detecting that the Internet of Things terminal j requests to access the repeater, the access point/repeater allocates an IP address to the Internet of Things terminal j, and the Internet of Things terminal j according to the IP address Divided into a corresponding set of Internet of Things terminals, the N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub-IP network segments include the IP address.
在一些可行的实施方式中,所述每组物联网终端集合分别对应的K个能源节省触发条件是用户通过所述中继器的人机交互接口分别针对所述N组物联网终端集合设置的。In some possible implementation manners, the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are respectively set by the user through the human-machine interaction interface of the repeater for the N sets of the Internet of Things terminal sets. .
在一些可行的实施方式中,所述接入点/中继器控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,包括:In some possible implementations, the access point/repeater controls the power-saving mode in which the IoT terminal i switches to one of the W energy-saving trigger conditions, including:
所述接入点/中继器向所述物联网终端i发送能源节省指令,所述能源节省指令携带能源节省触发条件I,所述W个能源节省触发条件包括所述能源节省触发条件I,所述能源节省指令用于指示所述物联网终端i切换至所述能源节省触发条件I对应的省电模式。 The access point/repeater sends an energy saving instruction to the Internet of Things terminal i, the energy saving instruction carries an energy saving trigger condition I, and the W energy saving triggering conditions include the energy saving triggering condition I, The energy saving instruction is used to instruct the IoT terminal i to switch to a power saving mode corresponding to the energy saving trigger condition I.
在一些可行的实施方式中,所述方法还包括:In some possible implementations, the method further includes:
所述接入点/中继器周期性检测所述中继器所承载的新增物联网终端的数量是否超过第三阈值;The access point/repeater periodically detects whether the number of new Internet of Things terminals carried by the repeater exceeds a third threshold;
若所述中继器所承载的新增物联网终端的数量超过所述第三阈值,所述接入点/中继器重新将所述中继器所承载的物联网终端进行分组,以得到H组物联网终端集合,所述H组物联网终端集合对应H个子IP网段,所述第三阈值大于或等于M*T,所述T为大于1的整数;If the number of new Internet of Things terminals carried by the repeater exceeds the third threshold, the access point/repeater re-groups the Internet of Things terminals carried by the repeater to obtain The H group of the Internet of Things terminal set, the H group of the Internet of Things terminal set corresponds to the H sub-IP network segments, the third threshold is greater than or equal to M*T, and the T is an integer greater than 1.
所述接入点/中继器将所述H组物联网终端集合上报至用户,以使得用户重新对所述H组物联网终端集合重新设定能源节省触发条件。The access point/repeater reports the set of the Group H IoT terminals to the user, so that the user re-sets the energy saving trigger condition for the H group of the Internet of Things terminals.
可见,当接入点连接的新增物联网终端的数量至少等于之前接入点所连接的所有物联网终端的数量时,物联网服务器重新进行分组,以便于更准确的控制新增的物联网终端。It can be seen that when the number of new IoT terminals connected by the access point is at least equal to the number of all IoT terminals connected to the previous access point, the IoT server is regrouped to more accurately control the newly added Internet of Things. terminal.
第二方面,本发明实施例提供一种物联网终端的能源节省装置,中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括:In a second aspect, an embodiment of the present invention provides an energy saving device for an Internet of Things terminal, where the repeater carries N sets of IoT terminals, and the N sets of IoT terminals correspond to N sub-IP network segments, and each group of IoT terminals The set respectively corresponds to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1, including:
检测模块,用于检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件;a detecting module, configured to detect whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition;
控制模块,用于若检测到所述中继器所承载的物联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。a control module, configured to control the IoT terminal i to switch to the device if it detects that the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving triggering conditions corresponding to the Internet of Things terminal i A power saving mode corresponding to one of the energy saving triggering conditions of the W energy saving triggering conditions, wherein the W is a positive integer.
在一些可行的实施方式中,所述每是根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定的,所述P和所述M均为大于1的整数。In some feasible implementation manners, the determining is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater. Both P and M are integers greater than one.
在一些可行的实施方式中,当所述P/所述M大于或等于第一阈值时,所述N=所述第一阈值-第二阈值,所述第二阈值*R小于所述第一阈值,所述R为大于1的整数;当所述P/所述M小于所述第一阈值时,所述N=所述第一阈 值。In some possible implementations, when the P/M is greater than or equal to a first threshold, the N=the first threshold-the second threshold, and the second threshold*R is smaller than the first a threshold, the R is an integer greater than 1; when the P/M is less than the first threshold, the N is the first threshold value.
在一些可行的实施方式中,所述装置还包括:In some possible implementations, the apparatus further includes:
分配模块,用于当检测到物联网终端j申请接入所述中继器时,为所述物联网终端j分配IP地址;An allocating module, configured to allocate an IP address to the Internet of Things terminal j when detecting that the Internet of Things terminal j requests to access the repeater;
划分模块,用于根据所述IP地址将所述物联网终端j划分至相应的物联网终端集合中,所述N组物联网终端集合不包含所述物联网终端j,所述N个子IP网段包含所述IP地址。a dividing module, configured to divide the Internet of Things terminal j into a corresponding set of Internet of Things terminals according to the IP address, where the N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub-IP networks The segment contains the IP address.
在一些可行的实施方式中,所述每组物联网终端集合分别对应的K个能源节省触发条件是用户通过所述中继器的人机交互接口分别针对所述N组物联网终端集合设置的。In some possible implementation manners, the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are respectively set by the user through the human-machine interaction interface of the repeater for the N sets of the Internet of Things terminal sets. .
第三方面,本发明提供一种物联网终端的能源节省装置,该物联网终端的能源节省装置中包括处理器,处理器被配置为支持该物联网终端的能源节省装置执行第一方面提供的一种物联网终端的电量控制方法中相应的功能。该物联网终端的能源节省装置还可以包括存储器,存储器用于与处理器耦合,其保存该物联网终端的能源节省装置必要的程序指令和数据。该物联网终端的能源节省装置还可以包括通信接口,用于该物联网终端的能源节省装置与其他设备或通信网络通信。In a third aspect, the present invention provides an energy saving device for an Internet of Things terminal, where the energy saving device of the Internet of Things terminal includes a processor configured to support an energy saving device of the Internet of Things terminal to perform the first aspect A corresponding function in a power control method of an Internet of Things terminal. The energy saving device of the Internet of Things terminal may further include a memory for coupling with the processor, which stores necessary program instructions and data of the energy saving device of the Internet of Things terminal. The energy saving device of the Internet of Things terminal may further include a communication interface, and the energy saving device for the IoT terminal communicates with other devices or communication networks.
第四方面,本发明实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本发明实施例第一方面所描述的部分或全部步骤,上述计算机包括物联网终端的能源节省装置。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the embodiment of the present invention. In some or all of the steps described on the one hand, the computer includes an energy saving device for the Internet of Things terminal.
第五方面,本发明实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本发明实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括物联网终端的能源节省装置。In a fifth aspect, an embodiment of 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, the computer program being operative to cause a computer to perform the implementation of the present invention. Some or all of the steps described in the first aspect of the example. The computer program product can be a software installation package, and the computer includes an energy saving device of the Internet of Things terminal.
相较于现有技术,本发明提供的方案可事先设定好各个物联网终端的能源节省触发条件,当物联网终端的运行状态满足能源节省触发条件时,控制物联 网终端切换省电模式,进而提升物联网终端的使用寿命。Compared with the prior art, the solution provided by the present invention can set the energy saving trigger condition of each IoT terminal in advance, and control the object link when the operating state of the IoT terminal satisfies the energy saving trigger condition. The network terminal switches the power saving mode to improve the service life of the Internet of Things terminal.
本发明的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the invention will be more apparent from the following description of the embodiments.
附图说明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 embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种物联网网络构架的示意图;1 is a schematic diagram of an Internet of Things network architecture according to an embodiment of the present invention;
图2为本发明实施例提供的一种物联网终端的电量控制方法的流程示意图;2 is a schematic flowchart of a method for controlling a power quantity of an Internet of Things terminal according to an embodiment of the present invention;
图3为本发明实施例提供的一种物联网终端的电量控制示意图;FIG. 3 is a schematic diagram of power control of an Internet of Things terminal according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的一种物联网终端的电量控制方法的流程示意图;4 is a schematic flowchart of a method for controlling a power quantity of an Internet of Things terminal according to an embodiment of the present invention;
图5为本发明实施例提供的一种物联网终端的能源节省装置的结构示意图;FIG. 5 is a schematic structural diagram of an energy saving device of an Internet of Things terminal according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的一种物联网终端的能源节省装置的结构示意图。FIG. 6 is a schematic structural diagram of an energy saving device of an Internet of Things terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
以下分别进行详细说明。The details are described below separately.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术 语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", and "fourth" and the like in the specification and claims of the present invention are used to distinguish different objects, and are not intended to describe a specific order. . In addition, surgery The terms "including" and "having" and any variations thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or, optionally, Other steps or units inherent to these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms in the present application will be explained to be understood by those skilled in the art.
1)、物联网终端是物联网中连接传感网络层和传输网络层,实现采集数据及向网络层发送数据的设备。它担负着数据采集、初步处理、加密、传输等多种功能。例如,物联网终端可以是具有无线连接功能的手持式设备、车载设备、手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,例如智能手表、智能手环、计步器等,当然物联网终端也可以包含带有联网功能的其他设备,例如智能电视、智能空调、智能水壶或一些物联网的智能设备等。1) The Internet of Things terminal is a device that connects the sensing network layer and the transmission network layer in the Internet of Things to collect data and send data to the network layer. It is responsible for data collection, preliminary processing, encryption, transmission and other functions. For example, the Internet of Things terminal can be a handheld device with wireless connectivity, an in-vehicle device, a mobile phone, a tablet, a laptop, a palmtop computer, a mobile internet device (MID), a wearable device, such as a smart watch, smart. Hand rings, pedometers, etc., of course, IoT terminals can also include other devices with networking capabilities, such as smart TVs, smart air conditioners, smart water bottles or some IoT smart devices.
2)、中继器,其英文名是:“Repeater(RP)”,是一种工作在物理层上的连接设备。适用于完全相同的两类网络的互连,主要功能是通过对数据信号的重新发送或者转发,来扩大网络传输的距离。2), repeater, its English name is: "Repeater (RP)", is a connected device working on the physical layer. Applicable to the interconnection of two identical types of networks. The main function is to expand the distance of network transmission by retransmitting or forwarding data signals.
3)、网关,英文名是:“Gateway”,网关(Gateway)又称网间连接器、协议转换器。网关在网络层以上实现网络互连,是最复杂的网络互连设备,仅用于两个高层协议不同的网络互连。网关既可以用于广域网互连,也可以用于局域网互连。网关是一种充当转换重任的计算机系统或设备。使用在不同的通信协议、数据格式或语言,甚至体系结构完全不同的两种系统之间,网关是一个翻译器。与网桥只是简单地传达信息不同,网关对收到的信息要重新打包,以适应目的系统的需求。3), the gateway, the English name is: "Gateway", gateway (Gateway) is also known as the network connector, protocol converter. The gateway implements network interconnection above the network layer. It is the most complex network interconnection device and is only used for different network interconnections of two high-level protocols. Gateways can be used for both WAN and LAN interconnections. A gateway is a computer system or device that acts as a conversion. The gateway is a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures. Unlike bridges that simply convey information, the gateway repackages the received information to suit the needs of the destination system.
4)、接入点(AP)是指整合了无线网接入点和RFID接入点为一体的智能 信息接收和发送设备,物联网AP可以同时接收和发送WIFI信号和RFID信号。4) Access Point (AP) refers to the integration of wireless network access points and RFID access points. The information receiving and transmitting device, the Internet of Things AP can simultaneously receive and transmit WIFI signals and RFID signals.
5)IP网段(network segment)一般指一个计算机网络中使用同一物理层设备(传输介质,中继器,集线器等)能够直接通讯的那一部分。例如,192.168.0.1~192.168.255.255这之间就是一个网段。5) IP segment (network segment) generally refers to the part of a computer network that can communicate directly using the same physical layer device (transmission medium, repeater, hub, etc.). For example, between 192.168.0.1 and 192.168.255.255 is a network segment.
6、“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。6. "Multiple" means two or more. "and/or", describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. The character "/" generally indicates that the contextual object is an "or" relationship.
下面结合附图对本申请的实施例进行描述。Embodiments of the present application will be described below with reference to the accompanying drawings.
根据本发明的一个方面,提供了一种物联网终端的电量控制方法。其中,该方法应用在如图1所示的物联网络构架中,如图1所示,该物联网络构架包括:网关10、多个接入点20、与接入点20连接的物联网终端30和中继器40、与中继器40连接的物联网终端50。其中,物联网终端50通过无线方式与中继器40连接,中继器40和物联网终端30通过无线方式与接入点20连接,接入点20通过无线方式或有线方式与网关10接入互联网,上述无线方式包括但不限于:蓝牙、WIFI、ZigBee、GPRS、3G、4G、Wimax等方式。图1中以有线方式为示例,为了方便表示,这里仅以一根实线表示。According to an aspect of the present invention, a method of controlling a power of an Internet of Things terminal is provided. The method is applied to the object network architecture shown in FIG. 1. As shown in FIG. 1, the object network architecture includes: a gateway 10, multiple access points 20, and an Internet of Things connected to the access point 20. The terminal 30 and the repeater 40 and the Internet of Things terminal 50 connected to the repeater 40. The Internet of Things terminal 50 is connected to the repeater 40 in a wireless manner, and the repeater 40 and the Internet of Things terminal 30 are connected to the access point 20 in a wireless manner, and the access point 20 is connected to the gateway 10 through a wireless or wired manner. Internet, the above wireless methods include but are not limited to: Bluetooth, WIFI, ZigBee, GPRS, 3G, 4G, Wimax and other methods. In Fig. 1, the wired mode is taken as an example, and for convenience of representation, only one solid line is shown here.
请参见图2,图2为本发明实施例提供的一种物联网终端的电量控制方法的流程示意图,其中,执行物联网终端的电量控制方法的执行主体为本发明所述的物联网终端的能源节省装置(物联网终端的能源节省装置可以是接入点,也可以是中继器),以下以执行主体为中继器为例进行说明,中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括以下步骤:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for controlling an electric quantity of an Internet of Things terminal according to an embodiment of the present invention, wherein an execution subject of a method for controlling an electric quantity of an Internet of Things terminal is an object of the Internet of Things (IoT) terminal of the present invention. The energy saving device (the energy saving device of the Internet of Things terminal may be an access point or a repeater), and the following is an example in which the execution subject is a repeater, and the repeater carries N sets of IoT terminals. The N sets of IoT terminal sets correspond to N sub-IP network segments, and each set of IoT terminal sets respectively corresponds to K energy saving trigger conditions, where K is greater than or equal to 1, and the N is an integer greater than 1, including the following steps:
S201、中继器检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件。S201. The relay device detects whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition.
S202、若检测到所述中继器所承载的物联网终端i的运行状态满足所述物 联网终端i对应的W个能源节省触发条件时,所述中继器控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。S202. If it is detected that the operating state of the Internet of Things terminal i carried by the repeater meets the object When the W energy-saving triggering conditions are met by the networked terminal i, the repeater controls the IoT terminal i to switch to a power-saving mode corresponding to one of the energy-saving triggering conditions of the W energy-saving triggering conditions. W is a positive integer.
其中,以上步骤S201可以是中继器周期性的检测中继器所承载的物联网终端的运行状态是否满足能源节省触发条件,例如,可以是每一分钟检测一次。The above step S201 may be that the repeater periodically detects whether the running state of the Internet of Things terminal carried by the repeater meets the energy saving triggering condition, for example, may be detected once every minute.
举例来说,假设中继器所承载的物联网终端有100个,N=3,K=2,组网范围内有3个子IP网段(比如有:192.168.1.20~192.168.1.55,192.168.1.56~192.168.1.120,192.168.1.121~192.168.1.210),3组物联网终端集合(比如有物联网终端集合1、物联网终端集合2和物联网终端集合3),3组物联网终端集合基于这3个子IP网段划分,3组物联网终端集合分别对应2个能源节省触发条件(比如物联网终端集合1对应第一能源节省触发条件和第二能源节省触发条件,物联网终端集合2对应第三能源节省触发条件和第四能源节省触发条件,以此类推),当中继器检测到物联网终端集合1中的某个物联网终端的运行状态满足第一能源节省触发条件和/或第二能源节省触发条件时,中继器控制该某个物联网终端切换至第一能源节省触发条件对应的省电模式或第二能源节省触发条件对应的省电模式。可见,通过事先设定各个物联网终端的能源节省触发条件,当物联网终端的运行状态满足能源节省触发条件时,控制物联网终端切换省电模式,进而提升物联网终端的使用寿命。For example, suppose that there are 100 IoT terminals carried by the repeater, N=3, K=2, and there are 3 sub-IP network segments in the network range (for example, there are: 192.168.1.20~192.168.1.55, 192.168. 1.56~192.168.1.120, 192.168.1.121~192.168.1.210), 3 sets of IoT terminals (such as IoT terminal set 1, IoT terminal set 2 and IoT terminal set 3), 3 sets of IoT terminal sets are based on The three sub-IP network segments are divided, and the three sets of IoT terminals respectively correspond to two energy saving trigger conditions (for example, the IoT terminal set 1 corresponds to the first energy saving trigger condition and the second energy saving trigger condition, and the IoT terminal set 2 corresponds to a third energy saving trigger condition and a fourth energy saving trigger condition, and so on, when the repeater detects that an operation state of an IoT terminal in the IoT terminal set 1 satisfies a first energy saving trigger condition and/or a When the energy saving trigger condition is met, the repeater controls the power-saving mode corresponding to the first power-saving triggering condition or the power-saving mode corresponding to the second energy-saving triggering condition. It can be seen that by setting the energy saving trigger condition of each IoT terminal in advance, when the operating state of the IoT terminal satisfies the energy saving trigger condition, the IoT terminal is controlled to switch the power saving mode, thereby improving the service life of the IoT terminal.
需要说明的是,物联网终端的运行状态通常有正在接收数据状态、正在发送数据状态、待机状态、休眠状态等等。以上步骤S201检测接入点所连接的物联网终端的运行状态,这里检测的是物联网终端在一段时间内(比如23分钟、30分钟、1个小时、4个小时或是其他值)的运行状态。It should be noted that the operating state of the Internet of Things terminal usually has a data receiving state, a data sending state, a standby state, a sleep state, and the like. The above step S201 detects the running state of the Internet of Things terminal connected to the access point, where the operation of the Internet of Things terminal is detected for a period of time (such as 23 minutes, 30 minutes, 1 hour, 4 hours, or other values). status.
举例来说,假设物联网终端集合1对应第一能源节省触发条件为物联网终端平均待机时长在第一预设时长范围,物联网终端平均接收/发送时长在第二预设时长范围内,比如物联网终端平均待机在10分钟内,物联网终端平均接收/发送时长在3分钟内,第一能源节省触发条件对应的省电模式可以是物联网终端每7分钟休眠一次,每次休眠时长为8分钟,假如物联网终端集合1中的某个物联网终端的运行状态满足第一能源节省触发条件时,中继器控制该 某个物联网终端切换至每7分钟休眠一次,每次休眠时长为8分钟的省电模式。For example, it is assumed that the first energy saving trigger condition of the Internet of Things terminal set 1 is that the average standby time of the Internet of Things terminal is within a first preset duration, and the average receiving/transmitting duration of the Internet of Things terminal is within a second preset duration, such as The average standby time of the IoT terminal is within 10 minutes, and the average receiving/sending time of the IoT terminal is within 3 minutes. The power saving mode corresponding to the first energy saving trigger condition may be that the IoT terminal sleeps every 7 minutes, and each sleep time is 8 minutes, if the operating state of an IoT terminal in the IoT terminal set 1 satisfies the first energy saving trigger condition, the repeater controls the An IoT terminal switches to a power-saving mode that sleeps every 7 minutes and sleeps for 8 minutes each time.
又举例来说,假设物联网终端集合1对应第一能源节省触发条件为物联网终端平均待机时长在第一预设时长范围,物联网终端平均接收/发送时长在第二预设时长范围内,比如物联网终端平均待机在10分钟内,物联网终端平均接收/发送时长在3分钟内,第一能源节省触发条件对应的省电模式可以是物联网终端每7分钟休眠一次,每次休眠时长为8分钟,假设物联网终端集合1对应第二能源节省触发条件为物联网终端待机时长超过第三预设时长,物联网终端接收/发送时长超过第四预设时长,比如物联网终端待机时长超过5分钟,物联网终端接收/发送时长超过在3分钟,第二能源节省触发条件对应的省电模式可以是物联网终端每10分钟休眠一次,每次休眠时长为6分钟,假如物联网终端集合1中的某个物联网终端的运行状态满足第一能源节省触发条件和第二能源节省触发条件时,中继器控制该某个物联网终端切换至每7分钟休眠一次,每次休眠时长为8分钟的省电模式,或接入点控制该某个物联网终端切换至每10分钟休眠一次,每次休眠时长为6分钟的省电模式。For example, it is assumed that the first energy saving trigger condition of the Internet of Things terminal set 1 is that the average standby time length of the Internet of Things terminal is within a first preset duration, and the average receiving/transmitting duration of the Internet of Things terminal is within a second preset duration. For example, the average standby time of the IoT terminal is within 10 minutes, and the average receiving/sending time of the IoT terminal is within 3 minutes. The power saving mode corresponding to the first energy saving trigger condition may be that the IoT terminal sleeps every 7 minutes, each sleep time For 8 minutes, it is assumed that the IoT terminal set 1 corresponds to the second energy saving trigger condition that the IoT terminal standby time exceeds the third preset duration, and the IoT terminal receiving/transmitting time exceeds the fourth preset duration, such as the IoT terminal standby time If the IoT terminal receives/sends more than 3 minutes, the second energy saving trigger condition corresponds to the power saving mode. The IoT terminal can sleep every 10 minutes, and each sleep time is 6 minutes, if the IoT terminal The operating state of an IoT terminal in the set 1 satisfies the first energy saving trigger condition and the second energy festival When the trigger condition is met, the repeater controls the IoT terminal to switch to sleep every 7 minutes, the power saving mode is 8 minutes each sleep time, or the access point controls the IoT terminal to switch to every 10 minutes. Sleep once, each sleep mode is 6 minutes of power saving mode.
可选地,所述N是根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定的,所述P和所述M均为大于1的整数。Optionally, the N is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater, where the P and the M is an integer greater than one.
可选地,当所述P/所述M大于或等于第一阈值时,所述N=所述第一阈值-第二阈值,所述第二阈值*R小于所述第一阈值,所述R为大于1的整数;当所述P/所述M小于所述第一阈值时,所述N=所述第一阈值。Optionally, when the P/M is greater than or equal to a first threshold, the N=the first threshold-the second threshold, the second threshold*R is less than the first threshold, R is an integer greater than 1; when the P/M is less than the first threshold, the N is the first threshold.
其中,第一阈值例如可以是3、5、6、7、8、10或是其他值。The first threshold may be, for example, 3, 5, 6, 7, 8, 10 or other values.
其中,第二阈值例如可以是1、2、3、5、7、10或是其他值。The second threshold may be, for example, 1, 2, 3, 5, 7, 10 or other values.
举例来说,通常组网范围内有个总IP网段,比如192.168.1.20~192.168.1.210,一个网段包括多个IP地址,比如上述IP网段包括191个IP地址,假设N越大,对应的物联网终端集合就越多组,物联网终端集合越多越不便管理,为了适当限制物联网终端集合的数量,本方案限制上述N是根据组网范围内的总IP网段包括的IP地址的个数P和中继器所承载的物联网终端的数量M确定的。假设P=150,M=30,第一阈值=5,第二阈值=2,可见,N=3。 又假设P=150,M=60,第一阈值=5,第二阈值=2,可见,N=5。For example, a network segment has a total IP network segment, such as 192.168.1.20 to 192.168.1.210. A network segment includes multiple IP addresses. For example, the IP network segment includes 191 IP addresses. The more sets of corresponding IoT terminals, the more inconvenient the IoT terminal set is. In order to properly limit the number of IoT terminal sets, the solution restricts the above N to be the IP included in the total IP network segment within the networking scope. The number of addresses P and the number M of IoT terminals carried by the repeater are determined. Suppose P=150, M=30, first threshold=5, second threshold=2, visible, N=3. Also assume that P = 150, M = 60, the first threshold = 5, the second threshold = 2, visible, N = 5.
可选地,所述N是根据组网范围内的总IP网段包括的IP地址的个数P确定的,所述P为大于1的整数。Optionally, the N is determined according to the number P of IP addresses included in the total IP network segment in the network scope, where P is an integer greater than 1.
可选地,当所述P大于或等于第三阈值时,所述N等于所述P除于第四阈值的商;当所述P小于所述第三阈值时,所述N等于所述P除于第五阈值的商,所述第五阈值小于所述第四阈值,所述第四阈值小于所述第三阈值。Optionally, when the P is greater than or equal to a third threshold, the N is equal to a quotient of the P divided by a fourth threshold; when the P is less than the third threshold, the N is equal to the P In addition to the quotient of the fifth threshold, the fifth threshold is less than the fourth threshold, and the fourth threshold is less than the third threshold.
其中,第三阈值例如可以是60、100、136、200、400、560或是其他值。The third threshold may be, for example, 60, 100, 136, 200, 400, 560 or other values.
其中,第四阈值例如可以是30、50、68、100、200、280或是其他值。The fourth threshold may be, for example, 30, 50, 68, 100, 200, 280 or other values.
其中,第五阈值例如可以是20、30、45、65、78、100或是其他值。The fifth threshold may be, for example, 20, 30, 45, 65, 78, 100 or other values.
举例来说,假设P=100,第三阈值=50,第四阈值=25,可见,P大于第三阈值,比如N=P/第四阈值=4。又假设P=90,第三阈值=50,第四阈值=25,M/第三阈值=3…15,那么N只取商,即N=3,又假设P=60,第三阈值=100,第四阈值=20,N=P/第五阈值=3。For example, assuming P=100, a third threshold=50, and a fourth threshold=25, it can be seen that P is greater than a third threshold, such as N=P/fourth threshold=4. Assuming P=90, third threshold=50, fourth threshold=25, M/third threshold=3...15, then N only takes quotient, ie N=3, and assumes P=60, third threshold=100 , fourth threshold = 20, N = P / fifth threshold = 3.
可选地,所述方法还包括:Optionally, the method further includes:
当检测到物联网终端j申请接入所述中继器时,为所述物联网终端j分配IP地址,以及根据所述IP地址将所述物联网终端j划分至相应的物联网终端集合中,所述N组物联网终端集合不包含所述物联网终端j,所述N个子IP网段包含所述IP地址。When detecting that the Internet of Things terminal j requests to access the repeater, assigning an IP address to the Internet of Things terminal j, and dividing the Internet of Things terminal j into a corresponding IoT terminal set according to the IP address The N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub IP network segments include the IP address.
举例来说,中继器所承载的物联网终端数量会不断变化,比如增加或减少,当中继器所承载的物联网终端数量增加时,中继器自动根据新增的物联网终端的IP地址所处的IP网段自行将新增的物联网终端划分到相应物联网终端集合中。比如,假设N=2,2个子IP网段(比如有:192.168.1.56~192.168.1.120,192.168.1.121~192.168.1.210),新增的物联网终端的IP地址为192.168.1.66,可见新增的物联网终端的IP地址处于子IP网段192.168.1.56~192.168.1.120中,那么接入点自行将新增的物联网终端划分到子IP网段192.168.1.56~192.168.1.120对应的物联网终端集合中。For example, the number of IoT terminals carried by the repeater will change continuously, such as increasing or decreasing. When the number of IoT terminals carried by the repeater increases, the repeater automatically according to the IP address of the newly added IoT terminal. The IP network segment in which it is located divides the newly added IoT terminals into the corresponding IoT terminal sets. For example, suppose N=2, 2 sub-IP network segments (for example, 192.168.1.56 to 192.168.1.120, 192.168.1.121 to 192.168.1.210), the IP address of the newly added IoT terminal is 192.168.1.66, which can be seen as new. The IP address of the IoT terminal is in the sub-IP segment 192.168.1.56 to 192.168.1.120, then the access point divides the newly added IoT terminal into the IoT corresponding to the sub-IP segment 192.168.1.56 to 192.168.1.120. In the terminal collection.
可选地,所述每组物联网终端集合分别对应的K个能源节省触发条件是用户通过所述中继器的人机交互接口分别针对所述N组物联网终端集合设置 的。也就是说,每组物联网终端集合分别对应的K个能源节省触发条件是用户自定义的。Optionally, the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are that the user sets the N-type Internet of Things terminal sets separately through the human-machine interaction interface of the repeater. of. That is to say, the K energy saving trigger conditions corresponding to each set of IoT terminal sets are user-defined.
可选地,所述方法还包括:Optionally, the method further includes:
所述中继器周期性检测所述中继器所承载的新增物联网终端的数量是否超过第三阈值;若所述中继器所承载的新增物联网终端的数量超过所述第三阈值,所述中继器重新将所述中继器所承载的物联网终端进行分组,以得到H组物联网终端集合,所述H组物联网终端集合对应H个子IP网段,所述第三阈值大于或等于M*T,所述T为大于1的整数;所述中继器将所述H组物联网终端集合上报至用户,以使得用户重新对所述H组物联网终端集合重新设定能源节省触发条件。The repeater periodically detects whether the number of new Internet of Things terminals carried by the repeater exceeds a third threshold; if the number of new Internet of Things terminals carried by the repeater exceeds the third Threshold, the repeater re-groups the IoT terminals carried by the repeater to obtain an H-group IoT terminal set, where the H-group IoT terminal set corresponds to H sub-IP network segments, The third threshold is greater than or equal to M*T, and the T is an integer greater than 1. The repeater reports the H group of the Internet of Things terminal to the user, so that the user re-resets the H group of the Internet of Things terminal Set energy saving trigger conditions.
其中,上述周期例如可以是3天、10天,20天、1个月、2个月或是其他值。The period may be, for example, 3 days, 10 days, 20 days, 1 month, 2 months, or other values.
举例来说,中继器所承载的物联网终端会随着时间的推移而发生变化(比如增加/减少),假设新增的物联网终端的数量超过之前物联网终端的数量的2倍时,为了方便管理,中继器需要重新对这些物联网终端进行分组,在分组完后,上报给用户让用户重新设定这些分组的能源节省触发条件。其中,上述H值的确定与上文所述的N值的确定是一样的,在此不再叙述。For example, the IoT terminal carried by the repeater changes over time (such as increase/decrease), assuming that the number of new IoT terminals exceeds twice the number of previous IoT terminals. In order to facilitate management, the repeater needs to re-group these IoT terminals, and after the grouping is completed, the user is reported to the user to reset the energy saving trigger conditions of these packets. Wherein, the determination of the above H value is the same as the determination of the N value described above, and will not be described here.
另外,需要说明的是,假如用户未对新的分组(所述H组物联网终端集合)重新设定能源节省触发条件时,中继器执行以上步骤S201是基于之前的分组对应的能源节省触发条件(所述N组物联网终端集合分别对应W个电量控制)进行检测判定的。也就是说新的分组未被激活,接入点还是基于之前的分组进行相应操作。In addition, it should be noted that if the user does not reset the energy saving trigger condition for the new group (the group H Internet of Things terminal set), the repeater performs the above step S201 is based on the energy saving trigger corresponding to the previous group. The condition (the N sets of IoT terminals is respectively corresponding to W power control) is detected and determined. That is to say, the new packet is not activated, and the access point performs corresponding operations based on the previous packet.
可选地,所述中继器控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式的具体实施方式有:Optionally, the specific implementation manner that the relay device controls the power-saving mode that the IoT terminal i switches to one of the W energy-saving triggering conditions is:
所述接入点向所述物联网终端i发送能源节省指令,所述能源节省指令携带能源节省触发条件j,所述W个能源节省触发条件包括所述能源节省触发条件j,所述能源节省指令用于指示所述物联网终端i切换至所述能源节省触发条件j对应的省电模式。 The access point sends an energy saving instruction to the Internet of Things terminal i, the energy saving instruction carrying an energy saving trigger condition j, the W energy saving triggering conditions including the energy saving triggering condition j, the energy saving The instruction is used to instruct the IoT terminal i to switch to a power saving mode corresponding to the energy saving trigger condition j.
举例来说,请参见图3,图3为本发明实施例提供的一种物联网终端的电量控制示意图,其中,中继器60,中继器60连接的物联网终端有12个,比如有物联网终端70、物联网终端71、物联网终端72……物联网终端81,物联网终端集合有两个,比如有物联网终端集合1包含有物联网终端70~物联网终端75,物联网终端集合2包含有物联网终端76~物联网终端81,物联网终端集合1对应第一能源节省触发条件和第二能源节省触发条件,第一能源节省触发条件对应第一省电模式,第二能源节省触发条件对应第二省电模式,物联网终端集合2对应第三能源节省触发条件,第三能源节省触发条件对应第三省电模式,若中继器60检测到物联网终端71的运行状态满足第一能源节省触发条件和第二能源节省触发条件,中继器60向物联网终端71发送能源节省指令,能源节省指令指定物联网终端71切换至第一省电模式,以使得物联网终端71切换至第一省电模式。For example, refer 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, wherein there are 12 Internet of Things terminals connected to the repeater 60 and the repeater 60, for example, The Internet of Things terminal 70, the Internet of Things terminal 71, the Internet of Things terminal 72, the Internet of Things terminal 81, and the Internet of Things terminal set have two. For example, the Internet of Things terminal set 1 includes the Internet of Things terminal 70 to the Internet of Things terminal 75, and the Internet of Things. The terminal set 2 includes an Internet of Things terminal 76 to an Internet of Things terminal 81. The IoT terminal set 1 corresponds to a first energy saving trigger condition and a second energy saving trigger condition, and the first energy saving trigger condition corresponds to the first power saving mode, and the second The energy saving trigger condition corresponds to the second power saving mode, the IoT terminal set 2 corresponds to the third energy saving trigger condition, and the third energy saving trigger condition corresponds to the third power saving mode, if the repeater 60 detects the operation of the Internet of Things terminal 71 The state satisfies the first energy saving trigger condition and the second energy saving trigger condition, and the repeater 60 sends an energy saving instruction to the Internet of Things terminal 71, and the energy saving instruction specifies the object link. A first terminal 71 is switched to the power saving mode, so that the things terminal 71 is switched to the first power saving mode.
本发明实施例还提供了另一更为详细的方法流程,如图4所示,其中,执行物联网终端的电量控制方法的执行主体为本发明所述的物联网终端的能源节省装置(物联网终端的能源节省装置可以是接入点,也可以是中继器),以下以执行主体为中继器为例进行说明,中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括:The embodiment of the present invention further provides another more detailed method flow, as shown in FIG. 4, wherein the execution subject of the power control method for executing the Internet of Things terminal is the energy saving device of the Internet of Things terminal according to the present invention. The energy saving device of the networked terminal may be an access point or a repeater. The following takes the execution subject as a repeater as an example. The repeater carries N sets of IoT terminals, and the N group of Internet of Things The terminal set corresponds to the N sub-IP network segments, and each set of the IoT terminal sets respectively corresponds to K energy saving trigger conditions, where the K is greater than or equal to 1, and the N is an integer greater than 1, including:
S401、中继器确定所述中继器所承载的所有物联网终端的数量M和组网范围内的总IP网段包括的IP地址的个数P,所述P和所述M均为大于1的整数。S401. The repeater determines the number M of all the Internet of Things terminals carried by the repeater and the number P of IP addresses included in the total IP network segment in the network range, where the P and the M are both greater than An integer of 1.
S402、所述中继器根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定N,所述N为大于1的整数。S402. The repeater determines N according to the number P of IP addresses included in the total IP network segment in the network range and the number M of IoT terminals carried by the repeater, where N is greater than 1. Integer.
S403、所述中继器将组网范围内的总IP网段划分为N个子IP网段。S403. The repeater divides the total IP network segment in the network range into N sub-IP network segments.
S404、所述中继器根据所述N个子IP网段确定N组物联网终端集合。S404. The repeater determines, according to the N sub-IP network segments, N sets of Internet of Things terminals.
S405、所述中继器接收用户通过所述中继器的人机交互接口输入的所述N组物联网终端集合分别对应的K个能源节省触发条件,所述K大于或等于1。 S405. The repeater receives K energy saving trigger conditions corresponding to the set of the N groups of Internet of Things terminals input by the user through the human-machine interaction interface of the repeater, where the K is greater than or equal to 1.
S406、所述中继器根据所述N组物联网终端集合分别对应的K个能源节省触发条件,设置所述N组物联网终端集合的能源节省触发条件。S406. The repeater sets an energy saving trigger condition of the N sets of the Internet of Things terminal set according to the K energy saving trigger conditions respectively corresponding to the N sets of the Internet of Things terminal sets.
S407、所述中继器检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件。S407. The repeater detects whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition.
S408、若检测到所述中继器所承载的物联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,所述中继器向所述物联网终端i发送能源节省指令,所述能源节省指令携带能源节省触发条件j,所述W个能源节省触发条件包括所述能源节省触发条件j,所述W为正整数。S408. If it is detected that the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving triggering conditions corresponding to the Internet of Things terminal i, the repeater sends the information to the Internet of Things terminal i. An energy saving instruction carrying an energy saving trigger condition j, the W energy saving triggering conditions including the energy saving triggering condition j, wherein the W is a positive integer.
S409、所述物联网终端i接收所述接入点发送的所述能源节省指令,以及根据能源节省指令切换至所述能源节省触发条件j对应的省电模式。S409. The IoT terminal i receives the energy saving instruction sent by the access point, and switches to a power saving mode corresponding to the energy saving trigger condition j according to the energy saving instruction.
需要说明的是,图4所示的方法的各个步骤的具体实现过程可参见上述方法所述的具体实现过程,在此不再叙述。It should be noted that the specific implementation process of each step of the method shown in FIG. 4 can be referred to the specific implementation process described in the foregoing method, and is not described herein.
本发明实施例还提供了一种物联网终端的能源节省装置500,如图5所示,中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括:The embodiment of the present invention further provides an energy saving device 500 for an Internet of Things terminal. As shown in FIG. 5, the repeater carries N sets of IoT terminals, and the N sets of IoT terminals correspond to N sub-IP segments. Each set of the Internet of Things terminal corresponds to K energy saving trigger conditions, the K is greater than or equal to 1, and the N is an integer greater than 1, including:
检测模块501,用于检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件;The detecting module 501 is configured to detect whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition;
控制模块502,用于若检测到所述中继器所承载的物联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。The control module 502 is configured to control the IoT terminal i to switch to if the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving trigger conditions corresponding to the Internet of Things terminal i The power saving mode corresponding to one of the W energy saving triggering conditions, wherein the W is a positive integer.
可选地,所述N是根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定的,所述P和所述M均为大于1的整数。Optionally, the N is determined according to the number P of IP addresses included in the total IP network segment in the network range and the number M of the Internet of Things terminals carried by the repeater, where the P and the M is an integer greater than one.
可选地,当所述P/所述M大于或等于第一阈值时,所述N=所述第一阈值-第二阈值,所述第二阈值*R小于所述第一阈值,所述R为大于1的整数;当 所述P/所述M小于所述第一阈值时,所述N=所述第一阈值。Optionally, when the P/M is greater than or equal to a first threshold, the N=the first threshold-the second threshold, the second threshold*R is less than the first threshold, R is an integer greater than 1; When the P/M is less than the first threshold, the N=the first threshold.
可选地,所述装置还包括:Optionally, the device further includes:
分配模块503,用于当检测到物联网终端j申请接入所述中继器时,为所述物联网终端j分配IP地址;The allocating module 503 is configured to allocate an IP address to the Internet of Things terminal j when detecting that the Internet of Things terminal j requests to access the repeater;
划分模块504,用于根据所述IP地址将所述物联网终端j划分至相应的物联网终端集合中,所述N组物联网终端集合不包含所述物联网终端j,所述N个子IP网段包含所述IP地址。a partitioning module 504, configured to divide the Internet of Things terminal j into a corresponding IoT terminal set according to the IP address, where the N sets of Internet of Things terminal sets do not include the Internet of Things terminal j, the N sub-IPs The network segment contains the IP address.
可选地,所述每组物联网终端集合分别对应的K个能源节省触发条件是用户通过所述中继器的人机交互接口分别针对所述N组物联网终端集合设置的。Optionally, the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminal sets are respectively set by the user through the human-machine interaction interface of the repeater for the N sets of the Internet of Things terminal sets.
需要说明的是,上述各模块(检测模块501、控制模块502、分配模块503和划分模块504)用于执行上述方法的相关步骤。比如,检测模块501用于执行以上步骤S201、控制模块502用于执行以上步骤S202等等。It should be noted that each of the above modules (detection module 501, control module 502, allocation module 503, and partitioning module 504) is used to perform the relevant steps of the above method. For example, the detecting module 501 is configured to perform the above step S201, and the control module 502 is configured to perform the above step S202 and the like.
在本实施例中,物联网终端的能源节省装置500是以模块的形式来呈现。这里的“模块”可以指特定应用集成电路(application-specific integrated circuit,ASIC),执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。此外,以上检测模块501、控制模块502、分配模块503和划分模块504可通过图6所示的物联网终端的能源节省装置的处理器601来实现。In this embodiment, the energy saving device 500 of the Internet of Things terminal 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 executes one or more software or firmware programs, integrated logic circuits, and/or other devices that provide the above functionality. . In addition, the above detecting module 501, the control module 502, the assigning module 503, and the dividing module 504 can be implemented by the processor 601 of the energy saving device of the Internet of Things terminal shown in FIG. 6.
如图6所示物联网终端的能源节省装置600可以以图6中的结构来实现,该物联网终端的能源节省装置600包括至少一个处理器601,至少一个存储器602以及至少一个通信接口603。所述处理器601、所述存储器602和所述通信接口603通过所述通信总线连接并完成相互间的通信。The energy saving device 600 of the Internet of Things terminal shown in FIG. 6 can be implemented by the structure in FIG. 6. The energy saving device 600 of the Internet of Things 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, and the communication interface 603 are connected by the communication bus and complete communication with each other.
处理器601可以是通用中央处理器(CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制以上方案程序执行的集成电路。The processor 601 can 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 the above program.
通信接口603,用于与其他设备或通信网络通信,如以太网,无线接入网 (RAN),无线局域网(Wireless Local Area Networks,WLAN)等。 Communication interface 603, for communicating with other devices or communication networks, such as Ethernet, wireless access network (RAN), Wireless Local Area Networks (WLAN), etc.
存储器602可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The memory 602 can 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 that can store information and instructions. The dynamic storage device can also be an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this. The memory can exist independently and be connected to the processor via a bus. The memory can also be integrated with the processor.
其中,所述存储器602用于存储执行以上方案的应用程序代码,并由处理器601来控制执行。所述处理器601用于执行所述存储器602中存储的应用程序代码。The memory 602 is configured to store application code that executes the above solution, and is controlled by the processor 601 for execution. The processor 601 is configured to execute application code stored in the memory 602.
存储器602存储的代码可执行以上提供的终端设备执行的上述物联网终端的电量控制方法,比如中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括:检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件;若检测到所述中继器所承载的物联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。The code stored in the memory 602 can execute the power control method of the foregoing Internet of Things terminal executed by the terminal device provided by the terminal device, for example, the relay device carries N sets of IoT terminal sets, and the N sets of IoT terminal sets correspond to N sub-IP network segments. Each set of the Internet of Things terminal corresponds to K energy saving triggering conditions, and the K is greater than or equal to 1, and the N is an integer greater than 1, including: detecting whether the operating state of the Internet of Things terminal carried by the repeater is The energy saving trigger condition is met; if it is detected that the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving trigger conditions corresponding to the Internet of Things terminal i, the IoT terminal i is controlled to switch to The power saving mode corresponding to one of the W energy saving triggering conditions, wherein the W is a positive integer.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括物联网终端的能源节省装置。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments. The computer includes an energy saving device of an Internet of Things terminal.
本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储 了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括物联网终端的能源节省装置。Embodiments of the present invention also provide a computer program product, the computer program product including storage A non-transitory computer readable storage medium for a computer program operative to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product can be a software installation package that includes an energy saving device for the Internet of Things terminal.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部 或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art or all of the technical solution. Or a portion may be embodied in the form of a software product stored in a memory, including instructions for causing a computer device (which may be a personal computer, server or network device, etc.) to perform various embodiments of the present invention. All or part of the steps of the method. The foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person skilled in the art can understand that all or part of the steps of the foregoing embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable memory, and the memory can include: a flash drive , read-only memory (English: Read-Only Memory, referred to as: ROM), random accessor (English: Random Access Memory, referred to as: RAM), disk or CD.
以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本发明的限制。 The embodiments of the present invention have been described in detail above, and the principles and implementations of the present invention are described in detail herein. The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; A person of ordinary skill in the art, in light of the above, the present invention is not limited by the scope of the present invention.

Claims (10)

  1. 一种物联网终端的能源节省方法,其特征在于,适用于物联网系统,所述物联网系统包括中继器和物联网终端,所述中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括:An energy saving method for an Internet of Things terminal, characterized in that it is applicable to an Internet of Things system, the Internet of Things system comprising a repeater and an Internet of Things terminal, the repeater carrying N sets of IoT terminals, the N The group of the Internet of Things terminals corresponds to the N sub-IP network segments, and each set of the Internet of Things terminals corresponds to K energy saving triggering conditions, and the K is greater than or equal to 1, and the N is an integer greater than 1, including:
    检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件;Detecting whether an operation state of the IoT terminal carried by the repeater meets an energy saving trigger condition;
    若检测到所述中继器所承载的物联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。Controlling the IoT terminal i to switch to the W energy saving if it is detected that the operating state of the IoT terminal i carried by the repeater meets the W energy saving trigger conditions corresponding to the IoT terminal i One of the triggering conditions corresponds to a power saving mode corresponding to the triggering condition, and the W is a positive integer.
  2. 根据权利要求1所述的方法,其特征在于,所述N是根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定的,所述P和所述M均为大于1的整数。The method according to claim 1, wherein the N is a number P of IP addresses included in a total IP network segment within a network range and a number M of IoT terminals carried by the repeater. It is determined that both P and M are integers greater than one.
  3. 根据权利要求1或2所述的方法,其特征在于,所述每组物联网终端集合分别对应的K个能源节省触发条件是用户通过所述中继器的人机交互接口分别针对所述N组物联网终端集合设置的。The method according to claim 1 or 2, wherein the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminals are that the user respectively uses the human-computer interaction interface of the repeater for the N Set of IoT terminal collections.
  4. 根据权利要求2所述的方法,其特征在于,The method of claim 2 wherein:
    当所述P/所述M大于或等于第一阈值时,所述N=所述第一阈值-第二阈值,所述第二阈值*R小于所述第一阈值,所述R为大于1的整数;When the P/M is greater than or equal to the first threshold, the N=the first threshold-the second threshold, the second threshold*R is smaller than the first threshold, and the R is greater than 1 Integer
    当所述P/所述M小于所述第一阈值时,所述N=所述第一阈值。When the P/M is less than the first threshold, the N=the first threshold.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    当检测到物联网终端j申请接入所述中继器时,为所述物联网终端j分配IP地址,以及根据所述IP地址将所述物联网终端j划分至相应的物联网终端集合中,所述N组物联网终端集合不包含所述物联网终端j,所述N个子IP网段包含所述IP地址。 When detecting that the Internet of Things terminal j requests to access the repeater, assigning an IP address to the Internet of Things terminal j, and dividing the Internet of Things terminal j into a corresponding IoT terminal set according to the IP address The N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub IP network segments include the IP address.
  6. 一种物联网终端的能源节省装置,其特征在于,中继器承载N组物联网终端集合,所述N组物联网终端集合对应N个子IP网段,每组物联网终端集合分别对应K个能源节省触发条件,所述K大于或等于1,所述N为大于1的整数,包括:An energy saving device for an Internet of Things terminal, characterized in that: the repeater carries N sets of IoT terminals, the N sets of IoT terminals correspond to N sub-IP network segments, and each set of IoT terminals corresponds to K sets respectively Energy saving trigger condition, the K is greater than or equal to 1, and the N is an integer greater than 1, including:
    检测模块,用于检测所述中继器所承载的物联网终端的运行状态是否满足能源节省触发条件;a detecting module, configured to detect whether an operation state of the Internet of Things terminal carried by the repeater meets an energy saving trigger condition;
    控制模块,用于若检测到所述中继器所承载的物联网终端i的运行状态满足所述物联网终端i对应的W个能源节省触发条件时,控制所述物联网终端i切换至所述W个能源节省触发条件中的其中一个能源节省触发条件对应的省电模式,所述W为正整数。a control module, configured to control the IoT terminal i to switch to the device if it detects that the operating state of the Internet of Things terminal i carried by the repeater meets the W energy saving triggering conditions corresponding to the Internet of Things terminal i A power saving mode corresponding to one of the energy saving triggering conditions of the W energy saving triggering conditions, wherein the W is a positive integer.
  7. 根据权利要求6所述的装置,其特征在于,所述N是根据组网范围内的总IP网段包括的IP地址的个数P和所述中继器所承载的物联网终端的数量M确定的,所述P和所述M均为大于1的整数。The apparatus according to claim 6, wherein the N is a number P of IP addresses included according to a total IP network segment within a network range and a number M of IoT terminals carried by the repeater. It is determined that both P and M are integers greater than one.
  8. 根据权利要求6或7所述的装置,其特征在于,所述每组物联网终端集合分别对应的K个能源节省触发条件是用户通过所述中继器的人机交互接口分别针对所述N组物联网终端集合设置的。The device according to claim 6 or 7, wherein the K energy saving triggering conditions respectively corresponding to each set of the Internet of Things terminals are that the user respectively uses the human-machine interaction interface of the repeater for the N Set of IoT terminal collections.
  9. 根据权利要求7所述的装置,其特征在于,The device of claim 7 wherein:
    当所述P/所述M大于或等于第一阈值时,所述N=所述第一阈值-第二阈值,所述第二阈值*R小于所述第一阈值,所述R为大于1的整数;When the P/M is greater than or equal to the first threshold, the N=the first threshold-the second threshold, the second threshold*R is smaller than the first threshold, and the R is greater than 1 Integer
    当所述P/所述M小于所述第一阈值时,所述N=所述第一阈值。When the P/M is less than the first threshold, the N=the first threshold.
  10. 根据权利要求6-9任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6-9, wherein the device further comprises:
    分配模块,用于当检测到物联网终端j申请接入所述中继器时,为所述物联网终端j分配IP地址;An allocating module, configured to allocate an IP address to the Internet of Things terminal j when detecting that the Internet of Things terminal j requests to access the repeater;
    划分模块,用于根据所述IP地址将所述物联网终端j划分至相应的物联网终端集合中,所述N组物联网终端集合不包含所述物联网终端j,所述N个子IP网段包含所述IP地址。 a dividing module, configured to divide the Internet of Things terminal j into a corresponding set of Internet of Things terminals according to the IP address, where the N sets of Internet of Things terminals do not include the Internet of Things terminal j, and the N sub-IP networks The segment contains the IP address.
PCT/CN2017/100913 2017-07-27 2017-09-07 Energy saving method and apparatus WO2019019289A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710622555.3 2017-07-27
CN201710622555.3A CN107547208B (en) 2017-07-27 2017-07-27 Energy saving method and device

Publications (1)

Publication Number Publication Date
WO2019019289A1 true WO2019019289A1 (en) 2019-01-31

Family

ID=60971018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100913 WO2019019289A1 (en) 2017-07-27 2017-09-07 Energy saving method and apparatus

Country Status (2)

Country Link
CN (1) CN107547208B (en)
WO (1) WO2019019289A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566156B (en) * 2017-07-28 2020-06-16 深圳市盛路物联通讯技术有限公司 Power-saving mode switching method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040251908A1 (en) * 2003-06-16 2004-12-16 Midtronics, Inc. Electronic battery tester having a user interface to configure a printer
CN103533619A (en) * 2012-07-05 2014-01-22 华为技术有限公司 Mobile communication terminal and power management method thereof
CN105391124A (en) * 2015-11-20 2016-03-09 宇龙计算机通信科技(深圳)有限公司 Cell device management method, and cell device and system
CN106209652A (en) * 2015-05-08 2016-12-07 西安中兴新软件有限责任公司 A kind of routing device and power-saving method, device

Family Cites Families (5)

* 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
CN103024008B (en) * 2012-12-03 2016-03-16 中国联合网络通信集团有限公司 The method, apparatus and system of transfer of data in Internet of Things
WO2015093070A1 (en) * 2013-12-16 2015-06-25 三菱電機株式会社 Gateway, management center, and remote access system
US10119714B2 (en) * 2014-09-10 2018-11-06 Cielo WiGle Inc. System and method for remotely controlling IR-enabled appliances via networked device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040251908A1 (en) * 2003-06-16 2004-12-16 Midtronics, Inc. Electronic battery tester having a user interface to configure a printer
CN103533619A (en) * 2012-07-05 2014-01-22 华为技术有限公司 Mobile communication terminal and power management method thereof
CN106209652A (en) * 2015-05-08 2016-12-07 西安中兴新软件有限责任公司 A kind of routing device and power-saving method, device
CN105391124A (en) * 2015-11-20 2016-03-09 宇龙计算机通信科技(深圳)有限公司 Cell device management method, and cell device and system

Also Published As

Publication number Publication date
CN107547208A (en) 2018-01-05
CN107547208B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
US9524194B2 (en) Performing services on behalf of physical devices
EP3095293B1 (en) Method and apparatus for bluetooth low energy suspend and resume
CN107995036A (en) Data transmission method, device, server and readable storage medium storing program for executing
US8266256B2 (en) Virtualization for low-power networks
WO2019015051A1 (en) Method and apparatus for switching operating modes
CN103297306B (en) A kind of agriculture Internet of things system
WO2019019285A1 (en) Resource control method and apparatus
WO2023115829A1 (en) Edge computing resource allocation method, apparatus and device, and storage medium
CN104935390A (en) Synchronized low-energy detection technique
WO2020157261A1 (en) Wake-up signal grouping based on paging probability
WO2011102698A2 (en) Method and apparatus for device synchronization and power conservation in a wireless communication system
CN107483234B (en) Method and device for split backup of access point of Internet of things
JP2016511583A (en) System and method for power saving of multicast and broadcast data
WO2019019288A1 (en) Power saving mode switching method and apparatus
WO2019010799A1 (en) Internet of things terminal migration method and gateway
WO2019015036A1 (en) Repeater bridging method and gateway
WO2019019289A1 (en) Energy saving method and apparatus
US8725089B2 (en) First hub and second hub communicating by temporal connection between different wireless body area networks (WBANs) and communication method thereof
WO2019019286A1 (en) Method and apparatus for controlling power
US20220408340A1 (en) Wireless communication service responsive to an artificial intelligence (ai) network
CN109041265A (en) A kind of core network access method and base station
WO2019019281A1 (en) Internet of things terminal control method and internet of things access point
WO2019019284A1 (en) Energy control method and apparatus
CN111786899A (en) Internet of things communication method and related equipment
CN116527439B (en) Data communication method, device, computer equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919038

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: 1205A 27.05.2020

122 Ep: pct application non-entry in european phase

Ref document number: 17919038

Country of ref document: EP

Kind code of ref document: A1