CN106487555A - A kind of method of adjustment of service node, device and equipment - Google Patents

A kind of method of adjustment of service node, device and equipment Download PDF

Info

Publication number
CN106487555A
CN106487555A CN201510541424.3A CN201510541424A CN106487555A CN 106487555 A CN106487555 A CN 106487555A CN 201510541424 A CN201510541424 A CN 201510541424A CN 106487555 A CN106487555 A CN 106487555A
Authority
CN
China
Prior art keywords
service node
message
node
changed
ownership
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.)
Pending
Application number
CN201510541424.3A
Other languages
Chinese (zh)
Inventor
耿长剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510541424.3A priority Critical patent/CN106487555A/en
Priority to PCT/CN2016/086926 priority patent/WO2017036238A1/en
Publication of CN106487555A publication Critical patent/CN106487555A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method of adjustment of service node, device and equipment, the method of adjustment of wherein said service node, including the change instruction request obtaining change service node, wherein, described change instruction request includes carrying the configured information of service node buffered message ownership to be changed, and described service node to be changed includes the service node of increased service node or minimizing;According to described change instruction request, parse the ownership of service node buffered message to be changed described in described configured information;Obtain the buffered message of described service node to be changed;According to described ownership, will not belong to the buffered message of described service node to be changed, be sent to home node, wherein said buffered message is ranked up according to markers, be designated as same called number when described and transmit the time that message reaches sms center.This ensure that to increase service node or delete service node number and do not affect the process of message, also improve the accuracy of message transmission.

Description

A kind of method of adjustment of service node, device and equipment
Technical field
The present invention relates to the communications field, more particularly to a kind of method of adjustment of service node, device and equipment.
Background technology
Short message service has a significantly feature it is simply that the portfolio when festivals or holidays will be far longer than at ordinary times, to pass The short message service center of system will consider the maximum stream flow of business in beginning, according to the maximum stream flow of business, configures Corresponding hardware device.So may result in, also can take substantial amounts of in the case of flow at ordinary times is less Hardware resource, causes the waste of resource.And traditional short message service center, follow-up office point portfolio increases to be needed Want it is necessary to purchase new hardware, the new service node of planning deployment in the case of dilatation, engineering time is very long.
The traditional short message service in CS domain, synchronization can only exhale a piece of news eventually to same purpose user, In the case that an intra-office has multiple service nodes, every message is all in the fixing ownership section of called subscriber The ownership thread queuing of point issues.Sms center intra-node number of threads and thread number are fixing, because This can carry out ownership by an algorithm and calculate, and node number quantity and node number are not fixing, can only Strategy by page configuration number home node.Increase and deletion of node, the strategy of number home node is all Adjust, after so may result in dynamic retractility, do not issued the node of success message caching, Ke Nengyi in the past Through not being home node.Further, short message has timing requirements, if user submit to order be A, B, but the order that user receives is B, A, and being so likely to occur the whole meaning is contrary situation.
Content of the invention
The purpose of the embodiment of the present invention is to provide a kind of method of adjustment of service node, device and equipment, protects Card increases service node or deletion service node number does not affect the process of message, improves the standard that message sends Really property.
To achieve these goals, the method for adjustment of a kind of service node provided in an embodiment of the present invention, including:
Obtain the change instruction request of change service node, wherein, described change instruction request inclusion carries The configured information of service node buffered message ownership to be changed, described service node to be changed includes increased industry Business node or the service node of minimizing;
According to described change instruction request, parse service node caching to be changed described in described configured information and disappear The ownership of breath;
Obtain the buffered message of described service node to be changed;
According to described ownership, will not belong to the buffered message of described service node to be changed, be sent to ownership section Point, wherein said buffered message is ranked up according to markers, is designated as same called number transmission message when described Reach the time of sms center.
Further, described instruction according to described change is asked, and parses to be changed described in described configured information The ownership of service node buffered message, including:
According to described change instruction request, determine that in described change instruction request, service node to be changed is to increase The first service node;
Parse the ownership of the first service node buffered message described in described configured information, wherein, described ownership It is by the buffered message belonging to described first service node being pre-configured with each surplus lines node, point First service node described in dispensing, described surplus lines node is to remove described first industry in all service nodes The node of business node.
Further, described the buffered message of described service node to be changed be will not belong to according to described ownership, It is sent to home node, including:
Judge whether the first buffered message of described first service node belongs to returning of described first service node The described first service node buffered message of instruction in genus;
If the first buffered message of described first service node belongs in the ownership of described first service node The described first service node buffered message indicating, then continued to scan on and removed the surplus of described first buffered message Remaining buffered message;Or
If the first buffered message of described first service node is not belonging to the ownership of described first service node The described first service node buffered message of middle instruction, described first buffered message is transmitted to home node, Continue to scan on the remaining cache message removing described first buffered message.
The method of adjustment of wherein said service node, also includes:Until judging to complete described first business section All buffered messages of point.
Further, described instruction according to described change is asked, and parses to be changed described in described configured information The ownership of service node buffered message, including:
According to described change instruction request, determine that in described change instruction request, service node to be changed is to reduce The second service node;
Parse the ownership of the second service node buffered message described in described configured information, wherein, described ownership It is that the buffered message of described second service node is distributed to currently all residues according to the ownership being pre-configured with Service node, described currently all surplus lines nodes are to remove described second business section in all service nodes The node of point.
Further, described the buffered message of described service node to be changed be will not belong to according to described ownership, It is sent to home node, including:
According to described change instruction request, produce described second service node of stopping and send pending buffered message Instruction, and receive the first response message, wherein said first response message is to obtain described change instruction Whether the buffered message sending before request sends successful response;
After receiving described first response message, by all ticket literary compositions of storage in described second service node Part dump, and determine that in whole response messages of described second service node, all successfully cachings that do not send disappear Breath;
According to the configuration of described change instruction request, described all transmission of second service node is successfully delayed Deposit message and be sent to home node, wherein said whole response messages include described first response message.
The embodiment of the present invention also provides a kind of method of adjustment of service node, including:
Obtain the first change request changing service node to be changed, wherein said service node to be changed includes Increased service node or the service node of minimizing;
On described service node execution to be changed terminates during a change instruction request, for described first more Change request, obtain the modification information of all service node ownership, a wherein said upper change instruction request bag Include the configured information carrying described service node buffered message to be changed ownership, described buffered message according to when Mark is ranked up, and is designated as same called number and transmits the time that message reaches sms center when described;
According to the modification information of all service nodes ownership, generate and send a change instruction request, wherein Described change instruction request includes carrying the configured information of described service node buffered message ownership to be changed.
The method of adjustment of wherein said service node also includes:
On described service node execution to be changed does not terminate during a change instruction request, generate refusal respond The message of described first change request.
Further, on described service node execution to be changed terminates during a change instruction request, for Described first change request, obtains the modification information of all service node ownership, including:
On described service node execution to be changed terminates during a change instruction request, for described first more Change request service node to be changed be increase the first service node when, generate one execution described first change Request notification message, carry in wherein said notification message increase the node number of the first service node and The IP that the first increased service node uses;
According to described notification message, obtain the ownership of buffered message in all service nodes, and each is remaining The buffered message belonging to described first service node being pre-configured with service node, distributes to described first Service node, wherein said surplus lines node is to remove described first service node in all service nodes Node.
Further, described described service node to be changed execute terminate on a change instruction request when, For the described first change request, obtain the modification information of all service node ownership, including:
On described service node execution to be changed terminates during a change instruction request, for described first more Change request service node to be changed be reduce the second service node when, generate one execution described first change The notification message of request, carries the node number of the second service node being reduced in wherein said notification message;
According to described notification message, obtain the ownership of buffered message in all service nodes, and by described second The buffered message of service node distributes to currently all surplus lines nodes according to the ownership being pre-configured with, wherein Described currently all surplus lines nodes are the node removing described second service node in all service nodes.
The embodiment of the present invention also provides a kind of adjusting apparatus of service node, including:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
Parsing module, for according to described change instruction request, parsing to be changed described in described configured information The ownership of service node buffered message;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
First processing module, for according to described ownership, will not belong to the caching of described service node to be changed Message, is sent to home node, and wherein said buffered message is ranked up according to markers, is designated as same when described One called number transmits the time that message reaches sms center.
The embodiment of the present invention also provides a kind of adjusting apparatus of service node, including:
3rd acquisition module, for obtaining the first change request changing service node to be changed, wherein said Service node to be changed includes the service node of increased service node or minimizing;
4th acquisition module, for a change instruction request on terminating in described service node execution to be changed When, for the described first change request, obtain the modification information of all service nodes ownership, wherein said on One change instruction request includes carrying the configured information of described service node buffered message ownership to be changed, Described buffered message is ranked up according to markers, is designated as same called number transmission message and reaches note when described The time at center;
Second processing module, for the modification information belonging to according to all service nodes, generates and sends one Change instruction request, wherein said change instruction request inclusion carries described service node caching to be changed and disappears The configured information of breath ownership.
The embodiment of the present invention also provides a kind of business side apparatus, including the adjusting apparatus of service node described above.
The embodiment of the present invention also provides a kind of agent equipment, including the adjusting apparatus of service node described above.
The having the beneficial effect that of the technique scheme of the embodiment of the present invention:
In the scheme of the embodiment of the present invention, by obtaining the change instruction request of change service node, realize industry The dynamic retractility of business node, and by the buffered message ownership of service node to be changed, will not belong to be changed The buffered message of service node, is sent to home node, is also arranged the buffered message of transmission according to sequential Sequence, thus ensure that the accuracy that message sends, the change of such self adaptation short message service flow, and ensures Increase service node or deletion service node number does not affect the process of message it is only necessary to increase service node Transmit message according to thread;In business beginning it is not necessary to consider the maximum stream flow of business it is only necessary to install The minimum node number that configuration service runs, decrease project planning during beginning and deployment workload it is achieved that The rapid deployment of business.
Brief description
Fig. 1 is one of step schematic diagram of method of adjustment of service node of the embodiment of the present invention;
Fig. 2 is the increase service node FB(flow block) of the embodiment of the present invention;
Fig. 3 is the minimizing service node FB(flow block) of the embodiment of the present invention;
Fig. 4 is one of step schematic diagram of method of adjustment of service node of the embodiment of the present invention;
Fig. 5 is one of structural representation of adjusting apparatus of service node of the embodiment of the present invention;
Fig. 6 is one of structural representation of adjusting apparatus of service node of the embodiment of the present invention.
Specific embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with attached Figure and specific embodiment are described in detail.
The embodiment of the present invention is directed in prior art to be increased and deletes service node so that number home node Developing Tactics, thus allow message order order of occurrence entanglement problem, a kind of adjustment of service node is provided Method, device and equipment, the buffered message to be sent that these are redistributed, after reallocation according to when Mark is ranked up, and so ensures that the accuracy of transmission message.
First embodiment
As shown in figure 1, the method for adjustment of this service node, can include:
Step 11, obtains the change instruction request of change service node, wherein, described change instruction request Including the configured information carrying service node buffered message ownership to be changed, described service node bag to be changed Include the service node of increase or the service node of minimizing;
Step 12, according to described change instruction request, parses business to be changed described in described configured information The ownership of nodal cache message;
Step 13, obtains the buffered message of described service node to be changed;
Step 14, according to described ownership, will not belong to the buffered message of described service node to be changed, sends out Give home node, wherein said buffered message is ranked up according to markers, when described, be designated as same called number Code transmission message reaches the time of sms center.
In the step 11 of the embodiment of the present invention is to step 14, referred to by obtaining the change of change service node Show request (step 11), realize the dynamic retractility of service node, and by the caching of service node to be changed Message belongs to (step 12), will not belong to the buffered message of service node to be changed, is sent to home node The buffered message of transmission is also ranked up by (step 14) according to sequential, thus ensure that what message sent Accuracy, the change of such self adaptation short message service flow, and ensure to increase service node or deletion business The process that node number does not affect message transmits message it is only necessary to increase service node according to thread;In business It is not necessary to consider the maximum stream flow of business it is only necessary to install the minimum node number that configuration service runs during beginning, Decrease project planning during beginning and deployment workload it is achieved that the rapid deployment of business.
It should be noted that:After above-mentioned home node receives other service nodes forwarding message, need according to former Buffered message reaches markers (SCTS, Service Center Time Stamp, the service centre of sms center Timestamp) it is ranked up for key (can be critical data or key factor), message is deposited Store up this home node, be not in so situation about receiving after the message first sent out, improve the experience of user.
Will not belong to the buffered message of described service node to be changed in above-mentioned steps 14, be sent to ownership section Point can specifically refer to the ownership thread A by service node to be changed, will will not belong to described industry to be changed The buffered message of business node is forwarded on the ownership thread B of home node.
Second embodiment
The method of adjustment of this service node, can include:
Step 11, obtains the change instruction request of change service node, wherein, described change instruction request Including the configured information carrying service node buffered message ownership to be changed, described service node bag to be changed Include the service node of increase or the service node of minimizing;
Step 121, according to described change instruction request, determines business to be changed in described change instruction request Node is the first increased service node;
Step 122, parses the ownership of the first service node buffered message described in described configured information, wherein, Described it is attributed to belong to the slow of described first service node by be pre-configured with each surplus lines node Deposit message, distribute to described first service node, described surplus lines node is to remove in all service nodes The node of described first service node;
Step 13, obtains the buffered message of described service node to be changed;
Step 14, according to described ownership, will not belong to the buffered message of described service node to be changed, sends out Give home node, wherein said buffered message is ranked up according to markers, when described, be designated as same called number Code transmission message reaches the time of sms center.
The step 11 of the embodiment of the present invention, to step 14, is indicated by obtaining the change of change service node Request (step 11), determines that in change instruction request, service node to be changed is the first increased service node (step 121), thus can distribute buffered message (step 122) according to ownership to the first service node, Thus in business beginning it is only necessary to install the minimum node number that configuration service runs, decreasing during beginning Project planning and deployment workload are it is achieved that the rapid deployment of business;And when follow-up business flow increases, By the automatic service node that increases it is not necessary to manual intervention, it is achieved that the flexible configuration of resource, decreases dimension Shield cost;Also combine closely with traditional short message service, service node is dynamic increase in the case of it is ensured that Message issue characteristic.
3rd embodiment
The method of adjustment of this service node, can include:
Step 11, obtains the change instruction request of change service node, wherein, described change instruction request Including the configured information carrying service node buffered message ownership to be changed, described service node bag to be changed Include the service node of increase or the service node of minimizing;
Step 121, according to described change instruction request, determines business to be changed in described change instruction request Node is the first increased service node;
Step 122, parses the ownership of the first service node buffered message described in described configured information, wherein, Described it is attributed to belong to the slow of described first service node by be pre-configured with each surplus lines node Deposit message, distribute to described first service node, described surplus lines node is to remove in all service nodes The node of described first service node;
Step 13, obtains the buffered message of described service node to be changed;
Step 141, judges whether the first buffered message of described first service node belongs to described first business The described first service node buffered message of instruction in the ownership of node;
Step 142, if the first buffered message of described first service node belongs to described first service node Ownership in instruction described first service node buffered message, then continued to scan on removing described first caching The remaining cache message of message;Or
Step 143, if the first buffered message of described first service node is not belonging to described first business section In the ownership of point, the described first service node buffered message of instruction, described first buffered message is transmitted to and returns Belong to node, continue to scan on the remaining cache message removing described first buffered message.
The step 11 of the embodiment of the present invention, to step 142, is changed in instruction request by obtaining and determining Service node to be changed is the first increased service node (step 121), thus can give according to ownership First service node distribution buffered message (step 122), in order to ensure the buffered message of each service node Ownership correct in addition it is also necessary to judge buffered message (step 141) in the first service node, judge the first industry Every buffered message in business node, the buffered message that will not belong to this first service node sends to ownership section Point (step 142), it is only necessary to install the minimum node number that configuration service runs so in business beginning, Decrease project planning during beginning and deployment workload it is achieved that the rapid deployment of business;And follow-up When service traffics increase, increase service node it is not necessary to manual intervention is it is achieved that the spirit of resource by automatic Live and configure, decrease maintenance cost;Also combine closely with traditional short message service, dynamically increase in service node Plus in the case of it is ensured that message issue characteristic.
Fourth embodiment
The method of adjustment of this service node, can include:
Step 11, obtains the change instruction request of change service node, wherein, described change instruction request Including the configured information carrying service node buffered message ownership to be changed, described service node bag to be changed Include the service node of increase or the service node of minimizing;
Step 121, according to described change instruction request, determines business to be changed in described change instruction request Node is the first increased service node;
Step 122, parses the ownership of the first service node buffered message described in described configured information, wherein, Described it is attributed to belong to the slow of described first service node by be pre-configured with each surplus lines node Deposit message, distribute to described first service node, described surplus lines node is to remove in all service nodes The node of described first service node;
Step 13, obtains the buffered message of described service node to be changed;
Step 141, judges whether the first buffered message of described first service node belongs to described first business The described first service node buffered message of instruction in the ownership of node;
Step 142, if the first buffered message of described first service node belongs to described first service node Ownership in instruction described first service node buffered message, then continued to scan on removing described first caching The remaining cache message of message;Or
Step 143, if the first buffered message of described first service node is not belonging to described first business section In the ownership of point, the described first service node buffered message of instruction, described first buffered message is transmitted to and returns Belong to node, continue to scan on the remaining cache message removing described first buffered message;
Step 15, until judge to complete all buffered messages of described first service node.
The step 11 of the embodiment of the present invention, to step 15, is treated by obtaining and determining in change instruction request Change service node is the first increased service node (step 121), thus can be according to ownership to the One service node distribution buffered message (step 122), in order to ensure the buffered message of each service node Ownership is correct, and judges all buffered messages in the first service node in addition it is also necessary to judge the first service node Middle buffered message (step 141), judges every buffered message in the first service node, will not belong to this The buffered message of the first service node sends to home node (step 142), until judging to complete the first industry All buffered messages (step 15) in business node.It is only necessary to install configuration industry so in business beginning The minimum node number that business runs, decreases project planning during beginning and deployment workload it is achieved that business Rapid deployment;And when follow-up business flow increases, increase service node it is not necessary to artificial by automatic Intervene it is achieved that the flexible configuration of resource, decrease maintenance cost;Also closely tie with traditional short message service Close, service node is dynamic increase in the case of it is ensured that message issue characteristic.
It should be noted that:Above-mentioned first buffered message is any caching in above-mentioned first service node Message.
As shown in Fig. 2 the flow process that implements that the embodiment of the present invention increases service node is exemplified below.
Step 201., in increasing by the first service node flow process, can receive the change instruction increasing service node Request;
After step 202. first service node receives the change instruction request increasing service node, start to scan First service node does not send successful buffered message, according to the up-to-date number with regard to the first service node configuration Ownership, sees whether the first buffered message still belongs to the first service node;
If step 203. buffered message belongs to the first service node, continue to scan on other cachings remaining Message, the ownership thread otherwise buffered message being gone to home node goes;
After step 204. first service node receives the buffered message of other service nodes forwarding, will cache Message is inserted in the caching of the first service node, for the message of same called number, must be strict It is ranked up according to the markers (SCTS) that message reaches sms center;
Step 205. judges whether all buffered messages of the first service node scan and completes, if do not completed Then execution step 202;If completed, execution step 206;
Step 206. is after the completion of all buffered messages scanning of the first service node, minimum to node number Service node sends a caching process completion message;
The caching process that the service node of step 207. minimum collects all service nodes notifies;
Step 208. judges that the service node of minimum collects the caching process of all service nodes and whether completes, If completing execution step 208, if not completing execution step 207;
Step 209., after the caching process of all service nodes all collects, sends an increase service node Process the notice completing.
5th embodiment
The method of adjustment of this service node, can include:
Step 11, obtains the change instruction request of change service node, wherein, described change instruction request Including the configured information carrying service node buffered message ownership to be changed, described service node bag to be changed Include the service node of increase or the service node of minimizing;
Step 123, according to described change instruction request, determines business to be changed in described change instruction request Node is the second service node reducing;
Step 124, parses the ownership of the second service node buffered message described in described configured information, wherein, Described it is attributed to distribute to currently the buffered message of described second service node according to the ownership being pre-configured with All surplus lines nodes, described currently all surplus lines nodes are to remove described the in all service nodes The node of two service nodes;
Step 13, obtains the buffered message of described service node to be changed;
Step 14, according to described ownership, will not belong to the buffered message of described service node to be changed, sends out Give home node, wherein said buffered message is ranked up according to markers, when described, be designated as same called number Code transmission message reaches the time of sms center.
The step 11 of the embodiment of the present invention, to step 14, is treated by obtaining and determining in change instruction request Change service node is the second service node (step 123) reducing, thus can be according to ownership to the The buffered message of two service nodes redistributes (step 124), will not belong to described service node to be changed Buffered message, be sent to home node (step 14), so in follow-up business flow when needing to reduce, By the automatic service node that reduces it is not necessary to manual intervention, it is achieved that the flexible configuration of resource, decreases dimension Shield cost;Also combine closely with traditional short message service, service node is dynamic reduce in the case of it is ensured that Message issue characteristic.
Sixth embodiment
The method of adjustment of this service node, can include:
Step 11, obtains the change instruction request of change service node, wherein, described change instruction request Including the configured information carrying service node buffered message ownership to be changed, described service node bag to be changed Include the service node of increase or the service node of minimizing;
Step 123, according to described change instruction request, determines business to be changed in described change instruction request Node is the second service node reducing;
Step 124, parses the ownership of the second service node buffered message described in described configured information, wherein, Described it is attributed to distribute to currently the buffered message of described second service node according to the ownership being pre-configured with All surplus lines nodes, described currently all surplus lines nodes are to remove described the in all service nodes The node of two service nodes;
Step 13, obtains the buffered message of described service node to be changed;
Step 144, according to described change instruction request, generation described second service node of stopping sends to be waited to locate The instruction of reason buffered message, and receive the first response message, wherein said first response message is to obtain institute State whether the buffered message sending before change instruction request sends successful response;
Step 145, after receiving described first response message, by storage in described second service node All CDR file dumps, and determine all in whole response messages of described second service node transmission into The buffered message of work(;
Step 146, according to the configuration of described change instruction request, does not send out all for described second service node Successful buffered message is sent to be sent to home node, wherein said whole response messages include described first response Message.
The step 11 of the embodiment of the present invention, to step 146, is changed in instruction request by obtaining and determining Service node to be changed is the second service node (step 123) reducing, and can then proceed in ownership to the The buffered message of two service nodes is redistributed (step 124), and treats in receiving change instruction request When change service node is the second service node reducing, stop continuing to send also untreated buffered message, And receive all of response message (step 144), not sending of instruction in response message is successfully cached Message, is sent to home node (step 146), so in follow-up business flow when needing to reduce, can With the automatic service node that reduces it is not necessary to manual intervention, it is achieved that the flexible configuration of resource, decreases maintenance Cost;Also combine closely with traditional short message service, service node is dynamic reduce in the case of it is ensured that Message issue characteristic.
It should be noted that:Above-mentioned steps 145, for lower electric second service node reducing, stop business After process, the ticket of CDR file in the second service node internal memory, will not write first, whole dump (turn Storage) in CDR file, then timing scan ticket catalogue;If also preserving words in the second service node Single, then do not allow lower electricity, until all CDR files are all taken away.This ensure that the second industry of minimizing The ticket of business node can not be lost, and decreases the impact to business.
As shown in figure 3, the flow process that implements that the embodiment of the present invention reduces service node is exemplified below.
Step 301., in reducing by the second service node flow process, can receive the change instruction reducing service node Request;
After step 302. second service node receives minimizing service node request, stop outgoing caching first and disappear Breath;
Step 303. second service node subsequently regularly checks the buffered message of original outgoing, and whether response is complete Portion returns;
If step 304. response all returns, all of CDR file dump in internal memory (is turned Storage) in CDR file;
What step 305. second service node started to scan the second service node does not send successful buffered message, According to the up-to-date number home with regard to the second service node configuration, calculate home node and the ownership of buffered message Thread;
Step 306. second service node will not send successful buffered message, go to the ownership of buffered message Node-home thread goes;
After the forwarding message of other nodes of step 307., message is inserted in local cache, for same The message of one called number, must enter in strict accordance with the markers (SCTS) that message reaches sms center Row sequence
Step 308., after the completion of all cache sweep of the second service node, starts timing scan, if Do not complete, execution step 305, if completed, execution step 309;
Step 309. checks whether the second service node CDR file is all removed, if it is, holding Row step 310;
Step 310., after the CDR file of the second service node is all taken, sends one and notifies to reduce industry Business node processing completion notice.
7th embodiment
As shown in figure 4, the method for adjustment of this service node, can include:
Step 41, obtains the first change request changing service node to be changed, wherein said industry to be changed Business node includes the service node of increased service node or minimizing;
Step 42, on described service node execution to be changed terminates during a change instruction request, for Described first change request, obtains the modification information of all service node ownership, a wherein said upper change Indicate that request includes carrying the configured information of described service node buffered message ownership to be changed, described caching Message is ranked up according to markers, be designated as when described same called number transmit message reach sms center when Between;
Step 43, according to the modification information of all service nodes ownership, generates and sends a change instruction Request, wherein said change instruction request includes carrying described service node buffered message ownership to be changed Configured information.
The step 41 of the embodiment of the present invention, to step 43, changes the of service node to be changed by obtaining One change request (step 41), judges that service node to be changed completes (step after a change instruction request Rapid 42), generate and send change instruction request (step 43), thus by generating instruction request Ownership it is ensured that message send accuracy, so adaptive reply short message service flow change, and Ensure to increase service node or delete service node number not affecting the process of message it is only necessary to increase business Node transmits message according to thread;In business beginning it is not necessary to consider business maximum stream flow it is only necessary to The minimum node number that configuration service runs is installed, decreases project planning during beginning and deployment workload, real Show the rapid deployment of business.
8th embodiment
The method of adjustment of this service node, can include:
Step 41, obtains the first change request changing service node to be changed, wherein said industry to be changed Business node includes the service node of increased service node or minimizing;
Step 44, on described service node execution to be changed does not terminate during a change instruction request, raw Become the message of the first change request described in refusal respond;
Step 42, on described service node execution to be changed terminates during a change instruction request, for Described first change request, obtains the modification information of all service node ownership, a wherein said upper change Indicate that request includes carrying the configured information of described service node buffered message ownership to be changed, described caching Message is ranked up according to markers, be designated as when described same called number transmit message reach sms center when Between;
Step 43, according to the modification information of all service nodes ownership, generates and sends a change instruction Request, wherein said change instruction request includes carrying described service node buffered message ownership to be changed Configured information.
Step 14 in the embodiment of the present invention is to step 43, complete in order to ensure that each change instruction is asked Do not affect between whole execution, and change instruction request in front and back, change service node to be changed by obtaining First change request (step 41), a change instruction request on service node to be changed execution does not terminate When, refusal respond first change request (step 44), a change instruction request only on execution completes Afterwards, change instruction request (step 43) can just be generated and sent, so adaptive reply note industry The change of business flow, and ensure to increase service node or delete service node number not affecting the process of message, Only need to increase service node according to thread transmission message;In business beginning it is not necessary to consider business Big flow it is only necessary to install the minimum node number that configuration service runs, decrease project planning during beginning and Deployment workload is it is achieved that the rapid deployment of business.
9th embodiment
The method of adjustment of this service node, can include:
Step 41, obtains the first change request changing service node to be changed, wherein said industry to be changed Business node includes the service node of increased service node or minimizing;
Step 421, on described service node execution to be changed terminates during a change instruction request, for When the service node to be changed of described first change request is the first increased service node, generate an execution institute State the notification message of the first change request, in wherein said notification message, carry the first service node of increase Node number and increase first service node use IP;
Step 422, according to described notification message, obtains the ownership of buffered message in all service nodes, and By the buffered message belonging to described first service node being pre-configured with each surplus lines node, distribute To described first service node, wherein said surplus lines node is to remove described first in all service nodes The node of service node;
Step 43, according to the modification information of all service nodes ownership, generates and sends a change instruction Request, wherein said change instruction request includes carrying described service node buffered message ownership to be changed Configured information.
Step 14 in the embodiment of the present invention to step 43, service node to be changed execution terminate on one During individual change instruction request, the increase the first service node (step 421) of execution the first change request, so Ownership (step 422) according to buffered message in all service nodes afterwards, generates and sends a change and refers to Show request (step 43), thus can distribute buffered message according to ownership to the first service node, so When follow-up business flow increases, automatically service node can be increased it is not necessary to manual intervention is it is achieved that provide The flexible configuration in source, decreases maintenance cost;Also combine closely with traditional short message service, in service node Dynamic increase in the case of it is ensured that message issue characteristic.
Tenth embodiment
The method of adjustment of this service node, can include:
Step 41, obtains the first change request changing service node to be changed, wherein said industry to be changed Business node includes the service node of increased service node or minimizing;
Step 423, on described service node execution to be changed terminates during a change instruction request, for When the service node to be changed of described first change request is the second service node reducing, generate an execution institute State the notification message of the first change request, in wherein said notification message, carry the second service node being reduced Node number;
Step 424, according to described notification message, obtains the ownership of buffered message in all service nodes, and The buffered message of described second service node is distributed to currently all residue industry according to the ownership being pre-configured with Business node, wherein said currently all surplus lines nodes are to remove described second business in all service nodes The node of node;
Step 43, according to the modification information of all service nodes ownership, generates and sends a change instruction Request, wherein said change instruction request includes carrying described service node buffered message ownership to be changed Configured information.
Step 14 in the embodiment of the present invention to step 43, service node to be changed execution terminate on one During individual change instruction request, the minimizing the second service node (step 423) of execution the first change request, root According to the ownership (step 424) of buffered message in all service nodes, generating and sending a change instruction please Ask (step 43), thus according to the ownership being pre-configured with, the buffered message of the second service node can be divided Dispensing currently all surplus lines nodes, so when follow-up business flow reduces, can reduce business automatically Node is it is not necessary to manual intervention, it is achieved that the flexible configuration of resource, decreases maintenance cost;Also with tradition Short message service combine closely, service node is dynamic increase in the case of it is ensured that message issue characteristic, It is also ensured that the accuracy of transmission message.
11st embodiment
As shown in figure 5, the adjusting apparatus of this service node, can include:
First acquisition module 51, for obtaining the change instruction request of change service node, wherein, described Change instruction request includes carrying the configured information of service node buffered message to be changed ownership, described treats more Change the service node that service node includes increased service node or minimizing;
Parsing module 52, for according to described change instruction request, parsing and treating described in described configured information The ownership of change service node buffered message;
Second acquisition module 53, for obtaining the buffered message of described service node to be changed;
First processing module 54, for according to described ownership, will not belong to described service node to be changed Buffered message, is sent to home node, and wherein said buffered message is ranked up according to markers, described markers Transmit the time that message reaches sms center for same called number.
In embodiments of the present invention, the change instruction of change service node is obtained by the first acquisition module 51 Request, realizes the dynamic retractility of service node, and by the caching of parsing module 52 service node to be changed Message belongs to, and then will not belong to the buffered message of service node to be changed through first processing module 54, sends out Give home node, also the buffered message of transmission is ranked up according to sequential, thus ensure that message sends Accuracy, the change of such self adaptation short message service flow, and ensure increase service node or delete industry The process that business node number does not affect message transmits message it is only necessary to increase service node according to thread;In industry It is not necessary to consider the maximum stream flow of business it is only necessary to install the minimum node that configuration service runs during business beginning Number, decreases project planning during beginning and deployment workload it is achieved that the rapid deployment of business.
It should be noted that the device that the present invention provides is the dress of the method for adjustment of corresponding above-mentioned service node Put, then all embodiments of the method for adjustment of above-mentioned service node are all applied to this device, and all can reach phase With or similar beneficial effect.
12nd embodiment
The adjusting apparatus of this service node, can include:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
First analyzing sub-module, for according to described change instruction request, determining in described change instruction request Service node to be changed is the first increased service node;
Second analyzing sub-module, for parsing the first service node buffered message described in described configured information Ownership, wherein, described is attributed to belong to described first industry by be pre-configured with each surplus lines node The buffered message of business node, distributes to described first service node, and described surplus lines node is all business The node of described first service node is removed in node;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
First processing module, for according to described ownership, will not belong to the caching of described service node to be changed Message, is sent to home node, and wherein said buffered message is ranked up according to markers, is designated as same when described One called number transmits the time that message reaches sms center.
13rd embodiment
The adjusting apparatus of this service node, can include:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
First analyzing sub-module, for according to described change instruction request, determining in described change instruction request Service node to be changed is the first increased service node;
Second analyzing sub-module, for parsing the first service node buffered message described in described configured information Ownership, wherein, described is attributed to belong to described first industry by be pre-configured with each surplus lines node The buffered message of business node, distributes to described first service node, and described surplus lines node is all business The node of described first service node is removed in node;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
Judging submodule, whether the first buffered message for judging described first service node belongs to described The described first service node buffered message of instruction in the ownership of one service node;
Determination sub-module, if the first buffered message for described first service node belongs to described first industry The described first service node buffered message of instruction in the ownership of business node, then continued to scan on removing described the The remaining cache message of one buffered message;Or
First sub- sending module, if for described first service node the first buffered message be not belonging to described The described first service node buffered message of instruction in the ownership of the first service node, the described first caching is disappeared Breath is transmitted to home node, has continued to scan on the remaining cache message removing described first buffered message.
14th embodiment
The adjusting apparatus of this service node, can include:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
First analyzing sub-module, for according to described change instruction request, determining in described change instruction request Service node to be changed is the first increased service node;
Second analyzing sub-module, for parsing the first service node buffered message described in described configured information Ownership, wherein, described is attributed to belong to described first industry by be pre-configured with each surplus lines node The buffered message of business node, distributes to described first service node, and described surplus lines node is all business The node of described first service node is removed in node;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
Judging submodule, whether the first buffered message for judging described first service node belongs to described The described first service node buffered message of instruction in the ownership of one service node;
Determination sub-module, if the first buffered message for described first service node belongs to described first industry The described first service node buffered message of instruction in the ownership of business node, then continued to scan on removing described the The remaining cache message of one buffered message;Or
First sub- sending module, if for described first service node the first buffered message be not belonging to described The described first service node buffered message of instruction in the ownership of the first service node, the described first caching is disappeared Breath is transmitted to home node, has continued to scan on the remaining cache message removing described first buffered message;
Judge module, for until judge to complete all buffered messages of described first service node.
15th embodiment
The adjusting apparatus of this service node, can include:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
3rd analyzing sub-module, for according to described change instruction request, determining in described change instruction request Service node to be changed is the second service node reducing;
4th analyzing sub-module, for parsing the second service node buffered message described in described configured information Ownership, wherein, described is attributed to the buffered message of described second service node according to the ownership being pre-configured with Distribute to currently all surplus lines nodes, described currently all surplus lines nodes are in all service nodes Remove the node of described second service node;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
First processing module, for according to described ownership, will not belong to the caching of described service node to be changed Message, is sent to home node, and wherein said buffered message is ranked up according to markers, is designated as same when described One called number transmits the time that message reaches sms center.
16th embodiment
The adjusting apparatus of this service node, can include:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
3rd analyzing sub-module, for according to described change instruction request, determining in described change instruction request Service node to be changed is the second service node reducing;
4th analyzing sub-module, for parsing the second service node buffered message described in described configured information Ownership, wherein, described is attributed to the buffered message of described second service node according to the ownership being pre-configured with Distribute to currently all surplus lines nodes, described currently all surplus lines nodes are in all service nodes Remove the node of described second service node;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
Interaction submodule, for according to described change instruction request, generation stops described second service node and sends out Send the instruction of pending buffered message, and receive the first response message, wherein said first response message be Obtain whether the buffered message sending before described change instruction request sends successful response;
5th analyzing sub-module, for after receiving described first response message, by described second business section All CDR file dumps of storage in point, and determine institute in whole response messages of described second service node Do not send successful buffered message;
Second sending submodule, for the configuration according to described change instruction request, by described second business section Point is all not to be sent successful buffered message and is sent to home node, and wherein said whole response messages include institute State the first response message.
17th embodiment
As shown in fig. 6, the adjusting apparatus of this service node, can include:
3rd acquisition module 61, for obtaining the first change request changing service node to be changed, wherein Described service node to be changed includes the service node of increased service node or minimizing;
4th acquisition module 62, for a change instruction on terminating in described service node execution to be changed During request, for the described first change request, obtain the modification information of all service node ownership, wherein institute State a change instruction request to include carrying the instruction of described service node buffered message ownership to be changed Information, described buffered message is ranked up according to markers, is designated as same called number transmission message and arrives when described Reach the time of sms center;
Second processing module 63, for the modification information being belonged to according to all service nodes, generates and sends One change instruction request, wherein said change instruction request inclusion carries described service node to be changed and delays Deposit the configured information of message ownership.
In the embodiment of the present invention, obtained by the 3rd acquisition module 61 and change the first of service node to be changed Change request, after judging that service node to be changed completes a change instruction request, through second processing mould Block 63 generate and send one change instruction request, thus by generate instruction request ownership it is ensured that The accuracy that message sends, the change of so adaptive reply short message service flow, and ensure increase business Node or deletion service node number do not affect the process of message it is only necessary to increase service node according to thread Transmission message;In business beginning it is not necessary to consider the maximum stream flow of business it is only necessary to install configuration service The minimum node number running, decrease project planning during beginning and deployment workload it is achieved that business fast Speed deployment.
It should be noted that the device that the present invention provides is the dress of the method for adjustment of corresponding above-mentioned service node Put, then all embodiments of the method for adjustment of above-mentioned service node are all applied to this device, and all can reach phase With or similar beneficial effect.
18th embodiment
The adjusting apparatus of this service node, can include:
3rd acquisition module, for obtaining the first change request changing service node to be changed, wherein said Service node to be changed includes the service node of increased service node or minimizing;
Generation module, when asking for a change instruction on not terminating in described service node execution to be changed, Generate the message of the first change request described in refusal respond;
4th acquisition module, for a change instruction request on terminating in described service node execution to be changed When, for the described first change request, obtain the modification information of all service nodes ownership, wherein said on One change instruction request includes carrying the configured information of described service node buffered message ownership to be changed, Described buffered message is ranked up according to markers, is designated as same called number transmission message and reaches note when described The time at center;
Second processing module, for the modification information belonging to according to all service nodes, generates and sends one Change instruction request, wherein said change instruction request inclusion carries described service node caching to be changed and disappears The configured information of breath ownership.
19th embodiment
The adjusting apparatus of this service node, can include:
3rd acquisition module, for obtaining the first change request changing service node to be changed, wherein said Service node to be changed includes the service node of increased service node or minimizing;
First generation submodule, please for a change instruction on terminating in described service node execution to be changed When asking, when changing, for described first, the first service node that the service node to be changed asked is increase, raw Become the notification message of the described first change request of an execution, in wherein said notification message, carry the of increase The IP that first service node of the node number of one service node and increase uses;
First acquisition submodule, for according to described notification message, obtaining the increasing in all service nodes The ownership of buffered message in one service node, and by belonging to of being pre-configured with each surplus lines node The buffered message of described first service node, distributes to described first service node, wherein said surplus lines Node is the node removing described first service node in all service nodes;
Second processing module, for the modification information belonging to according to all service nodes, generates and sends one Change instruction request, wherein said change instruction request inclusion carries described service node caching to be changed and disappears The configured information of breath ownership.
20th embodiment
The adjusting apparatus of this service node, can include:
3rd acquisition module, for obtaining the first change request changing service node to be changed, wherein said Service node to be changed includes the service node of increased service node or minimizing;
Second generation submodule, please for a change instruction on terminating in described service node execution to be changed When asking, when changing, for described first, the second service node that the service node to be changed asked is minimizing, raw Become the notification message of the described first change request of an execution, in wherein said notification message, carry the being reduced The node number of two service nodes;
Second acquisition submodule, for according to described notification message, obtaining buffered message in all service nodes Ownership, and the buffered message of described second service node is distributed to current institute according to the ownership being pre-configured with There is surplus lines node, wherein said currently all surplus lines nodes are that in all service nodes, removing is described The node of the second service node;
Second processing module, for the modification information belonging to according to all service nodes, generates and sends one Change instruction request, wherein said change instruction request inclusion carries described service node caching to be changed and disappears The configured information of breath ownership.
21st embodiment
This business side apparatus, including the adjusting apparatus of above-mentioned service node.
The adjusting apparatus of the corresponding service node due to the embodiment of the present invention, are applied to business side apparatus, because This, the embodiment of the present invention additionally provides a kind of business side apparatus, wherein, the adjusting apparatus of above-mentioned service node Described realize embodiment all be applied to the embodiment of this business side apparatus, also can reach identical technology effect Really.
It should be noted that:The service node of short message service center is all deployed on virtual machine, opens in business During office, the short message service center according to least model is disposed it is not necessary to be considered the traffic peak of festivals or holidays.
After follow-up business side apparatus are reached the standard grade, business side apparatus timing reports KPI (Key to cloud management platform Performance indicators, Key Performance Indicator) data (current portfolio, CPU and internal memory Occupancy etc.), cloud management platform is according to scheduling strategy, dynamic dilatation or the contracting of KPI data and configuration Hold node, business side apparatus in order to ensure short message special issue characteristic.
Further, specifically in increasing by the first service node flow process, business side apparatus increase dynamic dispatching management newly and set Standby OMM_Agent (Operation and Maintenance Module_Agent, operating maintenance module-generation Reason) module changed number home node of the page etc. configuration after, business side apparatus can receive OMM_Agent The increase service node request that module sends;Finally, after the caching process in all nodes all collects, lead to Know that OMM_Agent increases service node process and completes.
In addition, in reducing by the second service node flow process, OMM_Agent module changed the number of the page After the configuration such as home node, business side apparatus can receive the minimizing service node of OMM_Agent module transmission Request;Finally, after local CDR file is all taken, OMM_Agent is notified to reduce service node Process completes.
22nd embodiment
This agent equipment, including the adjusting apparatus of service node described above.
The adjusting apparatus of the corresponding service node due to the embodiment of the present invention, are applied to agent equipment, therefore, The embodiment of the present invention additionally provides a kind of agent equipment, wherein, the adjusting apparatus of above-mentioned service node described Realize embodiment all be applied to the embodiment of this agent equipment, also can reach identical technique effect.
It should be noted that:The effect of above-mentioned agent equipment can include:Business increases dynamic dispatching management mould newly Block OMM_Agent, (Operation and Maintenance Module_Agent, operating maintenance module- Agency), it is mainly used in KPI data collection, and the interacting message of cloud management platform, business configuration management, Interaction of message etc. between data syn-chronization and business.
Further, the flow process of specific increase service node is as follows:
After meeting the condition increasing service node, cloud management platform notifies OMM_Agent business will increase newly Node, OMM_Agent authenticates first, judges whether to increase service node, if business last time Scheduler task increase or reduce service node be not over, then authentication refusal.If authentication is passed through, The IP that the node number (the ascending increase of service numbers) of supernumerary segment point and business use is judged by OMM_Agent, And it is fed back to cloud management platform.Cloud management platform creates new virtual machine, and the IP that business is used adds It is added on network interface card.
After virtual machine creating completes normally to start, the automatic installation procedure of business is called to install and configure new Node, installs the new node of automatic after the completion of configuration, has then notified the new node of OMM_Agent Through installation, after the relevant configuration such as OMM_Agent modification page node-home strategy, synchronous all industry Business node, after synchronous success, OMM_Agent sends a scheduling increase request to all service nodes and disappears Breath, after business side apparatus receive increase service node request, scans local all buffered messages, and if Existing node configuration strategy is different, then the ownership thread forwarding the message to user attaching node goes.Other After node receives the message of forwarding, entered for key according to the markers (SCTS) that former message reaches sms center Row sequence, message is stored this node.
Etc. notifying after the completion of all nodal cache Message Processing front end network element new node to reach the standard grade, front end network element is allowed to divide To new node, so new node just can carry business to messaging.
The flow process of specific minimizing service node is as follows:
After meeting minimizing service node condition, cloud management platform notifies OMM_Agent to have service node to need Offline, it is similar to and increases service node flow process, OMM_Agent authenticates first, if authentication is passed through, Offline node number (the descending minimizing of service numbers) is determined by OMM_Agent, notifies business side apparatus The network element of front end must not retransmit message to this node.
After the configurations such as OMM_Agent modification page node-home, synchronous all service nodes, synchronous success Afterwards, to treating lower electrical nodes transmission dynamic minimizing service node request, business side apparatus receive OMM_Agent After this request, this node stops all outgoing messages, waits the release of all transmission relief areas, that is, all elder generations After the front response sending request is returned, by all billing cache dump in internal memory to file.Then scan Local all buffered messages, the ownership thread forwarding the message to home node goes.
Service dynamic scheduling when, OMM_Agent after the strategy having changed number home node, to business Node sends out a node scheduling notification request message, and service node is scanned in the buffer queue of oneself, If there is the message not being inconsistent with existing node-home strategy, forward the message to the ownership thread of home node Go, from this knot removal;
After the completion of processing Deng buffered message, business side apparatus start to do CDR file timing scan, if ticket File is all removed, then send No. ID that needs the virtual machine reducing service node to cloud management platform, Cloud management platform stops this service node and discharges virtual machine, Resource recovery.
If in addition, cloud management platform monitors business side apparatus meets the condition increasing service node, basis Predetermined scheduling strategy increases service node;If monitoring business side apparatus to meet the condition reducing service node, Then service node is reduced according to predetermined scheduling strategy.The method of above-mentioned monitoring includes:
1st, after business side apparatus are reached the standard grade, OMM_Agent is timed to the collection of service feature staqtistical data base KPI data (current occupancy of portfolio, CPU and internal memory etc.), and report to cloud management platform.
2nd, cloud platform configuration schedules strategy, including parameters such as service traffics, CPU, internal memories, if arbitrary Parameter exceedes the threshold value of the increase service node of setting, then increase service node;If arbitrary parameter is less than and sets The threshold value of the minimizing service node put, then reduce service node.
3rd, the concussion in order to prevent the factors such as business transient jitter from causing, cloud management platform increases step parameter N (N is more than or equal to 3), scheduling strategy will continuously meet n times and could trigger scheduling;In order to prevent saving Points are reduced to 0, increase the setting of business minimum nodes number, if nodes are already less than equal to this threshold Value, then no longer reduce node.
The above is the preferred embodiment of the present invention it is noted that common skill for the art For art personnel, on the premise of without departing from principle of the present invention, some improvements and modifications can also be made, These improvements and modifications also should be regarded as protection scope of the present invention.

Claims (14)

1. a kind of method of adjustment of service node is it is characterised in that include:
Obtain the change instruction request of change service node, wherein, described change instruction request inclusion carries The configured information of service node buffered message ownership to be changed, described service node to be changed includes increased industry Business node or the service node of minimizing;
According to described change instruction request, parse service node caching to be changed described in described configured information and disappear The ownership of breath;
Obtain the buffered message of described service node to be changed;
According to described ownership, will not belong to the buffered message of described service node to be changed, be sent to ownership section Point, wherein said buffered message is ranked up according to markers, is designated as same called number transmission message when described Reach the time of sms center.
2. the method for adjustment of service node according to claim 1 is it is characterised in that described basis Described change instruction request, parses the ownership of service node buffered message to be changed described in described configured information, Including:
According to described change instruction request, determine that in described change instruction request, service node to be changed is to increase The first service node;
Parse the ownership of the first service node buffered message described in described configured information, wherein, described ownership It is by the buffered message belonging to described first service node being pre-configured with each surplus lines node, point First service node described in dispensing, described surplus lines node is to remove described first industry in all service nodes The node of business node.
3. the method for adjustment of service node according to claim 2 is it is characterised in that described basis Described ownership, will not belong to the buffered message of described service node to be changed, is sent to home node, including:
Judge whether the first buffered message of described first service node belongs to returning of described first service node The described first service node buffered message of instruction in genus;
If the first buffered message of described first service node belongs in the ownership of described first service node The described first service node buffered message indicating, then continued to scan on and removed the surplus of described first buffered message Remaining buffered message;Or
If the first buffered message of described first service node is not belonging to the ownership of described first service node The described first service node buffered message of middle instruction, described first buffered message is transmitted to home node, Continue to scan on the remaining cache message removing described first buffered message.
4. the method for adjustment of service node according to claim 3 is it is characterised in that also include: Until judging to complete all buffered messages of described first service node.
5. the method for adjustment of service node according to claim 1 is it is characterised in that described basis Described change instruction request, parses the ownership of service node buffered message to be changed described in described configured information, Including:
According to described change instruction request, determine that in described change instruction request, service node to be changed is to reduce The second service node;
Parse the ownership of the second service node buffered message described in described configured information, wherein, described ownership It is that the buffered message of described second service node is distributed to currently all residues according to the ownership being pre-configured with Service node, described currently all surplus lines nodes are to remove described second business section in all service nodes The node of point.
6. the method for adjustment of service node according to claim 5 is it is characterised in that described basis Described ownership, will not belong to the buffered message of described service node to be changed, is sent to home node, including:
According to described change instruction request, produce described second service node of stopping and send pending buffered message Instruction, and receive the first response message, wherein said first response message is to obtain described change instruction Whether the buffered message sending before request sends successful response;
After receiving described first response message, by all ticket literary compositions of storage in described second service node Part dump, and determine that in whole response messages of described second service node, all successfully cachings that do not send disappear Breath;
According to the configuration of described change instruction request, described all transmission of second service node is successfully delayed Deposit message and be sent to home node, wherein said whole response messages include described first response message.
7. a kind of method of adjustment of service node is it is characterised in that include:
Obtain the first change request changing service node to be changed, wherein said service node to be changed includes Increased service node or the service node of minimizing;
On described service node execution to be changed terminates during a change instruction request, for described first more Change request, obtain the modification information of all service node ownership, a wherein said upper change instruction request bag Include the configured information carrying described service node buffered message to be changed ownership, described buffered message according to when Mark is ranked up, and is designated as same called number and transmits the time that message reaches sms center when described;
According to the modification information of all service nodes ownership, generate and send a change instruction request, wherein Described change instruction request includes carrying the configured information of described service node buffered message ownership to be changed.
8. the method for adjustment of service node according to claim 7 is it is characterised in that described acquisition After changing the first change request of service node to be changed, also include:
On described service node execution to be changed does not terminate during a change instruction request, generate refusal respond The message of described first change request.
9. the method for adjustment of the service node according to claim 7 or 8 is it is characterised in that in institute When stating service node to be changed execution and terminating a upper change instruction request, for the described first change request, Obtain the modification information of all service node ownership, including:
On described service node execution to be changed terminates during a change instruction request, for described first more Change request service node to be changed be increase the first service node when, generate one execution described first change Request notification message, carry in wherein said notification message increase the node number of the first service node and The IP that the first increased service node uses;
According to described notification message, obtain the ownership of buffered message in all service nodes, and each is remaining The buffered message belonging to described first service node being pre-configured with service node, distributes to described first Service node, wherein said surplus lines node is to remove described first service node in all service nodes Node.
10. the method for adjustment of the service node according to claim 7 or 8 is it is characterised in that described On described service node execution to be changed terminates during a change instruction request, ask for the described first change Ask, obtain the modification information of all service node ownership, including:
On described service node execution to be changed terminates during a change instruction request, for described first more Change request service node to be changed be reduce the second service node when, generate one execution described first change The notification message of request, carries the node number of the second service node being reduced in wherein said notification message;
According to described notification message, obtain the ownership of buffered message in all service nodes, and by described second The buffered message of service node distributes to currently all surplus lines nodes according to the ownership being pre-configured with, wherein Described currently all surplus lines nodes are the node removing described second service node in all service nodes.
A kind of 11. adjusting apparatus of service node are it is characterised in that include:
First acquisition module, for obtaining the change instruction request of change service node, wherein, described change Indicate that request includes carrying the configured information of service node buffered message ownership to be changed, described industry to be changed Business node includes the service node of increased service node or minimizing;
Parsing module, for according to described change instruction request, parsing to be changed described in described configured information The ownership of service node buffered message;
Second acquisition module, for obtaining the buffered message of described service node to be changed;
First processing module, for according to described ownership, will not belong to the caching of described service node to be changed Message, is sent to home node, and wherein said buffered message is ranked up according to markers, is designated as same when described One called number transmits the time that message reaches sms center.
A kind of 12. adjusting apparatus of service node are it is characterised in that include:
3rd acquisition module, for obtaining the first change request changing service node to be changed, wherein said Service node to be changed includes the service node of increased service node or minimizing;
4th acquisition module, for a change instruction request on terminating in described service node execution to be changed When, for the described first change request, obtain the modification information of all service nodes ownership, wherein said on One change instruction request includes carrying the configured information of described service node buffered message ownership to be changed, Described buffered message is ranked up according to markers, is designated as same called number transmission message and reaches note when described The time at center;
Second processing module, for the modification information belonging to according to all service nodes, generates and sends one Change instruction request, wherein said change instruction request inclusion carries described service node caching to be changed and disappears The configured information of breath ownership.
A kind of 13. business side apparatus are it is characterised in that include service node as claimed in claim 11 Adjusting apparatus.
A kind of 14. agent equipments are it is characterised in that include service node as claimed in claim 12 Adjusting apparatus.
CN201510541424.3A 2015-08-28 2015-08-28 A kind of method of adjustment of service node, device and equipment Pending CN106487555A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510541424.3A CN106487555A (en) 2015-08-28 2015-08-28 A kind of method of adjustment of service node, device and equipment
PCT/CN2016/086926 WO2017036238A1 (en) 2015-08-28 2016-06-23 Service node adjusting method, apparatus and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510541424.3A CN106487555A (en) 2015-08-28 2015-08-28 A kind of method of adjustment of service node, device and equipment

Publications (1)

Publication Number Publication Date
CN106487555A true CN106487555A (en) 2017-03-08

Family

ID=58186544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510541424.3A Pending CN106487555A (en) 2015-08-28 2015-08-28 A kind of method of adjustment of service node, device and equipment

Country Status (2)

Country Link
CN (1) CN106487555A (en)
WO (1) WO2017036238A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246051A (en) * 2017-05-22 2019-01-18 中兴通讯股份有限公司 Link management method, device, storage medium and computer equipment after gray scale publication
TWI698103B (en) * 2018-03-23 2020-07-01 瑞典商Lm艾瑞克生(Publ)電話公司 Message cache management in a mesh network
CN112764893A (en) * 2019-11-04 2021-05-07 华为技术有限公司 Data processing method and data processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350960A (en) * 2008-08-12 2009-01-21 华为技术有限公司 Method, system and equipment for migrating load base on MSC pool
CN101605308A (en) * 2009-03-05 2009-12-16 上海闻泰电子科技有限公司 A kind of management method of short message
CN102143563A (en) * 2010-07-30 2011-08-03 华为技术有限公司 Control method, equipment and systems of short message center cluster
US8607014B2 (en) * 2009-12-22 2013-12-10 At&T Intellectual Property I, L.P. Multi-autonomous system anycast content delivery network
CN103561428A (en) * 2013-10-10 2014-02-05 东软集团股份有限公司 Method and system for elastically distributing nodes in short message gateway cluster system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350960A (en) * 2008-08-12 2009-01-21 华为技术有限公司 Method, system and equipment for migrating load base on MSC pool
CN101605308A (en) * 2009-03-05 2009-12-16 上海闻泰电子科技有限公司 A kind of management method of short message
US8607014B2 (en) * 2009-12-22 2013-12-10 At&T Intellectual Property I, L.P. Multi-autonomous system anycast content delivery network
CN102143563A (en) * 2010-07-30 2011-08-03 华为技术有限公司 Control method, equipment and systems of short message center cluster
CN103561428A (en) * 2013-10-10 2014-02-05 东软集团股份有限公司 Method and system for elastically distributing nodes in short message gateway cluster system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246051A (en) * 2017-05-22 2019-01-18 中兴通讯股份有限公司 Link management method, device, storage medium and computer equipment after gray scale publication
TWI698103B (en) * 2018-03-23 2020-07-01 瑞典商Lm艾瑞克生(Publ)電話公司 Message cache management in a mesh network
US10869227B2 (en) 2018-03-23 2020-12-15 Telefonaktiebolaget Lm Ericsson (Publ) Message cache management in a mesh network
US10880778B2 (en) 2018-03-23 2020-12-29 Telefonaktiebolaget Lm Ericsson (Publ) Message cache management in a mesh network
CN112764893A (en) * 2019-11-04 2021-05-07 华为技术有限公司 Data processing method and data processing system
CN112764893B (en) * 2019-11-04 2024-03-26 华为技术有限公司 Data processing method and data processing system

Also Published As

Publication number Publication date
WO2017036238A1 (en) 2017-03-09

Similar Documents

Publication Publication Date Title
EP2911403A1 (en) Fusion device, system and method for implementing internet protocol television service
CN106487555A (en) A kind of method of adjustment of service node, device and equipment
CN109391498A (en) The management method and the network equipment of networking component
EP3076290A1 (en) Method and device for remotely updating application program
CN102968486A (en) High-reliability file synchronization method based on log change
CN105553790A (en) Data processing method and policy server
US20240118935A1 (en) Pod deployment method and apparatus
CN110213359A (en) A kind of car networking networking data delivery system and method based on D2D
CN112887107B (en) Bandwidth allocation method and system and optical line terminal
CN110855424B (en) Method and device for synthesizing asymmetric flow xDR in DPI field
CN111741079A (en) Micro-service architecture based interface processing method and system
CN101826981B (en) Method for processing event message, northbound interface and operation support system
CN106254534B (en) Distributed type assemblies monitoring agent and method based on mixed architecture
CN112887224A (en) Traffic scheduling processing method and device, electronic equipment and storage medium
CN109710693A (en) A kind of Recursive Implementation Method and system that LDAP numeric field data is synchronous
CN109522469A (en) Scheduling management method of distributed crawlers
CN105959137B (en) The synchronous method and device of configuration data is realized in a kind of PON system
CN108337692A (en) Management method, device and the computer readable storage medium of terminal and management base station communication failure
CN105187518B (en) CDN content distribution method and system
CN113691830B (en) Video stream caching method and related device
CN102932236B (en) A kind of method of mirror image synchronization between multiple spot isomery mailing system
CN110278290A (en) A kind of method and device of domain name configuration deployment management
CN109871264A (en) A method of according to priority automatic governing task release plan
CN113051083B (en) High concurrency message system for financial asset transaction
CN108718245A (en) A kind of mobile network issues an order system and application method

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170308