Summary of the invention
It is a primary object of the present invention to propose acceptance method, device and the equipment of a kind of convergence communication business, simplify industryThe complexity for flow processing of being engaged in, improves scalability, flexibility and the versatility of business.
To achieve the above object, the present invention provides a kind of acceptance methods of convergence communication business, which comprises
According to the service request message received, the type of service of the service request message is determined;
Target network element list corresponding with the type of service is obtained, and is the mesh according to the service request messageIt marks each target network element in network element list and corresponding business execution message is set;
According to the sequence in the target network element list, corresponding business successively is sent to each target network element and executes reportText executes business operation so that target network element executes message according to business.
Optionally, before receiving service request message, the method also includes:
Corresponding configuration information is configured for every kind of type of service;Wherein, the configuration information includes: matching keyword, wordThe business of section name transformation rule, target network element list and each target network element in target network element list executes message template.
Optionally, the service request message that the basis receives determines the type of service of the service request message, packetIt includes:
It parses and matches keyword included in the service request message, and according to the matching keyword, determine instituteState the type of service of service request message.
Optionally, before obtaining target network element list corresponding with the type of service, the method also includes:
The field name transformation rule in configuration information corresponding with the type of service is obtained, and according to the field nameField name in the service request message is converted to universal field name by transformation rule.
Optionally, described to obtain target network element list corresponding with the type of service, according to the service request reportText is that corresponding business execution message is arranged in each target network element in the target network element list, comprising:
The business for obtaining each target network element in configuration information corresponding with the type of service executes message template;Wherein, it includes unassignable special field that business, which executes message template,;
The field value in service request message after being converted according to field name executes the spy in message template for the businessDifferent field assignment forms business and executes message.
In addition, to achieve the above object, the present invention also proposes a kind of acceptance apparatus of convergence communication business, described device packetIt includes:
Decoder module, for determining the type of service of the service request message according to the service request message received;
Coding module for obtaining target network element list corresponding with the type of service, and is asked according to the businessSeeking message is that corresponding business execution message is arranged in each target network element in the target network element list;
Control module, for successively sending and corresponding to each target network element according to the sequence in the target network element listBusiness execute message, for target network element according to business execute message execute business operation.
Optionally, described device further include:
Configuration module, for before receiving service request message, being that every kind of type of service configures corresponding configuration information;Wherein, the configuration information includes: matching keyword, field name transformation rule, target network element list and target network element listIn each target network element business execute message template.
Optionally, the decoder module is specifically used for:
It parses and matches keyword included in the service request message, and according to the matching keyword, determine instituteState the type of service of service request message.
Optionally, the decoder module is also used to:
Before obtaining target network element list corresponding with the type of service, obtain corresponding with the type of serviceConfiguration information in field name transformation rule will be in the service request message and according to the field name transformation ruleField name is converted to universal field name.
Optionally, the coding module is specifically used for;
The business for obtaining each target network element in configuration information corresponding with the type of service executes message template;Wherein, it includes unassignable special field that business, which executes message template,;
The field value in service request message after being converted according to field name executes the spy in message template for the businessDifferent field assignment forms business and executes message.
In addition, to achieve the above object, what the present invention also proposed a kind of convergence communication business accepts equipment, the equipment packetIt includes:
Processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is used to execute the receiving procedure of the convergence communication business stored in the memory, above-mentioned to realizeThe step of acceptance method of the convergence communication business of introduction.
Acceptance method, device and the equipment of convergence communication business proposed by the present invention, are indifferent to specific business realizing, lead toIt crosses configuration and can realize and accept the newly-increased of the newly-increased of process, modification and interface packets field, modification, delete etc., it is significantly simpleChanged message decoding, message coding, business flow processing complexity, the scalability and flexibility of business can be significantly improved.It can realize that newly-increased, modification or adjustment operation flow, versatility are preferable under the premise of not needing modification code.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawingAnd preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of acceptance method of convergence communication business, applied to accepting for convergence communication businessIn front end, as shown in Figure 1, the method specifically includes the following steps:
Step S101: according to the service request message received, the type of service of the service request message is determined.
Specifically, before step S101, the method also includes:
Corresponding configuration information is configured for every kind of type of service;Wherein, the configuration information includes: matching keyword, wordThe business of section name transformation rule, target network element list and each target network element in target network element list executes message template.
For matching keyword for identifying configuration information, the matching keyword of the configuration information of different service types is different,Corresponding configuration information can be found by matching keyword included in identification service request message, so that it is determined that going outThe type of service of service request message.
Field name transformation rule includes the field name for needing to convert in service request message, and the universal field after conversionName.The field name for the reference format that the entitled internal system of universal field uses.For example, the field name in service request message are as follows:Msisdn, the universal field name after conversion are as follows: userID.
Template network element list includes all downstream network elements related with the type of service.
It includes unassignable special field that business, which executes message template, when to the special field in business execution message templateAll after assignment, the business execution message for being sent to downstream network element is formed.
Further, step S101, comprising:
It parses and matches keyword included in the service request message, and according to the matching keyword, determine instituteState the type of service of service request message.
Step S102: target network element list corresponding with the type of service is obtained, and according to the service request reportText is that corresponding business execution message is arranged in each target network element in the target network element list.
Specifically, before step S102, the method also includes:
The field name transformation rule in configuration information corresponding with the type of service is obtained, and according to the field nameField name in the service request message is converted to universal field name by transformation rule.
Further, step S102, comprising:
The business for obtaining each target network element in configuration information corresponding with the type of service executes message template;Wherein, it includes unassignable special field that business, which executes message template,;
The field value in service request message after being converted according to field name executes the spy in message template for the businessDifferent field assignment forms business and executes message.
Such as: field name and its field value in service request message are msisdn=1390000000;According to field nameTransformation rule convert after field name and its field value into userID=13900000000;If business executes in message templateSpecial field be username, then 13900000000 assignment of field value in the service request message after converting field nameTo username, forms business and execute message.
Step S103: according to the sequence in the target network element list, corresponding industry successively is sent to each target network elementBusiness executes message, executes business operation so that target network element executes message according to business.
Specifically, corresponding industry can be sent to each target network element according to any one mode in following two modeBusiness executes message:
The first, after sending corresponding business to target network element and executing message, if receiving target network element feedbackResponse message, then continue to send corresponding business to next target network element executing message, if being not received by the target networkThe response message of member feedback then stops sending corresponding business execution message to next target network element.
Second, while all target network elements into target network element list send corresponding business and execute message.
Second embodiment of the invention, a kind of acceptance apparatus of convergence communication business, applied to accepting for convergence communication businessIn front end, as shown in Fig. 2, described device specifically includes consisting of part:
Decoder module 201, for determining the service class of the service request message according to the service request message receivedType.
Specifically, described device further include:
Configuration module, for before receiving service request message, being that every kind of type of service configures corresponding configuration information;Wherein, the configuration information includes: matching keyword, field name transformation rule, target network element list and target network element listIn each target network element business execute message template.
Wherein, for matching keyword for identifying configuration information, the matching keyword of the configuration information of different service types is equalDifference can find corresponding configuration information by matching keyword included in identification service request message, thusDetermine the type of service of service request message.
Field name transformation rule includes the field name for needing to convert in service request message, and the universal field after conversionName.The field name for the reference format that the entitled internal system of universal field uses.For example, the field name in service request message are as follows:Msisdn, the universal field name after conversion are as follows: userID.
Template network element list includes all downstream network elements related with the type of service.
It includes unassignable special field that business, which executes message template, when to the special field in business execution message templateAll after assignment, the business execution message for being sent to downstream network element is formed.
Further, decoder module 201 are specifically used for:
It parses and matches keyword included in the service request message, and according to the matching keyword, determine instituteState the type of service of service request message.
Coding module 202, for obtaining target network element list corresponding with the type of service, and according to the businessRequest message is that corresponding business execution message is arranged in each target network element in the target network element list.
Specifically, decoder module 201, is also used to:
Before obtaining target network element list corresponding with the type of service, obtain corresponding with the type of serviceConfiguration information in field name transformation rule will be in the service request message and according to the field name transformation ruleField name is converted to universal field name.
Further, coding module 202 are specifically used for:
The business for obtaining each target network element in configuration information corresponding with the type of service executes message template;Wherein, it includes unassignable special field that business, which executes message template,;In service request message after being converted according to field nameField value executes the special field assignment in message template for the business, forms business and executes message.
Such as: field name and its field value in service request message are msisdn=1390000000;According to field nameTransformation rule convert after field name and its field value into userID=13900000000;If business executes in message templateSpecial field be username, then 13900000000 assignment of field value in the service request message after converting field nameTo username, forms business and execute message.
Control module 203 is successively sent pair to each target network element for according to the sequence in the target network element listThe business answered executes message, executes business operation so that target network element executes message according to business.
Specifically, control module 203 is sent according to any one mode in following two mode to each target network elementCorresponding business executes message:
The first, after sending corresponding business to target network element and executing message, if receiving target network element feedbackResponse message, then continue to send corresponding business to next target network element executing message, if being not received by the target networkThe response message of member feedback then stops sending corresponding business execution message to next target network element.
Second, while all target network elements into target network element list send corresponding business and execute message.
Third embodiment of the invention, a kind of acceptance apparatus of convergence communication business, applied to accepting for convergence communication businessIn front end, as shown in figure 3, described device specifically includes consisting of part: O&M module 301 and business module 302;
Wherein, O&M module 301 includes: backstage operation management unit 30101;
Business module 302 includes: business configuration unit 30201, interface protocol decoding unit 30202, interface protocol codingUnit 30203 and Business Process Control unit 30204.
Backstage operation management unit 30101, for configuring corresponding configuration information for every kind of type of service, and by every kind of industryThe configuration information of service type is synchronized in business configuration unit 30201;Wherein, the configuration information includes: matching keyword, wordThe business of section name transformation rule, target network element list and each target network element executes message template.
For matching keyword for identifying configuration information, the matching keyword of the configuration information of different service types is different,Corresponding configuration information can be found by matching keyword included in identification service request message, so that it is determined that going outThe type of service of service request message.
Field name transformation rule includes the field name for needing to convert in service request message, and the universal field after conversionName.The field name for the reference format that the entitled internal system of universal field uses.
Template network element list includes all downstream network elements related with the type of service.
It includes: special field and fixed field that business, which executes message template,;Special field is to be identified using additional characterUnassignable field;Fixed field is that directly configuring for assignment has executed the field in message template in business.
Business configuration unit 30201, for storing the configuration information of various businesses type.
Interface protocol decoding unit 30202, for being parsed to service request message, by the word in service request messageSection name is converted to universal field name.
Specifically, interface protocol decoding unit 30202, is used for:
By the matching keyword of the various businesses type in the content of service request message and business configuration unit 30201 intoRow compares, if being matched to matching keyword, it is determined that goes out the type of service of the service request message;
The field name transformation rule in configuration information corresponding with the type of service is obtained, and is turned according to the field nameRule is changed, the field name in the service request message is converted into universal field name.
Interface protocol coding unit 30203 executes message for constructing corresponding business for each target network element.
Specifically, interface protocol coding unit 30203, is used for:
Obtain the target network element list in configuration information corresponding with the type of service and the industry of each target network elementBusiness executes message template;Wherein, it includes unassignable special field that business, which executes message template,;
It is corresponding that the special field executed in message template with business is found in the service request message after field name conversionField name, and the field value of the field name is assigned to the special field, so that forming business executes message.
Business Process Control unit 30204 executes message for successively sending corresponding business to each target network element, withMessage is executed according to business for target network element and executes business operation.
Specifically, Business Process Control unit 30204, is specifically used for:
The target network element list in configuration information corresponding with the type of service is obtained, and it is single to obtain interface protocol codingThe business for each target network element that member 30203 generates executes message;
According to the sequence in the target network element list, each business execution message is successively sent to corresponding target networkMember.
Based on the O&M module 301 and business module 302 in 3rd embodiment, the present invention also provides fourth embodiment,In the present embodiment, due to needing newly-increased network element W3, pc client has initiated business shutdown operation process, has needed to notify downstream netFirst W1, W2 and W3 execute shutdown operation.
Wherein, the service request message that pc client issues is XML format;It include keyword in the service request messageG1;There are field A1 and A2 in the service request message, the value of field A1 is 13900000000, and the value of field A2 is 1.
As shown in figure 4, the backstage O&M based on the business shutdown operation process that the pc client is initiated, in 3rd embodimentAdministrative unit 30101 executes following steps to realize the configuration to the business shutdown operation process:
Step S401: the platform operation management unit 30101 in O&M module 301 is business shutdown operation flow setting configurationInformation, the configuration information include: match keyword, field name transformation rule, target network element list and each target network element industryBusiness executes message template.
Wherein, G1 is set by the matching keyword of the configuration information;
Field name transformation rule include: field name A1 and A2 in service request message be converted to universal field name B1 andB2;
Target network element list includes: W1, W2, W3.
It includes needing the special field of assignment that business, which executes message template, when the business executes all spies in message templateAfter different field is assigned, the business execution message for being sent to target network element is formed, so that target network element is executed according to the businessMessage executes shutdown operation.By taking the business of target network element W3 executes message template as an example, which executes needs in message templateField C1 and C2 assignment is given, since field C1 and C2 correspond to field B1 and B2, so by the field value of service request message A1The field value 1 of 13900000000 and A2 assigns the field C1 and C2 in business execution message template.
Step S402: the configuration information of configured business shutdown operation process is synchronized to the business of business module 302In configuration unit 30201.
When being stored with matching for configured business shutdown operation process in the business configuration unit 30201 of business module 302When confidence ceases, as shown in figure 5, business module 302 executes following steps to realize the business shutdown operation process:
Step S501: the interface protocol decoding unit 30202 in business module 302 is according to the pass in the service request messageKey word G1 searches the configuration information of business shutdown operation process corresponding with keyword G1 from business configuration unit 30201.
Step S502: interface protocol decoding unit 30202 is according to the field name transformation rule in the configuration information, by the industryThe field name A1 and A2 being engaged in request message, are converted to universal field name B1 and B2.
Step S503: the configuration information of service request message and the business shutdown operation process after conversion is sent to and is connectMouth protocol code unit 30203.
Step S504: interface protocol coding unit 30203 is held according to the business of each target network element in the configuration informationService request message after row message template, and conversion, the business for constructing each target network element execute message.
Step S505: the configuration information that the business of each target network element executes message and the business shutdown operation process is sent outIt send to Business Process Control unit 30204.
Step S506: Business Process Control unit 30204 according to the sequence in the target network element list in the configuration information,Corresponding business successively, which is sent, to each target network element executes message.
Fifth embodiment of the invention, a kind of convergence communication business accepts equipment, as shown in fig. 6, the equipment is specifically wrappedInclude consisting of part: processor 601, memory 602 and communication bus;
The communication bus is for realizing the connection communication between processor 604 and memory 602;
Processor 601 is used to execute the receiving procedure of the convergence communication business stored in memory 602, to realize following stepIt is rapid:
According to the service request message received, the type of service of the service request message is determined;
Target network element list corresponding with the type of service is obtained, and is the mesh according to the service request messageIt marks each target network element in network element list and corresponding business execution message is set;
According to the sequence in the target network element list, corresponding business successively is sent to each target network element and executes reportText executes business operation so that target network element executes message according to business.
Specifically, processor 601 is also used to execute the receiving procedure of the convergence communication business, to perform the steps of
Corresponding configuration information is configured for every kind of type of service;Wherein, the configuration information includes: matching keyword, wordThe business of section name transformation rule, target network element list and each target network element executes message template.
Further, processor 601 is being executed according to the service request message received, determines the service request messageType of service step when, specifically include:
It parses and matches keyword included in the service request message, and according to the matching keyword, determine instituteState the type of service of service request message.
Further, processor 601 is executing the step of obtaining target network element list corresponding with the type of serviceBefore, it is also used to execute the receiving procedure of the convergence communication business, to perform the steps of
The field name transformation rule in configuration information corresponding with the type of service is obtained, and according to the field nameField name in the service request message is converted to universal field name by transformation rule.
Further, processor 601 is executing acquisition target network element list corresponding with the type of service, according to instituteStating service request message is that the step of corresponding business executes message is arranged in each target network element in the target network element listWhen, it specifically includes:
The business for obtaining each target network element in configuration information corresponding with the type of service executes message template;Wherein, it includes unassignable special field that business, which executes message template,;
The field value in service request message after being converted according to field name executes the spy in message template for the businessDifferent field assignment forms business and executes message.
In addition, processor 601 may include one or more processing units;Preferably, processor 601 can be integrated using processingDevice and modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulationDemodulation processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processingIn device 602.Memory 602 can be used for storing software program and various data.Preferably, memory 602 may include high speedRandom access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device orOther volatile solid-state parts.
Acceptance method, device and the equipment for the convergence communication business introduced in the embodiment of the present invention, are indifferent to specific industryIt is pragmatic existing, it can realize by configuring and accept the newly-increased of the newly-increased of process, modification and interface packets field, modification, deleteDeng, enormously simplify message decoding, message coding, business flow processing complexity, the scalability of business can be significantly improvedAnd flexibility.Do not need modification code under the premise of can realize it is newly-increased, modification or adjustment operation flow, versatility compared withIt is good.
By the explanation of specific embodiment, the present invention can should be reached technological means that predetermined purpose is taken andEffect is able to more deeply and specifically understand, however appended diagram is only to provide reference and description and is used, and is not used to thisInvention limits.