CN101431725B - Apparatus and method for implementing right treatment of concurrent messages - Google Patents

Apparatus and method for implementing right treatment of concurrent messages Download PDF

Info

Publication number
CN101431725B
CN101431725B CN2007101867023A CN200710186702A CN101431725B CN 101431725 B CN101431725 B CN 101431725B CN 2007101867023 A CN2007101867023 A CN 2007101867023A CN 200710186702 A CN200710186702 A CN 200710186702A CN 101431725 B CN101431725 B CN 101431725B
Authority
CN
China
Prior art keywords
message
submodule
module
decoupling zero
buffered
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
CN2007101867023A
Other languages
Chinese (zh)
Other versions
CN101431725A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101867023A priority Critical patent/CN101431725B/en
Publication of CN101431725A publication Critical patent/CN101431725A/en
Application granted granted Critical
Publication of CN101431725B publication Critical patent/CN101431725B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A device and a method for achieving correct processing of concurrent messages are disclosed, comprising a message source, a message terminal reception and processing module and a message intermediate processing module, wherein the message intermediate processing module specifically includes a cache sub-module, a decoupling sub-module and an issuing sub-module; the cache sub-module caches all the messages from the message source, the decoupling sub-module decouples the cached messages by the cache sub-module, the issuing sub-module sends the decoupled messages to the message terminal reception and processing module. The invention can effectually eradicate coupling between the concurrent messages and achieve correct processing of the concurrent messages by decoupling all the concurrent messages from the message source.

Description

A kind of correct device and method of handling of concurrent message of realizing
Technical field
The present invention relates to mobile communication technology, relate in particular to a kind of correct apparatus and method of handling of concurrent message that realize, be specially adapted in multiple mobile communication system such as CDMA, GSM and the PHS system.
Background technology
Mobile communication system is to rely on aerial message road to realize communicating by letter of base station and terminal in the realization that inserts side basically, each channel is realized by bound channels processing unit CE (ChannelElement) basically in base station side, in system's idle condition, and in running order these CE that in fact just are meant of channel should be in running order, could guarantee that like this terminal at any time may be by this channel foundation calling connecting system.At present channel is comprised that the operation to CE generally all is to set up when base station system one powers on, seldom in system's running, these channels are changed and join, as change and be fitted on other CE.
In system's running, these channels are changed operations such as joining CE if desired, as comprise foundation, close each channel, modification etc., synchronous then, and with the disposable message terminal receiving processing module that sends to of these operation informations.As Fig. 1, there are a plurality of message to send in the disposable operation and arrive message terminal receiving processing module from message source, may there be coupling between these message.For example message 1 is that a CSM chip is carried out reset operation, message 2 is that certain CE on this chip is carried out opening operation, when above-mentioned two existence comprise the concurrent message 1 of coupling and message 2 and arrive the message terminal processing modules, this module will not know that this priority treatment message 1 still is 2 so.For example message 3 is to open the CE operation, and message 4 is to close the CE operation, and concurrent message 3 and the message 4 when above-mentioned existence coupling arranged side by side arrives message terminal receiving processing module simultaneously equally, and then this module will not know that this priority treatment message 3 still is 4.Therefore, how to solve because the message terminal processes mistake that the coupling between the concurrent message brings has become problem demanding prompt solution.
Summary of the invention
The present invention is by a kind of correct device and method of handling of concurrent message of realizing is provided, overcome disposable synchronously in because the problem that the coupling that exists between a plurality of message causes Message Processing and expectation treatment effect to be runed counter to.
For solving above technical problem, the invention provides a kind of correct device of handling of concurrent message of realizing, comprise that message source and message terminal receive and processing module, also comprise the message intermediate process module in addition, the message intermediate process module specifically comprises cache sub-module, decoupling zero submodule and issues submodule: wherein cache sub-module will be carried out buffer memory from all message of message source, the decoupling zero submodule carries out de to the buffered message of cache sub-module to be handled, and issues the message of submodule after with decoupling zero and sends to the message terminal and receive and processing module.
For solving above technical problem better, the present invention also provides a kind of correct method of handling of concurrent message that realizes, comprises following steps:
Step 1: the message that message source will need send at every turn all sends to the message intermediate process module;
Step 2: all message bufferings are in the cache sub-module of message intermediate process module;
Step 3: the decoupling zero submodule carries out decoupling zero to message buffered to be handled, and sends to the message terminal and receive and processing module by issuing the message of submodule after decoupling zero;
Step 4: the message that the message terminal receives and processing module receives and the processing messages intermediate process module is sent.
The correct device and method of handling of the concurrent message of realization provided by the invention by handling carry out de from all concurrent message of message source, can effectively be eliminated the coupling between the concurrent message, realizes the correct processing of concurrent message.
Description of drawings
Fig. 1 is existing message processing apparatus structural representation;
Fig. 2 is a message processing apparatus schematic diagram of the present invention;
Fig. 3 is the structural representation of message intermediate process module of the present invention;
Fig. 4 is that the related operand of different messages concerns schematic diagram;
Fig. 5 is the message schematic diagram of a certain buffer structure storage;
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
As shown in Figure 1, existing message processing apparatus comprises:
Message source 101 is the source devices that send message, and the message terminal receives and processing module 102, finally receives and the message that sends in the processing messages source.Only need message source 101, the reception of message terminal and processing module 102 can finish simple business in the existing system: message source 101 sends message and directly receives and processing module 102 to the message terminal, directly handle by message terminal receiver module 102, owing to may have the concurrent message of coupling, therefore have problem in the processing.
As shown in Figure 2, message handling system of the present invention comprises:
Message source 201 mainly is the source device that sends message; Message intermediate process module 202 is that message is carried out buffer memory, wait to receive all message after, buffered message is carried out decoupling zero handles, after decoupling zero finishes, the message after the decoupling zero is issued; The message terminal receives and processing module 203, the message after reception and the processing decoupling zero.
As shown in Figure 3, message intermediate process module of the present invention specifically comprises:
Cache sub-module 301 receives and disposable all message that may have coupling of sending in buffered message source;
Decoupling zero submodule 302 carries out decoupling zero to the concurrent message that has coupling and handles;
Issue submodule 303, the message after the decoupling zero is issued.
(1) cache sub-module
In order to remove the coupling between each message, guarantee simultaneously not lose the entrained content of message, cache sub-module is got off all message bufferings, thereby guarantees that entrained message capacity is constant.
Cache sub-module shows relation and coupling between each message by other buffer structure of classification.The scope rank that the buffer structure of buffer storage carries the operand that content relates to according to message is provided with, and has several operand scopes that several buffer structures just are set, and the message of different stage all is buffered in respectively in the buffer structure of appropriate level.With two other buffer structures of level is example, if two ranks are CE rank and CSM (Cell Site Modem) rank, both sides relation is a different stage, and a CSM chip comprises a plurality of CE, and both sides relation as shown in Figure 4.For CE rank buffer structure, some buffer units can be stored a plurality of message, may both store the message of closing this CE unit, and the message of this CE unit is opened in storage again, as shown in Figure 5.
(2) decoupling zero submodule
At first, we introduce the kind that is coupled between the concurrent message earlier, mainly contain three kinds:
Coupling one: comprise coupling, be the different stage coupling, promptly the related operand of content that carries of message comprises another message and carries the related operand of content.For example message 1 is that a CSM chip is carried out reset operation, and message 2 is that certain CE on this chip is carried out opening operation, and CSM comprises CE, but the operation of message 1 and 2 couples of CE is to have conflict, promptly also exists between message 1 and the message 2 to comprise coupling.When above-mentioned two existence comprise the concurrent message 1 of coupling and message 2 and arrive the message terminal processing modules, this module will not know that this priority treatment message 1 still is 2 so.
Coupling two: coupling side by side, be the same levels coupling, be coordination between two message promptly, any one message all can not comprise another message in essence, and promptly message is carried the related operand of content and another message to carry the related operand of content is coordination.If message 3 and message 4 are to same physical entity CE operation, message 3 is to open the CE operation, and message 4 is to close the CE operation, and promptly message 3 is operation informations that the existence that same physical entity carries out is conflicted with message 4, and we think that existence is coupled side by side between message 3 and the message 4 so.Same concurrent message 3 and message 4 when above-mentioned existence coupling arranged side by side arrives message terminal receiving processing module simultaneously, and then this module will not know that this priority treatment message 3 still is 4.
Coupling three: cross-couplings, be the different stage coupling, promptly between two message neither inclusion relation, neither coordination, have some to intersect between the two, promptly the related operand of message content of carrying and another message carry between the related operand of content be do not comprise mutually, there is cross section the centre.
The present invention relates generally to preceding two kinds of couplings.
For the coupled relation that comprises between the above-mentioned different stage message: in conjunction with Fig. 3 explanation, be contained in a certain high level buffer unit, earlier little rank buffer structure unit circulated if a certain little other buffer unit of level is actually.The message 1 of for example high level buffer unit A storage is certain CSM chip that resets, the buffered message 2 of low-level buffer unit B storage is to open certain CE, and CE belongs to the CSM chip, promptly in fact message 2 is contained in message 1, this low level buffered message 2 falls conductively-closed so, only handles the high-level buffered message 1 that comprises this minimum rank buffered message.If have more multi-level buffered message, then iteration is analogized successively, only handles the buffered message in the highest level buffer structure, thereby finally realizes uncoupled purpose.
For the coupling arranged side by side between the above-mentioned same levels message: each other buffer unit of level is circulated,, so just these a plurality of message are carried out decoupling zero if a plurality of message are stored in this unit.As shown in Figure 7,, these two message are merged be stored as the message of not only having opened but also having closed so if the existing CE of opening in this unit closes CE message again, by issue submodule correct issue this message.Certainly, also can not carry out any processing, issue submodule and finish merging and be chosen in.
(3) issue submodule
This module since input be message after the decoupling zero, therefore as long as normally issue message after the decoupling zero.Especially when for the above-mentioned merging message of not only having closed but also having opened, here can be processed into: send close message earlier, the to be confirmed transmission again after closing successfully opened message.For as the coupling arranged side by side between message 3 and the 4 same levels message, if the decoupling zero submodule does not merge processing to message, then issue submodule earlier with the synthetic message of not only having opened but also having closed of two message, and then issue, be processed into equally: send earlier close message, the to be confirmed transmission again after closing successfully opened message.
The present invention realizes that the correct method of handling of concurrent message specifically comprises following steps:
Step 1: the message that message source 201 will need send at every turn all sends to message intermediate process module 202;
Step 2: all message bufferings are in the cache sub-module 301 of message intermediate process module 202;
Step 3: 302 pairs of message buffered of decoupling zero submodule are carried out the decoupling zero processing, and by issuing submodule 303 message after the decoupling zero are sent to reception of message terminal and processing module 203;
Step 4: the message that the message terminal receives and processing module 203 receives and send in the processing messages source
Wherein in the step 1, when message source sends message, send a synchronous opening flag message earlier; When message source sends the end of message, send a synchronous end mark message;
In the step 2, the message intermediate process module is received synchronous opening flag message, and the initialization of buffer memory medium is emptied, and prepares to receive the message that message source is sent;
In the step 3, when being coupled as between the message is coupled comprising between different stage message, the decoupling zero submodule circulates to low level buffer structure unit earlier, if being actually, a certain low-level buffer unit is contained in a certain high level buffer unit, this low level buffered message is with conductively-closed so, only handle the high-level buffered message that comprises this minimum rank buffered message, iteration is extrapolated to the highest level buffered message successively; Between the message be coupled as coupling arranged side by side between same levels message the time, the decoupling zero submodule circulates to each other buffer unit of level, if a plurality of message are stored in this unit, so just these a plurality of message is carried out decoupling zero.If same levels message is to open CE and close CE message, so by the decoupling zero submodule or issue submodule these two message are merged into the message of not only having opened but also having closed, issue this message by issuing submodule then, be processed into when issuing: send earlier close message, the to be confirmed transmission again after closing successfully opened message.
Correct implement device and the method for handling of a kind of concurrent message of the present invention, be not limited in listed utilization in specification and the execution mode, it can be applied to various suitable the present invention's field fully, comprise CDMA RLSA system, CDMA DO and GOTA system, PHS and GSM etc., for those skilled in the art, can be easy to realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the present invention is not limited to specific details, representational equipment and the examples shown that illustrates here.

Claims (10)

1. realize the correct device of handling of concurrent message for one kind, comprise that message source (201) and message terminal receive and processing module (203), it is characterized in that also comprising message intermediate process module (202), described message intermediate process module (202) specifically comprises three submodules, cache sub-module (301), decoupling zero submodule (302) and issue submodule (303), wherein:
Cache sub-module (301) will be carried out buffer memory from all message of message source (201), wherein, the structure of cache sub-module (301) is other storage organization of classification, the scope rank that the rank of storage organization is carried the related operand of content according to message is provided with, and the message of different stage all is buffered in the buffer structure of appropriate level respectively;
Decoupling zero submodule (302) carries out de to the buffered message in the cache sub-module (301) to be handled, wherein, decoupling zero submodule (302) is for the coupling between the different stage message, earlier the low level buffer unit is circulated, if being actually, a certain low-level buffer unit is contained in a certain high level buffer unit, this low level buffered message is only handled the high-level buffered message that comprises this low level buffered message with conductively-closed so, and iteration is extrapolated to the highest level buffered message successively; Decoupling zero submodule (302) circulates to each other buffer unit of level for the coupling between the same levels message, if a buffer unit in other buffer unit of described each grade is stored a plurality of message, so just these a plurality of message is carried out decoupling zero;
Issue submodule (303) message after the de is sent to reception of message terminal and processing module (203).
2. device according to claim 1, it is characterized in that if the existing message of opening channel bank CE of buffer unit has the message of closing channel bank CE again, so by decoupling zero submodule (302) or issue submodule (303) these two message are merged into the message of not only having opened but also having closed, then by the message that issues after submodule (303) issues merging.
3. device according to claim 2 is characterized in that in the buffer unit it being the merging message of not only having opened but also having closed, and issues submodule (303) and sends close message earlier, and to be confirmed the transmission again after closing successfully opened message.
4. the correct implementation method of handling of a concurrent message is characterized in that comprising following steps:
Step 1: the message that message source (201) will need send at every turn all sends to message intermediate process module (202);
Step 2: all message bufferings are in the cache sub-module (301) of message intermediate process module (202), wherein, the structure of cache sub-module (301) is other storage organization of classification, the scope rank that the rank of storage organization is carried the related operand of content according to message is provided with, and the message of different stage all is buffered in the buffer structure of appropriate level respectively;
Step 3: the decoupling zero submodule (302) of message intermediate process module (202) carries out decoupling zero to message buffered to be handled, and the message after the decoupling zero is sent to by the submodule (303) that issues of message intermediate process module (202) the message terminal receives and processing module (203), wherein, decoupling zero submodule (302) is for the coupling between the different stage message, earlier the low level buffer unit is circulated, if being actually, a certain low-level buffer unit is contained in a certain high level buffer unit, this low level buffered message is with conductively-closed so, only handle the high-level buffered message that comprises this low level buffered message, iteration is extrapolated to the highest level buffered message successively; Decoupling zero submodule (302) circulates to each other buffer unit of level for the coupling between the same levels message, if a buffer unit in other buffer unit of described each grade is stored a plurality of message, so just these a plurality of message is carried out decoupling zero;
Step 4: the message terminal receives and processing module (203) receives and processing messages intermediate process module (202) issue the message that submodule (303) is sent.
5. when method according to claim 4, its feature message source (201) in step 1 sends message, send a synchronous opening flag message earlier.
6. method according to claim 5 is characterized in that step 1 further comprises when the message that will at every turn need send when message source (201) all sends, and sends a synchronous end mark message.
7. method according to claim 5, it is characterized in that step 2 further comprises, after opening flag message was received by message intermediate process module (202) synchronously, message intermediate process module (202) emptied the initialization of buffer memory medium, prepared to receive the message that message source (201) is sent.
8. method according to claim 6, it is characterized in that synchronous end mark message is received by message intermediate process module (202) after, message intermediate process module (202) is handled message buffered, removes the coupling between each message.
9. according to the method for claim 4, it is characterized in that if same levels message is the message of opening channel bank CE and closing channel bank CE, so by decoupling zero submodule (302) or issue submodule (303) these two message are merged into the message of not only having opened but also having closed, then by the message that issues after submodule (303) issues merging.
10. method according to claim 4 is characterized in that issuing the merging message of not only having opened but also having closed for one submodule (303) and send close message earlier, and to be confirmed the transmission again after closing successfully opened message.
CN2007101867023A 2007-11-08 2007-11-08 Apparatus and method for implementing right treatment of concurrent messages Expired - Fee Related CN101431725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101867023A CN101431725B (en) 2007-11-08 2007-11-08 Apparatus and method for implementing right treatment of concurrent messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101867023A CN101431725B (en) 2007-11-08 2007-11-08 Apparatus and method for implementing right treatment of concurrent messages

Publications (2)

Publication Number Publication Date
CN101431725A CN101431725A (en) 2009-05-13
CN101431725B true CN101431725B (en) 2010-12-01

Family

ID=40646839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101867023A Expired - Fee Related CN101431725B (en) 2007-11-08 2007-11-08 Apparatus and method for implementing right treatment of concurrent messages

Country Status (1)

Country Link
CN (1) CN101431725B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104487B (en) * 2009-12-21 2014-12-17 上海贝尔股份有限公司 Message processing method and equipment
CN107454120A (en) * 2016-05-30 2017-12-08 北京京东尚科信息技术有限公司 The method of network attack defending system and defending against network attacks

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5734826A (en) * 1991-03-29 1998-03-31 International Business Machines Corporation Variable cyclic redundancy coding method and apparatus for use in a multistage network
CN1702773A (en) * 2004-05-25 2005-11-30 英特尔公司 Programmable parallel lookup memory
CN1940861A (en) * 2005-09-27 2007-04-04 国际商业机器公司 Method and apparatus for issuing instruction in processor of information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5734826A (en) * 1991-03-29 1998-03-31 International Business Machines Corporation Variable cyclic redundancy coding method and apparatus for use in a multistage network
CN1702773A (en) * 2004-05-25 2005-11-30 英特尔公司 Programmable parallel lookup memory
CN1940861A (en) * 2005-09-27 2007-04-04 国际商业机器公司 Method and apparatus for issuing instruction in processor of information processing system

Also Published As

Publication number Publication date
CN101431725A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN102594660B (en) A kind of virtual interface exchange method, Apparatus and system
CN102761489B (en) Inter-core communication method realizing data packet zero-copying based on pipelining mode
CN101222374B (en) System, device and method for implementing service upgrade
CN101431725B (en) Apparatus and method for implementing right treatment of concurrent messages
BR0210611A (en) Multimedia transmission, transmission services to mobile phone and other users and modified sim card and related devices to enable such transmission reception
GB0408876D0 (en) User-level stack
CN101848135B (en) Management method and management device for statistical data of chip
RU2008120680A (en) METHOD AND DEVICE FOR THE "CLICK AND SPEAK" SERVICE
CN101304389A (en) Method, apparatus and system for processing packet
CN101452430B (en) Communication method between multi-processors and communication device comprising multi-processors
CN103068076A (en) Single card multiple standby terminal, adapter module and subscriber identity module (SIM) card access method
CN101272338B (en) Method for port band width configuration on non-line speed interface plate and non-line speed interface plate
CN101866326A (en) Message passing interface framework for supporting bus communication
CN101841474A (en) Device for realizing access control lists
CN102857446B (en) The buffer memory management method and device of Ethernet switching chip
CN109451076A (en) A kind of the merging treatment method, apparatus and electronic equipment of network request
CN103607360A (en) Message processing method, line card and switching equipment
CN103853676B (en) Channel distribution, release, data transmission method and the system of Based PC Ie bus
DE50202498D1 (en) TRANSFER OF DATA PACKETS IN A RADIO COMMUNICATION SYSTEM USING A HARQ (HYBRID AUTOMATIC REPEAT REQUEST) PROCESS
CN107577541A (en) A kind of application and a kind of call method of component
CN101141474A (en) Hypertext transfer protocol based communication system and method
CN103490870A (en) Frequency band utilization method and device
CN102143504A (en) Method and device for remotely managing wireless mobile terminal (MT)
CN101330690A (en) Mobile terminal and method for implementing user recognition module non-contact application
CN101227306A (en) Method and apparatus for copying message for multi-broadcast treatment

Legal Events

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

Granted publication date: 20101201

Termination date: 20161108

CF01 Termination of patent right due to non-payment of annual fee