AT instruction preprocessing method and terminal

A preprocessing and instruction technology, which is applied to the preprocessing method of AT instructions and the terminal field, to avoid parsing problems and shorten the length of instructions

Pending Publication Date: 2022-02-08
FUJIAN SUNNADA NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: to provide a preprocessing method and terminal for AT commands, so as to avoid the analysis problems caused by inconsistent writing of AT commands

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • AT instruction preprocessing method and terminal
  • AT instruction preprocessing method and terminal
  • AT instruction preprocessing method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] Please refer to figure 1 with image 3 , Embodiment 1 of the present invention is:

[0059] A kind of preprocessing method of AT instruction, comprises steps:

[0060] S1. Receive AT commands;

[0061] In this embodiment, the AT command is received. The following takes the actual response AT command of a 5G module of a certain manufacturer as an example, and its content is as follows:

[0062] +GTCCINFO:

[0063] NR service cell:

[0064] 1,9,466,00,51,0230001,7B49E,D,41,100,27,17,17,0

[0065] NR neighbor cell:

[0066] OK

[0067] The corresponding AT manual commands are as follows:

[0068] +GTCCINFO:

[0069] NR service cell:

[0070] , , , , , , , , , , , , ,

[0071] NR neighbor cell:

[0072] , , , , , , , , , , ,

[0073] OK

[0074] S2. Analyzing the AT command, escaping the invisible characters in the AT command, and removing spaces satisfying preset redundant judgment conditions, to obtain the processed AT comma...

Embodiment 2

[0098] Please refer to figure 2 , the second embodiment of the present invention is:

[0099] A preprocessing terminal 1 of AT instructions, including a processor 2, a memory 3, and a computer program stored in the memory 3 and operable on the processor 2, when the processor 2 executes the computer program The steps in the first embodiment above are realized.

[0100] To sum up, the present invention provides a preprocessing method and terminal for AT commands, which escapes invisible characters such as carriage return and line feed in AT commands, realizes unified and standardized processing of invisible characters, and avoids AT manual The mentioned occurrence of multiple invisible characters in a row leads to parsing errors, and at the same time remove spaces that meet the preset redundant judgment conditions, such as spaces after colons or commas, that is, remove redundant spaces and avoid writing in the format of AT commands Parsing problems caused by inconsiste...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an AT instruction preprocessing method and a terminal. The method includes receiving an AT instruction; analyzing the AT instruction, performing escape on invisible characters in the AT instruction, and removing a space meeting a preset redundant judgment condition to obtain a processed AT instruction; and transferring meanings of the invisible characters in the AT instruction to realize unified standardized processing of the invisible characters. The situation of analysis errors caused by the fact that a plurality of continuous invisible characters are not mentioned in the AT manual is avoided; meanwhile, the spaces meeting the preset redundant judgment conditions are removed, that is, the redundant spaces are removed, and the analysis problem caused by non-uniform format writing of the AT instruction is avoided; and meanwhile, the instruction length is greatly shortened after preprocessing, so that log writing for recording and program analysis for obtaining key information are facilitated.

Description

technical field [0001] The present invention relates to the technical field of equipment communication, in particular to a preprocessing method and terminal for AT commands. Background technique [0002] AT stands for Attention, and the AT command is a communication command protocol between the terminal equipment (Terminal Equipment, TE) and the mobile terminal (Mobile Termination, MT), which is used to control functions such as network access of the communication module. [0003] Communication module manufacturers have a wide variety of module products, most of which support the 3GPP TS27.00 AT specification command set, and manufacturers will also expand custom commands on this basis. However, different manufacturers have slight differences in command formats, and even the same product of the manufacturer has slight differences between the response command and the AT command document due to the developer's habits, and these subtle differences are often not easy to be found...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/30
CPCG06F9/30003
Inventor 凌铭
Owner FUJIAN SUNNADA NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products