CN103368680B - Mitigate the system and method for AT channel loads - Google Patents

Mitigate the system and method for AT channel loads Download PDF

Info

Publication number
CN103368680B
CN103368680B CN201210083398.0A CN201210083398A CN103368680B CN 103368680 B CN103368680 B CN 103368680B CN 201210083398 A CN201210083398 A CN 201210083398A CN 103368680 B CN103368680 B CN 103368680B
Authority
CN
China
Prior art keywords
instruction
identifier
buffering area
phone
communication device
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.)
Expired - Fee Related
Application number
CN201210083398.0A
Other languages
Chinese (zh)
Other versions
CN103368680A (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.)
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN201210083398.0A priority Critical patent/CN103368680B/en
Publication of CN103368680A publication Critical patent/CN103368680A/en
Application granted granted Critical
Publication of CN103368680B publication Critical patent/CN103368680B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of system of mitigation AT channel loads includes:Module is established, for establishing instruction queue in the radio interface layer of communication device, and establishes buffering area;Processing module, for the instruction sent from phone ccf layer received to be temporarily stored in instruction queue when establishing data communication;Judge module, for determining the identifier of the instruction when having instruction in instruction queue after data communication is established, and judge whether the buffering area includes the identifier of the determination;Responding module, in the identifier of the buffering area including the determination, the content instructed accordingly according to the identifier in the buffering area to generate echo message, and sends the echo message to the phone ccf layer.The present invention also provides a kind of method of mitigation AT channel loads.The instruction number in AT passages can be reduced using the present invention.

Description

Mitigate the system and method for AT channel loads
Technical field
The present invention relates to data processing technique, more particularly to a kind of AT instruction process systems and method.
Background technology
When communication device establishes data communication, generally require to spend the more time (for example, 5~120 seconds etc.) The response of wait network, and the finger that now many phone framework (Telephony Framework) layers from the communication device come Order can be temporarily stored in radio interface layer (RIL, Radio Interface Layer) or AT (Attention) passage.
If the instruction is temporarily stored in into radio interface layer, then need largely to handle these after the completion of data communication foundation By temporary instruction, generally, wherein it is same instruction to have many, this is the wave of system resource for whole communication device Take.If the instruction is temporarily stored in into AT passages, the instruction that many is had during data communication is established inserts, this meeting Increase the burden of AT passages, the system for also easily causing communication device is unstable.
The content of the invention
In view of the foregoing, it is necessary to a kind of system and method for mitigation AT channel loads is provided, can mitigate and be filled in communication Put and establish excessive instruction after data communication and born to caused by AT passages.
A kind of system of mitigation AT channel loads, applied in communication device, the communication device includes radio interface layer And phone ccf layer, the system include:Module is established, for establishing an instruction queue in the radio interface layer, and A buffering area is established in the communication device, to identifier and the corresponding content instructed of store instruction;Handle mould Block, for the instruction sent from the phone ccf layer that when the communication device establishes data communication, will be received It is temporarily stored in the instruction queue;Judge module, for whether having finger in the instruction queue is judged after data communication is established The identifier of the instruction is determined when making, and having instruction in the instruction queue, and judges whether the buffering area includes being somebody's turn to do The identifier of determination;And responding module, in the identifier of the buffering area including the determination, according in the buffering area The content generation echo message that the identifier of the determination instructs accordingly, and send the echo message to the phone framework Layer.
A kind of method of mitigation AT channel loads, applied in communication device, the communication device includes radio interface layer And phone ccf layer, this method comprise the following steps:An instruction queue is established in the radio interface layer;In the communication A buffering area is established in device, to identifier and the corresponding content instructed of store instruction;In the communication device just When establishing data communication, the instruction sent from the phone ccf layer received is temporarily stored in the instruction queue; After data communication is established, judge whether there is instruction in the instruction queue;If having instruction in the instruction queue, the instruction is determined Identifier, and judge whether the buffering area includes the identifier of the determination;And if the buffering area includes the mark of the determination Know symbol, the content instructed accordingly according to the identifier of the determination in the buffering area generates echo message, and the response is believed Breath sends the phone ccf layer to.
Compared to prior art, the system and method for described mitigation AT channel loads, it can mitigate and be established in communication device Excessive instruction is born to caused by AT passages after data communication.
Brief description of the drawings
Fig. 1 is the hardware structure diagram of the better embodiment for the system that the present invention mitigates AT channel loads.
Fig. 2 is the functional block diagram of the better embodiment for the system that the present invention mitigates AT channel loads.
Fig. 3 is the instruction allocation process diagram of the better embodiment for the method that the present invention mitigates AT channel loads.
Fig. 4 is the flow chart of the better embodiment for the method that the present invention mitigates AT channel loads.
Main element symbol description
Communication device 1
Mitigate the system 10 of AT channel loads
Establish module 100
Judge module 102
Processing module 104
Responding module 106
Remove module 108
Processor 11
Storage device 12
Buffering area 120
Phone ccf layer 13
Radio interface layer 14
AT passages 15
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the present invention.
Embodiment
As shown in figure 1, it is the hardware structure diagram of the better embodiment for the system that the present invention mitigates AT channel loads.It is described Communication device 1 can be the dress such as mobile phone, personal digital assistant (PDA, Personal Digital Assistant), computer Put.The communication device 1 includes phone framework (Telephony Framework) layer 13, radio interface layer (RIL, Radio InterfaceLayer) 14 and AT (Attention) passage 15.Described phone ccf layer 13, radio interface layer 14 and The interactions of data can be realized between AT passages 15 to perform dependent instruction.
The system 10 of described mitigation AT channel loads is applied in communication device 1, for from the phone ccf layer 13 instructions received are allocated, and are reduced and are sent to the instruction number of the AT passages 15, so as to mitigate the AT passages 15 Load.
The communication device 1 further comprises processor 11 and storage device 12.Described processor 11 is used to perform institute State all kinds of softwares of installation in the system 10 for mitigating AT channel loads and the communication device 1, such as operating system etc..It is described Storage device 12, can be the communication device 1 internal memory, can also be the storage card that can be external in the communication device 1, such as SM cards (Smart Media Card, smart media card), SD card (Secure Digital Card, safe digital card) etc..It is described Storage device 12 be used for store Various types of data, for example, song, short message, mail, the system using the mitigation AT channel loads The information such as 10 are set, the data of acquisition.
In this better embodiment, described storage device 12 still further comprises buffering area 120, and hereafter this will be delayed Area 120 is rushed to be described.
As shown in Fig. 2 it is the functional block diagram of the better embodiment for the system that the present invention mitigates AT channel loads.At this In embodiment, the system 10 of the mitigation AT channel loads includes multiple functional modules, is respectively:Establish module 100, judge Module 102, processing module 104 and responding module 106.
Described establishes module 100, for establishing an instruction queue in the radio interface layer 14, and is deposited described A buffering area 120 is established in storage device 12.The buffering area 120 to store instruction identifier with corresponding instruct Hold.The identifier can be indicated with numeral.
Described judge module 102, for when receiving from the instruction that the phone ccf layer 13 is sent, described in judgement Communication device 1 whether establishing data communication.For example, it can be established using Setup_Data_Call_Req is instructed described logical The data communication between device 1 and network or other communication devices is interrogated, the communication device 1 can be confirmed when detecting the instruction During data communication is established.In addition, other method of the prior art also can be used to detect the communication device 1.
The data communication defers to packet data protocol (PDP, Packet Data Protocol).
Described processing module 104, for when the communication device 1 establishes data communication, will receive from The instruction that the phone ccf layer 13 is sent is temporarily stored in the instruction queue.
Described processing module 104, it is additionally operable to when the communication device 1 does not establish data communication, by what is received The AT passages 15 are sent in the instruction sent from the phone ccf layer 13.
Handled using distribution of the above-mentioned processing module 104 at different conditions to instruction, the communication device 1 can be caused It is unaffected when establishing data communication.
Described judge module 102, it is additionally operable to judge whether there is instruction in the instruction queue after data communication is established, And the identifier of the instruction is determined when having instruction in the instruction queue, and judge whether the buffering area 120 includes being somebody's turn to do The identifier of determination.
Described responding module 106, in the identifier of the buffering area 120 including the determination, according to described slow The content generation echo message that the identifier of determination area 120 Nei instructs accordingly is rushed, and the echo message is sent to described Phone ccf layer 13.In this better embodiment, after the echo message is sent to the phone ccf layer 13, described time Module 106 is answered to delete the instruction from the instruction queue, then, described judge module 102 further reads the finger Make other instructions in queue.
Described responding module 106, it is additionally operable to when the buffering area 120 does not include the identifier of the determination, by described in Instruction in instruction queue is sent to the AT passages 15.Described responding module 106 is further used for receiving the AT After the echo message of passage 15, the identifier of the instruction and content are stored to the buffering area 120.Described response mould Block 106 is further used for sending the echo message to the phone ccf layer 13, and by the instruction from the instruction queue Middle deletion.
For example, instruction queue includes an instruction A, identifier is " 01 ", when not including the mark in the buffering area 120 When knowing symbol " 01 ", it can assert and not yet be sent in the AT passages 15 before instruction A, therefore, the responding module 106 can be with Instruction A is sent in the AT passages 15.When the buffering area 120 includes identifier " 01 ", before can assert Through there is instruction A to be sent in the AT passages 15, therefore, the responding module 106 can generate one according to instruction A content Echo message, and send the echo message to the phone ccf layer 13, and be not repeated to deliver in the AT passages 15.
Compared to identify the instruction in the instruction queue, can be avoided identical instruction repeatedly by above-mentioned identifier The problem of being sent in the AT passages 15, and causing 15 overload of AT passages.
In other embodiments, the system 10 of described mitigation AT channel loads also include remove module 108, for When the instruction queue does not instruct, all data in the buffering area 120 are removed.
As shown in figure 3, it is the instruction allocation process diagram of the better embodiment for the method that the present invention mitigates AT channel loads. First, step S2, described module 100 of establishing establish an instruction queue in the radio interface layer 14.
Step S4, described module 100 of establishing establish a buffering area 120 in the storage device 12.The buffering area 120 identifiers to store instruction and the corresponding content instructed.
Step S6, described judge module 102 receive the instruction sent from the phone ccf layer 13.
Step S8, described judge module 102 judge whether described communication device 1 is establishing data communication.
If described communication device 1 is establishing data communication, in step S10, described processing module 104 will receive The instruction sent from the phone ccf layer 13 is temporarily stored in the instruction queue, then, terminates this flow.
If described communication device 1 is not establishing data communication, in step S12, described processing module 104 will receive To the instruction sent from the phone ccf layer 13 be sent to the AT passages 15, then, terminate this flow.
Fig. 4 is the flow chart of the better embodiment for the method that the present invention mitigates AT channel loads.First, step S20, institute The judge module 102 stated judges whether the communication device 1 has built up data communication.If the communication device 1 is not established Data communication, repeating said steps S20.
If the communication device 1 has been set up data communication, in step S22, described judge module 102 judges described Whether there is instruction in instruction queue.
If not instructed in the instruction queue, in step S24, described removing module 108 removes the buffering area 120 Interior all data.
If having instruction in the instruction queue, in step S26, described judge module 102 determines the identifier of the instruction.
Step S28, described judge module 102 judge whether the buffering area 120 includes the identifier of the determination.
If the buffering area 120 includes the identifier of the determination, in step S30, described responding module 106 is according to described The content generation echo message that the identifier of the determination instructs accordingly in buffering area 120, and send the echo message to institute Phone ccf layer 13 is stated, and the instruction is deleted from the instruction queue, then, flow is back to step S22.
If the buffering area 120 does not include the identifier of the determination, in step S32, described responding module 106 is by described in Instruction is sent to the AT passages 15.
Step S34, described responding module 106 is after the echo message of the AT passages 15 is received, by the instruction Identifier and content are stored to the buffering area 120.
Step S36, described responding module 106 send the echo message to the phone ccf layer 13, then, flow It is back to step S22.
Embodiment of above is merely illustrative of the technical solution of the present invention and unrestricted, although the preferable embodiment party with reference to more than The present invention is described in detail formula, it will be understood by those within the art that, can be to technical scheme Modify or equivalent substitution should not all depart from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of system of mitigation AT channel loads, applied in communication device, the communication device include radio interface layer with And phone ccf layer, it is characterised in that the system includes:
Module is established, for establishing an instruction queue in the radio interface layer, and one is established in the communication device Individual buffering area, to identifier and the corresponding content instructed of store instruction;
Processing module, for when the communication device establishes data communication, will receive from the phone ccf layer The instruction sent is temporarily stored in the instruction queue;
Judge module, for whether there is instruction in the instruction queue is judged after data communication is established, and in the instruction team There is the identifier that the instruction is determined during instruction in row, and judge whether the buffering area includes the identifier of the determination;And
Responding module, in the identifier of the buffering area including the determination, according to the mark of the determination in the buffering area Know the content generation echo message that symbol instructs accordingly, and send the echo message to the phone ccf layer.
2. mitigate the system of AT channel loads as claimed in claim 1, it is characterised in that described responding module is additionally operable to When the buffering area does not include the identifier of the determination, the instruction in the instruction queue is sent to the AT passages, and After the echo message for receiving the AT passages, the identifier of the instruction and content are stored to the buffering area, and The echo message is sent to the phone ccf layer.
3. mitigate the system of AT channel loads as claimed in claim 1, it is characterised in that the processing module is additionally operable in institute When stating communication device and not establishing data communication, the AT is sent in the instruction sent from the phone ccf layer received and led to Road.
4. mitigating the system of AT channel loads as claimed in claim 1, it is characterised in that the system also includes removing module, For when the instruction queue does not instruct, removing all data in the buffering area.
5. mitigate the system of AT channel loads as claimed in claim 1, it is characterised in that the data communication defers to packet count According to agreement.
6. a kind of method of mitigation AT channel loads, applied in communication device, the communication device include radio interface layer with And phone ccf layer, it is characterised in that this method comprises the following steps:
An instruction queue is established in the radio interface layer;
A buffering area is established in the communication device, to identifier and the corresponding content instructed of store instruction;
When the communication device establishes data communication, the instruction sent from the phone ccf layer received is kept in In the instruction queue;
After data communication foundation, judge whether there is instruction in the instruction queue;
If having instruction in the instruction queue, the identifier of the instruction is determined, and judges whether the buffering area includes the determination Identifier;And
If the buffering area includes the identifier of the determination, instructed accordingly according to the identifier of the determination in the buffering area Content generates echo message, and sends the echo message to the phone ccf layer.
7. mitigate the method for AT channel loads as claimed in claim 6, it is characterised in that this method also includes:
If the buffering area does not include the identifier of the determination, the instruction in the instruction queue is sent to the AT passages;
After the echo message of the AT passages is received, the identifier of the instruction and content are stored to the buffering area It is interior;And
The echo message is sent to the phone ccf layer.
8. mitigate the method for AT channel loads as claimed in claim 6, it is characterised in that this method also includes:
If the communication device does not establish data communication, institute is sent in the instruction sent from the phone ccf layer received State AT passages.
9. mitigate the method for AT channel loads as claimed in claim 6, it is characterised in that this method also includes:
When the instruction queue does not instruct, all data in the buffering area are removed.
10. mitigate the method for AT channel loads as claimed in claim 6, it is characterised in that the data communication defers to packet Data protocol.
CN201210083398.0A 2012-03-27 2012-03-27 Mitigate the system and method for AT channel loads Expired - Fee Related CN103368680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210083398.0A CN103368680B (en) 2012-03-27 2012-03-27 Mitigate the system and method for AT channel loads

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210083398.0A CN103368680B (en) 2012-03-27 2012-03-27 Mitigate the system and method for AT channel loads

Publications (2)

Publication Number Publication Date
CN103368680A CN103368680A (en) 2013-10-23
CN103368680B true CN103368680B (en) 2017-11-24

Family

ID=49369304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210083398.0A Expired - Fee Related CN103368680B (en) 2012-03-27 2012-03-27 Mitigate the system and method for AT channel loads

Country Status (1)

Country Link
CN (1) CN103368680B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916839A (en) * 2005-08-19 2007-02-21 佛山市顺德区顺达电脑厂有限公司 Method for transmitting control command
CN101194454A (en) * 2005-06-02 2008-06-04 西门子公司 Redundant transmission of data message for the control technology of HVDCT systems
CN102137027A (en) * 2011-05-03 2011-07-27 厦门市美亚柏科信息股份有限公司 Reliable data transmission method and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101194454A (en) * 2005-06-02 2008-06-04 西门子公司 Redundant transmission of data message for the control technology of HVDCT systems
CN1916839A (en) * 2005-08-19 2007-02-21 佛山市顺德区顺达电脑厂有限公司 Method for transmitting control command
CN102137027A (en) * 2011-05-03 2011-07-27 厦门市美亚柏科信息股份有限公司 Reliable data transmission method and device thereof

Also Published As

Publication number Publication date
CN103368680A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN107770815B (en) MEC method and equipment based on position
CN107395572B (en) Data processing method and Internet of things gateway
CN101909257B (en) Method and system for realizing concurrency access of multiple bearer protocols by M2M platform
CN105933854A (en) Method, system and device for realizing machine to machine service
CN104216761B (en) It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system
CN103716356B (en) Storing process operating method, device and system based on web
CN104579970B (en) A kind of strategy matching device of IPv6 messages
CN103475458A (en) Wireless resource distribution method and equipment of multi-carrier system
CN109936861A (en) Communication means and access network equipment, terminal device, equipment of the core network
CN109819477A (en) A kind of method and corresponding entity of processing request
CN103607360B (en) Message processing method, line card and switching equipment
CN110022374A (en) Method for connecting network, device, communication equipment and storage medium based on Internet of Things
CN106161802A (en) Communication means, device and mobile terminal
CN107968848A (en) A kind of method, terminal device and storage medium for obtaining IP address
CN106412296B (en) Terminal equipment control method and device
CN107404759A (en) A kind of paging method and device
CN107733890A (en) The inter-network means of communication, electronic equipment, storage medium, system based on web protocol
CN104636249B (en) A kind of application program Debugging message generates system and method
CN103368680B (en) Mitigate the system and method for AT channel loads
CN116074253B (en) Message chained forwarding method and device
CN108076535A (en) Control method, device, terminal and the storage medium of wireless heterogeneous networks connection
CN102316138A (en) Client end and load balance method
CN106817318A (en) The machinery of consultation of robust Header compression state, transmitting terminal and system
CN101674584B (en) Method for detecting virus and system
CN108173909A (en) Method of data synchronization, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171124

Termination date: 20200327