CN103024056A - Data processing method, load equalizer and cloud system - Google Patents

Data processing method, load equalizer and cloud system Download PDF

Info

Publication number
CN103024056A
CN103024056A CN2012105533696A CN201210553369A CN103024056A CN 103024056 A CN103024056 A CN 103024056A CN 2012105533696 A CN2012105533696 A CN 2012105533696A CN 201210553369 A CN201210553369 A CN 201210553369A CN 103024056 A CN103024056 A CN 103024056A
Authority
CN
China
Prior art keywords
data
processing node
request
agreement
cloud processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012105533696A
Other languages
Chinese (zh)
Other versions
CN103024056B (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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering Co Ltd
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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN201210553369.6A priority Critical patent/CN103024056B/en
Publication of CN103024056A publication Critical patent/CN103024056A/en
Application granted granted Critical
Publication of CN103024056B publication Critical patent/CN103024056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data processing method, a load equalizer and a cloud system. The data processing method is applied to the load equalizer of the cloud system. The method comprises steps of receiving a data request transmitted by a client, determining whether the data request carries along a standard protocol mark, distributing the data request to a cloud processing node corresponding to the standard protocol if the data request carries along the standard protocol mark, otherwise determining a target user protocol identification (ID) carried by the data request, traversing the mapping relation of the preset user protocol ID and the cloud processing node, and transmitting the data request to the cloud processing node corresponding to the target user protocol ID. Therefore, the cloud processing node corresponding to a defined user protocol and the cloud processing node corresponding to the standard protocol are preset, the distribution of the data request can be conducted in accordance with an application layer protocol aimed by the data request and the application layer protocol which is applied in the expansion of the cloud system can be achieved.

Description

Data processing method, load equalizer and cloud system
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of data processing method, load equalizer and cloud system.
Background technology
So-called cloud computing is increase, use and the delivery mode of the related service of Internet-based, and it is usually directed to provide by the Internet dynamically easily expands and be generally virtualized environment.Wherein, cloud is a kind of metaphor saying of network or the Internet; The narrow sense cloud computing is the mutual and use pattern of IT infrastructure, its refer to by network with as required, the mode easily expanded obtains required resource; And the broad sense cloud computing is payment and the use pattern of service, its refer to by network with as required, the mode of easily expansion obtains required service, wherein, this service is can be relevant with IT, software or the Internet, also can be other services.As seen, the appearance of cloud computing means that computing capability also can be used as a kind of commodity and circulates by the Internet.
In the prior art, realize that the application layer protocol of the cloud system of cloud computing all is based on standard agreement, such as: the application layer protocol in the ICP/IP protocol such as http protocol, HTTPS agreement, File Transfer Protocol.Wherein, data handling procedure based on cloud system is: the load equalizer in the cloud system receives the request of data based on standard agreement that the client outside the high in the clouds sends, this request of data is distributed to available cloud processing node to be processed, and then result returned to corresponding client, realized cloud computing based on cloud system with this, wherein, this cloud processing node can be the virtual machine in physical machine or the physical machine.
Although the cloud system based on standard agreement has high versatility,, the consideration of the aspects such as the fail safe of processing from data, flexibility, the user wishes that self-defining User Agreement can be applied in the cloud system, and not only is confined to standard agreement.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the invention provides a kind of data processing method, load equalizer and cloud system, and to reach the purpose of the expansion application layer protocol that cloud system was suitable for, technical scheme is as follows:
A kind of data processing method is applicable to the load equalizer of cloud system, and described method comprises:
Receive the request of data that client sends;
Judge that whether described request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to described standard agreement with described request of data; Otherwise, determine targeted customer's agreement ID that described request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data.
Wherein, described data processing method also comprises:;
The result corresponding to described request of data that will obtain from the cloud processing node of determining feeds back to described client.
Wherein, described data processing method also comprises:
Detect the duration that described request of data institute corresponding data connects; Wherein, described data are connected to after described request of data is dispensed to corresponding cloud processing node, the long connection between the described client that described load equalizer is kept and the corresponding cloud processing node;
When the described duration surpasses the Preset Time threshold value, disconnect described request of data institute corresponding data and connect.
Wherein, described data processing method also comprises:
Detect the connected remaining time that the corresponding data of described request of data connect; Wherein, described data are connected to after described request of data is dispensed to corresponding cloud processing node, and the described load equalizer that described load equalizer is kept is connected with the first data of described client or described load equalizer is connected with the second data of corresponding cloud processing node;
Connect when being decreased to 0 remaining time when described, disconnect the corresponding data of described request of data and connect.
Wherein, the predetermined manner of the mapping relations of described User Agreement ID and cloud processing node comprises:
Obtain the mapping relations of User Agreement ID and cloud processing node from service logger;
Wherein, described service logger is determined User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request behind the User Agreement registration request that receives the transmission of cloud processing node, and makes up the mapping relations of User Agreement ID and cloud processing node.
Wherein, the predetermined manner of the mapping relations of described User Agreement ID and cloud processing node comprises:
Behind the User Agreement registration request that receives the transmission of cloud processing node, determine User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request, and make up the mapping relations of User Agreement ID and cloud processing node.
The embodiment of the invention also provides a kind of load equalizer, is applicable to cloud system, and described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is for the mapping relations of default User Agreement ID and cloud processing node.
The embodiment of the invention also provides a kind of cloud system, comprising: at least one load equalizer and at least one cloud processing node;
Wherein, described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is used for determining User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request behind the User Agreement registration request that receives the transmission of cloud processing node, and makes up the mapping relations of User Agreement ID and cloud processing node.
The embodiment of the invention also provides a kind of cloud system, comprising: at least one load equalizer, at least one service logger and at least one cloud processing node;
Wherein, described service logger is used for behind the User Agreement registration request that receives the transmission of cloud processing node, determine User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request, and make up the mapping relations of User Agreement ID and cloud processing node;
Described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is for the mapping relations of obtaining User Agreement ID and cloud processing node from service logger.
The technical scheme that the embodiment of the invention provides, load equalizer receives the request of data that client sends; Judge that whether this request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to this standard agreement with this request of data; Otherwise, determine targeted customer's agreement ID that this request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data.As seen, in this programme, the corresponding cloud processing node of self-defining User Agreement and the corresponding cloud processing node of standard agreement have been set in advance, so that can according to request of data for application layer protocol carry out the distribution of request of data, reached the purpose of the expansion application layer protocol that cloud system was suitable for this.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do simple the introduction to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The first flow chart of a kind of data processing method that Fig. 1 provides for the embodiment of the invention;
The second flow chart of a kind of data processing method that Fig. 2 provides for the embodiment of the invention;
The structural representation of a kind of load equalizer that Fig. 3 provides for the embodiment of the invention;
The first structural representation of a kind of cloud system that Fig. 4 provides for the embodiment of the invention;
The second structural representation of a kind of cloud system that Fig. 5 provides for the embodiment of the invention;
The first Organization Chart of a kind of cloud system that Fig. 6 provides for the embodiment of the invention;
The second Organization Chart of a kind of cloud system that Fig. 7 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
In order to reach the purpose of the expansion application layer protocol that cloud system was suitable for, the embodiment of the invention provides a kind of data processing method, load equalizer and cloud system.
The below at first is introduced a kind of data processing method that the embodiment of the invention provides.
Need to prove, a kind of data processing method that the embodiment of the invention provides is applicable in the load equalizer of cloud system, this cloud system comprises at least: load equalizer and at least one cloud processing node, wherein, this cloud processing node can be the virtual machine on physical machine or the physical machine, and this all is rational.
As shown in Figure 1, a kind of data processing method can comprise:
S101 receives the request of data that client sends;
When the user needs cloud system that special services is provided, then need to send request of data by client to cloud system, the load equalizer in the cloud system then can receive this request of data, and then carries out follow-up processing according to received request of data.
S102 judges whether this request of data carries the standard agreement sign, if so, and execution in step S103; Otherwise, execution in step S104;
Receive the request of data of client transmission when load equalizer after, can judge whether this request of data carries the standard agreement sign, and carry out corresponding operation according to judged result.Wherein, carry the standard agreement sign when judging this request of data, show this secondary data request corresponding with service based on standard agreement, at this moment, execution in step S103 gets final product; Do not carry the standard agreement sign when judging this request of data, show that this secondary data request corresponding with service is not based on standard agreement, but self-defining User Agreement, at this moment, execution in step S104 gets final product.
Need to prove that the described standard agreement of this programme and User Agreement are application layer protocol.Wherein, carry the standard agreement sign in the request of data based on standard agreement, for example: for http protocol, its standard agreement is designated: HTTP+ version number; And for File Transfer Protocol, its standard agreement is designated: FTP+ version number; And carry User Agreement ID in the request of data based on User Agreement.Be understandable that User Agreement ID is transparent for cloud system and client, namely all there are the corresponding relation of User Agreement ID and User Agreement in cloud system and client.
S103 is dispensed to a cloud processing node corresponding to this standard agreement with this request of data;
After determining this request of data and carrying standard agreement sign, load equalizer can be dispensed to this request of data in one cloud processing node corresponding to this standard agreement, realizes the service that this request of data is corresponding by this cloud processing node.Be understandable that load equalizer stores the node identification based on the cloud processing node of standard agreement, and each cloud processing node idle state whether; When the request of load equalizer distribute data, in order to reach the purpose of load balancing, it can be sent to this request of data in the corresponding cloud processing node that is in idle condition.
S104 determines targeted customer's agreement ID that this request of data is entrained;
S105 is sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data.
Do not carry the standard agreement sign when judging this request of data, show that this secondary data request corresponding with service is not based on standard agreement, but self-defining User Agreement, at this moment, determine targeted customer's agreement ID that this request of data is entrained, the User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with this request of data.
Need to prove, after the cloud processing node of determining is disposed this request of data, this load equalizer can be initiatively or is passively obtained result corresponding to this request of data, and this result is fed back to this client, has finished cloud computing corresponding to this request of data with this.It will be appreciated by persons skilled in the art that this load equalizer after distributing this request of data, be connected with data between the corresponding cloud processing node keeping this client that wherein, these data connect and comprise long the connection or the weak point connection.Wherein, for long the connection, because Transmission Control Protocol is reliable Connection-oriented Protocol, when the application layer protocol based on this host-host protocol carries out network service, generally can handle after all request of data, close again data and connect, namely receive the out code that client sends after, turn-off data connects; And so-called short being connected to: when using Transmission Control Protocol, if handle after the request of data, close immediately data and connect.
Wherein, the predetermined manner of the mapping relations of described User Agreement ID and cloud processing node can comprise:
Obtain the mapping relations of User Agreement ID and cloud processing node from service logger;
Wherein, this service logger is determined User Agreement ID corresponding to the entrained User Agreement of this User Agreement registration request behind the User Agreement registration request that receives the transmission of cloud processing node, and makes up the mapping relations of User Agreement ID and cloud processing node.
In another embodiment of the present invention, the predetermined manner of the mapping relations of described User Agreement ID and cloud processing node can comprise:
Behind the User Agreement registration request that receives the transmission of cloud processing node, determine User Agreement ID corresponding to the entrained User Agreement of this User Agreement registration request, and make up the mapping relations of User Agreement ID and cloud processing node.
Need to prove that each User Agreement ID can corresponding at least one cloud processing node, the corresponding application layer protocol of each cloud processing node; And, in data handling procedure, after obtaining User Agreement ID, by the mapping relations of this User Agreement ID and cloud processing node, can determine the cloud processing node that this User Agreement ID respective user agreement is applicable to.
The technical scheme that the embodiment of the invention provides, load equalizer receives the request of data that client sends; Judge that whether this request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to this standard agreement with this request of data; Otherwise, determine targeted customer's agreement ID that this request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data.As seen, in this programme, the corresponding cloud processing node of self-defining User Agreement and the corresponding cloud processing node of standard agreement have been set in advance, so that can according to request of data for application layer protocol carry out the distribution of request of data, reached the purpose of the expansion application layer protocol that cloud system was suitable for this.
Further, because the data of ultra-long time connect, can affect effective access of other clients, therefore, the embodiment of the invention also provides a kind of data processing method, connects with the data of avoiding ultra-long time.
As shown in Figure 2, a kind of data processing method can comprise:
S201 receives the request of data that client sends;
S202 judges whether this request of data carries the standard agreement sign, if so, and execution in step S203; Otherwise, execution in step S204;
S203 is dispensed to a cloud processing node corresponding to this standard agreement with this request of data;
S204 determines targeted customer's agreement ID that this request of data is entrained;
S205, the User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data;
In the present embodiment, step S201-step S205 is similar to step S101-step S105 in above-described embodiment, does not repeat them here.
S206 detects the duration that this request of data institute corresponding data connects;
S207 when this duration surpasses the Preset Time threshold value, disconnects this request of data institute corresponding data and connects.
Wherein, these data are connected to after this request of data is dispensed to corresponding cloud processing node, the long connection between this client that this load balancing apparatus is kept and the corresponding cloud processing node.
After this load equalizer is forwarded to corresponding cloud processing node with this request of data, this load equalizer will be kept long connection the between this client and the corresponding cloud processing node.For long the connection, in the prior art, after the out code that receives the client transmission, turn-off data connects, still, because the malicious data of ultra-long time connects effective access that can affect other clients, therefore, connect for fear of malice, can detect the duration that this request of data institute corresponding data connects, when this duration surpasses the Preset Time threshold value, disconnect this request of data institute corresponding data and connect.Wherein, this Preset Time threshold value can be set according to the practical application scene.
Need to prove, because this client of keeping of this load equalizer and comprising long connection the between the corresponding cloud processing node: load equalizer is connected with the first data between the client and load equalizer is connected with corresponding the second data between the cloud processing node, therefore, in another embodiment of the present invention, after this load equalizer is forwarded to corresponding cloud processing node with this request of data, can detect the connected remaining time that changes the corresponding data connection of request of data; Wherein, these data are connected to after this request of data is dispensed to corresponding cloud processing node, and this load equalizer that this load equalizer is kept is connected with the first data of this client or this load equalizer is connected with the second data of corresponding cloud processing node; When this can connect when being decreased to 0 remaining time, disconnect the corresponding data of this request of data and connect.Wherein, this maximum that can connect remaining time can be set according to the practical application scene.
In actual applications, can be connected with the first data between the client and load equalizer is connected the rickle that a timing is set respectively with the second data between the corresponding cloud processing node for load equalizer, with connected remaining time corresponding to element record data request in the rickle, each element is connected remaining time corresponding to a request of data in this rickle, and its top element is minimum connected remaining time; And then when be reduced to 0 the connected remaining time of the top element in the rickle, disconnect corresponding request of data institute corresponding data and connect.
As seen, in this programme, the corresponding cloud processing node of self-defining User Agreement and the corresponding cloud processing node of standard agreement have been set in advance, so that can according to request of data for application layer protocol carry out the distribution of request of data, reached the purpose of the expansion application layer protocol that cloud system was suitable for this; Simultaneously, avoided being accessed by the long malice that connects the client that causes of ultra-long time.
Description by above embodiment of the method, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out all or part of step of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: the various media that can be program code stored such as read-only memory (ROM), random-access memory (ram), magnetic disc or CD.
Corresponding to top embodiment of the method, the embodiment of the invention also provides a kind of load equalizer, is applicable to cloud system, and as shown in Figure 3, described load equalizer can comprise:
Receiver module 110 is used for receiving the request of data that client sends;
Judge module 120 is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module 130; Otherwise, trigger the second processing module 140;
The first processing module 130 is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
The second processing module 140 is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
Mapping relations presetting module 150 is for the mapping relations of default User Agreement ID and cloud processing node.
The technical scheme that the embodiment of the invention provides, load equalizer receives the request of data that client sends; Judge that whether this request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to this standard agreement with this request of data; Otherwise, determine targeted customer's agreement ID that this request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data.As seen, in this programme, the corresponding cloud processing node of self-defining User Agreement and the corresponding cloud processing node of standard agreement have been set in advance, so that can according to request of data for application layer protocol carry out the distribution of request of data, reached the purpose of the expansion application layer protocol that cloud system was suitable for this.
Further, this load equalizer can also comprise:
The result feedback module, result corresponding to described request of data that is used for obtaining from the cloud processing node of determining feeds back to described client.
Further, this load equalizer can also comprise:
Very first time detection module, the duration that connects for detection of described request of data institute corresponding data; Wherein, described data are connected to after described request of data is dispensed to corresponding cloud processing node, and the described client that described load equalizer is kept is connected with data between the corresponding cloud processing node;
The 3rd processing unit is used for when the duration that described time detecting module detects surpasses the Preset Time threshold value, disconnects the corresponding data connection of described request of data institute.
Further, this load equalizer can also comprise:
The second time detecting module is for detection of the connected remaining time of the corresponding data connection of described request of data; Wherein, described data are connected to after described request of data is dispensed to corresponding cloud processing node, and the described load equalizer that described load equalizer is kept is connected with the first data of described client or described load equalizer is connected with the second data of corresponding cloud processing node;
The manages module everywhere, is used for connecting when being decreased to 0 remaining time when described, disconnects the corresponding data connection of described request of data.
The embodiment of the invention also provides a kind of cloud system, as shown in Figure 4, can comprise: at least one load equalizer 100 and at least one cloud processing node 200;
Wherein, described load equalizer 100 can comprise:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is used for determining User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request behind the User Agreement registration request that receives the transmission of cloud processing node, and makes up the mapping relations of User Agreement ID and cloud processing node.
In actual applications, the Organization Chart of cloud system can be shown in 6, and its external internet can comprise: fire compartment wall, load equalizer, cloud processing node, switch.
The technical scheme that the embodiment of the invention provides, load equalizer receives the request of data that client sends; Judge that whether this request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to this standard agreement with this request of data; Otherwise, determine targeted customer's agreement ID that this request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data.As seen, in this programme, the corresponding cloud processing node of self-defining User Agreement and the corresponding cloud processing node of standard agreement have been set in advance, so that can according to request of data for application layer protocol carry out the distribution of request of data, reached the purpose of the expansion application layer protocol that cloud system was suitable for this.
The embodiment of the invention also provides a kind of cloud system, as shown in Figure 5, can comprise: at least one load equalizer 300, at least one service logger 400 and at least one cloud processing node 500;
Wherein, described service logger is used for behind the User Agreement registration request that receives the transmission of cloud processing node, determine User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request, and make up the mapping relations of User Agreement ID and cloud processing node;
Described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is for the mapping relations of obtaining User Agreement ID and cloud processing node from service logger.
In actual applications, the Organization Chart of cloud system can be shown in 7, and its external internet can comprise: fire compartment wall, load equalizer, cloud processing node, switch, service logger.
The technical scheme that the embodiment of the invention provides, load equalizer receives the request of data that client sends; Judge that whether this request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to this standard agreement with this request of data; Otherwise, determine targeted customer's agreement ID that this request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to this targeted customer's agreement ID with this request of data.As seen, in this programme, the corresponding cloud processing node of self-defining User Agreement and the corresponding cloud processing node of standard agreement have been set in advance, so that can according to request of data for application layer protocol carry out the distribution of request of data, reached the purpose of the expansion application layer protocol that cloud system was suitable for this.
For device or system embodiment, because it is substantially corresponding to embodiment of the method, so relevant part gets final product referring to the part explanation of embodiment of the method.Device described above or system embodiment only are schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation of not paying creative work.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method not surpassing in the application's the spirit and scope, can realize in other way.Current embodiment is a kind of exemplary example, should be as restriction, and given particular content should in no way limit the application's purpose.For example, the division of described unit or subelement only is that a kind of logic function is divided, and during actual the realization other dividing mode can be arranged, and for example a plurality of unit or a plurality of subelement combine.In addition, a plurality of unit can or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.
In addition, institute's descriptive system, the schematic diagram of apparatus and method and different embodiment, in the scope that does not exceed the application, can with other system, module, technology or method in conjunction with or integrated.Another point, the shown or coupling each other discussed or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The above only is the specific embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a data processing method is characterized in that, is applicable to the load equalizer of cloud system, and described method comprises:
Receive the request of data that client sends;
Judge that whether described request of data carries the standard agreement sign, if so, is dispensed to a cloud processing node corresponding to described standard agreement with described request of data; Otherwise, determine targeted customer's agreement ID that described request of data is entrained; The User Agreement ID that traversal is default and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data.
2. data processing method according to claim 1 is characterized in that, described method also comprises:;
The result corresponding to described request of data that will obtain from the cloud processing node of determining feeds back to described client.
3. data processing method according to claim 1 and 2 is characterized in that, also comprises:
Detect the duration that described request of data institute corresponding data connects; Wherein, described data are connected to after described request of data is dispensed to corresponding cloud processing node, the long connection between the described client that described load equalizer is kept and the corresponding cloud processing node;
When the described duration surpasses the Preset Time threshold value, disconnect described request of data institute corresponding data and connect.
4. data processing method according to claim 1 and 2 is characterized in that, also comprises:
Detect the connected remaining time that the corresponding data of described request of data connect; Wherein, described data are connected to after described request of data is dispensed to corresponding cloud processing node, and the described load equalizer that described load equalizer is kept is connected with the first data of described client or described load equalizer is connected with the second data of corresponding cloud processing node;
Connect when being decreased to 0 remaining time when described, disconnect the corresponding data of described request of data and connect.
5. data processing method according to claim 1 is characterized in that, the predetermined manner of the mapping relations of described User Agreement ID and cloud processing node comprises:
Obtain the mapping relations of User Agreement ID and cloud processing node from service logger;
Wherein, described service logger is determined User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request behind the User Agreement registration request that receives the transmission of cloud processing node, and makes up the mapping relations of User Agreement ID and cloud processing node.
6. data processing method according to claim 1 is characterized in that, the predetermined manner of the mapping relations of described User Agreement ID and cloud processing node comprises:
Behind the User Agreement registration request that receives the transmission of cloud processing node, determine User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request, and make up the mapping relations of User Agreement ID and cloud processing node.
7. a load equalizer is characterized in that, is applicable to cloud system, and described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is for the mapping relations of default User Agreement ID and cloud processing node.
8. a cloud system is characterized in that, comprising: at least one load equalizer and at least one cloud processing node;
Wherein, described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is used for determining User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request behind the User Agreement registration request that receives the transmission of cloud processing node, and makes up the mapping relations of User Agreement ID and cloud processing node.
9. a cloud system is characterized in that, comprising: at least one load equalizer, at least one service logger and at least one cloud processing node;
Wherein, described service logger is used for behind the User Agreement registration request that receives the transmission of cloud processing node, determine User Agreement ID corresponding to the entrained User Agreement of described User Agreement registration request, and make up the mapping relations of User Agreement ID and cloud processing node;
Described load equalizer comprises:
Receiver module is used for receiving the request of data that client sends;
Judge module is used for judging whether described request of data carries the standard agreement sign, if so, triggers the first processing module; Otherwise, trigger the second processing module;
Described the first processing module is used for described request of data is dispensed to a cloud processing node corresponding to described standard agreement;
Described the second processing module is used for determining the entrained targeted customer's agreement ID of described request of data; The User Agreement ID that traversal makes up in advance and the mapping relations of cloud processing node are sent to a cloud processing node corresponding to described targeted customer's agreement ID with described request of data;
The mapping relations presetting module is for the mapping relations of obtaining User Agreement ID and cloud processing node from service logger.
CN201210553369.6A 2012-12-17 2012-12-17 Data processing method, load equalizer and cloud system Active CN103024056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210553369.6A CN103024056B (en) 2012-12-17 2012-12-17 Data processing method, load equalizer and cloud system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210553369.6A CN103024056B (en) 2012-12-17 2012-12-17 Data processing method, load equalizer and cloud system

Publications (2)

Publication Number Publication Date
CN103024056A true CN103024056A (en) 2013-04-03
CN103024056B CN103024056B (en) 2016-01-20

Family

ID=47972180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210553369.6A Active CN103024056B (en) 2012-12-17 2012-12-17 Data processing method, load equalizer and cloud system

Country Status (1)

Country Link
CN (1) CN103024056B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119997A (en) * 2015-08-31 2015-12-02 广州市优普计算机有限公司 Data processing method of cloud computing system
CN112751812A (en) * 2019-10-31 2021-05-04 北京京东振世信息技术有限公司 Method and device for self-adapting application protocol
CN113590346A (en) * 2021-06-30 2021-11-02 荣耀终端有限公司 Method and electronic equipment for processing service request
CN113726881A (en) * 2021-08-30 2021-11-30 北京百度网讯科技有限公司 Communication connection establishment method, related device and computer program product
CN114466046A (en) * 2022-02-23 2022-05-10 石家庄通合电子科技股份有限公司 Data forwarding method and power module

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127232A1 (en) * 2006-05-17 2008-05-29 Bea Systems, Inc. Diameter Protocol and SH Interface Support for SIP Server Architecture
CN101800762A (en) * 2009-12-30 2010-08-11 中兴通讯股份有限公司 Service cloud system for fusing multiple services and service implementation method
CN102118379A (en) * 2010-06-30 2011-07-06 卢伟 Mobile cloud framework based on OWA
US20120150880A1 (en) * 2010-12-08 2012-06-14 International Business Machines Corporation Identity Propagation through Application Layers Using Contextual Mapping and Planted Values
CN102624916A (en) * 2012-03-26 2012-08-01 华为技术有限公司 Method, node manager and system for load balancing in cloud computing system
CN102739560A (en) * 2011-04-13 2012-10-17 腾讯科技(深圳)有限公司 Instant communication method, system thereof and device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080127232A1 (en) * 2006-05-17 2008-05-29 Bea Systems, Inc. Diameter Protocol and SH Interface Support for SIP Server Architecture
CN101800762A (en) * 2009-12-30 2010-08-11 中兴通讯股份有限公司 Service cloud system for fusing multiple services and service implementation method
CN102118379A (en) * 2010-06-30 2011-07-06 卢伟 Mobile cloud framework based on OWA
US20120150880A1 (en) * 2010-12-08 2012-06-14 International Business Machines Corporation Identity Propagation through Application Layers Using Contextual Mapping and Planted Values
CN102739560A (en) * 2011-04-13 2012-10-17 腾讯科技(深圳)有限公司 Instant communication method, system thereof and device thereof
CN102624916A (en) * 2012-03-26 2012-08-01 华为技术有限公司 Method, node manager and system for load balancing in cloud computing system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119997A (en) * 2015-08-31 2015-12-02 广州市优普计算机有限公司 Data processing method of cloud computing system
CN112751812A (en) * 2019-10-31 2021-05-04 北京京东振世信息技术有限公司 Method and device for self-adapting application protocol
CN113590346A (en) * 2021-06-30 2021-11-02 荣耀终端有限公司 Method and electronic equipment for processing service request
CN113726881A (en) * 2021-08-30 2021-11-30 北京百度网讯科技有限公司 Communication connection establishment method, related device and computer program product
CN113726881B (en) * 2021-08-30 2024-04-05 北京百度网讯科技有限公司 Communication connection establishment method, related device and computer readable storage medium
CN114466046A (en) * 2022-02-23 2022-05-10 石家庄通合电子科技股份有限公司 Data forwarding method and power module
CN114466046B (en) * 2022-02-23 2024-03-22 石家庄通合电子科技股份有限公司 Data forwarding method and power module

Also Published As

Publication number Publication date
CN103024056B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN102801656B (en) Realize condition control method, the equipment and system of instant messaging application
CN103024056B (en) Data processing method, load equalizer and cloud system
EP3836486A1 (en) Service link selection control method and device
CN108781342B (en) Method for distributing and accessing virtual SIM card to network and related equipment
CN102932472B (en) Data processing method and communication system
CN104809816B (en) Pickup processing method, pickup perform method, pickup method and apparatus and system
CN105282126A (en) Login authentication method, terminal and server
CN109347637B (en) Authentication method, Content Delivery Network (CDN) and content server
CN104980416A (en) Data access method, device and system in content distribution network
CN108933829A (en) A kind of load-balancing method and device
CN105721318A (en) Method and device for discovering network topology in software defined network SDN (Software Defined Network)
CN104333529A (en) Detection method and system of HTTP DOS (Denial of Service) attack under cloud computing environment
CN105743947B (en) Resource sharing method and device
CN108881930B (en) Method and system for presenting gift and electronic equipment
CN110650503B (en) Network access method, device, system and computer readable storage medium
CN107666432A (en) The methods, devices and systems notified
CN104380692A (en) Advertising monitoring method, related equipment and system
CN103795622A (en) Message forwarding method and device using same
CN101808119A (en) Method and equipment for multiple storage array load balancing
CN102208945A (en) Method for obtaining network address and FCoE target and communication system
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN104639555A (en) Request processing method, system and device
CN104239125A (en) Object processing method, distributive file system and client device
CN104618364A (en) Information processing method, electronic device and server
CN105392117A (en) Method and device for querying short-distance object

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