CN113473406A - Method, device, computer storage medium and terminal for realizing equipment management - Google Patents

Method, device, computer storage medium and terminal for realizing equipment management Download PDF

Info

Publication number
CN113473406A
CN113473406A CN202110762034.4A CN202110762034A CN113473406A CN 113473406 A CN113473406 A CN 113473406A CN 202110762034 A CN202110762034 A CN 202110762034A CN 113473406 A CN113473406 A CN 113473406A
Authority
CN
China
Prior art keywords
information
gateway
sensor
equipment
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110762034.4A
Other languages
Chinese (zh)
Inventor
张文明
张铁强
陈晓莹
田琴
陶炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Zhileng Iot Technology Co ltd
Original Assignee
Jiangsu Zhileng Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Zhileng Iot Technology Co ltd filed Critical Jiangsu Zhileng Iot Technology Co ltd
Priority to CN202110762034.4A priority Critical patent/CN113473406A/en
Publication of CN113473406A publication Critical patent/CN113473406A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • 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
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
    • H04W52/283Power depending on the position of the mobile
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/365Power headroom reporting
    • 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

Abstract

The embodiment of the invention discloses a method, a device, a computer storage medium and a terminal for realizing equipment management.

Description

Method, device, computer storage medium and terminal for realizing equipment management
Technical Field
The present disclosure relates to, but not limited to, wireless sensor network technologies, and in particular, to a method, an apparatus, a computer storage medium, and a terminal for implementing device management.
Background
The wireless sensor network is mainly applied to the fields of medical treatment, industry and the like. A wireless sensor network is composed of a large number of sensor devices, which are usually powered by batteries. In order to meet the application requirements of real-time monitoring, protection and control of the sensor equipment, the sensor equipment needs to be in a working state for a long time. How to effectively reduce the energy consumption of the sensor device becomes an important challenge for the wireless sensor network.
Under the industrial gas environment, the sensor equipment respectively uploads data, so that the resource occupation is high and the power consumption is large. The wireless self-organizing network technology has the characteristics of independent free networking and low power, is very suitable for the requirements of a wireless sensor network on large equipment quantity, long monitoring time and short response time, and is applied to the acquisition and transmission processing of the service data of the wireless sensor network.
In the wireless sensor network in the related art, the set gateway uploads the service data acquired by the terminal in the network to the server for processing the service data, the gateway has high power consumption and high electricity consumption, and once the electricity of the gateway is insufficient, the transmission and processing of the service data are influenced.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
Embodiments of the present invention provide a method and an apparatus for implementing device management, a computer storage medium, and a terminal, which can avoid a problem of fast power consumption of a gateway.
The embodiment of the invention provides a method for realizing equipment management, which comprises the following steps:
the method comprises the steps that a server obtains equipment information of sensor equipment in a preset area;
determining the working time length reference information of each sensor device according to the acquired device information;
electing sensor equipment serving as a gateway according to the determined working duration reference information;
informing all sensor devices of the enumerated gateways;
the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
In an exemplary embodiment, the server acquiring device information of sensor devices in a preset area includes:
the method comprises the steps that a server sends a reporting instruction for reporting equipment information to sensor equipment in a preset area;
and receiving the device information reported by the sensor devices in the preset area according to the reporting instruction.
The device information includes: remaining power information, signal strength information, and location information. The determining of the reference information of the working time length of each sensor device includes:
calculating the operating time reference information P of each sensor device by the following formula:
P=fp*cost/Ln
wherein f ispCalculating an adjustment proportion and a coefficient obtained by the cost according to the device position information, the residual electric quantity information and the signal intensity information, wherein n is a propagation factor, for the basic transmitting power of the sensor device; (L × Q1+ B × Q2+ R × Q3) + Delta; q1, Q2, and Q3 are weights of the device position information, the remaining power information, and the signal strength information that are set in advance, and Q1+ Q2+ Q3 is 1; the L represents a transmission power related value corresponding to the equipment position information, and the Q1 is a preset power weight corresponding to the equipment position information;
Figure BDA0003150285760000021
Plfor the sensor device in an initial position L0Value of transmission power of time,/iIs the distance value from the base station, P, at the time of the position change of the sensor deviceb1Is the saidiA corresponding minimum transmit power value; b is a calculated value of the remaining capacity of the device, Q2 is a power weight of the remaining capacity of the device,
Figure BDA0003150285760000022
the m represents the ranking of the sensor devices, and the N represents the total number of the sensor devices; b (d)i) Indicates the remaining capacity of the i-th sensor device, B (D)p,k) Representing the remaining capacity in the sensor device k as a gateway; r is a calculated value of the signal strength of the sensor device,
Figure BDA0003150285760000023
Prfor signal strength, R0Value of the generated power, r, corresponding to the initial signal strength of the sensor device at the current locationiFor preset signal strength values, P, corresponding to different distances between the sensor equipment and the base stationb2The minimum transmitting power value corresponding to the real-time signal strength of the sensor equipment at the current position is obtained, and Q3 is the power weight of the signal strength of the equipment; delta is a preset compensation coefficient.
In one illustrative example, the electing the sensor device as the gateway according to the determined operating time reference information includes:
and electing the sensor equipment with the maximum determined working time length reference information P as the gateway.
In an exemplary instance, after notifying each sensor device of the elected gateway, the method further comprises:
when the selected service data sent by the gateway is not received within a first preset time length, determining whether the communication of the gateway is interrupted; when the gateway communication is determined to be interrupted, reselecting one from other sensor devices except the gateway as the gateway; and/or the presence of a gas in the gas,
when receiving gateway communication failure information sent by sensor equipment except the gateway, determining whether the gateway is interrupted in communication; and when the communication interruption of the gateway is determined, reselecting one from other sensor devices except the gateway as the gateway.
On the other hand, an embodiment of the present invention further provides a method for implementing device management, including:
reporting the equipment information to a server;
receiving a notification of a gateway elected by a server according to the equipment information;
sending the collected service data to the election gateway according to the received notification;
the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
In an exemplary embodiment, the reporting the device information to the server includes:
receiving a reporting instruction of reporting equipment information from a server;
and reporting the equipment information according to the received reporting instruction.
In an exemplary instance, when sending the collected data to the election gateway according to the received notification, the method further includes:
and closing the wide area wireless communication network of the local transmission network and keeping the local transmission network open.
In an exemplary instance, when sending the collected service data to the election gateway according to the received notification, the method further includes:
starting a wide area wireless communication network when the service data is failed to be sent to the gateway;
and sending a message of gateway communication failure to the server through the opened wide area wireless communication network.
In another aspect, an embodiment of the present invention further provides a method for implementing device management, where the method includes:
reporting the equipment information to a server;
receiving a notification that the self is elected as a gateway;
receiving service data sent by other sensor equipment in a network, and sending the received service data to a server;
wherein the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
In an exemplary instance, when the received service data is transmitted to the server, the method further includes:
and sending the self-collected service data to the server.
In a further aspect, an embodiment of the present invention further provides a computer storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for implementing device management is implemented.
In another aspect, an embodiment of the present invention further provides a terminal, including: a memory and a processor, the memory having a computer program stored therein; wherein the content of the first and second substances,
the processor is configured to execute the computer program in the memory;
the computer program, when executed by the processor, implements a method of implementing device management as described above.
In another aspect, an embodiment of the present invention further provides an apparatus for implementing device management, where the apparatus includes: the system comprises a first acquisition unit, a determination unit, an election unit and a notification unit; wherein the content of the first and second substances,
the first acquisition unit is configured to: acquiring equipment information of sensor equipment in a preset area;
the determination unit is configured to: determining the working time length reference information of each sensor device according to the acquired device information;
the election unit is set as follows: electing sensor equipment serving as a gateway according to the determined working duration reference information;
the notification unit is configured to: and informing each sensor device of the enumerated gateway.
In another aspect, an embodiment of the present invention further provides an apparatus for implementing device management, where the apparatus includes: a second reporting unit, a second receiving unit and a second sending unit; wherein the content of the first and second substances,
the second reporting unit is set as follows: reporting the equipment information to a server; the second receiving unit is configured to: receiving a notification of a gateway elected by a server according to the equipment information;
the second sending unit is configured to: and sending the collected service data to the election gateway according to the received notification.
In another aspect, an embodiment of the present invention further provides an apparatus for implementing device management, where the apparatus includes: a third reporting unit, a third receiving unit and a transmission data unit; wherein the content of the first and second substances,
the third reporting unit is set as follows: reporting the equipment information to a server;
the third receiving unit is configured to: receiving a notification that the self is elected as a gateway;
the transmission data unit is set as: receiving service data sent by other sensor equipment in a network, and sending the received service data to a server;
the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flowchart of a method for implementing device management according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for implementing device management according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for implementing device management according to another embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for implementing device management according to an embodiment of the present invention;
FIG. 5 is a block diagram of another apparatus for implementing device management according to an embodiment of the present invention;
FIG. 6 is a block diagram of an apparatus for implementing device management according to another embodiment of the present invention;
fig. 7 is a schematic view of communication interaction of the sensor network according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Fig. 1 is a flowchart of a method for implementing device management according to an embodiment of the present invention, as shown in fig. 1, including:
step 101, a server acquires equipment information of sensor equipment in a preset area; wherein the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
In an exemplary embodiment, the device information according to the embodiment of the present invention may be adjusted by a person skilled in the art according to information required by electing a gateway, and for example, the method may further include: internet Protocol (IP) address information,
102, determining working time length reference information of each sensor device according to the acquired device information;
in an exemplary embodiment, the device information of the embodiment of the present invention includes: determining the working time length reference information of each sensor device by using the residual electric quantity information, the signal intensity information and the position information, wherein the working time length reference information comprises the following steps:
calculating the working time length reference information P of each sensor device by the following formula:
P=fp*cost/Ln
wherein f ispCalculating an adjustment proportion and a coefficient obtained by cost according to the equipment position information, the residual electric quantity information and the signal intensity information for the basic transmitting power of the sensor equipment, wherein n is a propagation factor; cost ═ (L × Q1+ B × Q2+ R × Q3) + Delta; q1, Q2, and Q3 are weights of preset device position information, remaining power information, and signal strength information, and Q1+ Q2+ Q3 is 1; l represents a transmission power related value corresponding to the device location information, and Q1 is a power weight corresponding to the device location information set in advance;
Figure BDA0003150285760000071
Plfor the sensor device in an initial position L0Value of transmission power of time,/iIs the distance value from the base station, P, when the position of the sensor device changesb1Is 1iA corresponding minimum transmit power value; b is a calculated value of the remaining capacity of the device, Q2 is a power weight of the remaining capacity of the device,
Figure BDA0003150285760000072
m denotes the rank of the sensor device, N tableIndicating the total number of sensor devices; b (d)i) Indicates the remaining capacity of the i-th sensor device, B (D)p,k) Representing the remaining capacity in the sensor device k as a gateway; r is a calculated value of the signal strength of the sensor device,
Figure BDA0003150285760000073
Prfor signal strength, R0Value of the generated power, r, corresponding to the initial signal strength of the sensor device at the current locationiFor preset signal strength values, P, corresponding to different distances between the sensor equipment and the base stationb2The minimum transmitting power value corresponding to the real-time signal strength of the sensor equipment at the current position is obtained, and Q3 is the power weight of the signal strength of the equipment; delta is a preset compensation coefficient.
In an illustrative example,/, in embodiments of the inventioniThe data can be obtained through data uploaded by the sensor equipment; pb1Is 1iA corresponding minimum transmit power; if the initial position is 100 meters, the power is reduced, packet loss is taken as a boundary, and the situation of packet loss occurs in the actual measurement position changing process, at the moment, Pb1Is the minimum transmission power. R0And Pb2Obtained by testing.
And step 103, notifying each sensor device of the selected gateway.
In one illustrative example, electing a sensor device as a gateway based on the determined duration of operation reference information comprises:
and electing the sensor equipment with the maximum reference information P of the determined working time length as a gateway.
In an exemplary embodiment, after notifying each sensor device of the elected gateway, the method in the embodiment of the present invention further includes:
when the selected service data sent by the gateway is not received within the first preset time, determining whether the communication of the gateway is interrupted; when the communication interruption of the gateway is determined, reselecting one from other sensor equipment except the gateway as the gateway; and/or the presence of a gas in the gas,
when receiving gateway communication failure information sent by sensor equipment except a gateway, determining whether the gateway is interrupted in communication; and when the communication interruption of the gateway is determined, reselecting one from the other sensor devices except the gateway as the gateway.
In an exemplary embodiment, the embodiment of the present invention may obtain the remaining power information of the gateway, and when the remaining power of the gateway is less than the preset power, re-execute the process of issuing the reporting instruction, and elect a new gateway according to the newly received device information; in an exemplary example, the preset duration may be set as the duration for reselecting the gateway, and the preset duration may be determined by a person skilled in the art according to analysis of parameters of the sensor device, including the total power, the remaining power, and the like.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
The embodiment of the invention also provides a computer storage medium, wherein a computer program is stored in the computer storage medium, and when being executed by a processor, the computer program realizes the method for realizing the equipment management.
Fig. 2 is a flowchart of another method for implementing device management according to another embodiment of the present invention, as shown in fig. 2, including:
step 201, reporting equipment information to a server;
in an exemplary embodiment, the device information in the embodiment of the present invention includes information related to the operation time of the sensor device, which is one or any combination of the following: remaining power information, signal strength information, and location information.
In an exemplary embodiment, reporting device information to a server in an embodiment of the present invention includes:
receiving a reporting instruction of reporting equipment information from a server;
and reporting the equipment information according to the received reporting instruction.
Step 202, receiving a notification of a gateway selected by a server according to the equipment information;
step 203 sends the collected service data to the election gateway according to the received notification.
In an exemplary embodiment, when sending the collected data to the election gateway according to the received notification, the method in the embodiment of the present invention further includes:
closing the wide area wireless communication network and keeping the local transmission network open.
In one illustrative example, the local transmission may include: long Range Radio (LoRa), narrowband internet of things (NB-ITO), bluetooth, and the like.
In an exemplary embodiment, when sending the collected service data to the election gateway according to the received notification, the method in the embodiment of the present invention further includes:
when the service data is sent to the gateway and fails, the wide area wireless communication network is started;
and sending a message of gateway communication failure to the server through the opened wide area wireless communication network.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
An embodiment of the present invention further provides a terminal, including: a memory and a processor, the memory having stored therein a computer program; wherein the content of the first and second substances,
the processor is configured to execute the computer program in the memory;
the computer program, when executed by a processor, implements a method of implementing device management as described above.
Fig. 3 is a flowchart of a method for implementing device management according to another embodiment of the present invention, as shown in fig. 3, including:
step 301, reporting equipment information to a server;
in an illustrative example, the device information of the embodiment of the present invention includes information related to the operation time of the sensor device, which is one or any combination of the following: remaining power information, signal strength information, and location information.
In an exemplary embodiment, reporting device information to a server in an embodiment of the present invention includes:
receiving a reporting instruction of reporting equipment information from a server;
and reporting the equipment information according to the received reporting instruction.
Step 303, receiving a notification that the user is elected as a gateway;
and step 304, receiving the service data sent by other sensor devices in the network, and sending the received service data to the server.
In an exemplary embodiment, when sending the received service data to the server, the method in the embodiment of the present invention further includes:
and sending the self-collected service data to a server.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
An embodiment of the present invention further provides a terminal, including: a memory and a processor, the memory having stored therein a computer program; wherein the content of the first and second substances,
the processor is configured to execute the computer program in the memory;
the computer program, when executed by a processor, implements a method of implementing device management as described above.
Fig. 4 is a block diagram of an apparatus for implementing device management according to an embodiment of the present invention, as shown in fig. 4, including: the system comprises a first acquisition unit, a determination unit, an election unit and a notification unit; wherein the content of the first and second substances,
the first acquisition unit is configured to: acquiring equipment information of sensor equipment in a preset area;
the determination unit is configured to: determining the working time length reference information of each sensor device according to the acquired device information;
the election unit is set as follows: electing sensor equipment serving as a gateway according to the determined working duration reference information;
the notification unit is configured to: and informing each sensor device of the enumerated gateway.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
In an illustrative example, the device information in the embodiment of the present invention includes:
remaining power information, signal strength information, and location information.
In an exemplary instance, the first obtaining unit includes a first sending module and a first receiving module; wherein the content of the first and second substances,
the first sending module is set as follows: sending a reporting instruction for reporting equipment information to sensor equipment in a preset area;
the first receiving module is configured to: and receiving the device information reported by the sensor devices in the preset area according to the reporting instruction.
In an exemplary example, the device information in the embodiment of the present invention includes remaining power information, signal strength information, and location information;
in an exemplary embodiment, the determining unit of the embodiment of the present invention is configured to:
calculating the working time length reference information P of each sensor device by the following formula:
P=fp*cost/Ln
wherein f ispCalculating an adjustment proportion and a coefficient obtained by cost according to the equipment position information, the residual electric quantity information and the signal intensity information for the basic transmitting power of the sensor equipment, wherein n is a propagation factor; cost ═ (L × Q1+ B × Q2+ R × Q3) + Delta; q1, Q2, and Q3 are weights of preset device position information, remaining power information, and signal strength information, and Q1+ Q2+ Q3 is 1; l represents a transmission power related value corresponding to the device location information, and Q1 is a power weight corresponding to the device location information set in advance;
Figure BDA0003150285760000111
Plfor the sensor device in an initial position L0Value of transmission power of time,/iIs the distance value from the base station, P, when the position of the sensor device changesb1Is 1iA corresponding minimum transmit power value; b is a calculated value of the remaining capacity of the device, Q2 is a power weight of the remaining capacity of the device,
Figure BDA0003150285760000112
m represents the ranking of the sensor devices, N represents the total number of sensor devices; b (d)i) Indicates the remaining capacity of the i-th sensor device, B (D)p,k) Representing the remaining capacity in the sensor device k as a gateway; r is a calculated value of the signal strength of the sensor device,
Figure BDA0003150285760000121
Prfor signal strength, R0Value of the generated power, r, corresponding to the initial signal strength of the sensor device at the current locationiFor preset signal strength values, P, corresponding to different distances between the sensor equipment and the base stationb2The minimum transmitting power value corresponding to the real-time signal strength of the sensor equipment at the current position is obtained, and Q3 is the power weight of the signal strength of the equipment; delta is a preset compensation coefficient.
In an exemplary embodiment, the election unit in the embodiment of the present invention is configured to:
and electing the sensor equipment with the maximum determined working time reference information P as a gateway.
In an exemplary embodiment, the election unit in the embodiment of the present invention is further configured to:
when the selected service data sent by the gateway is not received within the first preset time, determining whether the communication of the gateway is interrupted; when the communication interruption of the gateway is determined, reselecting one from other sensor equipment except the gateway as the gateway; and/or the presence of a gas in the gas,
when receiving gateway communication failure information sent by sensor equipment except a gateway, determining whether the gateway is interrupted in communication; and when the communication interruption of the gateway is determined, reselecting one from the other sensor devices except the gateway as the gateway.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
Fig. 5 is a block diagram of another apparatus for implementing device management according to another embodiment of the present invention, as shown in fig. 5, including: a second reporting unit, a second receiving unit and a second sending unit; wherein the content of the first and second substances,
the second reporting unit is set as follows: reporting the equipment information to a server;
in one illustrative example, the device information includes information relating to the sensor device operating duration in one or any combination of the following: remaining power information, signal strength information, and location information.
The second receiving unit is configured to: receiving a notification of a gateway elected by a server according to the equipment information;
the second sending unit is configured to: and sending the collected service data to the election gateway according to the received notification.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
In an exemplary embodiment, the second reporting unit includes: the second receiving module and the second reporting module; wherein the content of the first and second substances,
the second receiving module is configured to: receiving a reporting instruction of reporting equipment information from a server;
the second reporting module is set as follows: and reporting the equipment information according to the reporting instruction received by the second receiving module.
In an exemplary embodiment, the apparatus in an embodiment of the present invention further includes a network adjusting unit, configured to:
and when the collected data is sent to the election gateway according to the received notification, closing the wide area wireless communication network and keeping the local transmission network open.
In one illustrative example, the local transmission may include: long Range Radio (LoRa), narrowband internet of things (NB-ITO), bluetooth, and the like
In an exemplary embodiment, the second reporting unit of the apparatus in the embodiment of the present invention further includes a second sending module, configured to:
and when the second sending unit fails to send the service data to the gateway, sending a message of gateway communication failure to the server through the wide area wireless communication network.
Fig. 6 is a block diagram of a device for implementing device management according to another embodiment of the present invention, as shown in fig. 6, including: a third reporting unit, a third receiving unit and a transmission data unit; wherein the content of the first and second substances,
the third reporting unit is set as follows: reporting the equipment information to a server;
in an illustrative example, the device information of the embodiment of the present invention includes information related to the operation time of the sensor device, which is one or any combination of the following: remaining power information, signal strength information, and location information;
the third receiving unit is configured to: receiving a notification that the self is elected as a gateway;
the transmission data unit is set as: and receiving the service data sent by other sensor equipment in the network, and sending the received service data to the server.
According to the embodiment of the invention, the server acquires the equipment information related to the working time of the sensor equipment, and after the working time reference information is determined according to the acquired equipment information, the gateway for uploading the service data is elected according to the working time reference information, so that the problem of high gateway electricity consumption caused by adopting a fixed gateway is solved, the stability of the sensor network is improved, and a foundation is provided for ensuring the stability of service data transmission and processing.
In an exemplary embodiment, the third reporting unit includes: a third receiving module and a third reporting module; wherein the content of the first and second substances,
the third receiving module is arranged as follows: receiving a reporting instruction of reporting equipment information from a server;
the third reporting module is set as follows: and reporting the equipment information according to the reporting instruction received by the second receiving module.
In one illustrative example, the transmission data unit is further configured to: and sending the self-collected service data to a server.
The following is a brief description of the embodiments of the present invention by way of application examples, which are only used to illustrate the embodiments of the present invention and are not used to limit the scope of the present invention.
Application example
Fig. 7 is a schematic view of communication interaction of a sensor network according to an example of the application, and as shown in fig. 7, the sensor network includes: the server, the sensor device (device a, device B, device C, and device D in the figure) and the sensor device are mobile terminals with wireless communication transceiving functions, and the communication interaction process of the application example includes:
step 701, a server determines sensor equipment in a preset area and sends a reporting instruction for reporting equipment information to the sensor equipment through a mobile network; here, the sensor devices in the preset area may be detected and discovered through the mobile network.
Step 702, after receiving a reporting instruction, the sensor device sends device information to a server according to the reporting instruction; the device information may include basic information of the device, such as an IP address, a remaining power, a signal strength, a location, and the like.
And step 703, the server selects one of the sensor devices reporting the device information as a gateway according to the received device information.
Step 704, the server notifies the selected gateway to the equipment in the network through a notification message;
step 705, the device elected as the gateway (assuming that the gateway is device a) receives service data collected by other devices in the network;
step 706, the selected gateway receives the service data collected by other sensor devices in the network, and sends the received service data and the service data collected by the gateway to the server.
The application example sends the acquired service data to the server in a gateway election mode, so that the problems of data confusion and the like caused by uploading of the service data by a large amount of sensor equipment can be effectively avoided; the problems of large power consumption, long uploading time and the like caused by independent uploading of each sensor device can be avoided, and efficient transmission of service data is realized.
In an exemplary embodiment, if the service data received by the server from the gateway is longer than a first preset time, the server may determine whether the communication of the gateway is interrupted, and if the communication of the gateway is interrupted, trigger a process of reselecting the gateway.
When the network is initialized, all the sensor devices have the same power, but the distances from the sensor devices to the gateway are not always the same, so that the transmission rates of the sensor devices are different, and the energy consumption is also different. Assuming that the power consumption of the device a for uploading data to the platform through the mobile network is X1, the power consumption of the device B for uploading data to the platform through the mobile network is X2, and so on, the power consumption of all the devices for uploading data to the platform is X, that is, X is X1+ X2+ X3+ X4, so it can be seen that each sensor device uploads data information separately, and there will be a large power consumption.
According to the application example, when the gateway is selected, the gateway needs to be selected by the server according to the uploaded equipment information, and therefore the electricity consumption of the equipment is effectively balanced.
The application example can acquire the residual electric quantity information of the gateway, when the residual electric quantity of the gateway is smaller than the preset electric quantity, the processing of issuing the reporting instruction is executed again, and a new gateway is elected according to the newly received equipment information; in an exemplary example, the application example may further set a preset time duration as the time duration for reselecting the gateway, where the preset time duration may be determined by analysis performed by a person skilled in the art according to parameters of the sensor device, including the total power, the remaining power, and the like.
If the sensor equipment is elected as a gateway, receiving service data acquired by other sensor equipment; if the gateway is replaced, the new gateway replaces the original gateway to receive and send the service data, and when the sensor equipment does not operate as the gateway, the relevant information of the sensor equipment stored when the gateway receives the service data is deleted.
In the application example, the sensor equipment except the gateway can periodically collect the service data and send the service data to the gateway, and the sensor equipment can enter a dormant state at other time to save electric quantity; the gateway may periodically transmit the received traffic data to the server. According to the application example, the electric quantity consumption of the rest sensor equipment is reduced by electing the gateway and sending the service data of the rest sensor equipment through the gateway, and data transmission is carried out in a wireless mode, so that the network energy efficiency is improved, and the life cycle of the sensor equipment is prolonged.
Take device a as an example. The server uploads the data through all the sensor devices stored in the memory, and the data comprise: the method comprises the steps that devices such as residual power information, signal strength information, gateway selection times and position information are determined to be a gateway through set election rules. The server sends a notification that election device a is a gateway to device a, device B, device C, and device D. The device A receives the information that the device A is the gateway, and the original function is kept unchanged. After receiving the information that the gateway is the device A, the devices B, C and D close the wide area wireless communication network (wireless module) and keep the local transmission network open, thereby avoiding the situation that the sensor devices except the gateway independently upload service data to the server, causing confusion of uploaded data information and resource waste, and realizing low power consumption.
When the sensor equipment works, the equipment A, the equipment B, the equipment C and the equipment D acquire service data, the equipment B, the equipment C and the equipment D periodically communicate with the equipment A serving as a gateway through local transmission, acquired data information is sent to the gateway equipment A through a low-power-consumption network of a local transmission network, the gateway equipment A sorts the acquired service data and the received service data from the equipment B, the equipment C and the equipment D and sends the service data to a server through a mobile network, and the server receives all the service data uploaded by the gateway equipment A.
If the server receives the data uploaded by the gateway device A, the following steps occur: if the service data transmission is unsuccessful or the server responds to a data reception timeout, the server will make a detailed record of the occurrence of the condition.
If the server detects that the state of the gateway device A is communication interruption (fail), or the gateway device A cannot periodically upload service data, the server will reselect a new gateway; or more than one of the device B, the device C and the device D, when the service data is transmitted to the gateway device a, and when it is detected that the state of the gateway device a is communication interruption, the device B, the device C or the device D may start the wide area wireless communication network, send the state of the gateway device a to the server, the server detects the state of the gateway device a, when it is found that the state of the gateway device a is communication interruption, reselect a new gateway, and the elected new gateway device replaces the original gateway device a to periodically upload the service data. If the newly elected gateway device is the device B, the server will send the notification of the newly elected gateway to the device a, the device B, the device C, and the device D, in the same manner as the data receiving and sending of the original gateway device a. If the residual electric quantity is insufficient or the cost of the wireless network card is insufficient, the device A can still upload the acquired service data to the gateway through the local transmission network although the gateway cannot be selected. The application example aims at the problems of selection of the gateway and low circuit application efficiency, effectively improves the application efficiency of network resources and equipment electric quantity, and prolongs the operation period of the sensor network.
"one of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (16)

1. A method of implementing device management, comprising:
the method comprises the steps that a server obtains equipment information of sensor equipment in a preset area;
determining the working time length reference information of each sensor device according to the acquired device information;
electing sensor equipment serving as a gateway according to the determined working duration reference information;
informing all sensor devices of the enumerated gateways;
wherein the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
2. The method of claim 1, wherein the server acquires device information of sensor devices in a preset area, and comprises:
the server sends a reporting instruction for reporting equipment information to the sensor equipment in the preset area;
and receiving the device information reported by the sensor devices in the preset area according to the reporting instruction.
3. The method of claim 1, wherein the device information comprises: the determining of the working time reference information of each sensor device includes:
calculating the operating time reference information P of each sensor device by the following formula:
P=fp*cost/Ln
wherein, the fp(ii) the cost ═ Q1+ B × Q2+ R × Q3) + Delta for the base transmit power of the sensor device; q1, Q2, and Q3 are weights of the device position information, the remaining power information, and the signal strength information that are set in advance, and Q1+ Q2+ Q3 is 1; the L meterIndicating a transmission power related value corresponding to the device location information, wherein the Q1 is a preset power weight corresponding to the device location information;
Figure FDA0003150285750000011
Plfor the sensor device in an initial position L0Value of transmission power of time,/iIs the distance value from the base station, P, at the time of the position change of the sensor deviceb1Is the saidiA corresponding minimum transmit power value; b is a calculated value of the remaining capacity of the device, Q2 is a power weight of the remaining capacity of the device,
Figure FDA0003150285750000012
the m represents the ranking of the sensor devices, and the N represents the total number of the sensor devices; b (d)i) Indicates the remaining capacity of the i-th sensor device, B (D)p,k) Representing the remaining capacity in the sensor device k as a gateway; r is a calculated value of the signal strength of the sensor device,
Figure FDA0003150285750000021
Prfor signal strength, R0Value of the generated power, r, corresponding to the initial signal strength of the sensor device at the current locationiFor preset signal strength values, P, corresponding to different distances between the sensor equipment and the base stationb2The minimum transmitting power value corresponding to the real-time signal strength of the sensor equipment at the current position is obtained, and Q3 is the power weight of the signal strength of the equipment; delta is a preset compensation coefficient.
4. The method of claim 3, wherein electing the sensor device as a gateway based on the determined duration of operation reference information comprises:
and electing the sensor equipment with the maximum determined working time length reference information P as the gateway.
5. The method according to any one of claims 1 to 4, wherein after notifying each sensor device of the elected gateway, the method further comprises:
when the selected service data sent by the gateway is not received within a first preset time length, determining whether the communication of the gateway is interrupted; when the gateway communication is determined to be interrupted, reselecting one from other sensor devices except the gateway as the gateway; and/or the presence of a gas in the gas,
when receiving gateway communication failure information sent by sensor equipment except the gateway, determining whether the gateway is interrupted in communication; and when the communication interruption of the gateway is determined, reselecting one from other sensor devices except the gateway as the gateway.
6. A method of implementing device management, comprising:
reporting the equipment information to a server;
receiving a notification of a gateway elected by a server according to the equipment information;
sending the collected service data to the election gateway according to the received notification;
the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
7. The method of claim 6, wherein reporting the device information to the server comprises:
receiving a reporting instruction of reporting equipment information from the server;
and reporting the equipment information according to the received reporting instruction.
8. The method of claim 6 or 7, when sending the collected data to the election gateway in accordance with the received notification, the method further comprising:
closing the wide area wireless communication network and keeping the local transmission network open.
9. The method of claim 8, wherein when sending the collected service data to the election gateway according to the received notification, the method further comprises:
starting a wide area wireless communication network when the service data is failed to be sent to the gateway;
and sending a message of gateway communication failure to the server through the opened wide area wireless communication network.
10. A method of implementing device management, comprising:
reporting the equipment information to a server;
receiving a notification that the self is elected as a gateway;
receiving service data sent by other sensor equipment in a network, and sending the received service data to a server;
wherein the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
11. The method of claim 10, wherein when sending the received service data to the server, the method further comprises:
and sending the self-collected service data to the server.
12. A computer storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing a method of implementing device management as claimed in any of claims 1-5.
13. A terminal, comprising: a memory and a processor, the memory having a computer program stored therein; wherein the content of the first and second substances,
the processor is configured to execute the computer program in the memory;
the computer program, when executed by the processor, implements a method of implementing device management as claimed in any of claims 6-9 or 11-12.
14. An apparatus for implementing device management, comprising: the system comprises a first acquisition unit, a determination unit, an election unit and a notification unit; wherein the content of the first and second substances,
the first acquisition unit is configured to: acquiring equipment information of sensor equipment in a preset area;
the determination unit is configured to: determining the working time length reference information of each sensor device according to the acquired device information;
the election unit is set as follows: electing sensor equipment serving as a gateway according to the determined working duration reference information;
the notification unit is configured to: and informing each sensor device of the enumerated gateway.
15. An apparatus for implementing device management, comprising: a second reporting unit, a second receiving unit and a second sending unit; wherein the content of the first and second substances,
the second reporting unit is set as follows: reporting the equipment information to a server;
the second receiving unit is configured to: receiving a notification of a gateway elected by a server according to the equipment information;
the second sending unit is configured to: sending the collected service data to the election gateway according to the received notification;
the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
16. An apparatus for implementing device management, comprising: a third reporting unit, a third receiving unit and a transmission data unit; wherein the content of the first and second substances,
the third reporting unit is set as follows: reporting the equipment information to a server;
the third receiving unit is configured to: receiving a notification that the self is elected as a gateway;
the transmission data unit is set as: receiving service data sent by other sensor equipment in a network, and sending the received service data to a server;
wherein the device information comprises information related to the working time of the sensor device, and the information comprises one or any combination of the following information: remaining power information, signal strength information, and location information.
CN202110762034.4A 2021-07-06 2021-07-06 Method, device, computer storage medium and terminal for realizing equipment management Pending CN113473406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110762034.4A CN113473406A (en) 2021-07-06 2021-07-06 Method, device, computer storage medium and terminal for realizing equipment management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110762034.4A CN113473406A (en) 2021-07-06 2021-07-06 Method, device, computer storage medium and terminal for realizing equipment management

Publications (1)

Publication Number Publication Date
CN113473406A true CN113473406A (en) 2021-10-01

Family

ID=77878597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110762034.4A Pending CN113473406A (en) 2021-07-06 2021-07-06 Method, device, computer storage medium and terminal for realizing equipment management

Country Status (1)

Country Link
CN (1) CN113473406A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177174A1 (en) * 2017-03-30 2018-10-04 华为技术有限公司 Iot data reporting method, apparatus and system
CN109450746A (en) * 2018-10-17 2019-03-08 珠海格力电器股份有限公司 Method of network entry, device, server and the storage medium of power peak regulation system equipment
CN109548111A (en) * 2018-11-26 2019-03-29 三川智慧科技股份有限公司 A kind of LoRa group network system and gateway are from electoral machinery
CN112437477A (en) * 2020-10-21 2021-03-02 山东省科学院自动化研究所 Wireless sensor network routing method and system
CN112511392A (en) * 2021-02-05 2021-03-16 深圳市晶讯技术股份有限公司 Intelligent home network Combo equipment gateway selection method and control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018177174A1 (en) * 2017-03-30 2018-10-04 华为技术有限公司 Iot data reporting method, apparatus and system
CN109450746A (en) * 2018-10-17 2019-03-08 珠海格力电器股份有限公司 Method of network entry, device, server and the storage medium of power peak regulation system equipment
CN109548111A (en) * 2018-11-26 2019-03-29 三川智慧科技股份有限公司 A kind of LoRa group network system and gateway are from electoral machinery
CN112437477A (en) * 2020-10-21 2021-03-02 山东省科学院自动化研究所 Wireless sensor network routing method and system
CN112511392A (en) * 2021-02-05 2021-03-16 深圳市晶讯技术股份有限公司 Intelligent home network Combo equipment gateway selection method and control system

Similar Documents

Publication Publication Date Title
CN101217785B (en) Radio network, access point and client terminal apparatus of communication architecture
US9826334B2 (en) Method and apparatus for connection context aware radio communication management
US8498644B2 (en) Wireless communication system and handover method
EP2717627A2 (en) Method for simultaneous handover in a wireless access system that supports device-to-device communication and apparatus for supporting the method
CA2794886C (en) User equipment and method in mobile communication system
JP6342915B2 (en) Intelligent network operation
CN105472660A (en) Load balancing method and system and network equipment
EP2597911A1 (en) Method for reducing a time period to collect data from nodes of a wireless mesh communications network
EP3442196B1 (en) Method, device, and system for transmitting data
US9491643B2 (en) User apparatus and method in mobile communication system
CN111601268A (en) Cluster head selection method and device, terminal equipment and storage medium
CN112075102B (en) Bluetooth low energy networking method, electronic equipment, network and storage medium
AU2011246158B2 (en) User apparatus and method in mobile communication system
EP1966975A2 (en) System and method for management of a wireless environment
US11246071B2 (en) Method for managing a connection in a distributed wireless network
CN113473406A (en) Method, device, computer storage medium and terminal for realizing equipment management
US20180110010A1 (en) Extending battery life in low signal conditions
US10820186B2 (en) Method for assisting roaming of a mobile terminal between community wireless local area networks
CN112806047A (en) Information processing method and device, communication equipment and storage medium
JP4450663B2 (en) Wireless communication type automatic meter reading system
KR101170141B1 (en) Mobile terminal, the system and method to trace network charcteristic from mobile terminals
KR20180072318A (en) IoT network system for preventing data distortion
CN117295139A (en) Networking method and device of terminal, storage medium and electronic device
CN113473405A (en) Method, device, computer storage medium and terminal for realizing power adjustment
CN116437362A (en) Method, device and equipment for determining terminal capability reporting and scheduling strategies

Legal Events

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