CN110753363A - Intelligent device wireless debugging system and method - Google Patents

Intelligent device wireless debugging system and method Download PDF

Info

Publication number
CN110753363A
CN110753363A CN201911034745.9A CN201911034745A CN110753363A CN 110753363 A CN110753363 A CN 110753363A CN 201911034745 A CN201911034745 A CN 201911034745A CN 110753363 A CN110753363 A CN 110753363A
Authority
CN
China
Prior art keywords
debugging
wireless
intelligent
service module
tool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911034745.9A
Other languages
Chinese (zh)
Inventor
詹昭城
袁明富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LEXIN INFORMATION TECHNOLOGY (SHANGHAI) Co Ltd
Espressif Systems Shanghai Co Ltd
Original Assignee
LEXIN INFORMATION TECHNOLOGY (SHANGHAI) 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 LEXIN INFORMATION TECHNOLOGY (SHANGHAI) Co Ltd filed Critical LEXIN INFORMATION TECHNOLOGY (SHANGHAI) Co Ltd
Priority to CN201911034745.9A priority Critical patent/CN110753363A/en
Publication of CN110753363A publication Critical patent/CN110753363A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The invention provides a wireless debugging system of intelligent equipment, which comprises a wireless debugging tool, the intelligent equipment and a wireless router, wherein the wireless debugging tool comprises a Wi-Fi interface, a serial port and a computing unit; a debugging service module runs on the computing unit; the wireless debugging tool is connected with the debugged equipment through Wi-Fi, and is transparent to the logic of an upper software module of the debugged equipment based on data link layer communication. The invention also provides a method for debugging by using the wireless debugging system, which comprises Wi-Fi scanning, equipment configuration, debugging command operation, result receiving and the like, thereby realizing nondestructive simultaneous monitoring and testing of a plurality of equipment. After receiving the logs of the intelligent equipment, the number of various logs can be counted, and the state of the intelligent equipment is monitored in real time through the serial port. When the device has a problem and needs to be deeply debugged, the running condition of the device can be acquired through direct interaction with the intelligent device, and different debugging commands supported by the intelligent device can be called for different intelligent devices.

Description

Intelligent device wireless debugging system and method
Technical Field
The invention relates to the technical field of communication, in particular to a system and a method for debugging intelligent equipment, and particularly relates to a system and a method for wirelessly debugging intelligent equipment.
Background
During the research and development of smart machine and after the volume production, in order to solve the problem that smart machine exists, need debug smart machine. The traditional intelligent device debugging method is to connect a debugging host and a debugged intelligent device in a wired mode. The wired connection mode requires a wired debugging interface on the debugged device, and leads out a connection line special for debugging, which is generally a serial port line. Meanwhile, the debugging method of wired connection is limited by the connection interface, so that multiple devices cannot be debugged at the same time. The intelligent equipment after mass production generally seals the debugging interface, so to the debugging after the mass production, the wired connection mode generally still can require to demolish product encapsulation, exposes the debugging interface.
The Chinese invention patent (publication number CN101321093A) discloses a system for supporting the field development and debugging of a wireless sensor network, which can form a target network by a plurality of debugging nodes in a self-organizing network mode and debug the intelligent equipment of the target node through a debugging server. However, the problem to be solved by this system is to provide a real network environment for the wireless sensor so as to enable the development environment to approach the real environment, so this system still requires to reserve a debugging interface on the target node, including a serial port and a reset interface, etc. in order to connect the debugging node, so there is still a problem of removing the product package for the debugging after the production.
The Chinese invention patent (publication number CN103269292A) discloses a method for debugging ADB by using short-distance microwave communication equipment on an Android platform. The method discloses a method for sending debugging commands by debugging equipment after connecting a network, but the short-distance microwave communication equipment based on a physical link of the method is not general equipment of intelligent equipment, and the method does not provide one-to-many debugging parties
Disclosure of Invention
The invention aims to provide a wireless debugging system and method for intelligent equipment, which mainly solve the problems in the prior art, can support simultaneous debugging of multiple pieces of equipment, complete debugging can be completed on the premise of not unsealing the intelligent equipment to be tested, and simultaneously the logic of upper-layer software of the intelligent equipment does not need to be modified.
In order to achieve the above object, the technical solution adopted by the present invention provides a wireless debugging system for an intelligent device, comprising a wireless debugging tool, an intelligent device and a wireless router, wherein the wireless debugging tool comprises a Wi-Fi interface, a serial port and a computing unit; a debugging service module runs on the computing unit; a debugging client module runs on the intelligent equipment; one or more intelligent devices establish hardware connection with the wireless debugging tool through the wireless router; the debugging service module and the debugging client module establish software connection based on the hardware connection; the communication mechanism of the intelligent equipment and the wireless debugging tool is based on a data link layer, and the communication mechanism is transparent to the logic of a software module above the debugging client module; the wireless debugging tool can perform Wi-Fi configuration and scanning, can inquire and run a debugging command supported by the intelligent equipment, and can acquire or modify the state of the intelligent equipment; the debugging service module monitors the state of each intelligent device in real time and provides log management.
Further, the wireless debugging tool also comprises a storage device; the storage device provides storage management through the debug service module.
Further, the storage device is an SD card, and the storage management is SD card management.
Further, the debug service module supports core dump management and network packet capture management.
Further, the wireless debugging tool also comprises a display screen; and the wireless debugging tool displays the state of each intelligent device in real time through the display screen.
Further, in the debugging process, after the software connection of the intelligent device is established, the MAC address of the wireless debugging tool is recorded, and the abnormal information of the intelligent device is actively sent.
The invention also provides a debugging method using the intelligent device wireless debugging system, which is characterized by comprising the following steps:
step 1, configuring the wireless debugging tool and all intelligent devices to be debugged to work on the same channel of Wi-Fi in a network of the wireless router;
step 2, the wireless debugging tool scans on a specified channel, finds all the intelligent devices to be debugged, and establishes the hardware connection;
step 3, the wireless debugging tool configures the intelligent equipment to be debugged one by one, and establishes the software connection between the debugging service module and each debugging client module;
step 4, the debugging service module sends the debugging command to the debugging client module; the debugging client module executes the debugging command and returns a result to the debugging service module;
step 5, the debugging service module inquires the state of the intelligent equipment from the debugging client module; the debugging client module returns the state of the intelligent equipment to the debugging service module;
step 6, the debugging service module sets the state of the intelligent equipment to the debugging client module; the debugging client module sets the state of the intelligent equipment and returns a result to the debugging service module;
and 7, analyzing the result, and repeating any one of the steps 4 to 6 until the debugging is finished.
Further, the step 2 further includes:
step 2.1, the wireless debugging tool scans on an appointed channel to find all the intelligent equipment to be debugged;
2.2, the wireless debugging tool filters the intelligent equipment through Wi-Fi signal intensity or equipment manufacturers of the intelligent equipment, and the hardware connection is established;
further, the step 3 further includes:
3.1, the wireless debugging tool sends configuration information to each intelligent device to be debugged one by one, wherein the configuration information comprises a data encryption key;
step 3.2, establishing the software connection between the debugging service module and each debugging client module; the software connection adopts data encryption transmission.
For an intelligent device wireless debugging system with a storage device, the invention also provides another debugging method using the intelligent device wireless debugging system, which is characterized by comprising the following steps:
step 1, configuring the wireless debugging tool and all intelligent devices to be debugged to work on the same channel of Wi-Fi in a network of the wireless router;
step 2, the wireless debugging tool scans on a specified channel, finds all the intelligent devices to be debugged, and establishes the hardware connection;
step 3, the wireless debugging tool configures the intelligent equipment to be debugged one by one, and establishes the software connection between the debugging service module and each debugging client module;
step 4, the debugging service module sends the debugging command to the debugging client module; the debugging client module executes the debugging command and returns a result to the debugging service module;
step 5, the debugging service module inquires the state of the intelligent equipment from the debugging client module; the debugging client module returns the state of the intelligent equipment to the debugging service module;
step 6, the debugging service module sets the state of the intelligent equipment to the debugging client module; the debugging client module sets the state of the intelligent equipment and returns a result to the debugging service module;
step 7, the debugging service module starts to execute the network packet capturing management, and stores the packet capturing result into the storage device through the storage management;
and 8, the debugging service module starts to execute the core dump management, and stores the result of the core dump into the storage device through the storage management.
And 9, analyzing the result, and repeating any one of the steps 4 to 8 until the debugging is finished.
Further, the step 2 further includes:
step 2.1, the wireless debugging tool scans on an appointed channel to find all the intelligent equipment to be debugged;
2.2, the wireless debugging tool filters the intelligent equipment through Wi-Fi signal intensity or equipment manufacturers of the intelligent equipment, and the hardware connection is established;
further, the step 3 further includes:
3.1, the wireless debugging tool sends configuration information to each intelligent device to be debugged one by one, wherein the configuration information comprises a data encryption key;
step 3.2, establishing the software connection between the debugging service module and each debugging client module; the software connection adopts data encryption transmission.
Further, the step 8 further includes:
step 8.1, the debugging service module sends a core dump command to the debugging client module;
8.2, the debugging client module inquires a core dump of the intelligent equipment and returns a core dump result to the debugging service module;
step 8.3, the debugging service module saves the core dump result to the storage device;
the beneficial effects obtained by the invention comprise: 1) because wireless debugging does not require physical wiring, multiple devices can be monitored and tested simultaneously without damage. 2) Because the communication between the wireless debugging system and the intelligent equipment is based on a data link layer, data is packaged in a Wi-Fi Action frame for receiving and sending, and the data can be directly communicated only by knowing the MAC address of the intelligent equipment, so that the wireless debugging system is transparent to the data communication of an application layer of the intelligent equipment and has little influence on the intelligent equipment. 3) After receiving the logs of the intelligent device, the wireless debugging system can count the number of various logs (I, W, E) and the restarting times, and can monitor the state of the intelligent device in real time through the serial port. On the wireless debugging system with the display screen, the state of each intelligent device can be visually seen through real-time display on the display screen. 4) When the device has a problem and needs to be deeply debugged, the running condition of the device, such as the version number, the running time, the residual memory and the like, can be obtained through direct interaction with the intelligent device, and different debugging commands supported by the intelligent device can be called for different intelligent devices.
Drawings
FIG. 1 is a topological structure diagram of a wireless debugging system in the present invention;
FIG. 2 is a flow chart of data communication between a wireless debugging tool and an intelligent device in the wireless debugging system of the present invention;
FIG. 3 is a flow chart of network packet capture management performed by the wireless debugging system in the present invention;
FIG. 4 is an interaction diagram of the wireless debug system setting the state of the smart device in the present invention;
FIG. 5 is a flow chart of Wi-Fi scanning performed by the wireless debugging system in the invention;
FIG. 6 is an interaction diagram of the wireless debug system performing log management in accordance with the present invention;
FIG. 7 is an interaction diagram of a core dump performed by the wireless debug system of the present invention;
fig. 8 is an interaction diagram of the wireless debug system running the debug command in the present invention.
The system comprises 1-intelligent equipment, 2-wireless debugging tools, 3-wireless routers, 4-display screens, 5-SD card interfaces, 6-Wi-Fi interfaces and 7-serial ports.
Detailed Description
The invention will be further illustrated with reference to specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
Referring to fig. 1, the invention discloses a wireless debugging system for intelligent devices, which includes a wireless debugging tool 2 composed of an ESP-writer-KITV 2 development board, a wireless router 3, a plurality of intelligent devices 1 to be debugged, and an SD card. The wireless debugging tool 2 is provided with a display screen 4, an SD card interface 5, a Wi-Fi interface 6 and a serial port 7. The Wi-Fi interface 6 is used for connecting the wireless debugging tool 2 with the intelligent device 1 to be debugged, and the serial port 7 is used for connecting the upper computer with the wireless debugging tool 2. The Wi-Fi interface 6 and the serial port 7 are necessary interfaces of the wireless debugging tool 2. In addition, the wireless debugging tool 2 is connected with the SD card through the SD card interface 5 for saving the received operation log and core dump data and the like from the smart device 1, so the capacity of the SD card is suggested to be larger than 1G. The development version of the display screen 4 is used to display information received from the smart device 1 in real time, such as whether to restart, whether there is an error message, etc. The SD card and the display screen 4 are independent from other modules of the wireless debugging tool 2, and the wireless debugging tool can still work without the SD card or the display screen 4, but only part of functions are lost, for example: if the SD card is not available, the functions of saving network packet capturing data, core dump data and storing logs cannot be used.
In the SD card interface 5 of the intelligent wireless device debugging system of this embodiment, an SD card is inserted, and a display screen 4 is also provided, so based on this embodiment, the debugging method using the intelligent wireless device debugging system includes the steps of:
step 1, configuring a wireless debugging tool 2 and all intelligent devices 1 to be debugged in a network of a wireless router 3 to work on the same channel of Wi-Fi;
step 2, the wireless debugging tool 2 scans on a specified channel, finds all the intelligent devices 1 to be debugged, and establishes the hardware connection; in this step, before the intelligent device 1 is found and the hardware connection is actually established, the wireless debugging tool 2 may actively screen the interested devices from all the found intelligent devices 1 to be debugged and enter a subsequent debugging process, and ignore the devices that do not need to be debugged, so as to improve the working efficiency. The principle of the screening is to select the intelligent device 1 to be debugged according to Wi-Fi signal strength (low signal-to-noise ratio caused by weak signal strength can affect debugging efficiency) or equipment manufacturer (MAC address) of the intelligent device 1, and establish hardware connection.
Step 3, the wireless debugging tool 2 configures the intelligent devices 1 to be debugged one by one, and establishes software connection between the debugging service module and each debugging client module; in this step, the wireless debugging tool 2 sends configuration information to each of the intelligent devices 1 to be debugged one by one. The configuration information comprises a data encryption key, the number of times of transmission failure retransmission and the like, and subsequent software connection adopts the encryption key to carry out data encryption transmission. After the configuration is completed, each intelligent device 1 to be debugged returns the state of whether the configuration is successful to the wireless debugging tool 2, and under the condition of successful configuration, the MAC address of the wireless debugging tool 2 is recorded, so that when the intelligent device 1 is abnormal, the intelligent device is capable of and will actively send abnormal information to the wireless debugging tool 2.
Step 4, the debugging service module sends a debugging command to the debugging client module; the debugging client module executes the debugging command and returns a result to the debugging service module. For example, a firmware version of the intelligent device 1 may be acquired through a command, or the intelligent device 1 may be restarted, or log information generated by the intelligent device 1 in a previous operation may be acquired through a log command.
Step 5, the debugging service module inquires the state of the intelligent equipment 1 from the debugging client module; the debugging client module returns the state of the intelligent device to the debugging service module, and the wireless debugging module displays the state of the intelligent device 1 on the LCD after analyzing the result.
Step 6, the debugging service module sets the state of the intelligent device 1 to the debugging client module; the debugging client module sets the state of the intelligent equipment 1 and returns a result to the debugging service module;
and 7, executing network packet capturing management by the debugging service module, and storing the packet capturing result into the SD card through storage management.
Step 8, the debugging service module executes the core dump management, and stores the result of the core dump into the SD card through the storage management, and the step specifically comprises the following steps:
step 8.1, the debugging service module sends a core dump command to the debugging client module;
8.2, the debugging client module inquires the core dump of the intelligent device 1 and returns a core dump result to the debugging service module; and if the current equipment does not have the core dump, returning a result to the debugging service module to inform the debugging service module that the core dump does not exist currently.
Step 8.3, if the debugging client module returns the core memory, the debugging service module stores the core dump result into the SD card;
and 9, analyzing the result, and repeating any one of the steps 4 to 8 until the debugging is finished.
Further, in step 4 to step 8, some serial port commands are defined in this embodiment, so that the upper computer controls the wireless debugging tool 2.
Referring to fig. 2, the data communication function between the smart device and the wireless debugging tool only depends on the API for transmitting and receiving 802.11, and is not coupled to the specific upper application of the smart device, so that the smart device can be conveniently applied to different development platforms. In the communication process, the intelligent device end and the wireless debugging tool are a sender and a receiver.
The specific communication comprises the following steps:
step 201, the sender and the receiver are on the same channel.
Step 202, the sender prepares data to be sent.
In step 203, the sender assigns a unique serial number to each sent data packet and adds a CRC check code, so that the receiver has the ability to find and discard duplicate data according to the serial number, and meanwhile, the receiver can check the integrity of the received data according to the CRC check code.
And step 204, the sender sends the data to the receiver through the API of 802.11.
Step 205, the receiver receives the data, checks the integrity through the CRC check code, and sends an ack signaling to the sender.
If the sender receives the ack signaling, the process proceeds to step 206 to complete the transmission. If the sender does not receive ack signaling, the process proceeds to step 204, where the data is retransmitted.
After the initial configuration of the interactive key is completed, the data packet transmitted by the intelligent equipment terminal and the wireless debugging tool is transmitted in an encrypted mode, so that the information safety is ensured.
The serial port command realized based on the data communication mode comprises the following types:
1. the serial port commands SD card file operations for listing all files in the current SD card, deleting specified files, and optionally printing file contents in a certain format (hex, string, base64, etc.).
2. The serial port command sniffer operates, captures a data packet and stores the data packet in the SD card in a pcap format, can guide the file name, set the filtering condition of the data packet, and can specify to monitor on a certain channel. Referring to fig. 3, the network packet-grabbing command includes the following steps:
and step 301, starting, connecting the upper computer with the wireless debugging tool through a serial port.
And step 302, setting sniffer parameters by the upper computer, and starting commands to enable the sniffer mode in the Wi-Fi module of the wireless debugging tool.
Step 303, the wireless debug tool starts to check the data packets on the network and compare them with the filtering condition. For the data packets satisfying the filtering condition, step 304 is entered. For packets that do not satisfy the filtering condition, the packet is discarded and the inspection of subsequent packets continues at step 303.
And step 304, storing the data to the SD card.
And step 305, completing packet grabbing.
3. And the serial port commands Wi-Fi configuration, including setting, storing and erasing Wi-Fi parameter information. Referring to fig. 4, the wireless debugging tool 2 configures Wi-Fi parameters of the smart device 1 through Wi-Fi, and the interaction steps are as follows:
step 401, the host completes Wi-Fi configuration of the wireless debugging tool 2 itself, so that the host can access the Wi-Fi network.
Step 402, the wireless debugging tool 2 searches the intelligent device 1 on the Wi-Fi network channel.
And 403, finding the intelligent device 1 to be configured by the wireless debugging tool, and sending Wi-Fi parameter setting to be configured to the intelligent device 1. The intelligent device 1 receives the Wi-Fi parameters, completes configuration of the intelligent device according to the content of the parameters, and returns a configuration result to the wireless debugging tool 2.
4. And (4) serial port command scanning, starting Wi-Fi scanning and obtaining the intelligent equipment existing around.
Referring to fig. 5, under the command, the wireless debugging tool starts scanning of the Wi-Fi network, and acquires the smart devices existing around as needed, and the steps are as follows:
step 501, preparation starts.
Step 502, the wireless debugging tool switches each channel and scans the intelligent device on each channel.
Step 503, the wireless debugging tool checks whether the scanned intelligent device meets the filtering condition, if so, step 504 is entered, otherwise, the wireless debugging tool stays in step 503 to continuously check other scanned intelligent devices.
And step 504, outputting the information of the intelligent device through an LCD screen or a serial port.
And step 505, ending the scanning.
5. And the serial port command log command configures the log grade of the intelligent equipment through a wireless debugging tool, receives and counts log information, and acquires the running state of the equipment. Please refer to fig. 6, the interaction process is as follows:
step 601, the wireless debugging tool 2 initiates a request to the intelligent device 1, and requires to configure the log parameters of the intelligent device 1 or to acquire the existing log contents on the intelligent device 1.
Step 602, if a request for setting a log parameter (such as a log level) is received, the intelligent device 1 sets the log parameter according to the log parameter in the request.
Step 603, the intelligent device 1 returns the log content generated by the current device to the wireless debugging tool 2.
Step 604, the wireless debugging tool 2 receives the log content, analyzes and processes the received log content.
Step 605, the wireless debug tool saves the log content to the SD card (if there is an SD card), and displays the log content on the LCD screen (if there is an LCD).
6. The method comprises the steps that a core dump file is obtained through a serial port command, when the equipment runs abnormally, the core dump file is generated and stored in a flash, the core dump file comprises a memory, a register state, a stack pointer, memory management information, various function call stack information and the like when a program runs, and the wireless debugging equipment obtains the core dump file through Wi-Fi and is used for positioning the equipment. Referring to fig. 7, the interactive steps for obtaining the core dump file are as follows:
step 701, when the intelligent device 1 runs abnormally, generating a core dump file, and storing the core dump file in a local flash.
Step 702, after the wireless debugging tool and the intelligent device are connected, the wireless debugging tool initiates a request to acquire the state of the intelligent device 1.
Step 703, the intelligent device 1 reads the core dump file information stored in the flash.
Step 704, the intelligent device 1 transmits the core dump file information to the wireless debugging tool 2 in the form of log information.
Step 705, the wireless debugging tool 2 receives the core dump file and analyzes the abnormal information therein.
At step 706, wireless debug tool 2 saves the core dump file to the SD card (if present) and displays it using the LCD (if present).
7. The method comprises the steps that a serial port command is generated, different intelligent devices can define commands supported by the intelligent devices, and the wireless debugging tool enables the intelligent devices to run the commands supported by the intelligent devices through the command and returns the commands to the wireless debugging tool. Each device will support a basic help command to return a list of all commands that they support. The wireless debug tool may invoke the help command first and then execute subsequent commands in the supported command list returned by the smart device. Referring to fig. 8, when the wireless debugging device 2 runs the debugging command, the interaction steps with the intelligent device 1 are as follows:
step 801, the wireless debugging tool 2 selects an effective command and sends the effective command to the intelligent device 1.
Step 802, the smart device 1 executes the received command.
Step 803, the intelligent device 1 returns the command execution result to the wireless debugging tool.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A wireless debugging system of intelligent equipment comprises a wireless debugging tool, the intelligent equipment and a wireless router, and is characterized in that the wireless debugging tool comprises a Wi-Fi interface, a serial port and a computing unit; a debugging service module runs on the computing unit; a debugging client module runs on the intelligent equipment;
one or more intelligent devices establish hardware connection with the wireless debugging tool through the wireless router; the debugging service module and the debugging client module establish software connection based on the hardware connection;
the communication mechanism of the intelligent equipment and the wireless debugging tool is based on a data link layer, and the communication mechanism is transparent to the logic of a software module above the debugging client module;
the wireless debugging tool can perform Wi-Fi configuration and scanning, can inquire and run a debugging command supported by the intelligent equipment, and can acquire or modify the state of the intelligent equipment;
the debugging service module monitors the state of each intelligent device in real time and provides log management.
2. The intelligent device wireless debugging system of claim 1, wherein said wireless debugging tool further comprises a storage device; the storage device provides storage management through the debug service module.
3. The wireless debugging system of claim 2, wherein said storage device is an SD card and said storage management is SD card management.
4. The intelligent device wireless debugging system of claim 2, wherein said debugging service module supports core dump management and network packet capture management.
5. The intelligent device wireless debugging system of claim 1, wherein the wireless debugging tool further comprises a display screen; and the wireless debugging tool displays the state of each intelligent device in real time through the display screen.
6. The wireless debugging system of claim 1, wherein during the debugging process, after the software connection of the intelligent device is established, the MAC address of the wireless debugging tool is recorded, and the abnormal information of the intelligent device is actively sent.
7. A debugging method using the wireless debugging system for intelligent devices of claim 1, comprising the steps of:
step 1, configuring the wireless debugging tool and all intelligent devices to be debugged to work on the same channel of Wi-Fi in a network of the wireless router;
step 2, the wireless debugging tool scans on a specified channel, finds all the intelligent devices to be debugged, and establishes the hardware connection;
step 3, the wireless debugging tool configures the intelligent equipment to be debugged one by one, and establishes the software connection between the debugging service module and each debugging client module;
step 4, the debugging service module sends the debugging command to the debugging client module; the debugging client module executes the debugging command and returns a result to the debugging service module;
step 5, the debugging service module inquires the state of the intelligent equipment from the debugging client module; the debugging client module returns the state of the intelligent equipment to the debugging service module;
step 6, the debugging service module sets the state of the intelligent equipment to the debugging client module; the debugging client module sets the state of the intelligent equipment and returns a result to the debugging service module;
and 7, analyzing the result, and repeating any one of the steps 4 to 6 until the debugging is finished.
8. The method for debugging the wireless debugging system of the intelligent device according to claim 7, wherein the step 2 further comprises:
step 2.1, the wireless debugging tool scans on an appointed channel to find all the intelligent equipment to be debugged;
2.2, the wireless debugging tool filters the intelligent equipment through Wi-Fi signal intensity or equipment manufacturers of the intelligent equipment, and the hardware connection is established;
the step 3 further includes:
3.1, the wireless debugging tool sends configuration information to each intelligent device to be debugged one by one, wherein the configuration information comprises a data encryption key;
step 3.2, establishing the software connection between the debugging service module and each debugging client module; the software connection adopts data encryption transmission.
9. A debugging method using the intelligent device wireless debugging system of claim 4, comprising the steps of:
step 1, configuring the wireless debugging tool and all intelligent devices to be debugged to work on the same channel of Wi-Fi in a network of the wireless router;
step 2, the wireless debugging tool scans on a specified channel, finds all the intelligent devices to be debugged, and establishes the hardware connection;
step 3, the wireless debugging tool configures the intelligent equipment to be debugged one by one, and establishes the software connection between the debugging service module and each debugging client module;
step 4, the debugging service module sends the debugging command to the debugging client module; the debugging client module executes the debugging command and returns a result to the debugging service module;
step 5, the debugging service module inquires the state of the intelligent equipment from the debugging client module; the debugging client module returns the state of the intelligent equipment to the debugging service module;
step 6, the debugging service module sets the state of the intelligent equipment to the debugging client module; the debugging client module sets the state of the intelligent equipment and returns a result to the debugging service module;
step 7, the debugging service module starts to execute the network packet capturing management, and stores the packet capturing result into the storage device through the storage management;
step 8, the debugging service module starts to execute the core dump management, and stores the result of the core dump into the storage device through the storage management, including:
step 8.1, the debugging service module sends a core dump command to the debugging client module;
8.2, the debugging client module inquires a core dump of the intelligent equipment and returns a core dump result to the debugging service module;
step 8.3, the debugging service module saves the core dump result to the storage device;
and 9, analyzing the result, and repeating any one of the steps 4 to 8 until the debugging is finished.
10. The method for debugging the wireless debugging system of the intelligent device according to claim 9, wherein the step 2 further comprises:
step 2.1, the wireless debugging tool scans on an appointed channel to find all the intelligent equipment to be debugged;
2.2, the wireless debugging tool filters the intelligent equipment through Wi-Fi signal intensity or equipment manufacturers of the intelligent equipment, and the hardware connection is established;
the step 3 further includes:
3.1, the wireless debugging tool sends configuration information to each intelligent device to be debugged one by one, wherein the configuration information comprises a data encryption key;
step 3.2, establishing the software connection between the debugging service module and each debugging client module; the software connection adopts data encryption transmission.
CN201911034745.9A 2019-10-29 2019-10-29 Intelligent device wireless debugging system and method Pending CN110753363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911034745.9A CN110753363A (en) 2019-10-29 2019-10-29 Intelligent device wireless debugging system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911034745.9A CN110753363A (en) 2019-10-29 2019-10-29 Intelligent device wireless debugging system and method

Publications (1)

Publication Number Publication Date
CN110753363A true CN110753363A (en) 2020-02-04

Family

ID=69280636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911034745.9A Pending CN110753363A (en) 2019-10-29 2019-10-29 Intelligent device wireless debugging system and method

Country Status (1)

Country Link
CN (1) CN110753363A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111769915A (en) * 2020-06-28 2020-10-13 杭州涂鸦信息技术有限公司 Data transmission method and related equipment
CN112822081A (en) * 2021-01-08 2021-05-18 广州视源电子科技股份有限公司 Debugging data transmission method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246587A (en) * 2013-04-19 2013-08-14 福州瑞芯微电子有限公司 Method for utilizing SD (secure digital) card for ADB (android debug bridge) debugging on android platform
CN105263155A (en) * 2015-09-18 2016-01-20 东南大学 Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner
CN106169976A (en) * 2016-04-07 2016-11-30 北京大学 A kind of service system based on novel intelligent home gateway
CN107018526A (en) * 2017-05-25 2017-08-04 四川长虹电器股份有限公司 The method and apparatus of remote terminal Wi Fi fault diagnosises based on Android intelligent television
CN107820265A (en) * 2017-11-01 2018-03-20 福建新大陆支付技术有限公司 Handle the method and system of radio POS terminal failure
US20190082339A1 (en) * 2003-08-29 2019-03-14 Ineoquest Technologies, Inc. Video quality monitoring
CN109474977A (en) * 2018-11-29 2019-03-15 华普特科技(深圳)股份有限公司 A kind of monitoring method of equipment, apparatus and system
CN109548045A (en) * 2018-11-13 2019-03-29 广东万和新电气股份有限公司 Apparatus debugging method, device, system and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190082339A1 (en) * 2003-08-29 2019-03-14 Ineoquest Technologies, Inc. Video quality monitoring
CN103246587A (en) * 2013-04-19 2013-08-14 福州瑞芯微电子有限公司 Method for utilizing SD (secure digital) card for ADB (android debug bridge) debugging on android platform
CN105263155A (en) * 2015-09-18 2016-01-20 东南大学 Method and system for remotely monitoring running state of intelligent mobile terminal baseband processor in real-time manner
CN106169976A (en) * 2016-04-07 2016-11-30 北京大学 A kind of service system based on novel intelligent home gateway
CN107018526A (en) * 2017-05-25 2017-08-04 四川长虹电器股份有限公司 The method and apparatus of remote terminal Wi Fi fault diagnosises based on Android intelligent television
CN107820265A (en) * 2017-11-01 2018-03-20 福建新大陆支付技术有限公司 Handle the method and system of radio POS terminal failure
CN109548045A (en) * 2018-11-13 2019-03-29 广东万和新电气股份有限公司 Apparatus debugging method, device, system and storage medium
CN109474977A (en) * 2018-11-29 2019-03-15 华普特科技(深圳)股份有限公司 A kind of monitoring method of equipment, apparatus and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111769915A (en) * 2020-06-28 2020-10-13 杭州涂鸦信息技术有限公司 Data transmission method and related equipment
CN111769915B (en) * 2020-06-28 2023-10-24 杭州涂鸦信息技术有限公司 Data transmission method and related equipment
CN112822081A (en) * 2021-01-08 2021-05-18 广州视源电子科技股份有限公司 Debugging data transmission method and device

Similar Documents

Publication Publication Date Title
CN107995068B (en) Network port testing method, equipment and computer readable storage medium
CN105263155B (en) The method and system of remote real time monitoring intelligent mobile terminal baseband processor operating status
WO2020147246A1 (en) Synchronous display method and apparatus, and storage medium and electronic apparatus
CN112055096B (en) Method and device for automatically setting communication address of equipment
CN102064964A (en) Method for rapidly switching gigabit network cards in gigabit switching environment
CN111786855B (en) Network card pressure testing method and device, electronic equipment and storage medium
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
CN110753363A (en) Intelligent device wireless debugging system and method
CN111711680A (en) File breakpoint continuous transmission method and device based on UDP (user Datagram protocol)
CN112134754A (en) Pressure testing method and device, network equipment and storage medium
CN113259996A (en) IOT wireless debugging method and equipment
CN113067738A (en) Network topology visualization function equipment compatibility testing method and system
CN102609353A (en) Method, device and system for managing program debugging
WO2023155699A1 (en) Method and apparatus for mining security vulnerability of air interface protocol, and mobile terminal
CN115004650A (en) Node configuration method, device, distributed system and computer readable medium
CN114827967B (en) Software updating method, bluetooth device and storage medium
CN114157350B (en) Optical fiber misconnection detection method and system
CN112667359B (en) Data transparent transmission method, electronic equipment and storage medium
CN113687992A (en) Onboard equipment power-on and power-off test method
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
WO2016065752A1 (en) Method and device for detecting link state, and storage medium
CN112312376A (en) Method and system for remotely and interactively managing multifunctional electric meter
CN115390932A (en) Server parameter setting method and device
CN110868321B (en) Fault positioning method and system based on edge calculation algorithm verification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204