Wireless router communication control method and device, electronic equipment and storage medium
By establishing a detection path of wireless network-wired router-wired network, monitoring and detecting the communication status of wireless routing devices in real time, and performing automatic reset or power-off operations when abnormalities are detected, the problem of inability to detect and restore in real time in the prior art is solved, and the reliability and stability of the system are improved.
Patent Information
- Application Number
- CN202510363494.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-06-17
AI Technical Summary
Existing wireless routers cannot detect and determine the actual communication status of third-party wireless routing devices in real time, and cannot automatically recover when an abnormality occurs in a network processor, resulting in a reduced system reliability.
By synchronously obtaining or manually setting the network operation parameters of the wireless routing device to be tested, establishing a network path of the wireless network-wired router-wired network, monitoring the network operation parameters in real time, and sending detection messages regularly to judge the communication status. When an abnormality is detected, perform an abnormal reset or power-off operation to resume normal operation.
Real-time communication status detection and abnormal determination of third-party wireless routing devices are realized, and business operations can be quickly restored without affecting normal business operations, improving the reliability and stability of the system.
Smart Images

Figure CN120166482A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technologies, and particularly relates to a communication control method, device, electronic device, and storage medium for a wireless router. Background Art
[0002] Currently, all wireless routers use the network processor inside the device to detect their own network status. Since they cannot estimate network communication environments such as the number of actually connected devices, communication protocols, link status, and transmission frequency, they can only count communication status information and cannot determine whether the actual communication status is abnormal.
[0003] Moreover, when software and hardware anomalies occur in the network processor core of a wireless router, it can neither make further judgments on status information nor perform automatic recovery operations such as self-restart and power-off. It can only attempt to recover through manual intervention, which greatly prolongs the recovery time and reduces system reliability, resulting in significant limitations in applications in industrial fields with high reliability requirements. Summary of the Invention
[0004] In view of this, this application aims to provide a communication control method, device, electronic device, and storage medium for a wireless router to perform real-time detection and anomaly determination on the actual communication status of a third-party wireless router to be tested, and can perform anomaly recovery through methods such as reset and power-off. On the basis of not affecting the normal business operations of the third-party wireless router to be tested, it can monitor the communication status in real time, and reset the third-party wireless router when anomalies occur to quickly restore the normal operation of the business, aiming to improve the accuracy, timeliness, and recoverability of anomaly status judgment for the third-party wireless router, and ensure the long-term stable operation of the system.
[0005] To achieve the above object, the technical solution of this application is implemented as follows: In a first aspect, this application provides a communication control method for a wireless router, which is characterized by including: Synchronously obtaining or manually setting the network operation parameters of a third-party wireless router to be tested, and establishing a network path with the third-party wireless router, where the network path is a link formed between a wireless network - wireless router - wired network; Real-time monitoring of the network operation parameters, based on the monitored network operation parameters, periodically sending probe messages to the third-party wireless router, and judging its communication status according to the valid probe messages returned by the third-party wireless router, including: In response to receiving a valid probe message within a preset time, it is determined that the communication status of the third-party wireless router is normal; If no valid detection message is received within a preset time, it is determined that the communication status of the third-party wireless router device is abnormal, and the third-party wireless router device is controlled to perform an abnormal reset operation.
[0006] In a second aspect, based on the same inventive concept, the present application further provides a wireless router communication control device, including a processing and control unit, an information synchronization unit, a wireless communication unit, a wired communication unit, and an abnormal control unit; The processing and control unit synchronizes and processes the operating parameters of the wireless router through the information synchronization unit, sends the detection message generated at regular intervals to the network of the third-party wireless router device through the wireless communication unit, and performs information processing according to the valid detection message returned by the wired communication unit to determine the network communication status; In response to determining that the network communication is abnormal, the abnormal control unit is controlled to perform a reset / power-off operation on the third-party wireless router device to restore the network abnormal state.
[0007] In a third aspect, based on the same inventive concept, the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the method described in the first aspect is implemented.
[0008] In a fourth aspect, based on the same inventive concept, the present application further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the method described in the first aspect.
[0009] Compared with the prior art, the wireless router communication control method, device, electronic device, and storage medium described in the present application have the following beneficial effects: For the wireless router communication control method, device, electronic device, and storage medium described in the present application, the method adopts a network path from a wireless network to a third-party wireless router device to a wired network, which can detect the wireless network function and wired network function of the wireless router at the same time. Its network detection path is independent of the third-party routing device, and it can realize real-time monitoring of the communication status without affecting the normal business operation of the third-party wireless router device to be tested. When an abnormality occurs, the third-party wireless router device is reset to quickly restore the normal operation of the service, aiming to improve the accuracy, timeliness, and recoverability of the abnormality state judgment of the third-party wireless router device and ensure the long-term stable operation of the system. Description of the Drawings
[0010] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings: Figure 1 Flow chart of a wireless router communication control method according to an embodiment of the present application; Figure 2 Specific implementation flow chart of a wireless router communication control method according to an embodiment of the present application; Figure 3 Schematic structural diagram of a wireless router communication control device according to an embodiment of the present application; Figure 4 Schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. Specific implementation manners
[0011] To make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to specific embodiments and the accompanying drawings.
[0012] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should have the ordinary meanings understood by those of ordinary skill in the art to which the present application belongs. The "first", "second" and similar terms used in the embodiments of the present application do not denote any order, quantity or importance, but are only used to distinguish different components. The terms such as "including" or "comprising" mean that the elements or items appearing before this term cover the elements or items listed after this term and their equivalents, without excluding other elements or items. The terms such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The terms such as "upper", "lower", "left" and "right" are only used to represent relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may also change accordingly.
[0013] Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0014] Please refer to Figure 1 As shown, this embodiment provides a wireless router communication control method, which specifically includes the following steps: Step S101, synchronously obtain or manually set the network operation parameters of the third-party wireless router device to be measured, and establish a network connection with the third-party wireless router device, where the network connection is a link composed of a wireless network - wireless router - wired network.
[0015] Step S102, continuously monitor the network operation parameters, and based on the monitored network operation parameters, periodically send probe messages to the third-party wireless router device, and judge its communication status according to the valid probe messages returned by the third-party wireless router device, including: If a valid detection message is received within a preset time, it is determined that the communication status of the third-party wireless router device is normal; If a valid detection message is not received within a preset time, it is determined that the communication status of the third-party wireless router device is abnormal, and the third-party wireless router device is controlled to perform an abnormal reset operation.
[0016] The wireless router communication control method described in this embodiment uses a network path from a wireless network to a third-party wireless router device to a wired network, which can detect the wireless network function and the wired network function of the wireless router at the same time. Its network detection path is independent of the third-party router device, and it can realize real-time monitoring of the communication status without affecting the normal business operation of the third-party wireless router device to be tested. When an abnormality occurs, the third-party wireless router device is reset to quickly restore the normal operation of the service, aiming to improve the accuracy, timeliness and recoverability of the judgment of the abnormal state of the third-party wireless router device and ensure the long-term stable operation of the system.
[0017] In some embodiments, in response to a change in the network operation parameters monitored in real time, the wireless or wired network operation parameters and communication addresses are reset, and the networks are restarted respectively to ensure the normal operation of the network environment; If the network operation parameters monitored in real time do not change, a detection message with a special identifier is generated and sent to the third-party wireless router device at regular intervals.
[0018] Specifically, in this embodiment, the detection message uses a message with a special identifier. This application does not impose too many restrictions on the specific content of the detection message, but the above detection message needs to have a unique device identification code. Whether it is a valid detection message can be identified through the content of the detection message, and network latency and the like can be judged through the content of the detection message.
[0019] In some embodiments, the received detection message is judged for validity to determine that the detection message is a valid detection message. Among them, the validity judgment includes at least the message sequence number, network address parameter, and device identifier.
[0020] Specifically, in this embodiment, the detection message needs to contain some interaction information. There can be a lot of content included in this interaction information, and this embodiment does not make specific limitations. For example, the detection message has information such as a transmission timestamp, a message sequence number, a network address parameter, and a device identifier, so as to facilitate the verification and analysis of the message information during subsequent determination processing. For example, the device identifier has a unique device identification code, and this unique identification code can enable the processing and control module to quickly and accurately distinguish the detection message belonging to its own device in a wireless network environment where multiple wireless routers work together. For example, the detection message is equipped with a check code to exclude communication error codes (that is, to determine that the detection message has no transmission error codes by verifying the check code).
[0021] By comparing the sent detection message and the received detection message, the validity of the detection message is judged, including information such as the message sequence number, the network address parameter, and the device identifier, to determine that the detection message is a valid detection message.
[0022] In some embodiments, by comparing the timestamp of the sent detection message with the timestamp of the received detection message, the network latency and arrival rate of the detection message are analyzed, and then the network communication status of the third-party wireless router device is judged.
[0023] Furthermore, by setting network latency or arrival rate threshold levels, the network communication quality is marked according to the network latency degree and arrival rate degree of the detection message.
[0024] Specifically, in this embodiment, after the router is started and has received at least one valid detection message, if no valid detection message is received again within the agreed time, or, after statistics, the network status such as the average message arrival rate and network average latency within a period of time exceeds the set threshold, it is determined that the network communication is abnormal.
[0025] By analyzing the network latency and arrival rate of the detection message, the network communication status of the third-party wireless router device is judged. This embodiment takes network latency as an example for illustration. For example, for the network latency time, different thresholds are set, including network latency time threshold one, network latency time threshold two, network latency time threshold three, and network latency time threshold four. Different network communication qualities are marked according to different network latency degrees of the detection message, including: extremely poor network communication status, poor network communication quality, acceptable network communication quality, good network communication quality, and extremely good network communication quality, etc.
[0026] In some embodiments, in response to the abnormal communication status of the third-party wireless router device, a reset operation is performed on the third-party wireless router device through an abnormal control method to restore the abnormal communication state of the third-party wireless router device.
[0027] Specifically, in this embodiment, actions are taken on the router according to different network communication states. For example, in the case of extremely poor network communication states, reset operations are performed on the third-party wireless router device by using interfaces such as reset and power control to restore the communication abnormal state of the third-party wireless router device.
[0028] When a communication abnormal state occurs, the working state of the third-party router device and the network communication state are externally prompted in the form of sound and light indication. When the device returns to normal, the state indication ends and the network communication returns to normal.
[0029] It should be noted that some embodiments of the present application are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order from those in the above embodiments and still achieve the desired results. Additionally, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0030] Based on the same inventive concept, corresponding to the method of any of the above embodiments, an embodiment of the present application also provides a wireless router communication control device.
[0031] As Figure 3 shown, the wireless router communication control device includes: It includes a processing control unit 1, an information synchronization unit 2, a wireless communication unit 3, a wired communication unit 4, and an exception control unit 5; The processing control unit 1 synchronizes and processes the operating parameters of the wireless router through the information synchronization unit 2, sends the periodically generated detection messages to the third-party wireless router device network through the wireless communication unit 3, and performs information processing based on the valid detection messages returned by the wired communication unit 4 to determine the network communication state; In response to determining that the network communication is abnormal, it controls the exception control unit 5 to perform a reset / power-off operation on the third-party wireless router device to restore the network abnormal state.
[0032] Specifically, in this embodiment, the processing control unit 1 is the processing core unit of the device, responsible for synchronizing and processing the operating parameters of the wireless router through the information synchronization unit 2, periodically generating detection messages, and sending them to the wireless network of the wireless router through the wireless communication unit 3, receiving the detection messages returned by the wired communication unit 4, processing information such as communication delay and message arrival rate, and determining the network state; when it determines that the network is abnormal, it controls the exception control unit 5 to perform a reset / power-off operation on the third-party wireless router device to restore the network abnormal state.
[0033] The information synchronization unit 2 can be connected to a third-party wireless router device through various communication interfaces such as UART / USB / LAN, and obtain parameter information such as the SSID, password, network address, and subnet mask of the third-party wireless router device through a general or private protocol, so as to facilitate the wireless communication unit 3 and the wired communication unit 4 to access the network of the third-party wireless router device. When the third-party wireless router device does not support the information synchronization interface or protocol, this unit supports manual setting of network parameters to achieve network access.
[0034] The wireless communication unit 3 uses the network operation parameters synchronized or manually set by the information synchronization unit 2 to connect to the wireless network of the third-party wireless router device; receives the detection messages periodically generated by the processing and control unit 1, and sends the detection messages to the wired communication unit 4 of this device through the wireless network - routing function - wired network of the third-party wireless router device.
[0035] The wired communication unit 4 uses the network operation parameters synchronized or manually set by the information synchronization unit 2 to connect to the wired network of the third-party wireless router device; receives the detection messages returned by the wired network of the third-party wireless router device and transmits them to the processing and control unit 1 to achieve subsequent status analysis and anomaly judgment.
[0036] The anomaly control unit 5 receives the communication status anomaly judgment result of the processing and control unit 1, and performs anomaly recovery operations on the third-party wireless router device by sending reset signals, power-off controls, etc.
[0037] The parameter synchronization function of the router can be not open to the public. When the parameter synchronization function of the router is not open to the public, the processing and control unit 1 notifies the wireless communication unit 3 and the wired communication unit 4 to use the network operation parameters set manually.
[0038] In the specific implementation of this embodiment, the parameter synchronization function of the router can be open to the public. The network operation parameters of the third-party wireless router device synchronized by the information synchronization unit 2 can be the SSID, password, network address, subnet mask, etc. of the third-party wireless router device, or other network operation parameters that support the network operation of the wireless communication unit 3 and the wired communication unit 4.
[0039] The information synchronization unit 2 can synchronize the network operation parameters of multiple third-party wireless router devices. Synchronizing the network operation parameters of the third-party wireless router device can be executed step by step. When the network operation parameters of one or more third-party wireless router devices cannot be synchronized successfully, the network operation parameters of the third-party wireless router device that cannot be synchronized successfully will be recorded by the processing and control unit 1, and the processing and control unit 1 will notify the wireless communication unit 3 and the wired communication unit 4 of the synchronization situation of the network operation parameters of the third-party wireless router device.
[0040] The information synchronization unit 2 can obtain the network parameters of the third-party wireless router to be tested through multiple communication interfaces and protocols, or the network parameters can be set manually; based on the network communication parameters synchronized or set by the information synchronization unit 2, the processing and control unit 1 controls the wireless communication unit 3 to regularly send detection packets with special marks to the wired communication unit 4 through the wireless-wired communication link of the third-party wireless router to be tested; if the wired communication unit 4 does not receive the detection packet within the set time range, or the status such as the average packet arrival rate and network average delay within a period of time exceeds the set threshold, it is determined that the communication status of the third-party wireless router to be tested is abnormal; if it is determined that the communication status is abnormal, the processing and control unit 1 controls the abnormal control unit 5 to perform abnormal recovery operations such as resetting and power-off on the third-party wireless router to be tested. This application can monitor the communication status in real time without affecting the normal business operation of the third-party wireless router to be tested, and reset the third-party wireless router when an abnormality occurs to quickly resume the normal operation of the business.
[0041] In some embodiments, an acoustic-optic indication unit 6 is further included, and the acoustic-optic indication unit 6 is configured to perform acoustic-optic indication according to the judgment result of the network communication status.
[0042] In the specific implementation of this embodiment, there are many ways for the processing and control unit 1 to indicate the working status of the router through the acoustic-optic indication unit 6, and this embodiment does not make specific limitations. For example, during the network startup process, before the wireless communication unit 3 and the wired communication unit 4 have not interacted, the green indicator light flashes once per second; after the processing and control unit 1 receives a valid detection packet and determines that the network communication is normal, the green indicator light is always on; if the processing and control unit 1 has never received a valid detection packet within the agreed time, the green indicator light flashes once every three seconds, and at the same time, the buzzer emits a beeping sound once every three seconds.
[0043] In the specific implementation of this embodiment, a situation where the communication function of the router is normal may be encountered. After the router is started, the processing and control unit 1 synchronizes the network operation parameters of the third-party wireless router through the information synchronization unit 2. After the wireless communication unit 3 and the wired communication unit 4 complete the network startup, when the processing and control unit 1 receives a valid detection packet and determines that the communication function of the router is normal, at this time, the acoustic-optic indication unit 6 makes an indication that the green indicator light is always on.
[0044] In the specific implementation of this embodiment, it may occur that the router has never communicated, triggering the alarm of the sound and light indication unit 6. After the router is started, within a specified time, the processing and control unit 1 has never received a valid detection message. Or, after being statistically analyzed by the processing and control unit 1, network states such as the average message arrival rate and the average network latency within a period of time exceed the set thresholds, determining that the network communication is abnormal. At this time, the sound and light indication unit 6 gives an indication that the green indicator light flashes once every three seconds. At the same time, the buzzer emits a beeping sound once every three seconds.
[0045] In the specific implementation of this embodiment, it may occur that the router has never communicated, triggering the alarm of the sound and light indication unit 6, and then the network communication function of the router automatically resumes normal, and the alarm of the abnormal alarm unit is automatically lifted. After the router is started, within a specified time, the processing and control unit 1 has never received a valid detection message. Or, after being statistically analyzed by the processing and control unit 1, network states such as the average message arrival rate and the average network latency within a period of time exceed the set thresholds, determining that the network communication is abnormal. At this time, the sound and light indication unit 6 gives an indication that the green indicator light flashes once every three seconds. At the same time, the buzzer emits a beeping sound once every three seconds. During the alarm of the abnormal alarm unit, the network communication function of the router automatically resumes normal, the processing and control unit 1 receives a valid detection message, and notifies the abnormal alarm unit to lift the alarm, and the network communication resumes normal.
[0046] In the specific implementation of this embodiment, after the router works normally, the network communication state of the third-party wireless router device becomes abnormal. The processing and control unit 1 uses interfaces such as reset and power control through the abnormal control unit 5 to perform a reset operation on the third-party wireless router device, and then the communication state of the third-party wireless router device resumes normal. After the router is started, the processing and control unit 1 synchronizes the network operation parameters of the third-party wireless router device through the information synchronization unit 2. After the wireless communication unit 3 and the wired communication unit 4 complete the network startup, the processing and control unit 1 receives a valid detection message, determining that the communication function of the router is normal. After achieving normal network communication, within a specified time, the processing and control unit 1 does not receive a valid detection message, determining that the network communication is abnormal. The processing and control unit 1 uses interfaces such as reset and power control through the abnormal control unit 5 to perform a reset operation on the third-party wireless router device to restore the abnormal communication state of the third-party wireless router device. During this working period, the sound and light indication unit 6 gives an indication that the green indicator light is always on.
[0047] For the convenience of description, when describing the above device, various modules are described separately according to their functions. Of course, when implementing the embodiments of the present application, the functions of each module can be implemented in one or more software and / or hardware.
[0048] The device of the above embodiment is used to implement the corresponding method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be elaborated here.
[0049] Based on the same inventive concept, corresponding to the method of any of the above embodiments, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, it implements the method described in any of the above embodiments.
[0050] Figure 4 FIG. shows a more specific schematic diagram of the hardware structure of the electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. Among them, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other inside the device through the bus 1050.
[0051] The processor 1010 may be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0052] The memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0053] The input / output interface 1030 is used to connect to an input / output module to implement information input and output. The input / output module may be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0054] The communication interface 1040 is used to connect to a communication module (not shown in the figure) to achieve communication and interaction between this device and other devices. The communication module can achieve communication through wired means (such as USB, network cable, etc.) or through wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0055] The bus 1050 includes a path for transmitting information between various components of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0056] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of the embodiments of this specification, and does not necessarily include all the components shown in the figure.
[0057] The electronic device of the above embodiment is used to implement the corresponding method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0058] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present application also provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the method described in any of the above embodiments.
[0059] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device.
[0060] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0061] Those of ordinary skill in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the present application (including the claims) is limited to these examples; under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present application as described above, and they are not provided in detail for the sake of brevity.
[0062] In addition, for the sake of simplicity of description and discussion, and in order not to make the embodiments of the present application difficult to understand, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram in order not to make the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application will be implemented (i.e., these details should be completely within the understanding of those skilled in the art). In the case where specific details (such as circuits) are set forth to describe the exemplary embodiments of the present application, it will be apparent to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with variations of these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0063] Although the present application has been described in connection with specific embodiments of the present application, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) can be used in the embodiments discussed.
[0064] The embodiments of the present application are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the embodiments of the present application shall be included within the protection scope of the present application.
Claims
1. A wireless router communication control method, characterized in that: include: Synchronously acquiring or manually setting network operation parameters of the third-party wireless routing device to be tested, and establishing a network path with the third-party wireless routing device, wherein the network path is a link formed by a wireless network, a wireless router, and a wired network; Monitoring the network operation parameters in real time, sending a detection message to the third-party wireless routing device at regular intervals based on the monitored network operation parameters, and judging the communication status of the third-party wireless routing device according to the valid detection message returned by the third-party wireless routing device, including: In response to receiving a valid detection message within a preset time, determining that the communication state of the third-party wireless routing device is normal; In response to not receiving a valid detection message within a preset time, it is determined that the communication state of the third-party wireless routing device is abnormal, and the third-party wireless routing device is controlled to perform an abnormal reset operation.
2. The method according to claim 1, characterized in that: In response to changes in the network operating parameters monitored in real time, resetting the wireless or wired network operating parameters and communication addresses to restart the network; In response to the real-time monitored network operation parameters not changing, a detection message with a special identifier is generated and sent to the third-party wireless routing device at a fixed time.
3. The method according to claim 1, characterized in that: The received detection message is judged to be a valid detection message, wherein the validity judgment at least includes a message sequence number, a network address parameter, and a device identifier.
4. The method according to claim 1, characterized in that: By comparing the timestamp of the sent probe message with the timestamp of the received probe message, the network delay and arrival rate of the probe message are analyzed, and then the network communication status of the third-party wireless routing device is determined.
5. The method according to claim 4, characterized in that: By setting the network delay or report rate threshold level, the network communication quality is marked by detecting the network delay degree and report rate degree of the message.
6. The method according to claim 1, characterized in that: In response to the abnormal communication state of the third-party wireless routing device, a reset operation is performed on the third-party wireless routing device through an abnormal control method to restore the abnormal communication state of the third-party wireless routing device.
7. A wireless router communication control device, characterized in that: It includes a processing control unit, an information synchronization unit, a wireless communication unit, a wired communication unit and an abnormality control unit; The processing control unit synchronizes and processes the wireless router operating parameters through the information synchronization unit, sends the regularly generated detection message to the third-party wireless routing device network through the wireless communication unit, and performs information processing according to the valid detection message returned by the wired communication unit to determine the network communication status; In response to determining that the network communication is abnormal, the abnormal control unit is controlled to reset / power off the third-party wireless routing device to restore the network abnormal state.
8. The method according to claim 7, characterized in that: It also includes an acoustic and optical indication unit, which is configured to perform acoustic and optical indication according to the judgment result of the network communication status.
9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the program.
10. A non-transitory computer-readable storage medium, characterized in that: in, The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 6.