CN108280025B - Learning and debugging system of AT instruction module - Google Patents

Learning and debugging system of AT instruction module Download PDF

Info

Publication number
CN108280025B
CN108280025B CN201810050131.9A CN201810050131A CN108280025B CN 108280025 B CN108280025 B CN 108280025B CN 201810050131 A CN201810050131 A CN 201810050131A CN 108280025 B CN108280025 B CN 108280025B
Authority
CN
China
Prior art keywords
instruction
module
display area
serial port
learning
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.)
Active
Application number
CN201810050131.9A
Other languages
Chinese (zh)
Other versions
CN108280025A (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.)
China University of Geosciences
Original Assignee
China University of Geosciences
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 China University of Geosciences filed Critical China University of Geosciences
Priority to CN201810050131.9A priority Critical patent/CN108280025B/en
Publication of CN108280025A publication Critical patent/CN108280025A/en
Application granted granted Critical
Publication of CN108280025B publication Critical patent/CN108280025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging

Abstract

A learning and debugging system of an AT instruction module is loaded in a computer operating system, is connected to the AT instruction module through a serial port, and sends an instruction to the AT instruction module through the learning and debugging system to enable the AT instruction module to perform corresponding operation. The first display area displays a serial port parameter configuration window, the second display area displays a plurality of sub-windows, AT least one sub-window is divided into 2 columns of trees/lists/tables for display, wherein one column of trees/lists/tables displays function description corresponding to AT instruction on the same row, the other column of trees/lists/tables displays the AT instruction, and the third display area displays the AT instruction to be sent to the serial port and information returned from a computer operating system. The invention has the advantages of displaying the instruction and the description thereof at the same time, editing the instruction at the same time, and having the advantages of convenient learning and memorizing and high density of expressed information.

Description

Learning and debugging system of AT instruction module
Technical Field
The invention belongs to the field of communication software, and relates to a learning and debugging system of an AT instruction module.
Background
In the application of the internet of things, a plurality of communication modules are operated by AT instructions through serial ports. Before using these modules, engineers generally use the connection between the PC and the modules (the modules are connected to the PC through the TTL UART to USB module) to perform testing, the PC software used in the testing process is generally called a learning assistant, and the engineers interact with the modules through the learning assistant software to realize the learning and testing of the working mode of the communication module. Currently, existing AT instruction learning software mainly has 2 forms when implementing interaction: 1, placing a series of buttons, setting the function description of the instruction as the title of the button, and sending a corresponding instruction when a user clicks the button; 2. and placing the command in a series of editing boxes or preparing a series of blank editing boxes, wherein each editing box is associated with a button, and when a user clicks the button, a corresponding command is sent to the serial port. Both of the above methods fail to show the instruction and its description to the user at the same time, which is inconvenient for the user to know the function and content of all the instructions at the same time.
Disclosure of Invention
Aiming AT the defect that the existing AT instruction learning software cannot simultaneously display the instruction and the description thereof to the user, the invention provides a learning method and a learning system of an AT instruction module, which are easy to learn and memorize and are used for solving the technical problems of simultaneously displaying the instruction and the description thereof to the user and simultaneously editing the instruction.
In order to achieve the above object, the present invention provides a learning and debugging system for an AT instruction module, comprising:
the learning and debugging system of the AT instruction module is loaded in a computer operating system, is connected to the AT instruction module through a USB (universal serial bus) to serial port or a serial port, and sends an instruction to the AT instruction module through the learning and debugging system to enable the AT instruction module to carry out corresponding operation; the data processing module is used for processing the instruction information data after the AT instruction is selected in the second display area; the data storage module is used for storing the AT instruction information in the computer; the data transmission module is used for transmitting the instruction information sent by the learning and debugging system of the AT instruction module to the AT instruction module and receiving the response information data of the AT instruction module; the triggering module is used for receiving the instruction of the computer operating system and triggering the button of the learning and debugging system interface to respond.
In the learning and debugging system of the AT command module, the contents displayed in the first display area comprise serial port address selection, serial port baud rate, a DTR data terminal preparation button, a CTS clear-to-send button and a default setting button, and are used for configuring serial port information.
In the learning and debugging system of the AT instruction module, the third display area comprises an edit box, an AT instruction clearing function and a function of adding a time stamp to the AT instruction.
In the learning and debugging system of the AT command module, the third display distinguishes different font colors and distinguishes and displays the command content to be sent to the serial port and the content received by the serial port.
In the learning and debugging system of the AT instruction module, after the AT instruction is selected in the second display area, the AT instruction is displayed in the edit box of the third display area, and the AT instruction can be automatically sent to the serial port according to the preset configuration in the first display area, or the AT instruction in the edit box is edited and modified in response to the operation of a user in the edit box of the third display area and then sent to the serial port.
The learning and debugging system of the AT instruction module further comprises a fourth display area for displaying a sending button window to realize sending the AT instruction after editing and modification.
The learning and debugging system of the AT command module also comprises a fifth display area for displaying an exit passthrough and automatic sending button, and is used for realizing the functions of exiting the system and double-clicking to automatically start the AT command to the serial port.
The invention provides a learning and debugging system of an AT instruction module, which does not use a common expression mode of a simple button or an edit box when displaying an AT instruction, but adopts controls such as a tree, a list or a table which can be expressed by 2 columns, and simultaneously displays the (function) description and the content of the AT instruction, and the expressed information is large and is convenient to understand; when the user double-clicks the description or the content of the instruction, the instruction is automatically sent to an edit box, and the instruction can be sent to a serial port after being modified by the user or directly sent to the serial port. Compared with the existing AT instruction learning tools, the method and the system have the advantages of convenience in learning and memorizing and high expression information quantity density.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is an AT instruction learning Assistant software interaction design interface according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and examples.
The invention relates to a learning and debugging system of an AT instruction module, which is loaded in a computer operating system, is connected to the AT instruction module through the USB interface or the serial interface, sends an instruction to the AT instruction module through the learning and debugging system to make the AT instruction module perform corresponding operation, it is characterized in that the learning and debugging system interface of the AT instruction module comprises five display areas from the first to the fifth, a data processing module, a data storage module, a data transmission module and a trigger module, wherein the first display area displays a serial port parameter configuration window, the second display area displays a plurality of sub-windows, one of the sub-windows is shown in 2 columns of trees/lists/tables, one of which shows the functional description of the corresponding AT command, the other of which simultaneously shows the AT command, and the third display area displays the AT command to be sent to the serial port and displays the received return information. The data processing module is used for processing the instruction information data after the AT instruction is selected in the second display area; the data storage module is used for storing the AT instruction information in the computer; the data transmission module is used for transmitting the instruction information sent by the learning and debugging system of the AT instruction module to the AT instruction module and receiving the response information data of the AT instruction module; the triggering module is used for receiving the instruction of the computer operating system and triggering the button of the learning and debugging system interface to respond.
In the learning and debugging system of the AT command module, the contents displayed in the first display area comprise serial port address selection, serial port baud rate, a DTR data terminal preparation button, a CTS clear-to-send button and a default setting button, and are used for configuring serial port information.
In the learning and debugging system of the AT instruction module, the third display area comprises an edit box, an AT instruction clearing function and a function of adding a time stamp to the AT instruction.
In the learning and debugging system of the AT command module, the third display distinguishes different font colors and distinguishes and displays the command content to be sent to the serial port and the content received by the serial port.
In the learning and debugging system of the AT instruction module, after the AT instruction is selected in the second display area, the AT instruction is displayed in the edit box of the third display area, and the AT instruction can be automatically sent to the serial port according to the preset configuration in the first display area, or sent to the serial port after being edited and modified in the edit box of the third display area.
The learning and debugging system of the AT command module further comprises a fourth display area for displaying a send button window.
The learning and debugging system of the AT command module further comprises a fifth display area for displaying a quit transparent transmission button and an automatic sending button.
An AT instruction learning Assistant software interaction design interface of one embodiment of the present invention is shown in FIG. 1. In fig. 1, the learning and debugging system interface including the AT command module includes a first display area, a second display area, and a third display area, where the first display area displays a serial port parameter configuration window, and includes a serial port address selection, a serial port baud rate, a DTR data terminal ready button, a CTS clear to send button, a default setting button, and remark information, which are used to configure serial port information. The second display area displays a plurality of sub-windows, including a history window, a general window, a TCP/IP window, a WIFI window, a 1Key4AT window, a notice window and a typical circuit window. The general window is divided into 2 rows of tree display, the left tree displays function description of the AT instruction, the right tree displays the AT instruction, the third display area comprises an edit box, an AT instruction clearing function and a timestamp adding function on the AT instruction, the red font displays instruction content to be sent to the serial port, and the blue font displays content received by the serial port. After the AT instruction is selected in the second display area, the AT instruction is displayed in an edit box of the third display area, and the AT instruction can be automatically sent to the serial port according to the preset configuration in the first display area, or sent to the serial port after being edited and modified in the edit box of the third display area. The fourth display area is used for displaying the window of the sending button and whether the function of the carriage return symbol needs to be added or not, and the fifth display area is used for displaying the buttons of quitting the transparent transmission and automatically sending. The data processing module is used for processing the instruction information data after the AT instruction is selected in the second display area; the data storage module is used for storing the AT instruction information in the computer; the data transmission module is used for transmitting the instruction information sent by the learning and debugging system of the AT instruction module to the AT instruction module and receiving the response information data of the AT instruction module; the triggering module is used for receiving the instruction of the computer operating system and triggering the button of the learning and debugging system interface to respond.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (5)

1. A learning and debugging system of an AT instruction module is loaded in a computer operating system, is connected to the AT instruction module through a USB-to-serial port or a serial port, and sends an instruction to the AT instruction module through the learning and debugging system to enable the AT instruction module to carry out corresponding operation The third display area comprises an edit box, an AT instruction clearing function and a function of adding a time stamp on the AT instruction; after the AT instruction is selected in the second display area, the AT instruction is displayed in an edit box of the third display area, and the AT instruction can be automatically sent to the serial port according to the preset configuration in the first display area, or the AT instruction in the edit box is edited and modified in response to the operation of a user in the edit box of the third display area and then sent to the serial port;
the data processing module is used for processing the instruction information data after the AT instruction is selected in the second display area; the data storage module is used for storing AT instruction information in the computer, the data transmission module is used for transmitting the instruction information sent by the learning and debugging system of the AT instruction module to the AT instruction module and receiving response information data of the AT instruction module, and the trigger module is used for receiving the instruction of the computer operating system and triggering a button of the interface of the learning and debugging system to respond.
2. The system of claim 1, wherein the content displayed in the first display area includes serial port address selection, serial port baud rate, DTR data terminal ready button, CTS clear to send button, and default setting button, each of which is used to configure serial port information.
3. The system of claim 1, wherein the edit box of the third display area displays the instruction content to be sent to the serial port and the content received by the serial port in different font colors.
4. The system for learning and debugging of AT command module of claim 1, further comprising a fourth display area displaying a send button window for enabling sending the AT command after editing and modifying.
5. The system for learning and debugging the AT command module according to claim 1, further comprising a fifth display area for displaying an exit passthrough and automatic send button for enabling the system to exit and for double-clicking to automatically send the AT command to the serial port.
CN201810050131.9A 2018-01-18 2018-01-18 Learning and debugging system of AT instruction module Active CN108280025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810050131.9A CN108280025B (en) 2018-01-18 2018-01-18 Learning and debugging system of AT instruction module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810050131.9A CN108280025B (en) 2018-01-18 2018-01-18 Learning and debugging system of AT instruction module

Publications (2)

Publication Number Publication Date
CN108280025A CN108280025A (en) 2018-07-13
CN108280025B true CN108280025B (en) 2021-03-16

Family

ID=62803909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810050131.9A Active CN108280025B (en) 2018-01-18 2018-01-18 Learning and debugging system of AT instruction module

Country Status (1)

Country Link
CN (1) CN108280025B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101333733A (en) * 2007-06-28 2008-12-31 日星产业缝制机械株式会社 Sewing machine with device possessing connection additional function and its operation method
CN101482814A (en) * 2008-01-08 2009-07-15 黄伟 Instruction display, input and storage method used for embedded system
CN102508757A (en) * 2011-11-02 2012-06-20 四川长虹电器股份有限公司 Serial port debugging realization method of Linux system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8302086B2 (en) * 2009-12-18 2012-10-30 Oracle America, Inc. System and method for overflow detection using symbolic analysis

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101333733A (en) * 2007-06-28 2008-12-31 日星产业缝制机械株式会社 Sewing machine with device possessing connection additional function and its operation method
CN101482814A (en) * 2008-01-08 2009-07-15 黄伟 Instruction display, input and storage method used for embedded system
CN102508757A (en) * 2011-11-02 2012-06-20 四川长虹电器股份有限公司 Serial port debugging realization method of Linux system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WiFi模块AT指令使用方法;苍月代表我;《博客园》;20170623;第1-7页 *

Also Published As

Publication number Publication date
CN108280025A (en) 2018-07-13

Similar Documents

Publication Publication Date Title
US4942540A (en) Method an apparatus for specification of communication parameters
US5228137A (en) Method for controlling execution of host computer application programs through a second computer by establishing relevant parameters having variable time of occurrence and context
CN103728518A (en) System and method for debugging frequency converter
CN100388690C (en) Automatic testing system and method for command of command line interface of data communication apparatus
CN110333861B (en) PLC-based general UI design method for upper computer
CN108280025B (en) Learning and debugging system of AT instruction module
CN108427361A (en) Method, module and the mobile terminal that programmable logic controller (PLC) is monitored
CN109782974A (en) Signal source packet method for previewing, device, electronic equipment and readable medium
CN110554939A (en) method, system and terminal for debugging embedded equipment
CN115617589A (en) Chip debugging method
CN109445876A (en) The method and monitor of LUT data load
CN114896208A (en) Application icon retrieval method and device, storage medium and terminal equipment
US11714508B2 (en) Accidental touch prevention method and apparatus, and storage medium
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
CN113741687A (en) Industrial air conditioner control communication method and system based on AR glasses and storage medium
CN103746908A (en) Wireless gateway equipment and work pattern selection method thereof
Cisco Using CiscoView
Cisco Using CiscoView
Cisco Using CiscoView
CN112131759A (en) Comprehensive environment simulation multi-parameter working condition input system and working condition creation method

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