CN101453452B - SIP message processing method and apparatus based on multiple cores - Google Patents

SIP message processing method and apparatus based on multiple cores Download PDF

Info

Publication number
CN101453452B
CN101453452B CN2007101865564A CN200710186556A CN101453452B CN 101453452 B CN101453452 B CN 101453452B CN 2007101865564 A CN2007101865564 A CN 2007101865564A CN 200710186556 A CN200710186556 A CN 200710186556A CN 101453452 B CN101453452 B CN 101453452B
Authority
CN
China
Prior art keywords
sip message
nuclear
sign
sip
hardware thread
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
CN2007101865564A
Other languages
Chinese (zh)
Other versions
CN101453452A (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.)
International Business Machines Corp
Original Assignee
International Business Machines 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 International Business Machines Corp filed Critical International Business Machines Corp
Priority to CN2007101865564A priority Critical patent/CN101453452B/en
Priority to TW97136711A priority patent/TWI433517B/en
Publication of CN101453452A publication Critical patent/CN101453452A/en
Application granted granted Critical
Publication of CN101453452B publication Critical patent/CN101453452B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a multinuclear session initiative protocol (SIP)based message processing method and an SIP message processing device thereof. The method comprises: the received SIP message is pre-analyzed to acquire an identifier of the SIP message; the SIP messages with the same identifier are distributed to the same nucleus; and by utilizing relative special resources, the SIP messages distributed to the nucleus are processed. The method and the device have the advantages of lowering resource competition and improving utilization rate of computation resource of the nucleus.

Description

Sip message processing method and device based on multinuclear
Technical field
The present invention relates to multi-core technology.More specifically, the present invention relates to a kind of session initiation protocol (Session Initiation Protocol, SIP) message treatment method and device based on multinuclear.
Background technology
(Next Generation Network NGN) is a kind of emerging network technology to next generation network.Its communication service that appears as provides greater functionality and advantage, also makes the live load of network significantly increase simultaneously.Yet because the performance of the sip application server of next generation network communication is also poor, so it still can not satisfy the requirement of NGN.
For the improvement of sip application server performance, crucial provide a kind of high performance Session Initiation Protocol stack." outwards expansion " technology based on multinuclear improves one of mode of Session Initiation Protocol stack performance just, and " outwards expansion " technology of being somebody's turn to do is through increasing the performance that processing unit promotes the Session Initiation Protocol stack.Wherein, multi-core technology is examined through integrated a plurality of complete computers in one piece of processor and is realized that " outwards expansion ", multiprocessor technology then are to realize " outwards expansion " through integrated a plurality of processors on server.And a plurality of processors in the multiprocessor technology can have single nuclear or a plurality of nuclear.
When technology improved the performance of server, the problem that must solve was how to make full use of the computational resource of each nuclear and internuclear interference and resource contention are minimized utilizing " outwards expansion " based on multinuclear.Mainly comprise the method for designing that is called streamline (pipeline), be called the method for designing that runs through (go through) etc. based on the conventional art of " outwards expansion " of multinuclear.
The sketch map that runs through method for designing has been shown among Fig. 1.As shown in Figure 1, sip stack 100 is divided into a plurality of layers, includes transport layer 101, analytic sheaf 102, transaction layer 103, dialogue/session layer 104 and application layer 105.According to running through method for designing, each nuclear is all carried out the function of all layers of sip stack.In the method, all are examined when the treatment S IP message, need utilize these shared resources such as transaction table, conversational list, conversational guidance, timer, I/O queue, IOQ etc.Fig. 6 shows the sketch map of transaction table, conversational list, conversational guidance, and wherein transaction table, conversational list, conversational guidance are respectively applied for the required information of stores processor sip message, such as the state of affairs, session, dialogue, relevant SIP information etc.The resource that need utilize when timer and I/O queue, IOQ also are the treatment S IP message.Yet, when a nuclear just visiting shared resource such as transaction table, conversational list, conversational guidance (for example, carry out search, create, modification, deletion action etc.) this resource of Shi Huiwei locks, other nuclears can't be visited this resource, must wait.And, when the throughput of sip message is big, utilize timer, I/O queue, IOQ etc. possibly also need to wait for.Therefore there is the resource contention problem between each nuclear.Like this, after the quantity of nuclear was more, it is even more serious that resource contention just becomes, and makes the overall performance of server can not be effectively improve with the increase of nuclear volume.
Similarly, also has another kind of method, i.e. the The pipeline design method.As shown in Figure 2, sip stack is divided into a plurality of layers equally: transport layer 101, analytic sheaf 102, transaction layer 103, dialogue/session layer 104 and application layer 105 are respectively every layer then and distribute some nuclears.This The pipeline design method has realized " outwards expansion " to a certain extent.But be difficult to the live load between each layer of dynamic equilibrium, therefore can't make full use of the computational resource of each nuclear.What is more important, when having distributed some nuclear for certain layer (like transaction layer 103), each nuclear in this layer also need be shared certain resource, such as transaction table, conversational list, conversational guidance, timer, I/O queue, IOQ etc.Yet, when a nuclear just visiting shared resource such as transaction table, conversational list, conversational guidance (for example, carry out search, create, modification, deletion action etc.) this resource of Shi Huiwei locks, other nuclears can't be visited this resource, must wait.And, when the throughput of sip message is big, utilize timer, I/O queue, IOQ etc. possibly also need to wait for.Therefore with to run through method for designing similar, also there is the resource contention problem between the nuclear when utilizing pipelining technique.
Therefore, method of the prior art still can not provide gratifying solution at present.
Summary of the invention
In view of the foregoing, target of the present invention is to provide a kind of sip message processing method and sip message processing unit based on multinuclear, to reduce the resource contention that occurs between the nuclear.
According to an aspect of the present invention, a kind of sip message processing method based on multinuclear is provided, said method comprises: the sip message to receiving is resolved in advance, therefrom to obtain the sign of said sip message; The sip message that will have identical said sign is assigned in the identical nuclear; And at least one nuclear, utilize relevant private resource that the sip message of distributing to said nuclear is handled.
According to a further aspect in the invention, a kind of sip message processing unit based on multinuclear is provided, said device comprises: the preparatory resolution unit of sip message is configured to the sip message that receives is resolved in advance, therefrom to obtain the sign of said sip message; The sip message allocation units are configured to the sip message with identical said sign is assigned in the identical nuclear; And the sip message processing unit, be configured at least one nuclear, utilize relevant private resource that the sip message of distributing to said nuclear is handled.
According to the present invention, discern sip message through the sign of obtaining sip message, and the sip message that will have a like-identified is assigned in the identical nuclear with correlation.In addition, also be provided with relevant private resource for each nuclear.Therefore, reduced because of a plurality of nuclear concurrent processing sip messages need the same shared resource possibility of visit, thereby reduced the resource contention between the nuclear.
In an example, said relevant resource comprises transaction table.In another was preferably implemented, said relevant one step of resource comprised one or more in conversational list, conversational guidance, I/O queue, IOQ and the timer.
In addition; In a preferred embodiment; When said nuclear has a plurality of hardware thread, can also the SIP with like-identified further be assigned to each hardware thread of each nuclear, and be the relevant private resource of each rigid line journey distribution in each nuclear; Make a plurality of hardware threads can utilize the private resource of distributing to this hardware thread to come the treatment S IP message, thereby reduced the resource contention between each hardware thread.
Through the present invention, resource contention is significantly reduced, and has therefore improved the computational resource utilance of nuclear, thereby better overall performance is provided.
Description of drawings
In conjunction with the drawings specific embodiment of the present invention is carried out detailed description, above-mentioned and other aspects of the present invention and advantage will be more obvious.
In accompanying drawing of the present invention, the identical identical or similar parts of accompanying drawing sign expression, in the accompanying drawings:
Fig. 1 shows the principle schematic according to the The pipeline design method of prior art;
Fig. 2 shows the principle schematic that runs through method for designing according to prior art;
Fig. 3 shows according to one embodiment of present invention the flow chart based on the sip message processing method of multinuclear;
Fig. 4 shows a representative instance of sip message structure;
Fig. 5 shows according to one embodiment of present invention the block diagram based on the sip message processing unit of multinuclear;
Fig. 6 shows the sketch map of transaction table, conversational list, conversational guidance;
Fig. 7 shows the block diagram of the computer system that is suitable for embodiment of the present invention.
Embodiment
Hereinafter, will describe the sip message processing method and the sip message processing unit that the present invention is based on multinuclear through embodiment with reference to accompanying drawing.
Describe with reference to 3 pairs of sip message processing methods of the present invention of figure.Fig. 3 shows according to one embodiment of present invention the flow chart based on the sip message processing method of multinuclear.
In step 301, the sip message that receives is resolved in advance, therefrom to obtain the sign of said sip message.Sip message usually can through such as UDP (UserDatagram Protocol, UDP) or transmission control protocol (Transmission ControlProtocol TCP) transmits.The sip message that receives is placed on usually and carries out buffer memory in the formation.When taking turns to this sip message of processing, just this sip message is taken out from formation.Then this sip message is resolved in advance, therefrom to obtain the sign of sip message.The sign of said sip message can be used for identifying the correlation between the sip message, and will have the sip message that the sip message of like-identified thinks to have correlation.The sign of said sip message can be: the sign sip message belongs to dialogue (dialogue) sign of which dialogue; The sign sip message belongs to session (session) sign of which session; The sign sip message belongs to affairs (transaction) sign of which affairs; And any other sign that can identify the sip message correlation.(Internet Engineering Task Force, IETF) (Request For Comments RFC) in 3261, describes the definition of affairs, session and dialogue in detail to Request for Comment to the engineering group in the Internet.According to the description in the Session Initiation Protocol, the SIP affairs are carried out in client and service end, and comprise from client and be sent to all message that first request of service end is replied (non-1xx) up to the termination of sending to client from service end.If request is INVITE request and termination replys is replying of a non-2xx, affairs also comprise the affirmation of replying for said non-2xx so.And the ACK that replys to the 2xx for the INVITE request responds, and then is independently affairs.According to SDP regulation, " Multimedia session be multimedia transmit leg and recipient and from the transmit leg to recipient between the set of data flow.Multimedia conferencing is exactly an instance of Multimedia session." (RFC 2327 [1]) (the defined session of SDP can comprise one or more RTP sessions).As defined, a callee can repeatedly be invited to same session by different call.If used SDP, then session can be defined by the set string of SDP user name, session identification, network type, address style, address element.In the definition of RFC3261, dialogue is the relation of SIP end to end that continues a period of time between two UA.Dialogue is set up by sip message, replys such as " 2xx " for the INVITE request.Talk with call identification (call identifier), local label (local tag), the other side's label (remote tag) identifies.If one " INVITE " and " 200ok " have set up a dialogue, the re-invite of back then, sessions such as bye all belong to this dialogue.More information about dialogue, session, affairs please refer to the associated description among the RFC 3261.
The sign of sip message can be obtained from the structure of sip message.Below with reference to Fig. 4 the sign of sip message is described in detail.
Fig. 4 shows a representative instance of sip message structure.As can be seen from the figure, sip message 400 comprises a plurality of header fields, includes " Via " field 401, " From " field 402, " To " field 403, " Call-ID " field 404 etc.Wherein, the source address of the information representation sip message in " From " field 402, the destination address of the information representation sip message in " To " field 403, the sign that the information representation in " Call-ID " 404 fields is called out.In addition; The transmission of certain affairs of information representation in " Via " field 401 and sign are replied the address of replying; Include " branch " parameter 405 in " Via " field 401 in sip message; " branch " parameter 405 is used for the affairs that identification request is created, so this parameter can be used for distinguishing affairs.
In one embodiment, the tlv triple that the sign of sip message is made up of the information in " From " field 402, " To " field 403 and " Call-ID " field 404 in the sip message structure, this tlv triple has identified dialogue.In this embodiment, the sip message that belongs to same dialog is considered to have correlation.Therefore, the sign of this tlv triple formation can be used as dialogue identifier.
In another embodiment; The sign of sip message is by the four-tuple of the information formation of " branch " parameter 405 in " From " field 402, " To " field 403 and " Call-ID " field 404 and " Via " field 401 in the sip message structure, and this four-tuple has identified affairs.In this embodiment, the sip message that belongs to same transaction is considered to have correlation.Therefore, the sign of this four-tuple formation can be used as Transaction Identifier.
Those of ordinary skill in the art understands, and in other embodiment, also can session and any other possible sip message be identified according to other field.
According to applicable cases, can select in dialogue identifier, session identification and the Transaction Identifier any as the correlation between the mark for marking sip message of sip message.For example, when being intended to avoid resource contention to a greater degree, can adopt dialogue identifier or session identification; And be intended to reduce the preliminary treatment expense is target, then can adopt Transaction Identifier.In addition, under the situation that does not break away from the spirit and scope of the present invention, also can adopt other modes to constitute the sign of sip message.
Then, in step 302, the sip message that will have like-identified is assigned in the identical nuclear.
In one embodiment, utilize the sip message sign that obtains in the step 301, in mapping table, search the nuclear corresponding with the sign of the sip message that is obtained, said mapping table has write down the sign of sip message and the corresponding relation between the nuclear.Following table 1 shows the illustrative instance that mapping table utilizes the dialogue of said tlv triple sign.In this table, the sign of sip message is a dialogue identifier, and this dialogue identifier is the tlv triple that is made up of the information in " From " field, " To " field and " Call-ID " field, and three nuclears that are used for the treatment S IP message are arranged: nuclear 1, examine 2 and examine 3.All sip messages that use identical tlv triple to identify all will be assigned in the identical nuclear.
Table 1
Figure 2007101865564A00800011
Then, if in mapping table, do not find the sign of this sip message, show that then this sip message is a new message, does not promptly also exist the sip message relevant with this sip message.In this case, in mapping table, set up the sign of this sip message and the mapping between nuclear, use for relevant with this sip message subsequently sip message.Then, sip message is distributed to this nuclear.On the other hand, when finding the nuclear corresponding with the sign of this SIP, just with this distribution of messages in the nuclear that finds.
In another embodiment, do not utilize above-mentioned mapping table, but adopt the mode of directly distributing.In this embodiment, utilized a kind of simple ashing technique.At first basis is resolved the sign that obtains sip message in advance and is calculated corresponding integer numerical value, and it is surplus to utilize the number of examining that this numerical value is got then, distributes sip message according to remainder.This calculating operation can carry out according to following formula:
R=Mod(F(ID),N)
The remainder that obtains of " R " ecbatic wherein; " ID " is the sign of sip message; F is the function of the corresponding integer numerical value of the sign " ID " that is used to calculate sip message; N is the quantity that is used for the nuclear of sip message processing, and (para1 is to get cofunction para2) to function MOD, is used for the remainder that return parameters para1 obtains divided by parameter p ara2.
For example; Promptly examine 1 at four nuclears that have, nuclear 2, nuclear 3 and examine under 4 the situation; 4 pairs of quantity can utilizing nuclear obtain to such an extent that get surplusly with the sign value corresponding F (ID) of sip message according to function F, and remainder is that all sip messages of 1 are distributed to nuclear 1, and remainder is that all sip messages of 2 are distributed to nuclear 2; Remainder is that all sip messages of 3 are distributed to nuclear 3, and remainder is that all sip messages of 0 are distributed to nuclear 4.In this way, just need not to utilize the corresponding relation that writes down in the mapping table between this sign and the nuclear.
In addition, can also utilize the ashing technique of other modes, perhaps utilize the additive method that can directly distribute sip message.And, when distributing sip message,, when perhaps directly distributing sip message, also can utilize load balancing method well known in the art to come the live load between each nuclear of balance when setting up above-mentioned mapping, such as wheel change, at random, method such as weighted round robin.Then, in step 303, on each nuclear, utilize relevant private resource that the sip message of distributing to said nuclear is handled.The mode that this processing can utilize sip message of the prior art to handle is handled.
In one embodiment, the relevant private resource that distributes for each nuclear comprises transaction table.In a further embodiment, said relevant private resource may further include one or more in conversational list, conversational guidance, timer, the I/O queue, IOQ etc.Special-purpose transaction table, conversational list and conversational guidance have been stored the required information of treatment S IP message, such as the state of affairs, session, dialogue, relevant sip message etc.Because the required information of treatment S IP message all is stored in the relevant private resource of nuclear oneself; Therefore if nuclear need the information relevant with the sip message that it is being handled when handling; This nuclear just only needs these private resources of visit, needn't visit the resource of other nuclears.And nuclear also can utilize special-purpose timer and I/O queue, IOQ, and needn't share with other nuclear.Like this, just reduced the needs of access shared resources, reduced the resource contention between the nuclear and therefore improved the utilance of the computational resource of nuclear.
When using Transaction Identifier, the sip message that belongs to same transaction is handled in identical nuclear, so said relevant private resource comprises transaction table.Transaction table through each nuclear is special-purpose can be searched the relevant information that other belong to the sip message of same transaction.
When using session identification or dialogue identifier, the sip message that belongs to same dialog or same session is handled in identical nuclear, and can use transaction table to search the relevant information of the sip message that belongs to same session or dialogue this moment.In addition, said relevant private resource can also comprise conversational list or conversational guidance, can use transaction table and conversational list or conversational guidance to search the relevant information of the sip message that belongs to same session or dialogue like this.
According to application demand, said relevant private resource can also comprise one or more in timer and the I/O queue, IOQ etc., with the processing speed of further raising sip message.
Main thought of the present invention is: the sip message that will have correlation is dispensed in the identical nuclear to be handled, and visits same shared resource (such as transaction table) simultaneously to avoid a plurality of nuclears.For this reason, before sip message is handled, carried out preparatory parsing, all be placed in the identical nuclear with the sip message that will have correlation and handle.Therefore, significantly reduce the possibility that the sip message that has correlation because of a plurality of nuclear concurrent processing needs the same section of access shared resources, therefore reduced resource contention, and improved the utilance of the computational resource of nuclear.And the result of micro benchmark test illustrates: on the 1.6G of Thinkpad Pentium M processor, can reach per minute and resolve 400,000 sip messages in advance.This shows that parsing only is a lightweight task in advance, does not almost increase the load of processor, so overall performance is also to significantly improving.
Therefore, the present invention can be used to improve the The pipeline design method, run through method for designing or any existing multinuclear method for designing.Particularly, when the present invention is used to improve the The pipeline design method, can reduce the possibility that needs the same shared resource of visit because of the sip message that has correlation with a plurality of nuclear concurrent processing in one deck; When the present invention is used to run through method for designing, can reduces a plurality of nuclear concurrent processing on the whole and have the sip message of correlation and need visit same shared resource
Described sip message is resolved in advance and sip message distributes and can carry out through the nuclear of a special use, also can carry out through a nuclear that is used for the treatment S IP message.For example in the bigger applied environment of data throughout, preferably carry out, can improve the pre-treating speed of sip message like this through the nuclear of special use.And under the little situation of data throughout, preferably carry out through a nuclear that is used for the treatment S IP message.In this case, because throughput is little and preliminary treatment sip message is the task of lightweight, therefore can influence the processing of sip message, and can make full use of the computational resource of nuclear yet.In addition, sip message is resolved in advance and sip message distributes and can also realize through special designs hardware, such as network processing unit (NP, Network Processor), transmission control protocol load balancing engine (TOE, TCPOffload Engine) etc.
In another preferred embodiment, said nuclear is supported multithreading, has the hardware thread (hardware thread) of a plurality of physics in the promptly said nuclear.In this embodiment; Sip message with correlation is assigned in the same hardware thread of identical nuclear; On the hardware thread of said nuclear, to handle said sip message; And make each hardware thread in each nuclear have oneself relevant private resource, such as in transaction table, conversational list, conversational guidance, timer, the I/O queue, IOQ etc. one or more.In this way, make and on each hardware thread, to utilize the private resource of hardware thread to come the treatment S IP message, thereby further reduced resource contention and therefore improved the utilance of the computational resource of nuclear.
Fig. 5 shows according to one embodiment of present invention the sip message processing unit based on multinuclear.As shown in Figure 5, sip message processing unit 500 comprises the preparatory resolution unit of sip message 501, sip message allocation units 502 and sip message processing unit 503.
Wherein the preparatory resolution unit 501 of sip message is configured to the sip message that receives is resolved in advance, and therefrom to obtain the sign of said sip message, perhaps other can identify the sign of the correlation of sip message such as dialogue identifier, session identification, Transaction Identifier.
Sip message allocation units 502 are configured to the sip message with identical said sign is assigned in the identical nuclear.In an example, sip message allocation units 502 are searched the nuclear corresponding with the sign of the sip message that is obtained in mapping table, and said mapping table has write down the sign of sip message and the corresponding relation between the nuclear.If find, then said sip message is assigned to the nuclear that finds.If do not find, then set up the sign of this sip message and the mapping between nuclear, and sip message is distributed to this nuclear.
And in another embodiment, sip message allocation units 502 adopt aforementioned mode of directly distributing.In this embodiment, utilized a kind of simple ashing technique.Sip message allocation units 502 at first basis are resolved the integer numerical value that the sign that obtains sip message calculates correspondence in advance, and it is surplus to utilize the number of examining that this numerical value is got then, and distributes sip message according to remainder.
Sip message allocation units 502 can also also utilize the ashing technique of other modes, perhaps utilize and can directly distribute the additive method of sip message to distribute sip message.And; When distributing sip message, when setting up above-mentioned mapping, when perhaps directly distributing sip message; Sip message allocation units 502 also can utilize load balancing method well known in the art to come the live load between each nuclear of balance, such as wheel change, at random, method such as weighted round robin.
Sip message processing unit 503 is configured on each nuclear, utilize relevant private resource that the sip message of distributing to said nuclear is handled.Said sip message processing unit 503 can be implemented as The pipeline design method of the prior art or runs through method for designing.In one embodiment, said relevant private resource comprises transaction table.In another preferred embodiment, said relevant private resource may further include and is wherein one or more of conversational list, conversational guidance, timer, I/O queue, IOQ.Therefore, can utilize private resource to come the treatment S IP message, thereby reduce the resource contention between the nuclear, and therefore improve the utilance of the computational resource of nuclear.
In one embodiment, the preparatory resolution unit 501 of sip message can realize or shared nuclear that is used for message processing unit through the nuclear of special use with said sip message allocation units 502.For example; In the bigger applied environment of data throughout, preferably realize through the nuclear of special use, can use special-purpose nuclear to carry out sip message like this and resolve in advance and distribution; And other nuclears are exclusively used in the treatment S IP message, thereby can improve the overall process speed of sip message.And under the little situation of data throughout, preferably carry out through the nuclear of sharing.At this moment, because throughput is little and preliminary treatment sip message is the task of lightweight, therefore can influence the processing of sip message, and can make full use of the computational resource of nuclear.
In another embodiment, the preparatory resolution unit 501 of sip message can also realize through special designs hardware with said sip message allocation units 502, such as network processing unit, transmission control protocol load balancing engine etc.
In another preferred embodiment; When nuclear has a plurality of hardware thread; Said sip message allocation units 502 can also further be configured to the said sip message with identical said sign is assigned to the same hardware thread of identical nuclear, and said sip message processing unit 503 can further be configured on the hardware thread of said nuclear, utilize the relevant private resource of distributing to this rigid line journey that the sip message of distributing to this hardware thread is handled.Like this, just can the sip message with correlation be assigned to the same hardware thread of identical nuclear, and utilize special-purpose resource to come the treatment S IP message, thereby reduce the resource contention between the hardware thread.
Can find out from the embodiment of above-mentioned sip message processing unit; The sip message that sip message processing unit of the present invention will have correlation all is assigned in the identical nuclear; And utilize relevant private resource to handle these sip messages, therefore reduced resource contention, improved the utilance of the computational resource of examining and overall performance preferably is provided.
Should be appreciated that sip message processing unit of the present invention can be a sip application server, also can be other devices that are used for the treatment S IP message.
Should be appreciated that the present invention not only can realize, can also realize in the multi-processor structure of being made up of single core processor in the processor of coenocytism.
Fig. 7 schematically shows and can realize the block diagram of computing equipment according to an embodiment of the invention.
Computing equipment shown in Fig. 7 comprises CPU (CPU) 701, RAM (random access memory) 702, ROM (read-only memory) 703, system bus 704, hard disk controller 705, KBC 706, serial interface controller 707, parallel interface controller 708, display controller 709, hard disk 710, keyboard 711, serial external equipment 712, parallel external equipment 713 and display 714.Wherein CPU can be polycaryon processor or multiprocessor, and each processor in the said multiprocessor also has monokaryon or multinuclear.
In these parts, what link to each other with system bus 704 has CPU 701, RAM 702, ROM 703, hard disk controller 705, a KBC 706, serial interface controller 707, parallel interface controller 708 and display controller 709.Hard disk 710 links to each other with hard disk controller 705; Keyboard 711 links to each other with KBC 706; Serial external equipment 712 links to each other with serial interface controller 707, and parallel external equipment 713 links to each other with parallel interface controller 708, and display 714 links to each other with display controller 709.
The described block diagram of Fig. 7 illustrates just to the purpose of example, is not to be limitation of the present invention.In some cases, can realize that the computing equipment of embodiments of the invention can not comprise the external equipment such as display 709, keyboard 710 etc., and this computing equipment can also utilize data server to replace the memory device such as hard disk.
In addition, embodiments of the invention can be realized with the combination of software, hardware or software and hardware.Hardware components can utilize special logic to realize; Software section can be stored in the memory, and by suitable instruction execution system, for example microprocessor or special designs hardware are carried out.
Though described the present invention, should be appreciated that to the invention is not restricted to the disclosed embodiments with reference to the embodiment that considers at present.On the contrary, the present invention is intended to contain included various modifications and equivalent arrangements within spirit and the scope of accompanying claims.The scope of following claim meets broad interpretation, so that comprise all such modifications and equivalent structure and function.

Claims (16)

1. session initiation protocol sip message processing method based on multinuclear comprises:
Sip message to receiving is resolved in advance; Therefrom to obtain the sign of said sip message; The sign of wherein said sip message can be used for identifying the correlation between the sip message, and said sip message be designated dialogue identifier, session identification and Transaction Identifier one of them;
The sip message that will have identical said sign is assigned in the identical nuclear; And
On at least one nuclear, utilize relevant private resource that the sip message of distributing to said nuclear is handled.
2. method according to claim 1, wherein said relevant private resource comprises transaction table.
3. method according to claim 2, wherein said relevant private resource further comprises one or more in conversational list, conversational guidance, I/O queue, IOQ and the timer.
4. method according to claim 1, wherein said preparatory parsing and said sip message are distributed through the nuclear execution of a special use or through carrying out with a shared nuclear of the processing of said sip message.
5. method according to claim 1, wherein said preparatory parsing and said sip message are distributed through the execution of special designs hardware.
6. method according to claim 5, wherein said special designs hardware are network processing unit or transmission control protocol load balancing engine.
7. method according to claim 1; Wherein when said nuclear has a plurality of hardware thread; The said sip message that will have identical said sign further is assigned to the same hardware thread of identical nuclear, and on the said hardware thread of a plurality of nuclears, utilizes the relevant private resource of distributing to said hardware thread that the said sip message of distributing to said hardware thread is handled.
8. method according to claim 7, the relevant private resource of wherein distributing to said hardware thread comprises transaction table.
9. session initiation protocol sip message processing unit based on multinuclear comprises:
The preparatory resolution unit of sip message; Be configured to the sip message that receives is resolved in advance; Therefrom to obtain the sign of said sip message; The sign of wherein said sip message can be used for identifying the correlation between the sip message, and said sip message be designated dialogue identifier, session identification and Transaction Identifier one of them
The sip message allocation units are configured to the sip message with identical said sign is assigned in the identical nuclear; And
The sip message processing unit is configured at least one nuclear, utilize relevant private resource that the sip message of distributing to said nuclear is handled.
10. device according to claim 9, wherein said relevant private resource comprises transaction table.
11. device according to claim 10, wherein said relevant private resource further comprises one or more in conversational list, conversational guidance, I/O queue, IOQ and the timer.
12. device according to claim 9, preparatory resolution unit of wherein said sip message and said sip message allocation units are realized through the nuclear of a special use or are realized through a nuclear of sharing with said sip message processing unit.
13. device according to claim 9, preparatory resolution unit of wherein said sip message and said sip message allocation units are realized through special designs hardware.
14. device according to claim 13, wherein said special designs hardware are network processing unit or transmission control protocol load balancing engine.
15. device according to claim 9; Wherein when said nuclear has a plurality of hardware thread; Said sip message allocation units further are configured to the said sip message with identical said sign is assigned to the same hardware thread of identical nuclear, and said sip message processing unit further is configured on the hardware thread of said nuclear, utilize the relevant private resource of distributing to said hardware thread that the said sip message of distributing to said hardware thread is handled.
16. according to the described device of claim 15, the relevant private resource of wherein distributing to said hardware thread comprises transaction table.
CN2007101865564A 2007-12-07 2007-12-07 SIP message processing method and apparatus based on multiple cores Expired - Fee Related CN101453452B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2007101865564A CN101453452B (en) 2007-12-07 2007-12-07 SIP message processing method and apparatus based on multiple cores
TW97136711A TWI433517B (en) 2007-12-07 2008-09-24 Method and apparatus of processing sip messages based on multiple cores

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101865564A CN101453452B (en) 2007-12-07 2007-12-07 SIP message processing method and apparatus based on multiple cores

Publications (2)

Publication Number Publication Date
CN101453452A CN101453452A (en) 2009-06-10
CN101453452B true CN101453452B (en) 2012-11-28

Family

ID=40735476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101865564A Expired - Fee Related CN101453452B (en) 2007-12-07 2007-12-07 SIP message processing method and apparatus based on multiple cores

Country Status (2)

Country Link
CN (1) CN101453452B (en)
TW (1) TWI433517B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571717A (en) * 2010-12-17 2012-07-11 中国移动通信集团福建有限公司 M2M (Machine-2-Machine) terminal communication method and system based on primitive
CN106034084B (en) * 2015-03-16 2020-04-28 华为技术有限公司 Data transmission method and device
CN111698270B (en) * 2019-03-12 2023-06-20 浙江宇视科技有限公司 Method and device for distributed lateral expansion negotiation service scale
CN111556058B (en) * 2020-04-29 2022-09-09 杭州迪普信息技术有限公司 Session processing method and device
CN115827281B (en) * 2023-02-02 2023-05-19 广州钛动科技股份有限公司 Data processing method and system based on lightweight SQS message processing framework

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003030042A (en) * 2001-07-11 2003-01-31 Fujitsu Ten Ltd Microcomputer with cores
CN1567187A (en) * 2003-06-11 2005-01-19 华为技术有限公司 Data processing system and method
CN1945538A (en) * 2006-10-27 2007-04-11 北京金山软件有限公司 Method and system for distributing data of net surfing server based on multiple nuclear CPU framework

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003030042A (en) * 2001-07-11 2003-01-31 Fujitsu Ten Ltd Microcomputer with cores
CN1567187A (en) * 2003-06-11 2005-01-19 华为技术有限公司 Data processing system and method
CN1945538A (en) * 2006-10-27 2007-04-11 北京金山软件有限公司 Method and system for distributing data of net surfing server based on multiple nuclear CPU framework

Also Published As

Publication number Publication date
CN101453452A (en) 2009-06-10
TW201014298A (en) 2010-04-01
TWI433517B (en) 2014-04-01

Similar Documents

Publication Publication Date Title
CN107612840B (en) Data processing method and device of four-layer load balancing equipment
US8863144B2 (en) Method and apparatus for determining resources consumed by tasks
CN101453452B (en) SIP message processing method and apparatus based on multiple cores
US8447881B2 (en) Load balancing for services
US7571278B2 (en) Content access memory (CAM) as an application hardware accelerator for servers
US8601139B2 (en) Multiple core session initiation protocol (SIP)
JP5724687B2 (en) Information processing apparatus, server selection method, and program
US8281020B2 (en) Smart load balancing for call center applications
CN103973812A (en) Service interface providing method and system based on uniform resource locator in HTTP
US8516126B2 (en) Processing SIP messages based on multiple cores
US20100106841A1 (en) Handling Proxy Requests in a Computing System
Soleimanzadeh et al. SD‐WLB: An SDN‐aided mechanism for web load balancing based on server statistics
JP5154313B2 (en) SIP message distribution method and SIP message distribution apparatus
US20070169012A1 (en) Asynchronous just-in-time compilation
US9912757B2 (en) Correlation identity generation method for cloud environment
US9819706B2 (en) Maintaining session initiation protocol application session affinity in SIP container cluster environments
US10084863B2 (en) Electronic switching system for generating correlation identity
Dashtbozorgi et al. A high-performance and scalable multi-core aware software solution for network monitoring
Zhong et al. Paradropper: a general-purpose global computing environment built on peer-to-peer overlay network
US9213735B1 (en) Flow control in very large query result sets using a release message to confirm that a client computer is ready to receive the data associated with a data collection operation
CN117615023B (en) Transmission method crossing network boundary, electronic device and computer readable storage medium
Lu et al. Performance modeling and analysis of web switches
US20220030072A1 (en) Connecting application instances to client devices
Kumar et al. Comparing Performance of Web Service Interaction Styles: SOAP vs. REST
Wang et al. Agent based load balancing middleware for service-oriented applications

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121128