CN101030975A - Processing method for increasing responding speed of protocol AT commands - Google Patents

Processing method for increasing responding speed of protocol AT commands Download PDF

Info

Publication number
CN101030975A
CN101030975A CN 200710078238 CN200710078238A CN101030975A CN 101030975 A CN101030975 A CN 101030975A CN 200710078238 CN200710078238 CN 200710078238 CN 200710078238 A CN200710078238 A CN 200710078238A CN 101030975 A CN101030975 A CN 101030975A
Authority
CN
China
Prior art keywords
buffer area
instruction
business
protocol stack
processing method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200710078238
Other languages
Chinese (zh)
Other versions
CN101030975B (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.)
Keen (Chongqing) Microelectronics Technology Co., Ltd.
Original Assignee
CHORGYOU XINKE Co Ltd CHONGQING
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 CHORGYOU XINKE Co Ltd CHONGQING filed Critical CHORGYOU XINKE Co Ltd CHONGQING
Priority to CN200710078238A priority Critical patent/CN101030975B/en
Publication of CN101030975A publication Critical patent/CN101030975A/en
Application granted granted Critical
Publication of CN101030975B publication Critical patent/CN101030975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method comprises: setting multi AT command buffers in protocol stack for use in respectively saving different service AT commands and their relevant information sent from user end; the protocol stack processes the information saved in different AT command buffers in order to make multi different AT instructions sent from application layer get parallel responses in the protocol stack. In invention can make the process for the AT command in the protocol stack changed from series to parallel so as to improve the processing speed and avoid 'break down'.

Description

A kind of processing method that improves responding speed of protocol AT commands
Technical field
The present invention relates to and use AT to instruct the method that communicates processing speed between the higher-layer protocols (abbreviating protocol stack as) that improves user terminal in the mobile radio system and its application layer, specially refer to when handling voice and packet data concurrent service in the third generation wireless telecommunication system, make the AT instruction can parallel processing, request to application layer can be made quick response, to improve the processing method of responding speed of protocol AT commands.
Background technology
The AT instruction is as a kind of information communication mode, be applied to terminal equipment (abbreviating TE as) and terminal adapter (abbreviating TA as) the earliest, or the information communication between data terminal equipment (abbreviating DTE as) and the data circuit termination equipment (abbreviating DCE as), now be widely used in the user terminal of mobile radio system as a kind of communication standard.Application layer by user terminal sends the AT instruction, and protocol stack carries out dissection process to the instruction that receives, and can realize to the control of user terminal and mutual with Network, as function setting, calling, note, telephone directory, data service, fax etc.
In the second generation or more early in the wirelessmobile communication system in period, what the AT instruction process of the application layer of user terminal and protocol stack adopted all is serial communication mechanism, i.e. the mode of question-response.Application layer just can send next bar instruction after must waiting until the response of protocol stack, and protocol stack has only and responded last instruction and just can handle next bar instruction.And the voice and packet data concurrent service in third generation wirelessmobile communication system, application layer can send many AT simultaneously and instruct protocol stack, but current serial process mechanism makes protocol stack to handle one by one sequentially, when not obtaining the response of last instruction, the instruction of back can only be done in message queue and postpone to wait for.If owing to reasons such as wireless environment or network delays, the response time that causes last instruction to be waited for is longer, the instruction in back will can't obtain carrying out in delay queue, and user terminal will be in wait state or wait in the picture, so-called " deadlock " phenomenon occurs.The processing speed of this serial process mechanism is slower, has influenced the performance of user terminal.Obviously, can not effectively support in the third generation wirelessmobile communication system voice and packet data concurrent service be the bottleneck of existing AT instruction process mechanism.
Summary of the invention
In order to overcome the deficiency of existing AT strings of commands row communication treatment mechanism, the present invention proposes a kind of new AT command processing method, can improve the processing speed of AT instruction effectively, improve the performance of user terminal.
Processing method of the present invention is provided with a plurality of AT Instructions Caches district at protocol stack, store the AT instruction and the relevant information of the different business that user terminal sends respectively, protocol stack is handled the information in the different AT Instructions Caches district, makes the AT instruction of a plurality of different business that application layer sends simultaneously obtain parallel response at protocol stack.
There is following relation in processing method of the present invention in the quantity in the AT Instructions Cache district (being designated hereinafter simply as buffer area) that protocol stack is provided with and the business function that user terminal can be supported (as: calling out note, network, telephone directory etc.) kind quantity:
The quantity of buffer area m = Σ i = 1 n k i + 1
In the formula: m represents AT Instructions Cache district quantity
I represents the index value of certain business function that user terminal can be supported
N represents the maximum of the business function kind quantity that user terminal can be supported
k iRepresent the maximum instance number that i class business can be supported simultaneously, promptly to same a kind of business of same user terminal, the maximum traffic quantity that network can be supported simultaneously
Another one buffer area (being one that adds in the formula) be used to store public information or with the irrelevant information processing of wireless traffic, this buffer area is called as the additional buffer district.
The division of teleservice function is single, avoids the situation that occurs occuring simultaneously.Pairing certain the professional instance number of AT instruction that sends when application layer surpasses k iThe time, the AT instruction that exceeds will be delayed processing.
The sign of processing method buffer area of the present invention comprises information such as business function, srvice instance, adopts the buffer area sign can search out the unique buffer area that meets buffer area sign content (being corresponding business function, srvice instance etc.).
The division of processing method buffer area of the present invention both can realize by static mode, also can realize by dynamical fashion.So-called static the realization is meant before operation the static array that just application equates with buffer area quantity m, and the AT that stores different business respectively instructs and relevant information, and actually occupies corresponding internal memory physical space.The business function kind quantity that can support when user terminal reaches maximum, and the maximum instance number that can support simultaneously of different business is when also reaching maximum, and these static buffer just can all be occupied.So-called realize dynamically, be meant when operation that promptly the user terminal protocol stack obtains a buffer area of this operation correspondence by the mode of dynamic assigning memory physical space when receiving the AT instruction that application layer sends.The increase that the AT that sends along with user terminal instructs, the corresponding increase of internal memory physical space of actual dynamic assignment.Obviously, with respect to static mode, dynamical fashion is wanted the save memory space relatively.
AT instruction and relevant information that processing method of the present invention is alleged comprise command id, command type, command context etc.Protocol stack utilizes these information of storing in the buffer area, can realize different business, perhaps the processing of professional different instances of the same race and response.
Application layer can be before protocol stack return response to preceding a kind of business operation in the processing method of the present invention, and requires another different business, or with a kind of concurrent operations of professional different instances.These two or more voice and packet data concurrent services, perhaps the relevant information with a kind of different instances of business is stored in the different buffer areas of protocol stack, and is separate, can parallel processing.
AT instructs at the treatment step of protocol stack:
Step 1, receive the operation requests of application layer when protocol stack after, instruction is resolved to AT earlier, obtain this and instruct pairing teleservice function, and judge whether to operating relevant instruction with public information, be then this instruction to be stored in the additional buffer district, otherwise carry out next step;
Step 2, judge that this instruction traffic function corresponding cache district whether by absorb, is that then this instruction will be delayed processing, otherwise carry out next step;
Step 3, determine corresponding service Function Identification (be called for short business function ID) according to the business function of this instruction, determine corresponding instance identification (abbreviation example ID) according to the current example quantity of having created of this business again, use business function ID and example ID to determine buffer area sign (being called for short buffer area ID), and should instruct and relevant information deposits in the corresponding cache region;
Step 4, protocol stack carry out relevant treatment to this instruction;
Step 5, instruction process finish, and the relevant information of use buffer area is finished the response to the user terminal application layer, empties the buffer area of preserving relevant information, so that the processing of next AT instruction;
Whether step 6, inspection delay queue have the AT instruction of the processing of being delayed, and if any the operation that then continues step 1, otherwise processing finishes.
The beneficial effect of the inventive method is, can make protocol stack be transformed into parallel by serial to the processing of AT instruction, improved processing speed, avoided " deadlock " phenomenon occurring, thereby improved the performance of user terminal effectively the voice and packet data concurrent service in the third generation wireless telecommunication system.It is emphasized that because serial is a kind of special parallel, for the application layer of only supporting serial process, the protocol stack of supporting parallel processing too can with its interface, realize the processing of wireless traffic.
Description of drawings
The flow chart of Fig. 1, prior art AT instruction serial process;
Buffer area static division schematic diagram during Fig. 2, processing method AT of the present invention instruction parallel processing;
Two kinds of AT instructions of Fig. 3, processing method of the present invention (calling out and note) are at flow chart of protocol stack parallel processing.
Below in conjunction with drawings and the specific embodiments to processing method of the present invention to further instruction.
Fig. 1 is the flow chart of prior art AT instruction serial process.As seen from the figure, under serial process mechanism, can only handle one by one at protocol stack from the AT instruction that application layer sends, untreated instruction is delayed up to last the ability of finishing dealing with processed.
Buffer area static division schematic diagram when Fig. 2 is processing method AT of the present invention instruction parallel processing.As seen from the figure, the example of different business function takies different internal memory physical spaces, and quantity can be different.With the dynamic division of buffer area relatively, static division will take bigger internal memory physical space, when having only all examples of all business all to be triggered, these buffer areas just can all use.
Fig. 3 is the flow charts of two kinds of AT instructions of processing method of the present invention (calling out and note) in the protocol stack parallel processing.As seen from the figure, when application layer is given the AT instruction of and short message service professional about handset call simultaneously, protocol stack is also opened up different buffer areas simultaneously and is carried out the storage of relevant information, in the call business instruction of handling simultaneously, also handling the note instruction, reaching real parallel effect, making that the voice and packet data concurrent service of 3G terminal can be accomplished definitely, improve processing speed, promoted the user terminal performance.
The inventive method also can have other various embodiments; without departing from the spirit and substance of the case in the method for the present invention; those skilled in the art work as can make various corresponding changes or distortion according to the inventive method, but these corresponding changes or distortion all belong to the claim protection range of the inventive method.

Claims (7)

1, a kind of processing method that improves responding speed of protocol AT commands, it is characterized in that: a plurality of AT Instructions Caches district is set at protocol stack, store the AT instruction and the relevant information of the different business that user terminal sends respectively, protocol stack is handled the information in the different AT Instructions Caches district, makes the AT instruction of a plurality of different business that application layer sends simultaneously obtain parallel response at protocol stack.
2, according to the described processing method of claim 1, it is characterized in that the quantity in the AT Instructions Cache district (being designated hereinafter simply as buffer area) that protocol stack is provided with and the business function that user terminal can be supported (as: calling, note, network, telephone directory etc.) there is following relation in kind quantity:
The quantity of buffer area m = Σ i = 1 n k i + 1
In the formula: m represents AT Instructions Cache district quantity
I represents the index value of certain business function that user terminal can be supported
N represents the maximum of the business function kind quantity that user terminal can be supported
k iRepresent the maximum instance number that i class business can be supported simultaneously, promptly to same a kind of business of same user terminal, the maximum traffic quantity that network can be supported simultaneously
Another one buffer area (being one that adds in the formula) be used to store public information or with the irrelevant information processing of wireless traffic, this buffer area is called as the additional buffer district.
3,, it is characterized in that pairing certain the professional instance number of AT instruction that sends when application layer surpasses k according to the described processing method of claim 1 iThe time, the AT instruction that exceeds will be delayed processing.
4, according to the described processing method of claim 1, the sign that it is characterized in that buffer area comprises information such as business function, srvice instance, adopts the buffer area sign can search out the unique buffer area that meets buffer area sign content (being corresponding business function, srvice instance etc.).
5, according to the described processing method of claim 1, it is characterized in that the division of buffer area, both can realize by static mode, also can realize by dynamical fashion.
6, according to the described processing method of claim 1, it is characterized in that AT instruction and relevant information comprise command id, command type, command context etc., protocol stack utilizes these information of storing in the buffer area, can realize different business, perhaps with the processing and the response of refreshing professional different instances.
7, according to the described processing method of claim 1, it is characterized in that determining corresponding service Function Identification (being called for short business function ID) according to the business function of AT instruction, determine corresponding instance identification (abbreviation example ID) according to the current example quantity of having created of this business again, use business function ID and example ID to determine buffer area sign (being called for short buffer area ID), and should instruct and relevant information deposits in the corresponding cache region.
CN200710078238A 2007-02-15 2007-02-15 Processing method for increasing responding speed of protocol AT commands Active CN101030975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710078238A CN101030975B (en) 2007-02-15 2007-02-15 Processing method for increasing responding speed of protocol AT commands

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710078238A CN101030975B (en) 2007-02-15 2007-02-15 Processing method for increasing responding speed of protocol AT commands

Publications (2)

Publication Number Publication Date
CN101030975A true CN101030975A (en) 2007-09-05
CN101030975B CN101030975B (en) 2010-05-26

Family

ID=38716047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710078238A Active CN101030975B (en) 2007-02-15 2007-02-15 Processing method for increasing responding speed of protocol AT commands

Country Status (1)

Country Link
CN (1) CN101030975B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009070934A1 (en) * 2007-12-06 2009-06-11 Zte Corporation Interactive optimization method of serial interface transmission command
CN101883345A (en) * 2010-06-30 2010-11-10 青岛海信移动通信技术股份有限公司 Method and device for processing AT command
CN101227469B (en) * 2008-01-23 2010-12-08 中兴通讯股份有限公司 Method for implementing mobile terminal parallel business processing
CN102264047A (en) * 2010-05-25 2011-11-30 芯讯通无线科技(上海)有限公司 AT command processing device and method
CN101651730B (en) * 2009-06-30 2012-02-29 重庆重邮信科通信技术有限公司 Method for quickly reading entries of phone book
CN104053252A (en) * 2014-06-04 2014-09-17 青岛海信移动通信技术股份有限公司 AT instruction processing method, device and system
CN104978904A (en) * 2015-06-29 2015-10-14 刘兴华 Variable-speed rotating LED display system and method for displaying the same
CN106788610A (en) * 2015-11-25 2017-05-31 展讯通信(上海)有限公司 A kind of control method of short-range communication, device and mobile terminal
CN108268328A (en) * 2013-05-09 2018-07-10 华为技术有限公司 Data processing equipment and data processing method
CN114528025A (en) * 2022-02-25 2022-05-24 深圳市航顺芯片技术研发有限公司 Instruction processing method and device, microcontroller and readable storage medium
CN116055578A (en) * 2023-03-06 2023-05-02 北京朝歌数码科技股份有限公司 Lightweight AT protocol stack, communication method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10216853A1 (en) * 2002-04-16 2003-10-30 Siemens Ag Telecommunication module with a system data processing means for carrying out at least one telecommunication activity
CN1251542C (en) * 2003-03-31 2006-04-12 联想(北京)有限公司 Interface device for use between redio communicaton module and terminal
CN1992709B (en) * 2005-12-27 2011-05-11 中兴通讯股份有限公司 Method for processing AT command between terminal device and terminal adapter

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009070934A1 (en) * 2007-12-06 2009-06-11 Zte Corporation Interactive optimization method of serial interface transmission command
CN101227469B (en) * 2008-01-23 2010-12-08 中兴通讯股份有限公司 Method for implementing mobile terminal parallel business processing
CN101651730B (en) * 2009-06-30 2012-02-29 重庆重邮信科通信技术有限公司 Method for quickly reading entries of phone book
CN102264047A (en) * 2010-05-25 2011-11-30 芯讯通无线科技(上海)有限公司 AT command processing device and method
CN101883345A (en) * 2010-06-30 2010-11-10 青岛海信移动通信技术股份有限公司 Method and device for processing AT command
CN101883345B (en) * 2010-06-30 2012-12-12 青岛海信移动通信技术股份有限公司 Method and device for processing AT command
CN108268328B (en) * 2013-05-09 2022-04-22 华为技术有限公司 Data processing device and computer
CN108268328A (en) * 2013-05-09 2018-07-10 华为技术有限公司 Data processing equipment and data processing method
CN104053252A (en) * 2014-06-04 2014-09-17 青岛海信移动通信技术股份有限公司 AT instruction processing method, device and system
CN104053252B (en) * 2014-06-04 2017-08-11 青岛海信移动通信技术股份有限公司 A kind of AT command processing methods, apparatus and system
CN104978904A (en) * 2015-06-29 2015-10-14 刘兴华 Variable-speed rotating LED display system and method for displaying the same
CN104978904B (en) * 2015-06-29 2018-11-16 深圳市悦创空间科技有限公司 A kind of LED display system and its display methods of variable rotation speed
CN106788610A (en) * 2015-11-25 2017-05-31 展讯通信(上海)有限公司 A kind of control method of short-range communication, device and mobile terminal
CN106788610B (en) * 2015-11-25 2020-07-24 展讯通信(上海)有限公司 Control method and device for near field communication and mobile terminal
CN114528025A (en) * 2022-02-25 2022-05-24 深圳市航顺芯片技术研发有限公司 Instruction processing method and device, microcontroller and readable storage medium
CN116055578A (en) * 2023-03-06 2023-05-02 北京朝歌数码科技股份有限公司 Lightweight AT protocol stack, communication method and system
CN116055578B (en) * 2023-03-06 2023-06-27 北京朝歌数码科技股份有限公司 Lightweight AT protocol stack, communication method and system

Also Published As

Publication number Publication date
CN101030975B (en) 2010-05-26

Similar Documents

Publication Publication Date Title
CN101030975A (en) Processing method for increasing responding speed of protocol AT commands
CN101227469B (en) Method for implementing mobile terminal parallel business processing
CN1256852C (en) Treatment of data based on pocket, independent from pocket calling conflict in mobile communication
EP2369494A1 (en) Web application based database system and data management method therof
CN1188983C (en) Method of altering network equipment IP address via network managing equipment
CN1716963A (en) Method for selecting among network interfaces, device with multiple network interfaces and application
CN101079845A (en) A customer service system and method based on instant communication tool
CN101079925A (en) A method and system for allocating instant communication session
CN1399837A (en) Method of supplying information to user of mobile station
CN1523900A (en) System and mobile terminal for displaying caller information and method thereof
CN101060720A (en) A method and device for realizing the unified communication
CN101047914A (en) Coprocessing system for mobile communication terminal and its method
CN101079924A (en) A call forward method and system
CN1199421C (en) Network transmitter with data frame priority management for data transmission
CN1832517A (en) Method for implementing new service based on H.248 protocol
CN1742465A (en) Wireless/lan router queuing method and system
CN1581161A (en) Method for realizing quick-accessing database
CN1867009A (en) Teleconference system and controlling method
CN117271137A (en) Multithreading data slicing parallel method
CN105453618A (en) Uplink resource allocation method, access terminal, and access point
CN1129281C (en) Method of raising IP message forwarding speed utilizing slow storage technology
CN1222882C (en) Realization method for communication between tasks
CN1418424A (en) Device and method for call diversion in telecommunication networks
CN1946116A (en) Exchanger and call transfer method
CN1257655C (en) Switching method and network element

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: CHONGQING CYIT COMMUNICATION TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: CHONGQING CHONGYOU XINKE (GROUP) CO., LTD.

Effective date: 20081017

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20081017

Address after: Huang Chongqing Nan'an District No. 1 Wu Fort Park Post encoding: 400065

Applicant after: Chongqing City Communication & Technology Co., Ltd.

Address before: B, 4 floor, zone 401147, Neptune science building, Chongqing, Yubei District

Applicant before: Chongqing Chongyou Xinke (Group) Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Processing method for increasing responding speed of protocol AT commands

Effective date of registration: 20141117

Granted publication date: 20100526

Pledgee: Chongqing cyit (Group) Limited by Share Ltd

Pledgor: Chongqing City Communication & Technology Co., Ltd.

Registration number: 2014500000017

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20161020

Granted publication date: 20100526

Pledgee: Chongqing cyit (Group) Limited by Share Ltd

Pledgor: Chongqing City Communication & Technology Co., Ltd.

Registration number: 2014500000017

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170601

Address after: Nanping Street 400060 Chongqing Nan'an District Nancheng Road No. 199 left attached to the floor 403

Patentee after: Keen (Chongqing) Microelectronics Technology Co., Ltd.

Address before: 400065 Chongqing Nan'an District huangjuezhen pass Fort Park No. 1

Patentee before: Chongqing City Communication & Technology Co., Ltd.