CN110830318A - Method and device for detecting network state of Internet of things equipment - Google Patents
Method and device for detecting network state of Internet of things equipment Download PDFInfo
- Publication number
- CN110830318A CN110830318A CN201810905263.5A CN201810905263A CN110830318A CN 110830318 A CN110830318 A CN 110830318A CN 201810905263 A CN201810905263 A CN 201810905263A CN 110830318 A CN110830318 A CN 110830318A
- Authority
- CN
- China
- Prior art keywords
- internet
- power supply
- things
- supply current
- current value
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000001514 detection method Methods 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 10
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 18
- 239000003086 colorant Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/10—Current supply arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method and a device for detecting a network state of equipment of the Internet of things, and relates to the technical field of the Internet of things. The method comprises the following steps: detecting a power supply current value of an NB-IOT module of the Internet of things equipment; and determining the network state of the Internet of things equipment according to the power supply current value. The current consumption condition is obtained by detecting the power supply current of the NB-IOT module, and the network state of the Internet of things equipment is rapidly detected by utilizing the current difference of the NB-IOT module under different network states. The method and the device improve the response speed of detecting the network state of the Internet of things equipment, thereby improving the user experience.
Description
Technical Field
The present disclosure relates to the field of internet of things technology, and in particular, to a method and an apparatus for detecting a network state of an internet of things device.
Background
With the current network coverage of NB-IOT (Narrow Band Internet of Things), NB-IOT based terminal applications are increasing. Terminal developers or terminal applications have increasingly strong demands for network status query of terminal devices. The network state of the terminal equipment is displayed instantly and quickly, and visual experience of a terminal equipment user can be improved. The current inquiry of the network state of the NB-IOT terminal equipment mainly depends on the NETSTATUS (network state) inquiry port function of the module. However, most modules in the market currently do not support this function temporarily, and in the response process through the air interface query function, the query needs to be performed through UELOG (a log file of the user end), so the response speed is slow, and the user experience is poor.
Disclosure of Invention
One technical problem that this disclosed embodiment solved is: a method for detecting a network status of an Internet of things device is provided.
According to an aspect of the embodiments of the present disclosure, there is provided a method for detecting a network status of an internet of things device, including: detecting a power supply current value of an NB-IOT module of the Internet of things equipment; and determining the network state of the Internet of things equipment according to the power supply current value.
In some embodiments, the step of detecting the power supply current value of the NB-IOT module of the internet of things device includes: connecting a current detection unit into a power supply loop of the NB-IOT module; transmitting the detected power supply current value of the NB-IOT module to a Micro Control Unit (MCU) by utilizing the current detection unit; and the MCU converts the power supply current value into a power supply current value in a digital signal form through an analog-to-digital conversion function.
In some embodiments, the step of determining the network state of the internet of things device according to the power supply current value includes: and determining the network state of the equipment of the Internet of things according to the magnitude relation between the power supply current value and the threshold value.
In some embodiments, the threshold comprises a first threshold and a second threshold, wherein the first threshold < the second threshold; the step of determining the network state of the Internet of things equipment according to the magnitude relation between the power supply current value and the threshold value comprises the following steps: determining that the network state of the Internet of things equipment is a power saving mode state under the condition that the power supply current value is smaller than the first threshold value; determining that the network state of the Internet of things equipment is an idle state under the condition that the first threshold is not more than the power supply current value and is less than the second threshold; and determining that the network state of the Internet of things equipment is a connection state under the condition that the power supply current value is larger than or equal to the second threshold value.
In some embodiments, the method further comprises: and outputting a corresponding control level signal to a display unit according to the network state of the equipment of the Internet of things so as to display the network state of the equipment of the Internet of things.
In some embodiments, the display unit includes a light emitting device, wherein the light emitting device displays a network status of the internet of things device by a color of the emitted light.
According to another aspect of the embodiments of the present disclosure, there is provided an apparatus for detecting a network status of an internet of things device, including: the current detection unit is used for detecting the power supply current value of the narrow-band Internet of things NB-IOT module of the Internet of things equipment; and the micro control unit MCU is used for determining the network state of the Internet of things equipment according to the power supply current value.
In some embodiments, the current detection unit is connected in a power supply loop of the NB-IOT module; the current detection unit is used for transmitting the detected power supply current value of the NB-IOT module to the MCU; the MCU is used for converting the power supply current value into a power supply current value in a digital signal form through an analog-to-digital conversion function.
In some embodiments, the MCU is configured to determine a network state of the internet of things device according to a magnitude relationship between the power supply current value and a threshold.
In some embodiments, the threshold comprises a first threshold and a second threshold, wherein the first threshold < the second threshold; the MCU is used for: determining that the network state of the Internet of things equipment is a power saving mode state under the condition that the power supply current value is smaller than the first threshold value; determining that the network state of the Internet of things equipment is an idle state under the condition that the first threshold is not more than the power supply current value and is less than the second threshold; and determining that the network state of the Internet of things equipment is a connection state under the condition that the power supply current value is larger than or equal to the second threshold value.
In some embodiments, the apparatus further comprises: the display unit is used for displaying the network state of the equipment of the Internet of things according to the control level signal received from the MCU; the MCU is further used for outputting a corresponding control level signal to the display unit according to the network state of the Internet of things equipment.
In some embodiments, the display unit includes a light emitting device, wherein the light emitting device is configured to display a network status of the internet of things device by a color of the emitted light.
According to another aspect of the embodiments of the present disclosure, there is provided an apparatus for detecting a network status of an internet of things device, including: a memory; and a processor coupled to the memory, the processor configured to perform the method as previously described based on instructions stored in the memory.
According to another aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method as previously described.
In the method, the power supply current value of an NB-IOT module of the Internet of things equipment is detected; and determining the network state of the Internet of things equipment according to the power supply current value. According to the method, the current consumption condition is obtained by detecting the power supply current of the NB-IOT module, and the network state of the Internet of things equipment is rapidly detected by using the current difference of the NB-IOT module in different network states. The method improves the response speed of detecting the network state of the Internet of things equipment, thereby improving the user experience.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure may be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
fig. 1 is a flow diagram illustrating a method for detecting a network status of an internet of things device, in accordance with some embodiments of the present disclosure;
fig. 2 is a flow diagram illustrating a method for detecting a network status of an internet of things device according to further embodiments of the present disclosure;
fig. 3 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to some embodiments of the present disclosure;
fig. 4 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to further embodiments of the present disclosure;
fig. 5 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to further embodiments of the present disclosure;
fig. 6 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to further embodiments of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a flow diagram illustrating a method for detecting a network status of an internet of things device in accordance with some embodiments of the present disclosure. As shown in fig. 1, the method may include steps S102 to S104.
In step S102, the power supply current value of the NB-IOT module of the Internet of things equipment is detected. Here, the supply current of the NB-IOT module is the current flowing through the NB-IOT module.
In some embodiments, this step S102 may include: and connecting the current detection unit into a power supply loop of the NB-IOT module. The step S102 may further include: and transmitting the detected power supply current value of the NB-IOT module to an MCU (micro controller Unit) by using the current detection Unit. The step S102 may further include: the MCU converts the supply current value into a supply current value in the form of a Digital signal through an Analog-to-Digital Converter (ADC).
Generally, the power supply current value detected by the current detection unit is an analog signal, and the MCU usually processes a digital signal, so that after receiving the power supply current value in the form of an analog signal, the MCU converts the analog signal into the power supply current value in the form of a digital signal through its ADC function, so that the MCU can determine and analyze the power supply current value.
In step S104, the network state of the internet of things device is determined according to the power supply current value. Here, the network state of the internet of things device is the network state of the NB-IOT module.
In some embodiments, this step S104 may include: and determining the network state of the equipment of the Internet of things according to the magnitude relation between the power supply current value and the threshold value.
In some embodiments, the threshold may include a first threshold and a second threshold. The first threshold < the second threshold. For example, the first threshold is 1mA and the second threshold is 10 mA.
In some embodiments, the step of determining the network state of the internet of things device according to the magnitude relationship between the power supply current value and the threshold value may include the following steps:
determining that the network state of the internet of things device is a Power Saving Mode (PSM) state when the power supply current value is smaller than a first threshold;
determining that the network state of the Internet of things equipment is an Idle (IDEL) state under the condition that the first threshold value is less than or equal to the power supply current value and less than the second threshold value;
and determining that the network state of the Internet of things equipment is a connection state under the condition that the power supply current value is larger than or equal to a second threshold value.
To this end, methods for detecting a network status of an internet of things device according to some embodiments of the present disclosure are provided. In the method, the power supply current value of an NB-IOT module of the Internet of things equipment is detected; and determining the network state of the Internet of things equipment according to the power supply current value. According to the method, the current consumption condition is obtained by detecting the power supply current of the NB-IOT module, and the network state of the Internet of things equipment is rapidly detected by using the current difference of the NB-IOT module in different network states. The method improves the response speed of detecting the network state of the Internet of things equipment, thereby improving the user experience.
In some embodiments, the method may further comprise: and outputting the corresponding control level signal to a display unit according to the network state of the equipment of the Internet of things so as to display the network state of the equipment of the Internet of things. This enables real-time display of the network status of the internet of things device.
For example, the display unit may include a light emitting device. The light emitting device can display the network state of the internet of things equipment through the color of the emitted light.
Fig. 2 is a flowchart illustrating a method for detecting a network status of an internet of things device according to further embodiments of the present disclosure. As shown in fig. 2, the method may include steps S202 to S212.
In step S202, the internet of things device is powered on.
In some embodiments, before this step S202, the current detection unit may be connected to the power supply loop of the NB-IOT module, and the ADC function in the MCU of the internet of things device may be opened.
In step S204, the detected power supply current value of the NB-IOT module is transmitted to the MCU using the current detection unit.
In step S206, the MCU converts the supply current value in the form of an analog signal into a supply current value in the form of a digital signal through an analog-to-digital conversion function. In this step, the MCU knows the current consumption of the NB-IOT module according to the supply current value. The MCU realizes the sampling of the power supply current value.
In step S208, the MCU determines the network state of the internet of things device according to the magnitude relationship between the power supply current value and the threshold. For example, as follows:
under the condition that the power supply current value is less than 1mA (as a first threshold), the MCU determines that the network state of the Internet of things equipment is a PSM state;
determining that the network state of the equipment of the Internet of things is an IDEL state under the condition that the power supply current value is less than or equal to 1mA and less than 10mA (as a second threshold value);
and determining that the network state of the equipment of the Internet of things is a connection state under the condition that the power supply current value is larger than or equal to 10 mA. For example, when the power supply current value is less than or equal to 10mA and less than or equal to 100mA, the network state of the internet of things device can be determined to be the connection state.
It should be noted that the specific values of the first threshold and the second threshold are merely exemplary. It will be appreciated by those skilled in the art that the first and second thresholds may be identified as appropriate. The scope of the disclosure is not limited in this respect.
In step S210, the MCU outputs a corresponding control level signal to the display unit according to the network status of the internet of things device.
In step S212, the display unit displays a network status of the internet of things device.
For example, the LED is controlled to display different colors by control level signals of different GPIOs (General Purpose Input/Output) of the MCU, and different network states are displayed by defining different colors.
To this end, methods for detecting a network status of an internet of things device according to further embodiments of the present disclosure are provided. The method utilizes the current consumption characteristic of the NB-IOT module, performs algorithm analysis through the MCU, completes judgment and display work of different network states of the equipment, and solves the problem that the network state of NB-IOT terminal equipment is not inquired and displayed on line in real time at present. The method is suitable for development of NB-IOT terminal equipment, helps developers to quickly locate the network state, and can provide online display for terminal users to know the network state.
Fig. 3 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to some embodiments of the present disclosure. As shown in fig. 3, the apparatus 310 for detecting a network state of an internet of things device may include a current detection unit 312 and an MCU 314. In addition, for illustrative purposes, an input power supply 301 and an NB-IOT module 303 are also shown in FIG. 3. The input power supply 301 powers the NB-IOT module 303.
The current detection unit 312 may be configured to detect a power supply current value of the NB-IOT module 303 of the internet of things device. For example, the current detection unit may include an ammeter or the like.
In some embodiments, as shown in fig. 3, the current detection unit 312 is connected in the power supply loop of the NB-IOT module. For example, the current detection unit 312 is connected between the input power source 301 and the NB-IOT module 303. The current detection unit 312 can be used to transmit the detected value of the power supply current of the NB-IOT module 303 to the MCU 314.
The MCU314 may be configured to determine a network status of the internet of things device according to the power supply current value.
In some embodiments, the MCU314 may be configured to convert the supply current value into a supply current value in the form of a digital signal through an analog-to-digital conversion function.
In some embodiments, the MCU314 may be configured to determine the network status of the internet of things device according to the magnitude relationship between the power supply current value and the threshold.
In some embodiments, the threshold may include a first threshold and a second threshold. The first threshold < the second threshold. The MCU314 may be used to: determining that the network state of the Internet of things equipment is a power saving mode state under the condition that the power supply current value is smaller than the first threshold value; determining that the network state of the equipment of the Internet of things is an idle state under the condition that the first threshold value is less than or equal to the power supply current value and less than the second threshold value; and determining that the network state of the Internet of things equipment is a connection state under the condition that the power supply current value is larger than or equal to the second threshold value.
In the apparatus for detecting a network state of an internet of things device in the above embodiment, the current detection unit detects a power supply current value of an NB-IOT module of the internet of things device. And the MCU determines the network state of the equipment of the Internet of things according to the power supply current value. The device obtains the current consumption condition through the supply current size that detects NB-IOT module, utilizes the current difference of NB-IOT module under different network states, detects the network state of thing networking device fast. The device has improved the response speed of detecting thing networking device network state through hardware circuit to user experience has been promoted.
Fig. 4 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to further embodiments of the present disclosure. As shown in fig. 4, the apparatus 410 for detecting a network state of an internet of things device includes a current detection unit 312 and an MCU 314.
In some embodiments, as shown in fig. 4, the apparatus 410 may further include a display unit 416. The display unit 416 is configured to display a network status of the internet of things device according to the control level signal received from the MCU 314. The MCU314 is further configured to output a corresponding control level signal to the display unit 416 according to a network state of the internet of things device.
In some embodiments, the display unit 416 may include a light emitting device. The light emitting device is used for displaying the network state of the Internet of things equipment through the color of the emitted light.
For example, the Light Emitting device may include three LEDs (Light Emitting diodes). Wherein a first LED can emit green light, a second LED can emit red light, and a third LED can emit blue light. MCU314 is connected to a first LED via a first output port, a second LED via a second output port, and a third LED via a third output port.
In the first case, when determining that the network status of the internet of things device is the power saving mode status, the MCU314 outputs a corresponding control level signal to the first LED through the first output port, where the first LED emits green light to indicate that the network status of the internet of things device is the power saving mode status.
In a second case, when determining that the network status of the internet of things device is in the idle state, the MCU314 outputs a corresponding control level signal to a second LED through a second output port, where the second LED emits red light to indicate that the network status of the internet of things device is in the idle state.
In a third case, when determining that the network status of the internet of things device is the connection status, the MCU314 outputs a corresponding control level signal to a third LED through a third output port, where the third LED emits blue light to indicate that the network status of the internet of things device is the connection status.
In the above embodiment, the MCU controls the external LED to display the network state of the internet of things device through the control level signal of the GPIO. Namely, the LED is controlled to display different colors to display different network states through the level change of different GPIOs of the MCU.
It should be noted that the above-mentioned light emitting devices are merely exemplary, and the display unit according to the embodiments of the present disclosure is not limited to the light emitting devices disclosed herein. The display unit of the embodiment of the present disclosure may also adopt other modes, such as a display and the like. For example, the network status of the internet of things device can be displayed directly in the form of characters or images through the display.
In the embodiment of the disclosure, the determination of the network state of the internet of things device is realized by using a hardware circuit. According to the method or the device, the current consumption characteristic of the NB-IOT module is utilized, algorithm analysis is carried out through the MCU on the IOT equipment, so that the judgment and display work of different network states of the equipment is realized, and the problem that the network state of the NB-IOT equipment cannot be inquired quickly and intuitively at present is solved. The method or the device can rapidly inquire and display the network state of the Internet of things equipment, and can better accord with the pre-judging habit of the user and improve the interactive experience.
Fig. 5 is a block diagram illustrating an apparatus for detecting a network status of an internet of things device according to further embodiments of the present disclosure. The apparatus includes a memory 510 and a processor 520. Wherein:
the memory 510 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is used for storing instructions in the embodiments corresponding to fig. 1 and/or fig. 2.
In some embodiments, as also shown in fig. 6, the apparatus 600 includes a memory 610 and a processor 620. Processor 620 is coupled to memory 610 through a BUS 630. The apparatus 600 may also be coupled to an external storage device 650 via a storage interface 640 for external data retrieval, and may also be coupled to a network or another computer system (not shown) via a network interface 660, which will not be described in detail herein.
In the embodiment, a data instruction is stored through a memory, the instruction is processed through a processor, and the power supply current value of an NB-IOT module of the Internet of things equipment is detected; and determining the network state of the equipment of the Internet of things according to the power supply current value, thereby realizing the purpose of rapidly detecting the network state of the equipment of the Internet of things. According to the embodiment, the response speed of detecting the network state of the Internet of things equipment is improved, so that the user experience is improved.
In other embodiments, the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, the instructions implementing the steps of the method in the embodiment corresponding to fig. 1 and/or fig. 2 when executed by a processor. As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, apparatus, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Thus far, the present disclosure has been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The method and system of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims (14)
1. A method for detecting a network status of an internet of things device, comprising:
detecting a power supply current value of a narrow-band Internet of things NB-IOT module of the Internet of things equipment; and
and determining the network state of the Internet of things equipment according to the power supply current value.
2. The method of claim 1, wherein the step of detecting the value of the supply current of the NB-IOT module of the internet of things device comprises:
connecting a current detection unit into a power supply loop of the NB-IOT module;
transmitting the detected power supply current value of the NB-IOT module to a Micro Control Unit (MCU) by utilizing the current detection unit; and
and the MCU converts the power supply current value into a power supply current value in a digital signal form through an analog-to-digital conversion function.
3. The method of claim 1, wherein determining the network status of the internet of things device from the supply current value comprises:
and determining the network state of the equipment of the Internet of things according to the magnitude relation between the power supply current value and the threshold value.
4. The method of claim 3, wherein the threshold comprises a first threshold and a second threshold, wherein the first threshold < the second threshold;
the step of determining the network state of the Internet of things equipment according to the magnitude relation between the power supply current value and the threshold value comprises the following steps:
determining that the network state of the Internet of things equipment is a power saving mode state under the condition that the power supply current value is smaller than the first threshold value;
determining that the network state of the Internet of things equipment is an idle state under the condition that the first threshold is not more than the power supply current value and is less than the second threshold;
and determining that the network state of the Internet of things equipment is a connection state under the condition that the power supply current value is larger than or equal to the second threshold value.
5. The method of claim 1, further comprising:
and outputting a corresponding control level signal to a display unit according to the network state of the equipment of the Internet of things so as to display the network state of the equipment of the Internet of things.
6. The method of claim 5, wherein,
the display unit includes a light emitting device, wherein the light emitting device displays a network status of the internet of things device by a color of the emitted light.
7. An apparatus for detecting a network status of an internet of things device, comprising:
the current detection unit is used for detecting the power supply current value of the narrow-band Internet of things NB-IOT module of the Internet of things equipment; and
and the micro control unit MCU is used for determining the network state of the equipment of the Internet of things according to the power supply current value.
8. The apparatus of claim 7, wherein,
the current detection unit is connected in a power supply loop of the NB-IOT module;
the current detection unit is used for transmitting the detected power supply current value of the NB-IOT module to the MCU;
the MCU is used for converting the power supply current value into a power supply current value in a digital signal form through an analog-to-digital conversion function.
9. The apparatus of claim 7, wherein,
and the MCU is used for determining the network state of the equipment of the Internet of things according to the magnitude relation between the power supply current value and the threshold value.
10. The apparatus of claim 9, wherein the threshold comprises a first threshold and a second threshold, wherein the first threshold < the second threshold;
the MCU is used for:
determining that the network state of the Internet of things equipment is a power saving mode state under the condition that the power supply current value is smaller than the first threshold value;
determining that the network state of the Internet of things equipment is an idle state under the condition that the first threshold is not more than the power supply current value and is less than the second threshold;
and determining that the network state of the Internet of things equipment is a connection state under the condition that the power supply current value is larger than or equal to the second threshold value.
11. The apparatus of claim 7, further comprising:
the display unit is used for displaying the network state of the equipment of the Internet of things according to the control level signal received from the MCU;
the MCU is further used for outputting a corresponding control level signal to the display unit according to the network state of the Internet of things equipment.
12. The apparatus of claim 11, wherein,
the display unit comprises a light emitting device, wherein the light emitting device is used for displaying the network state of the Internet of things equipment through the color of the emitted light.
13. An apparatus for detecting a network status of an internet of things device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 1-6 based on instructions stored in the memory.
14. A computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810905263.5A CN110830318A (en) | 2018-08-10 | 2018-08-10 | Method and device for detecting network state of Internet of things equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810905263.5A CN110830318A (en) | 2018-08-10 | 2018-08-10 | Method and device for detecting network state of Internet of things equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110830318A true CN110830318A (en) | 2020-02-21 |
Family
ID=69541075
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810905263.5A Pending CN110830318A (en) | 2018-08-10 | 2018-08-10 | Method and device for detecting network state of Internet of things equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110830318A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112235057A (en) * | 2020-09-08 | 2021-01-15 | 高新兴物联科技有限公司 | Method, device and equipment for monitoring network state and computer readable storage medium |
| CN113422703A (en) * | 2020-09-23 | 2021-09-21 | 阿里巴巴集团控股有限公司 | Internet of things event processing method and device, intelligent gateway and electronic equipment |
| CN118368338A (en) * | 2024-06-19 | 2024-07-19 | 深圳市善行医疗科技有限公司 | Data transmission method, device, electronic equipment, medium and computer program product |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN203289484U (en) * | 2013-01-18 | 2013-11-13 | 重庆大学 | Equipment operation state monitoring system |
| US20150236896A1 (en) * | 2014-02-20 | 2015-08-20 | Linkedln Corporation | Automated management of a distributed computing system |
| CN207022119U (en) * | 2017-06-22 | 2018-02-16 | 山西迪奥普科技有限公司 | A kind of efficiency of Network Video Surveillance safeguards monitoring system |
-
2018
- 2018-08-10 CN CN201810905263.5A patent/CN110830318A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN203289484U (en) * | 2013-01-18 | 2013-11-13 | 重庆大学 | Equipment operation state monitoring system |
| US20150236896A1 (en) * | 2014-02-20 | 2015-08-20 | Linkedln Corporation | Automated management of a distributed computing system |
| CN207022119U (en) * | 2017-06-22 | 2018-02-16 | 山西迪奥普科技有限公司 | A kind of efficiency of Network Video Surveillance safeguards monitoring system |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112235057A (en) * | 2020-09-08 | 2021-01-15 | 高新兴物联科技有限公司 | Method, device and equipment for monitoring network state and computer readable storage medium |
| CN112235057B (en) * | 2020-09-08 | 2022-08-12 | 高新兴物联科技有限公司 | Method, device and equipment for monitoring network state and computer readable storage medium |
| CN113422703A (en) * | 2020-09-23 | 2021-09-21 | 阿里巴巴集团控股有限公司 | Internet of things event processing method and device, intelligent gateway and electronic equipment |
| CN118368338A (en) * | 2024-06-19 | 2024-07-19 | 深圳市善行医疗科技有限公司 | Data transmission method, device, electronic equipment, medium and computer program product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110830318A (en) | Method and device for detecting network state of Internet of things equipment | |
| CN107968883B (en) | Distance state detection method, device, storage medium and electronic device | |
| CN116991225A (en) | Control device, method and equipment of processor | |
| US20120086428A1 (en) | Identifying a Cable Path Using Light Emitting Diodes | |
| JP2019516080A5 (en) | ||
| US8935518B2 (en) | Electronic device with UART and input control method | |
| CN105681557B (en) | A method, apparatus and computer-readable storage medium for controlling an infrared proximity sensor | |
| CN109788330A (en) | TV bluetooth standby wakeup processing method, TV and remote controler | |
| WO2017119682A3 (en) | Display apparatus and method for controlling the same | |
| CN105957467B (en) | Method and device for generating aging information of light-emitting element and terminal | |
| CN104007392B (en) | Battery electric quantity detecting and displaying method | |
| CN112486105B (en) | Equipment control method and device | |
| CN106804013A (en) | A kind of information cuing method and device | |
| CN111414057A (en) | A fan speed control method, system, electronic device and storage medium | |
| CN105159133B (en) | Control method, server and system of intelligent home system | |
| CN103412832A (en) | Automatic WIFI (Wireless Fidelity) adaptation method | |
| US8634776B2 (en) | Communication terminal and pairing method thereof | |
| CN108011662B (en) | An optical module and its monitoring method | |
| CN109635735A (en) | A kind of gesture identifying device | |
| CN110662273A (en) | A distribution network method, distribution network system and robot | |
| CN105141786A (en) | Music playing control method, system and mobile terminal | |
| CN204155294U (en) | Desktop intelligent identifying system | |
| CN107395271A (en) | Method and system for indicating connection state of optical fiber link | |
| CN107995690B (en) | Master-slave working mode control method and device | |
| CN107101267B (en) | Air conditioner and method and device for distinguishing upper fan and lower fan of air conditioner |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200221 |
|
| RJ01 | Rejection of invention patent application after publication |