CN103546569A - Service processing method based on strategy sharing, nodes and system - Google Patents
Service processing method based on strategy sharing, nodes and system Download PDFInfo
- Publication number
- CN103546569A CN103546569A CN201310518446.9A CN201310518446A CN103546569A CN 103546569 A CN103546569 A CN 103546569A CN 201310518446 A CN201310518446 A CN 201310518446A CN 103546569 A CN103546569 A CN 103546569A
- Authority
- CN
- China
- Prior art keywords
- processing
- node
- management node
- sharing policy
- business
- 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
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a service processing method based on strategy sharing, nodes and a system. The method includes the steps that a management node receives a data message sent by a processing node, wherein the data message comprises service type information, and the processing node is the processing node in one of at least two service clusters and is in communication connection with the management node; the management node determines whether a sharing strategy component corresponding to the service type information exists, and if the answer is yes, the management node interacts with the processing node so as to process user services according to the sharing strategy component. A strategy component shared by at least two service clusters and with the same service processing function serves as the sharing strategy component and is arranged in the management node, so that sharing strategy component does not need to be configured on each processing node in each service cluster, and occupation of processing resources of the processing node is greatly reduced.
Description
Technical field
The invention belongs to communication technical field, specifically relate to a kind of method for processing business, node and system based on Policies sharing.
Background technology
Along with the development of Internet technology and new network applied business, user can carry out various service application by network.In order to meet user's business demand, service provider need to provide various relevant Business Processing strategies to complete the processing procedure to different application business.
Generally speaking, for a certain applied business, due to relevant processing node, such as memory node, application server etc., there is different coverages, often have numerous processing nodes and provide service for different users, and these provide the processing node of identical services function can form a business cluster.Processing node in each business cluster is when processing the applied business corresponding with each business cluster difference, all need to complete alone all business processing logic with respective application traffic aided, each processing node all needs to have disposed all Business Processing policy components of this applied business.
In prior art, each processing node in each business cluster needs to configure whole processing policy assemblies of the applied business of the required processing of this business cluster, has taken processing node and has crossed multiprocessing resource.
Summary of the invention
The invention provides a kind of method for processing business, node and system based on Policies sharing, in order to solve each processing node in each business cluster in prior art need to configure the required processing of this business cluster applied business whole processing policy assemblies and cause take the problem that processing node is crossed multiprocessing resource.
A first aspect of the present invention provides a kind of method for processing business based on Policies sharing, comprising:
The data message that management node reception & disposal node sends, described data message comprises traffic type information, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node be the processing node in a business cluster at least two business clusters that communicate to connect with described management node;
Described management node determines whether to exist the sharing policy assembly corresponding with described traffic type information, and described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters;
If exist, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.
In the possible implementation of the first of first aspect, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described management node sends to described processing node by described sharing policy assembly, so that described processing node adopts described sharing policy assembly to process described customer service.
In the possible implementation of the second of first aspect, the data message that described management node reception & disposal node sends, described data message comprises traffic type information, comprising:
Described management node receives the described Business Processing request that described processing node sends, and in described Business Processing request, comprises described traffic type information;
Described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described management node adopts described sharing policy assembly to carry out Business Processing to described Business Processing request, and to described processing node feedback service processing result.
According to first of first aspect, first aspect or the possible implementation of the second, in the third possible implementation of first aspect, in described data message, also comprise the identification information of the business cluster under described processing node;
Described management node and described processing node are mutual, before described customer service being processed according to described sharing policy assembly, also comprise:
Described management node determines whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
If have, carry out described management node and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
According to the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described management node determines whether to have the sharing policy assembly corresponding with described traffic type information, comprising:
Described management node obtains storage concordance list from the memory space corresponding with described identification information, stores the sign of sharing policy assembly and the address that corresponding sharing policy assembly is stored at described memory space in described storage concordance list;
Described management node determines whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
According to the 4th of first aspect the kind of possible implementation, in the 5th kind of possible implementation of first aspect, before the data message that described management node reception & disposal node sends, also comprise:
The described sharing policy component synchronization that described management node is stored self is in the backup management node corresponding with described management node;
Described management node and described processing node are mutual, before described customer service being processed according to described sharing policy assembly, also comprise:
Described management node determines that whether the sharing policy assembly corresponding with described traffic type information be effective;
If invalid, described management node sends to described backup management node by described data message, so that described backup management node is carried out and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
According to the 5th of first aspect the kind of possible implementation, in the 6th kind of possible implementation of first aspect, in described storage concordance list, also store the state information of sharing policy assembly, whether described state information is used to indicate described sharing policy assembly effective;
Described management node determines that whether the sharing policy assembly corresponding with described traffic type information be effective, comprising:
Described management node determines that according to described state information whether the sharing policy assembly corresponding with described traffic type information be effective.
A second aspect of the present invention provides a kind of method for processing business based on Policies sharing, comprising:
Processing node sends datagram to management node, described data message comprises traffic type information, so that described management node is mutual with described processing node after determining the existence sharing policy assembly corresponding with described traffic type information, wherein, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node is the processing node in a business cluster at least two business clusters that communicate to connect with described management node, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters,
Described processing node and described management node are mutual, described customer service is processed according to described sharing policy assembly.
In the possible implementation of the first of second aspect, described processing node and described management node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described processing node receives the described sharing policy assembly that described management node sends, so that described processing node adopts described sharing policy assembly to process described customer service.
In the possible implementation of the second of second aspect, described processing node sends datagram to management node, and described data message comprises traffic type information, comprising:
Described processing node sends described Business Processing request to described management node, in described Business Processing request, comprises described traffic type information;
Described processing node and described management node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described processing node receives described management node and adopts described sharing policy assembly to carry out to described Business Processing request the service processing result feeding back after Business Processing.
According to first of second aspect, second aspect or the possible implementation of the second, in the third possible implementation of second aspect, in described data message, also comprise the identification information of the business cluster under described processing node;
Described identification information, for making described management node determine whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
And/or,
For making described management node obtain storage concordance list from the memory space corresponding with described identification information, and determine whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
A third aspect of the present invention provides a kind of management node, comprising:
Receiver module, the data message sending for reception & disposal node, described data message comprises traffic type information, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node be the processing node in a business cluster at least two business clusters that communicate to connect with described management node;
Determination module, for determining whether that having the sharing policy assembly corresponding with described traffic type information, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters;
Processing module, if for existing, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.
In the possible implementation of the first of the third aspect, described processing module, specifically for:
Described sharing policy assembly is sent to described processing node, so that described processing node adopts described sharing policy assembly to process described customer service.
In the possible implementation of the second of the third aspect, described receiver module, specifically for:
Receive the described Business Processing request that described processing node sends, in described Business Processing request, comprise described traffic type information;
Described processing module, specifically for:
Adopt described sharing policy assembly to carry out Business Processing to described Business Processing request, and to described processing node feedback service processing result.
According to first of the third aspect, the third aspect or the possible implementation of the second, in the third possible implementation of the third aspect, in described data message, also comprise the identification information of the business cluster under described processing node;
Described determination module, for determining whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
If have, described processing module execution is mutual with described processing node, with the step of described customer service being processed according to described sharing policy assembly.
According to the third possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect, described determination module, comprising:
Acquiring unit, for obtaining storage concordance list from the memory space corresponding with described identification information, stores the sign of sharing policy assembly and the address that corresponding sharing policy assembly is stored at described memory space in described storage concordance list;
Determining unit, for determining whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
According to the 4th of the third aspect the kind of possible implementation, in the 5th kind of possible implementation of the third aspect, described management node also comprises:
Synchronization module, for receiving at described receiver module before the data message of described processing node transmission, the described sharing policy component synchronization that self is stored is in the backup management node corresponding with described management node;
Described determination module, also whether effective for determining the sharing policy assembly corresponding with described traffic type information;
Sending module, if for invalid, sends to described data message described backup management node, so that described backup management node is carried out and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
According to the 5th of the third aspect the kind of possible implementation, in the 6th kind of possible implementation of the third aspect, in described storage concordance list, also store the state information of sharing policy assembly, whether described state information is used to indicate described sharing policy assembly effective;
Described determination module, also determines that according to described state information whether the sharing policy assembly corresponding with described traffic type information be effective for described management node.
A fourth aspect of the present invention provides a kind of processing node, comprising:
Sending module, for sending datagram to management node, described data message comprises traffic type information, so that described management node is mutual with described processing node after determining the existence sharing policy assembly corresponding with described traffic type information, wherein, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node is the processing node in a business cluster at least two business clusters that communicate to connect with described management node, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters,
Processing module, for mutual with described management node, described customer service is processed according to described sharing policy assembly.
In the possible implementation of the first of fourth aspect, described processing module, specifically for:
Receive the described sharing policy assembly that described management node sends, so that described processing node adopts described sharing policy assembly to process described customer service.
In the possible implementation of the second of fourth aspect, described sending module, specifically for:
To described management node, send described Business Processing request, in described Business Processing request, comprise described traffic type information;
Described processing module, specifically for:
Receiving described management node adopts described sharing policy assembly to carry out to described Business Processing request the service processing result feeding back after Business Processing.
According to first of fourth aspect, fourth aspect or the possible implementation of the second, in the third possible implementation of fourth aspect, in described data message, also comprise the identification information of the business cluster under described processing node;
Described identification information, for making described management node determine whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
And/or,
For making described management node obtain storage concordance list from the memory space corresponding with described identification information, and determine whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
A fifth aspect of the present invention provides a kind of transaction processing system based on Policies sharing, comprising:
At least one management node as described in the above-mentioned third aspect and at least one processing node as described in above-mentioned fourth aspect.
Method for processing business, node and system based on Policies sharing provided by the invention, in management node, preserve the sharing policy assembly with identical services processing capacity sharing between at least two business clusters, make receiving after the data message of the processing node transmission in a certain business cluster when management node, determine whether to exist the sharing policy assembly corresponding with traffic type information in this data message, if exist, mutual with described processing node, described customer service is processed according to described sharing policy assembly.Because the policy components with identical services processing capacity sharing using between at least two business clusters is arranged in management node as sharing policy assembly, make each processing node in each business cluster without configuring again this sharing policy assembly, greatly reduced taking the processing resource of processing node.
Accompanying drawing explanation
The flow chart of the method for processing business based on Policies sharing that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of the method for processing business based on Policies sharing that Fig. 2 provides for the embodiment of the present invention two;
The flow chart of the method for processing business based on Policies sharing that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the management node that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the management node that Fig. 5 provides for the embodiment of the present invention five;
The structural representation of the processing node that Fig. 6 provides for the embodiment of the present invention six;
The schematic diagram of the transaction processing system based on Policies sharing that Fig. 7 provides for the embodiment of the present invention seven.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The flow chart of the method for processing business based on Policies sharing that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, the method for processing business based on Policies sharing that the present embodiment provides can be for having realized policy components the sharing between different business clusters of same service processing function, so that the processing node in each business cluster, without safeguarding or configure this sharing policy assembly, reduces it is processed to taking of resource.
The method for processing business based on Policies sharing that the present embodiment provides, specifically comprises:
The data message that step 101, management node reception & disposal node send, described data message comprises traffic type information, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node be the processing node in a business cluster at least two business clusters that communicate to connect with described management node;
Step 102, described management node determine whether to exist the sharing policy assembly corresponding with described traffic type information, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters, if exist, perform step 103, otherwise return to miscue;
Step 103, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.
In the present embodiment, to in network, provide the processing node of identical services function to form a business cluster, in processing node in each business cluster and network, a management node has communication connection relation, this management node is generally positioned on the important traffic path of network, such as being heartbeat switch of cluster etc.
Particularly, when certain processing node in certain business cluster receives the Business Processing request for a certain type application business of subscriber equipment transmission, from this Business Processing request, extract the traffic type information of this applied business, this traffic type information is such as can be heavily to delete fingerprint business, the distributed business that locks, distributed storage business etc.And then this processing node sends the data message that carries this traffic type information to management node, management node receives the described data message that this processing node sends, determine whether to exist the sharing policy assembly corresponding with this traffic type information, if exist, management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.Wherein, the policy components with identical services processing capacity of described sharing policy assembly for sharing between at least two business clusters.
In the present embodiment, in management node, be provided with some policy components conventional in a plurality of business clusters in advance, in this policy components, comprised the processing logic that processing node carries out when processing a certain applied business.Ideally, the sharing policy assembly having in management node is shared policy components in all business clusters that are connected with this management node, but, general, be not all business clusters when processing corresponding applied business, all can relate to some policy components, therefore, the sharing policy assembly having in management node is generally the shared policy components at least two business clusters, shared thereby this sharing policy assembly can be realized in these at least two business clusters.
Particularly, management node described in step 103 and described processing node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described management node sends to described processing node by described sharing policy assembly, so that described processing node adopts described sharing policy assembly to process described customer service.
Particularly, when management node is determined and existed after corresponding with it sharing policy assembly according to the traffic type information in the data message receiving, this sharing policy assembly is sent to described processing node, so that described processing node adopts this sharing policy assembly to process customer service.For instance, if processing node receives the Business Processing request of subscriber equipment transmission for user data information is carried out to the processing request of distributed storage, the traffic type information that this processing node gets from this processing request is distributed storage, it sends the data message of the traffic type information that carries this distributed storage to management node, if determining, management node there is the sharing policy assembly corresponding with this distributed storage, this sharing policy assembly is sent to processing node, such as the processing logic comprising in sharing policy assembly corresponding to this distributed storage is for to carry out authentication to user, determine memory space, obtain user data and user data is write in definite memory space, so, processing node is according to these processing logics according in this sharing policy assembly are carried out to distributed storage processing to user data.
Alternatively, the data message that the reception & disposal of management node described in step 101 node sends, described data message comprises traffic type information, comprising:
Described management node receives the described Business Processing request that described processing node sends, and in described Business Processing request, comprises described traffic type information.
In the present embodiment, when processing node receives after the Business Processing request of subscriber equipment transmission, both can in this Business Processing request, extract traffic type information as mentioned above, and then after receiving the management node sharing policy assembly definite according to this traffic type information, by this processing node, customer service is processed, can also directly to management node, forward this Business Processing request, wherein, in this Business Processing request, not only include described traffic type information, also include pending user service data.Now, when management node, determine and exist after the sharing policy assembly corresponding with this traffic type information, correspondingly, management node described in step 103 and described processing node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described management node adopts described sharing policy assembly to carry out Business Processing to described Business Processing request, and to described processing node feedback service processing result.
That is to say, now by management node, user's Business Processing request is processed, only need return to result to processing node.Thereby, by the management node with more high-performance configuration, carried out the processing of completing user business, reduced further processing node has been processed to taking of resource.
In the present embodiment, in management node, preserve the sharing policy assembly with identical services processing capacity sharing between at least two business clusters, make receiving after the data message of the processing node transmission in a certain business cluster when management node, determine whether to exist the sharing policy assembly corresponding with traffic type information in this data message, if exist, mutual with described processing node, described customer service is processed according to described sharing policy assembly.Because the policy components with identical services processing capacity sharing using between at least two business clusters is arranged in management node as sharing policy assembly, make each processing node in each business cluster without configuring again this sharing policy assembly, greatly reduced taking the processing resource of processing node.
The flow chart of the method for processing business based on Policies sharing that Fig. 2 provides for the embodiment of the present invention two, as shown in Figure 2, the method comprises:
The sharing policy component synchronization that step 201, management node are stored self is in the backup management node corresponding with described management node;
In the present embodiment, in security consideration, management node backups to the sharing policy component synchronization of its storage in corresponding backup management node and backs up preservation, when management node breaks down, can to user's Business Processing request, be processed by this backup management node.This backup management node can be both special independent setting, also can be in network another and this management node there is the mirror image space that this management node is set in the network node of identical function.
The data message that step 202, management node reception & disposal node send, described data message comprises the identification information of the business cluster under traffic type information and described processing node, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node be the processing node in a business cluster at least two business clusters that communicate to connect with described management node;
In the present embodiment, when processing node receives after the Business Processing request of subscriber equipment transmission, from this Business Processing request, extract traffic type information, and the identification information of the business cluster under can obtaining from the attribute database of self, by this traffic type information and identification information, form a data message; Or the Business Processing request that the subscriber equipment that this data message is received by this identification information and processing node sends forms.
When management node receives after the data message of processing node transmission, first from the memory space corresponding with described identification information, obtain storage concordance list, in described storage concordance list, store the sign of sharing policy assembly and the address that corresponding sharing policy assembly is stored at described memory space, and then determine whether to exist the sharing policy assembly corresponding with described traffic type information according to this storage concordance list, even in this storage concordance list, there is the sharing policy component identification corresponding with traffic type information, management node is determined the sharing policy assembly that existence is corresponding with described traffic type information.
In the present embodiment, management node is to carry out partition management according to the difference of business cluster to the management of sharing policy assembly.Specifically, in management node, for each and this management node, there is the business cluster of annexation, have a memory space one to one, in this memory space, store the sharing policy assembly corresponding with this business cluster and storage concordance list.By partition management, needs to sharing policy assembly upgrade, during the operational administrative such as modification, interpolation, can be more efficient.
In the present embodiment, when management node, determine and exist after the sharing policy assembly corresponding with traffic type information, also need to determine whether described processing node has the authority of using this sharing policy assembly.Particularly, in the present embodiment, because processing node is arranged in a business cluster, only need the business cluster under determining whether to there is the authority of using this sharing policy assembly.
In the present embodiment, because sharing policy assembly described in policy components renewal, management node failure and other reasons likely lost efficacy, therefore, when management node, determine the business cluster that processing node is corresponding and have after the authority of using this sharing policy assembly, also need to determine that whether this sharing policy assembly is effective.Particularly, management node determines that according to the state information in described storage concordance list whether the sharing policy assembly corresponding with described traffic type information be effective, in the time of effectively, management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly, if invalid, management node sends to backup management node by the data message receiving from processing node, so that backup management node and processing node are mutual, described customer service is processed according to described sharing policy assembly.The mutual process of the process that backup management node is mutual with processing node and middle management node embodiment illustrated in fig. 1 and processing node is consistent, repeats no more.
In the present embodiment, because the policy components with identical services processing capacity sharing using between at least two business clusters is arranged in management node as sharing policy assembly, make each processing node in each business cluster without configuring again this sharing policy assembly, greatly reduced taking the processing resource of processing node; Management node is by each business cluster is carried out to partition management, needs to sharing policy assembly upgrade, during the operational administrative such as modification, interpolation, can be more efficient; By being arranged at the backup management node that management node is corresponding, the sharing policy assembly of storing in backup management synchronisation of nodes storage administration node, the processing of customer service being processed to request when unavailable for management node fault provides safety assurance.
The flow chart of the method for processing business based on Policies sharing that Fig. 3 provides for the embodiment of the present invention three, as shown in Figure 3, the method comprises:
In the present embodiment, when certain processing node in certain business cluster receives the Business Processing request for a certain type application business of subscriber equipment transmission, from this Business Processing request, extract the traffic type information of this applied business, and then this processing node sends the data message that carries this traffic type information to management node, management node receives the described data message that this processing node sends, determine whether to exist the sharing policy assembly corresponding with this traffic type information, if exist, management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.Specifically, management node is determined after the existence sharing policy assembly corresponding with this traffic type information, sharing policy assembly is sent to processing node, processing node receives the described sharing policy assembly that described management node sends, so that described processing node adopts described sharing policy assembly to process described customer service.
Alternatively, in step 301, processing node sends datagram to management node, and described data message comprises traffic type information, comprising:
Described processing node sends described Business Processing request to described management node, in described Business Processing request, comprises described traffic type information.
In the present embodiment, when processing node receives after the Business Processing request of subscriber equipment transmission, both can in this Business Processing request, extract traffic type information as mentioned above, and then after receiving the management node sharing policy assembly definite according to this traffic type information, by this processing node, customer service is processed, can also directly to management node, forward this Business Processing request, wherein, in this Business Processing request, not only include described traffic type information, also include pending user service data.Now, when management node, determine and exist after the sharing policy assembly corresponding with this traffic type information, carry out alternately with processing node, correspondingly, processing node described in step 302 and described management node are mutual, described customer service is processed according to described sharing policy assembly, comprising: processing node receives described management node and adopts described sharing policy assembly to carry out to described Business Processing request the service processing result feeding back after Business Processing.That is to say, now by management node, user's Business Processing request is processed, only need return to result to processing node.Thereby, by the management node with more high-performance configuration, carried out the processing of completing user business, reduced further processing node has been processed to taking of resource.
Further, processing node sends to the identification information that also comprises the business cluster under described processing node in the data message of management node, this identification information is used the authority of described sharing policy assembly and/or for making management node obtain storage concordance list from the memory space corresponding with described identification information for making management node determine whether the corresponding business cluster of described identification information has, and determines whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
In the present embodiment, in management node, preserve the sharing policy assembly with identical services processing capacity sharing between at least two business clusters, processing node in a certain business cluster is received after the Business Processing request of user's transmission, by the data message that carries traffic type information sending to management node, make management node mutual with processing node after determining the existence sharing policy assembly corresponding with traffic type information, described customer service is processed according to described sharing policy assembly.Because the policy components with identical services processing capacity sharing using between at least two business clusters is arranged in management node as sharing policy assembly, make each processing node in each business cluster without configuring again this sharing policy assembly, greatly reduced taking the processing resource of processing node.
The structural representation of the management node that Fig. 4 provides for the embodiment of the present invention four, as shown in Figure 4, the management node of the present embodiment can be for the technical scheme of embodiment of the method shown in execution graph 1, and this management node comprises:
Optionally, described processing module 13, specifically for:
Described sharing policy assembly is sent to described processing node, so that described processing node adopts described sharing policy assembly to process described customer service.
Optionally, described receiver module 11, specifically for:
Receive the described Business Processing request that described processing node sends, in described Business Processing request, comprise described traffic type information;
Described processing module 13, specifically for:
Adopt described sharing policy assembly to carry out Business Processing to described Business Processing request, and to described processing node feedback service processing result.
The structural representation of the management node that Fig. 5 provides for the embodiment of the present invention five, as shown in Figure 5, the management node of the present embodiment can be for the technical scheme of embodiment of the method shown in execution graph 2, this management node, on basis embodiment illustrated in fig. 4, also comprises the identification information of the business cluster that described processing node is affiliated in described data message;
Further, described determination module 12, for determining whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
If have, described processing module 13 execution are mutual with described processing node, with the step of described customer service being processed according to described sharing policy assembly.
Particularly, described determination module 12, comprising:
Acquiring unit 121, for obtaining storage concordance list from the memory space corresponding with described identification information, stores the sign of sharing policy assembly and the address that corresponding sharing policy assembly is stored at described memory space in described storage concordance list;
Determining unit 122, for determining whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
Further, described management node also comprises:
Correspondingly, described determination module 12, also whether effective for determining the sharing policy assembly corresponding with described traffic type information;
Sending module 22, if for invalid, sends to described data message described backup management node, so that described backup management node is carried out and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
Further, also store the state information of sharing policy assembly in described storage concordance list, whether described state information is used to indicate described sharing policy assembly effective;
Correspondingly, described determination module 12, also determines that according to described state information whether the sharing policy assembly corresponding with described traffic type information be effective for described management node.
The structural representation of the processing node that Fig. 6 provides for the embodiment of the present invention six, as shown in Figure 6, the processing node of the present embodiment can be for the technical scheme of embodiment of the method shown in execution graph 3, and this processing node comprises:
Sending module 31, for sending datagram to management node, described data message comprises traffic type information, so that described management node is mutual with described processing node after determining the existence sharing policy assembly corresponding with described traffic type information, wherein, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node is the processing node in a business cluster at least two business clusters that communicate to connect with described management node, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters,
Optionally, described processing module 32, specifically for:
Receive the described sharing policy assembly that described management node sends, so that described processing node adopts described sharing policy assembly to process described customer service.
Optionally, described sending module 31, specifically for:
To described management node, send described Business Processing request, in described Business Processing request, comprise described traffic type information;
Correspondingly, described processing module 32, specifically for:
Receiving described management node adopts described sharing policy assembly to carry out to described Business Processing request the service processing result feeding back after Business Processing.
Further, the identification information that also comprises the business cluster that described processing node is affiliated in described data message, described identification information, for making described management node determine whether the corresponding business cluster of described identification information has, use the authority of described sharing policy assembly and/or for making described management node obtain storage concordance list from the memory space corresponding with described identification information, and determine whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
The schematic diagram of the transaction processing system based on Policies sharing that Fig. 7 provides for the embodiment of the present invention seven, as shown in Figure 7, this system comprises:
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of program command, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit above; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.
Claims (23)
1. the method for processing business based on Policies sharing, is characterized in that, comprising:
The data message that management node reception & disposal node sends, described data message comprises traffic type information, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node be the processing node in a business cluster at least two business clusters that communicate to connect with described management node;
Described management node determines whether to exist the sharing policy assembly corresponding with described traffic type information, and described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters;
If exist, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.
2. method according to claim 1, is characterized in that, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described management node sends to described processing node by described sharing policy assembly, so that described processing node adopts described sharing policy assembly to process described customer service.
3. method according to claim 1, is characterized in that, the data message that described management node reception & disposal node sends, and described data message comprises traffic type information, comprising:
Described management node receives the described Business Processing request that described processing node sends, and in described Business Processing request, comprises described traffic type information;
Described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described management node adopts described sharing policy assembly to carry out Business Processing to described Business Processing request, and to described processing node feedback service processing result.
4. according to the method described in any one in claim 1~3, it is characterized in that, in described data message, also comprise the identification information of the business cluster that described processing node is affiliated;
Described management node and described processing node are mutual, before described customer service being processed according to described sharing policy assembly, also comprise:
Described management node determines whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
If have, carry out described management node and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
5. method according to claim 4, is characterized in that, described management node determines whether to have the sharing policy assembly corresponding with described traffic type information, comprising:
Described management node obtains storage concordance list from the memory space corresponding with described identification information, stores the sign of sharing policy assembly and the address that corresponding sharing policy assembly is stored at described memory space in described storage concordance list;
Described management node determines whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
6. method according to claim 5, is characterized in that, before the data message that described management node reception & disposal node sends, also comprises:
The described sharing policy component synchronization that described management node is stored self is in the backup management node corresponding with described management node;
Described management node and described processing node are mutual, before described customer service being processed according to described sharing policy assembly, also comprise:
Described management node determines that whether the sharing policy assembly corresponding with described traffic type information be effective;
If invalid, described management node sends to described backup management node by described data message, so that described backup management node is carried out and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
7. method according to claim 6, is characterized in that, also stores the state information of sharing policy assembly in described storage concordance list, and whether described state information is used to indicate described sharing policy assembly effective;
Described management node determines that whether the sharing policy assembly corresponding with described traffic type information be effective, comprising:
Described management node determines that according to described state information whether the sharing policy assembly corresponding with described traffic type information be effective.
8. the method for processing business based on Policies sharing, is characterized in that, comprising:
Processing node sends datagram to management node, described data message comprises traffic type information, so that described management node is mutual with described processing node after determining the existence sharing policy assembly corresponding with described traffic type information, wherein, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node is the processing node in a business cluster at least two business clusters that communicate to connect with described management node, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters,
Described processing node and described management node are mutual, described customer service is processed according to described sharing policy assembly.
9. method according to claim 8, is characterized in that, described processing node and described management node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described processing node receives the described sharing policy assembly that described management node sends, so that described processing node adopts described sharing policy assembly to process described customer service.
10. method according to claim 8, is characterized in that, described processing node sends datagram to management node, and described data message comprises traffic type information, comprising:
Described processing node sends described Business Processing request to described management node, in described Business Processing request, comprises described traffic type information;
Described processing node and described management node are mutual, described customer service is processed according to described sharing policy assembly, comprising:
Described processing node receives described management node and adopts described sharing policy assembly to carry out to described Business Processing request the service processing result feeding back after Business Processing.
Method in 11. according to Claim 8~10 described in any one, is characterized in that, also comprises the identification information of the business cluster that described processing node is affiliated in described data message;
Described identification information, for making described management node determine whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
And/or,
For making described management node obtain storage concordance list from the memory space corresponding with described identification information, and determine whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
12. 1 kinds of management nodes, is characterized in that, comprising:
Receiver module, the data message sending for reception & disposal node, described data message comprises traffic type information, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node be the processing node in a business cluster at least two business clusters that communicate to connect with described management node;
Determination module, for determining whether that having the sharing policy assembly corresponding with described traffic type information, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters;
Processing module, if for existing, described management node and described processing node are mutual, described customer service is processed according to described sharing policy assembly.
13. nodes according to claim 12, is characterized in that, described processing module, specifically for:
Described sharing policy assembly is sent to described processing node, so that described processing node adopts described sharing policy assembly to process described customer service.
14. nodes according to claim 12, is characterized in that, described receiver module, specifically for:
Receive the described Business Processing request that described processing node sends, in described Business Processing request, comprise described traffic type information;
Described processing module, specifically for:
Adopt described sharing policy assembly to carry out Business Processing to described Business Processing request, and to described processing node feedback service processing result.
15. according to the node described in any one in claim 12~14, it is characterized in that, also comprises the identification information of the business cluster that described processing node is affiliated in described data message;
Described determination module, for determining whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
If have, described processing module execution is mutual with described processing node, with the step of described customer service being processed according to described sharing policy assembly.
16. nodes according to claim 15, is characterized in that, described determination module, comprising:
Acquiring unit, for obtaining storage concordance list from the memory space corresponding with described identification information, stores the sign of sharing policy assembly and the address that corresponding sharing policy assembly is stored at described memory space in described storage concordance list;
Determining unit, for determining whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
17. nodes according to claim 16, is characterized in that, also comprise:
Synchronization module, for receiving at described receiver module before the data message of described processing node transmission, the described sharing policy component synchronization that self is stored is in the backup management node corresponding with described management node;
Described determination module, also whether effective for determining the sharing policy assembly corresponding with described traffic type information;
Sending module, if for invalid, sends to described data message described backup management node, so that described backup management node is carried out and described processing node is mutual, with the step of described customer service being processed according to described sharing policy assembly.
18. nodes according to claim 17, is characterized in that, also store the state information of sharing policy assembly in described storage concordance list, and whether described state information is used to indicate described sharing policy assembly effective;
Described determination module, also determines that according to described state information whether the sharing policy assembly corresponding with described traffic type information be effective for described management node.
19. 1 kinds of processing nodes, is characterized in that, comprising:
Sending module, for sending datagram to management node, described data message comprises traffic type information, so that described management node is mutual with described processing node after determining the existence sharing policy assembly corresponding with described traffic type information, wherein, the type information of the pending customer service of obtaining the Business Processing request that to be described processing node send from subscriber equipment of described traffic type information, described processing node is the processing node in a business cluster at least two business clusters that communicate to connect with described management node, described sharing policy assembly is the policy components with identical services processing capacity sharing between described at least two business clusters,
Processing module, for mutual with described management node, described customer service is processed according to described sharing policy assembly.
20. nodes according to claim 19, is characterized in that, described processing module, specifically for:
Receive the described sharing policy assembly that described management node sends, so that described processing node adopts described sharing policy assembly to process described customer service.
21. nodes according to claim 19, is characterized in that, described sending module, specifically for:
To described management node, send described Business Processing request, in described Business Processing request, comprise described traffic type information;
Described processing module, specifically for:
Receiving described management node adopts described sharing policy assembly to carry out to described Business Processing request the service processing result feeding back after Business Processing.
22. according to the node described in claim 19~21, it is characterized in that, also comprises the identification information of the business cluster that described processing node is affiliated in described data message;
Described identification information, for making described management node determine whether the corresponding business cluster of described identification information has the authority of using described sharing policy assembly;
And/or,
For making described management node obtain storage concordance list from the memory space corresponding with described identification information, and determine whether to exist the sharing policy assembly corresponding with described traffic type information according to described storage concordance list.
23. 1 kinds of transaction processing systems based on Policies sharing, is characterized in that, comprising:
Processing node in management node at least one claim 12~18 described in any one and at least one claim 19~22 described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310518446.9A CN103546569B (en) | 2013-10-28 | 2013-10-28 | Method for processing business based on Policies sharing, node and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310518446.9A CN103546569B (en) | 2013-10-28 | 2013-10-28 | Method for processing business based on Policies sharing, node and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103546569A true CN103546569A (en) | 2014-01-29 |
CN103546569B CN103546569B (en) | 2016-09-07 |
Family
ID=49969608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310518446.9A Active CN103546569B (en) | 2013-10-28 | 2013-10-28 | Method for processing business based on Policies sharing, node and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103546569B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376401A (en) * | 2014-10-29 | 2015-02-25 | 中国建设银行股份有限公司 | Information management method and device |
CN112486074A (en) * | 2020-12-03 | 2021-03-12 | 上海哔哩哔哩科技有限公司 | Data processing system, method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101980192A (en) * | 2010-10-15 | 2011-02-23 | 中兴通讯股份有限公司 | Object-based cluster file system management method and cluster file system |
WO2012034473A1 (en) * | 2010-09-17 | 2012-03-22 | 中兴通讯股份有限公司 | Method and system for processing resource management tasks |
US20120129516A1 (en) * | 2009-07-10 | 2012-05-24 | Telefonaktiebolaget L M Ericsson (Publ) | Group Handling For Push-To-Talk Services |
-
2013
- 2013-10-28 CN CN201310518446.9A patent/CN103546569B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120129516A1 (en) * | 2009-07-10 | 2012-05-24 | Telefonaktiebolaget L M Ericsson (Publ) | Group Handling For Push-To-Talk Services |
WO2012034473A1 (en) * | 2010-09-17 | 2012-03-22 | 中兴通讯股份有限公司 | Method and system for processing resource management tasks |
CN101980192A (en) * | 2010-10-15 | 2011-02-23 | 中兴通讯股份有限公司 | Object-based cluster file system management method and cluster file system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376401A (en) * | 2014-10-29 | 2015-02-25 | 中国建设银行股份有限公司 | Information management method and device |
CN112486074A (en) * | 2020-12-03 | 2021-03-12 | 上海哔哩哔哩科技有限公司 | Data processing system, method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103546569B (en) | 2016-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2695083B1 (en) | Cluster unique identifier | |
CN102945139B (en) | Storage device driver and cluster participate in | |
CN106487486B (en) | Service processing method and data center system | |
CN103152390B (en) | The node configuration method of distributed memory system, device, node and system | |
CN108319618B (en) | Data distribution control method, system and device of distributed storage system | |
CN102761528A (en) | System and method for data management | |
CN111176888B (en) | Disaster recovery method, device and system for cloud storage | |
CN105511987A (en) | Distributed task management system with high consistency and availability | |
CN104753987B (en) | A kind of distributed conversation management method and system | |
CN105357042A (en) | High-availability cluster system, master node and slave node | |
CN102664757B (en) | Cascading method and equipment for storage devices | |
US7519855B2 (en) | Method and system for distributing data processing units in a communication network | |
CN103559188B (en) | Metadata management method and management system | |
CN115277727A (en) | Data disaster recovery method, system, device and storage medium | |
CN110708177B (en) | Exception handling method, system and device in distributed system | |
CN103546569A (en) | Service processing method based on strategy sharing, nodes and system | |
CN111262892A (en) | Multi-ROS service discovery system | |
CN109167690A (en) | A kind of restoration methods, device and the relevant device of the service of distributed system interior joint | |
CN107623705B (en) | Storage mode upgrading method, device and system based on video cloud storage system | |
CN104657240B (en) | The Failure Control method and device of more kernel operating systems | |
CN115658390A (en) | Container disaster tolerance method, system, device, equipment and computer readable storage medium | |
CN102420856A (en) | Data processing method and equipment | |
CN114185691A (en) | Sidecar-based UDP multicast method and system | |
CN110839068B (en) | Service request processing method and device, electronic equipment and readable storage medium | |
CN102868594B (en) | Method and device for message processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |