CN111246400A - Signal quality detection method, device, storage medium, electronic device and system - Google Patents

Signal quality detection method, device, storage medium, electronic device and system Download PDF

Info

Publication number
CN111246400A
CN111246400A CN202010246503.2A CN202010246503A CN111246400A CN 111246400 A CN111246400 A CN 111246400A CN 202010246503 A CN202010246503 A CN 202010246503A CN 111246400 A CN111246400 A CN 111246400A
Authority
CN
China
Prior art keywords
node
signal quality
nodes
mesh network
indication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010246503.2A
Other languages
Chinese (zh)
Other versions
CN111246400B (en
Inventor
杨诗伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information 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 Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202010246503.2A priority Critical patent/CN111246400B/en
Publication of CN111246400A publication Critical patent/CN111246400A/en
Application granted granted Critical
Publication of CN111246400B publication Critical patent/CN111246400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • G08B5/38Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources using flashing light
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method, a device, a storage medium, an electronic device and a system for detecting signal quality. The method comprises the following steps: the first node sends a node discovery message to a destination address, wherein the destination address is a multicast address of a preset multicast group, and the preset multicast group comprises: a plurality of second nodes; the first node receives a node response message from the destination address; the first node determines a signal quality of the mesh network based on the node response message. The invention solves the technical problems of complex operation and long time consumption of a signal quality detection mode of the node in the mesh network in the related technology.

Description

Signal quality detection method, device, storage medium, electronic device and system
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a storage medium, an electronic apparatus, and a system for detecting signal quality.
Background
A mesh network is a many-to-many network. Each equipment node can freely communicate with the other nodes. In this topology, most of the nodes may be set as relay nodes. Each device node may communicate over a low-power bluetooth (LE) wireless connection. Each device node is capable of sending and receiving messages. Information can be relayed between nodes, thereby enabling messages to be transmitted to locations that are further away than the normal transmission distance of radio waves.
In the process of deploying the nodes in the mesh network, the signal quality of the nodes in the mesh network is generally required to be detected. The signal quality detection method provided in the related art generally transfers probe messages from a probe node to an adjacent node in sequence, so as to determine whether a path between different nodes is clear, and further determine the signal quality of the node in the mesh network. However, such a signal quality detection method is complicated and time-consuming.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a method, an apparatus, a storage medium, an electronic apparatus, and a system for detecting signal quality, so as to at least solve the technical problems of complex operation and long time consumption of a signal quality detection method of a node in a mesh network provided in the related art.
According to an embodiment of the present invention, there is provided a method for detecting signal quality, the method being applied to a first node in a mesh network, the mesh network further including: a plurality of second nodes, the method comprising:
the first node sends a node discovery message to a destination address, wherein the destination address is a multicast address of a preset multicast group, and the preset multicast group comprises: a plurality of second nodes; the first node receives a node response message from the destination address; the first node determines a signal quality of the mesh network based on the node response message.
Optionally, the first node determining the signal quality based on the node response message comprises: the first node determines the signal quality of the mesh network based on the number of node response messages and sends indication information, wherein the indication information is used for indicating the signal quality.
Optionally, the sending, by the first node, the indication information based on the number of the node response messages includes: the first node determines the flicker frequency of the indicator light on the first node based on the number of the node response messages; the first node controls the indicator lamp to send out indication information according to the flicker frequency.
Optionally, the sending, by the first node, the indication information based on the number of the node response messages includes: the first node determines the color change amplitude of the indicator light on the first node based on the number of the node response messages; the first node controls the indicator light to send out indication information according to the color change amplitude.
Optionally, the first node is a first smart device, the plurality of second nodes are a plurality of second smart devices, the first smart device is configured with a home gateway module, the home gateway module is configured to connect the plurality of second smart devices to the wide area network, the first smart device and the plurality of second smart devices are configured to provide different types of initial services, and the initial services are independent of the network connection services.
There is further provided, according to an embodiment of the present invention, an apparatus for detecting signal quality, where the apparatus is applied to a first node in a mesh network, and the mesh network further includes: a plurality of second nodes, the apparatus comprising:
a sending module, configured to send a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group, and the preset multicast group includes: a plurality of second nodes; a receiving module, configured to receive a node response message from a destination address; a detection module to determine a signal quality of the mesh network based on the node response message.
Optionally, the detecting module is configured to determine a signal quality of the mesh network based on the number of the node response messages, and send indication information, where the indication information is used to indicate the signal quality.
Optionally, the detection module comprises: a first determining unit, configured to determine a flashing frequency of an indicator light on a first node based on the number of node response messages; and the first detection unit is used for controlling the indicator lamp to send out indication information according to the flicker frequency.
Optionally, the detection module comprises: the second determining unit is used for determining the color change amplitude of the indicator light on the first node based on the number of the node response messages; and the second detection unit is used for controlling the indicator light to send out indication information according to the color change amplitude.
Optionally, the first node is a first smart device, the plurality of second nodes are a plurality of second smart devices, the first smart device is configured with a home gateway module, the home gateway module is configured to connect the plurality of second smart devices to the wide area network, the first smart device and the plurality of second smart devices are configured to provide different types of initial services, and the initial services are independent of the network connection services.
According to an embodiment of the present invention, there is further provided a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned signal quality detection method when running.
There is further provided, according to an embodiment of the present invention, a processor for executing a program, where the program is configured to execute the above-mentioned signal quality detection method when running.
According to an embodiment of the present invention, there is also provided an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the signal quality detection method.
According to an embodiment of the present invention, there is also provided a signal quality detection system, including: the first node is a first intelligent device, the second nodes are a plurality of second intelligent devices, the home gateway module is configured on the first intelligent device and used for connecting the second intelligent devices to a wide area network, the first intelligent device and the second intelligent devices are used for providing different types of initial services, the initial services are independent of network connection services, and the first node comprises the electronic device.
In at least some embodiments of the present invention, a first node in a mesh network sends a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group and the preset multicast group includes a plurality of second nodes, and a node response message from the destination address is received by the first node and signal quality of the mesh network is determined based on the node response message, so as to achieve a purpose of detecting signal quality of a node in the mesh network by using the node discovery message sent to the multicast address and the node response message received, thereby achieving technical effects of reducing operation complexity of a signal quality detection process and improving detection efficiency, and further solving technical problems of complex operation and long time consumption of a signal quality detection mode of a node in a mesh network provided in the related art.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic deployment diagram of a signal quality detection system in accordance with one embodiment of the present invention;
fig. 2 is a flow chart of a method of detecting signal quality according to one embodiment of the present invention;
fig. 3 is a block diagram of a signal quality detection apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for detecting signal quality, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that shown.
The method embodiment may be performed in a smart device. Fig. 1 is a schematic deployment diagram of a signal quality detection system according to an embodiment of the present invention. As shown in fig. 1, the signal quality detection system includes: the system comprises a first node and a plurality of second nodes, wherein the first node is a first intelligent device, the plurality of second nodes are a plurality of second intelligent devices, the first intelligent device is provided with a home gateway module, the home gateway module is used for connecting the plurality of second intelligent devices to a wide area network (such as the Internet), the first intelligent device and the plurality of second intelligent devices are used for providing different types of initial services, and the initial services are independent of network connection services. In an optional embodiment, the first smart device and the second smart device are both smart home devices (e.g., smart air conditioners, smart sockets, and smart lamps). The gateway generalization refers to embedding a module with a gateway function into any intelligent device capable of supplying power frequently, so that the intelligent devices have a new gateway function on the basis of the original function. For example: the initial service that intelligent air conditioner provided is for refrigerating or heating the service, through with the embedding of home gateway module to intelligent air conditioner in, this intelligent air conditioner will be on the basis of original function newly-increased gateway function. For another example: the initial service that intelligent lamps and lanterns provided is lighting service, through with the embedding of home gateway module to intelligent lamps and lanterns, this intelligent lamps and lanterns will be on the basis of original function newly-increased gateway function. Therefore, the detection mode of the signal quality is suitable for intelligent equipment subjected to gateway generalization processing.
It should be noted that, the home gateway module may be inserted into the smart device through a peripheral interface of the smart device, or may be pre-embedded into the smart device during a production process of the smart device.
The first node may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the first node may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the above structural description is only illustrative and not limiting to the structure of the first node. For example, the first node may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the signal quality detection method in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the signal quality detection method described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the first node through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. The above-described network embodiment may include a wireless network provided by a communication provider of the first node. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the first node. In some embodiments, the first node has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on the touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
In this embodiment, a method for detecting signal quality of the first node is provided, where the method is applied to the first node in a mesh network, and the mesh network further includes: fig. 2 is a flowchart of a method for detecting signal quality according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, the first node sends a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group, and the preset multicast group includes: a plurality of second nodes;
step S204, the first node receives a node response message from the destination address;
in step S206, the first node determines the signal quality of the mesh network based on the node response message.
Through the steps, a mode that a first node in a mesh network sends a node discovery message to a destination address, the destination address is a multicast address of a preset multicast group, and the preset multicast group comprises a plurality of second nodes can be adopted, the first node receives a node response message from the destination address and determines the signal quality of the mesh network based on the node response message, and the purpose of detecting the signal quality of the node in the mesh network by using the node discovery message sent to the multicast address and the node response message received by the first node is achieved, so that the technical effects of reducing the operation complexity of a signal quality detection process and improving the detection efficiency are achieved, and the technical problems that the signal quality detection mode of the node in the mesh network provided in the related technology is complex in operation and long in time consumption are solved.
Optionally, the first node is a first smart device, the plurality of second nodes are a plurality of second smart devices, the first smart device is configured with a home gateway module, the home gateway module is configured to connect the plurality of second smart devices to a wide area network, the first smart device and the plurality of second smart devices are configured to provide different types of initial services, and the initial services are independent of network connection services. In an optional embodiment, the first smart device and the second smart device are both smart home devices (e.g., smart air conditioners, smart sockets, and smart lamps). Through gateway generalization processing, can be with the module embedding that possesses the gateway function to any intelligent device that can supply power often to make these intelligent device newly-increased gateway function on original function's basis. For example: the initial service that intelligent air conditioner provided is for refrigerating or heating the service, through with the embedding of home gateway module to intelligent air conditioner in, this intelligent air conditioner will be on the basis of original function newly-increased gateway function. For another example: the initial service that intelligent lamps and lanterns provided is lighting service, through with the embedding of home gateway module to intelligent lamps and lanterns, this intelligent lamps and lanterns will be on the basis of original function newly-increased gateway function. Therefore, the detection mode of the signal quality is suitable for intelligent equipment subjected to gateway generalization processing.
The home gateway module can be inserted into the intelligent equipment through the peripheral interface of the intelligent equipment, and can be embedded into the intelligent equipment in advance in the production process of the intelligent equipment.
Optionally, in step S206, the first node determining the signal quality based on the node response message may include performing the steps of:
in step S2061, the first node determines the signal quality of the mesh network based on the number of the node response messages and sends out indication information, wherein the indication information is used for indicating the signal quality.
When the device Node is deployed in the mesh network, if the signal quality of the first Node in the mesh network is expected to be intuitively known, the first Node can be controlled to periodically or regularly trigger and send a Node Discovery (Node Discovery) message to a multicast address (for example: 0xCCC) of a preset multicast group. Then, the first Node receives Node Response messages returned by the second nodes from the multicast address. Therefore, the first node can determine the detection result based on the number of the node response messages and further send out the indication information. The indication information is used to indicate signal quality. If the larger the number of received node response messages, it indicates that the more second nodes are deployed around the first node, the better the signal quality. After the first node obtains the detection result, the first node may prompt the user of the signal quality of the node in the mesh network through a light emitting device or a speaker configured on the first node.
It should be noted that the multicast address of the preset multicast group may be dynamically allocated. The other nodes except the first node in the mesh network can dynamically join or leave the preset multicast group.
Optionally, in step S2061, the sending, by the first node, the indication information based on the number of the node response messages may include performing the following steps:
step S20611, the first node determines the flicker frequency of the indicator light on the first node based on the number of the node response messages;
in step S20612, the first node controls the indicator light to send out the indication information according to the flashing frequency.
Taking the example of a light emitting device (e.g., an indicator light) on a first node (e.g., a smart ceiling light), the first node may determine a frequency of flashing of the indicator light on the first node based on the number of node response messages. That is, if the first node receives a larger number of node response messages, the frequency of blinking of the indicator light on the first node is higher. Conversely, if the number of node response messages received by the first node is lower, the frequency of flashing of the indicator light on the first node is lower. Therefore, the user can know the signal quality of the nodes in the mesh network according to the flashing speed of the indicator lamp.
Optionally, in step S2061, the sending, by the first node, the indication information based on the number of the node response messages may include performing the following steps:
step S20613, the first node determines the color variation amplitude of the indicator light on the first node based on the number of the node response messages;
in step S20614, the first node controls the indicator light to send out the indication information according to the color variation amplitude.
Still taking the example of a light emitting device (e.g., an indicator light) on a first node (e.g., a smart ceiling light), the first node may determine the magnitude of the color change of the indicator light on the first node based on the number of node response messages. That is, the color change of the indicator light is divided into a plurality of levels. For example: the color change of the indicator light is divided into five levels from low to high, namely deep red, dark red, yellow, blue and green, which respectively indicate that the signal quality of the nodes in the mesh network is extremely poor, general, high and very good. The greater the number of node response messages received by the first node, the more highly graded the magnitude of the color change of the indicator light on the first node (e.g., from yellow to green). Conversely, if the first node receives a smaller number of node response messages, the magnitude of the color change of the indicator light on the first node is more toward a lower level (e.g., from yellow to deep red). Therefore, the user can know the signal quality of the nodes in the mesh network according to the color change amplitude of the indicator lamp.
Furthermore, in an alternative embodiment, taking the speaker (e.g., speaker) of the first node (e.g., smart speaker) as an example, the first node may determine the playing content of the speaker of the first node based on the number of node response messages. For example: during the music playing process of the smart sound box, if the number of the node response messages can be determined, a voice prompt can be inserted. For example: the signal quality of the intelligent sound box in the mesh network is good. Therefore, the user can know the signal quality of the nodes in the mesh network according to the voice prompt content.
In an alternative embodiment, taking the speaker (e.g., electronic alarm clock horn) and the display device (e.g., electronic alarm clock display screen) on the first node (e.g., intelligent electronic alarm clock) as an example, the first node may determine the display content of the network signal identifier of the electronic alarm clock display screen and the playing content of the electronic alarm clock horn based on the number of the node response messages. For example: in the fixed-point time reporting process of the intelligent electronic alarm clock, if the number of the node response messages can be determined, a voice prompt can be inserted. For example: the intelligent electronic alarm clock has good signal quality in the mesh network. Meanwhile, the display content of the network signal identifier of the electronic alarm clock display screen can be determined. For example: and adopting a signal lattice number representation mode similar to that of the mobile terminal, if the number of the node response messages received by the intelligent electronic alarm clock is more, the number of the signal lattices identified by the network signals is more. On the contrary, if the number of the node response messages received by the intelligent electronic alarm clock is smaller, the number of the signal grids identified by the network signals is smaller. Therefore, the user can know the signal quality of the nodes in the mesh network according to the voice prompt content.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a signal quality detection apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted for brevity. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a signal quality detection apparatus according to an embodiment of the present invention, which is applied to a first node in a mesh network, and the mesh network further includes: a plurality of second nodes, as shown in fig. 3, the apparatus comprising: a sending module 10, configured to send a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group, and the preset multicast group includes: a plurality of second nodes; a receiving module 20, configured to receive a node response message from a destination address; a detection module 30 for determining a signal quality of the mesh network based on the node response message.
Optionally, the detecting module 30 is configured to determine a signal quality of the mesh network based on the number of the node response messages, and send an indication message, where the indication message is used to indicate the signal quality.
Optionally, the detection module 30 comprises: a first determining unit (not shown in the figure) for determining a blinking frequency of the indicator light on the first node based on the number of the node response messages; and a first detection unit (not shown in the figure) for controlling the indicator lamp to send out indication information according to the flicker frequency.
Optionally, the detection module 30 comprises: a second determining unit (not shown in the figure) for determining the color change amplitude of the indicator light on the first node based on the number of the node response messages; and a second detection unit (not shown in the figure) for controlling the indicator light to send out indication information according to the color change amplitude.
Optionally, the first node is a first smart device, the plurality of second nodes are a plurality of second smart devices, the first smart device is configured with a home gateway module, the home gateway module is configured to connect the plurality of second smart devices to the wide area network, the first smart device and the plurality of second smart devices are configured to provide different types of initial services, and the initial services are independent of the network connection services.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, the first node sends a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group, and the preset multicast group includes: a plurality of second nodes;
s2, the first node receives a node response message from the destination address;
s3, the first node determines a signal quality of the mesh network based on the node response message.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, the first node sends a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group, and the preset multicast group includes: a plurality of second nodes;
s2, the first node receives a node response message from the destination address;
s3, the first node determines a signal quality of the mesh network based on the node response message.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A method for detecting signal quality, the method being applied to a first node in a mesh network, the mesh network further comprising: a plurality of second nodes, the method comprising:
the first node sends a node discovery message to a destination address, wherein the destination address is a multicast address of a preset multicast group, and the preset multicast group comprises: the plurality of second nodes;
the first node receiving a node response message from the destination address;
the first node determines a signal quality of the mesh network based on the node response message.
2. The method of claim 1, wherein the first node determining the signal quality based on the node response message comprises:
the first node determines the signal quality of the mesh network based on the number of the node response messages and sends indication information, wherein the indication information is used for indicating the signal quality.
3. The method of claim 2, wherein the first node sending out the indication information based on the number of node response messages comprises:
the first node determines the flashing frequency of an indicator light on the first node based on the number of the node response messages;
and the first node controls the indicator light to send the indication information according to the flicker frequency.
4. The method of claim 2, wherein the first node sending out the indication information based on the number of node response messages comprises:
the first node determines the color variation amplitude of the indicator light on the first node based on the number of the node response messages;
and the first node controls the indicator light to send the indication information according to the color change amplitude.
5. The method of claim 1, wherein the first node is a first smart device and the plurality of second nodes are a plurality of second smart devices, wherein the first smart device is configured with a home gateway module for connecting the plurality of second smart devices to a wide area network, and wherein the first smart device and the plurality of second smart devices are configured to provide different types of initial services independent of a network connection service.
6. An apparatus for detecting signal quality, the apparatus being applied to a first node in a mesh network, the mesh network further comprising: a plurality of second nodes, the apparatus comprising:
a sending module, configured to send a node discovery message to a destination address, where the destination address is a multicast address of a preset multicast group, and the preset multicast group includes: the plurality of second nodes;
a receiving module, configured to receive a node response message from the destination address;
a detection module to determine a signal quality of the mesh network based on the node response message.
7. The apparatus of claim 6, wherein the detecting module is configured to determine a signal quality of the mesh network based on the number of the node response messages and to send indication information, and wherein the indication information is used for indicating the signal quality.
8. The apparatus of claim 7, wherein the detection module comprises:
a first determining unit, configured to determine a flashing frequency of an indicator light on the first node based on the number of the node response messages;
and the first detection unit is used for controlling the indicator lamp to send the indication information according to the flicker frequency.
9. The apparatus of claim 7, wherein the detection module comprises:
a second determining unit, configured to determine a color variation amplitude of the indicator light on the first node based on the number of the node response messages;
and the second detection unit is used for controlling the indicator lamp to send the indication information according to the color change amplitude.
10. The apparatus of claim 6, wherein the first node is a first smart device and the plurality of second nodes are a plurality of second smart devices, wherein the first smart device is configured with a home gateway module configured to connect the plurality of second smart devices to a wide area network, and wherein the first smart device and the plurality of second smart devices are configured to provide different types of initial services independent of a network connection service.
11. A storage medium, in which a computer program is stored, wherein the computer program is configured to execute the method for detecting signal quality according to any one of claims 1 to 5 when the computer program runs.
12. A processor for running a program, wherein the program is configured to execute the method for detecting signal quality according to any one of claims 1 to 5.
13. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method for detecting signal quality according to any one of claims 1 to 5.
14. A signal quality detection system, comprising: a first node and a plurality of second nodes, the first node being a first smart device, the plurality of second nodes being a plurality of second smart devices, wherein the first smart device is configured with a home gateway module, the home gateway module is configured to connect the plurality of second smart devices to a wide area network, the first smart device and the plurality of second smart devices are configured to provide different types of initial services, the initial services are independent of a network connection service, and the first node comprises the electronic apparatus according to claim 13.
CN202010246503.2A 2020-03-31 2020-03-31 Signal quality detection method, device, storage medium, electronic device and system Active CN111246400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010246503.2A CN111246400B (en) 2020-03-31 2020-03-31 Signal quality detection method, device, storage medium, electronic device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010246503.2A CN111246400B (en) 2020-03-31 2020-03-31 Signal quality detection method, device, storage medium, electronic device and system

Publications (2)

Publication Number Publication Date
CN111246400A true CN111246400A (en) 2020-06-05
CN111246400B CN111246400B (en) 2022-10-18

Family

ID=70871384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010246503.2A Active CN111246400B (en) 2020-03-31 2020-03-31 Signal quality detection method, device, storage medium, electronic device and system

Country Status (1)

Country Link
CN (1) CN111246400B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339621A (en) * 2021-12-30 2022-04-12 上海庆科信息技术有限公司 Method and device for controlling Bluetooth mesh network equipment and electronic device
CN114697258A (en) * 2022-04-11 2022-07-01 网易(杭州)网络有限公司 Data communication method, device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567754A (en) * 2009-06-04 2009-10-28 上海交通大学 Speed self-adaption method based on wireless Mesh network
CN102447544A (en) * 2010-10-09 2012-05-09 中兴智能交通(无锡)有限公司 Vehicle-location communication method and device in passenger information system PIS
CN102802158A (en) * 2012-08-07 2012-11-28 湖南大学 Method for detecting network anomaly of wireless sensor based on trust evaluation
CN103260207A (en) * 2003-12-23 2013-08-21 艾利森电话股份有限公司 Predictive AD-HOC
CN104640192A (en) * 2015-01-21 2015-05-20 广州杰赛科技股份有限公司 Transmitting power control method, Mesh node and wireless network-shaped network system
CN105392185A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105392181A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
US20170251387A1 (en) * 2014-09-12 2017-08-31 Abb Schweiz Ag Detecting the status of a mesh node in a wireless mesh network
US20180115982A1 (en) * 2016-10-20 2018-04-26 Qualcomm Incorporated Techniques for reliable multicast in wlan

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260207A (en) * 2003-12-23 2013-08-21 艾利森电话股份有限公司 Predictive AD-HOC
CN101567754A (en) * 2009-06-04 2009-10-28 上海交通大学 Speed self-adaption method based on wireless Mesh network
CN102447544A (en) * 2010-10-09 2012-05-09 中兴智能交通(无锡)有限公司 Vehicle-location communication method and device in passenger information system PIS
CN102802158A (en) * 2012-08-07 2012-11-28 湖南大学 Method for detecting network anomaly of wireless sensor based on trust evaluation
US20170251387A1 (en) * 2014-09-12 2017-08-31 Abb Schweiz Ag Detecting the status of a mesh node in a wireless mesh network
CN104640192A (en) * 2015-01-21 2015-05-20 广州杰赛科技股份有限公司 Transmitting power control method, Mesh node and wireless network-shaped network system
CN105392185A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
CN105392181A (en) * 2015-10-20 2016-03-09 广东欧珀移动通信有限公司 Intelligent equipment networking method and device, and system
US20180115982A1 (en) * 2016-10-20 2018-04-26 Qualcomm Incorporated Techniques for reliable multicast in wlan

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李懿雯等: "多跳无线网络启发式网络编码协议研究", 《小型微型计算机***》, no. 06, 15 June 2013 (2013-06-15), pages 1 - 4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339621A (en) * 2021-12-30 2022-04-12 上海庆科信息技术有限公司 Method and device for controlling Bluetooth mesh network equipment and electronic device
CN114697258A (en) * 2022-04-11 2022-07-01 网易(杭州)网络有限公司 Data communication method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111246400B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN108781174B (en) Device connection method and device, electronic device and readable storage medium
CN113412469A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN111246400B (en) Signal quality detection method, device, storage medium, electronic device and system
CN105897527A (en) Method and device for setting running parameter of smart home device in smart scene
CN111245714B (en) Access method and device of home gateway module, storage medium and electronic device
CN102625530B (en) Light emitting diode (LED) lamplight remote control system based on institute of electrical and electronic engineers (IEEE) 802.15.4
CN111245713B (en) Gateway role processing method, device, storage medium, processor and system
CN106411667A (en) Intelligent home multi-cloud control method and system based on network chip
CN114007235A (en) Scene rule writing method and device, storage medium, processor and electronic equipment
CN103619067A (en) Wireless channel redistributing method and device
CN111654844A (en) Device pairing method and related device and device
WO2019080719A1 (en) Data processing method and device, storage medium, processor, and system
CN105072560B (en) A kind of data transmission method and device
CN111586952A (en) Switch control method, device, processor and intelligent switch equipment
CN109150675A (en) Interaction method and device for household appliances
CN110892737A (en) Network connection method, device and readable storage medium
CN111683372A (en) Processing method and device of attribute information, processor and terminal
CN111464404A (en) Information processing method, device, storage medium, processor and system
WO2023151423A1 (en) Device connection method and apparatus, device, and storage medium
US20170126489A1 (en) Auto-Commissioning of Lighting Resources
CN108809777B (en) Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium
CN115442228A (en) Business logic processing method, device, electronic device, storage medium and system
CN104267896B (en) Electronic equipment, input unit and control method
CN109151014B (en) NAN-based intelligent management method and related product
CN206135952U (en) Commercial light control network

Legal Events

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