CN109525539A - A kind of capacity calling method calls receipt method, information processing method and system - Google Patents

A kind of capacity calling method calls receipt method, information processing method and system Download PDF

Info

Publication number
CN109525539A
CN109525539A CN201710854681.1A CN201710854681A CN109525539A CN 109525539 A CN109525539 A CN 109525539A CN 201710854681 A CN201710854681 A CN 201710854681A CN 109525539 A CN109525539 A CN 109525539A
Authority
CN
China
Prior art keywords
ability
information
sent
setting format
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710854681.1A
Other languages
Chinese (zh)
Other versions
CN109525539B (en
Inventor
吴洪林
华茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710854681.1A priority Critical patent/CN109525539B/en
Publication of CN109525539A publication Critical patent/CN109525539A/en
Application granted granted Critical
Publication of CN109525539B publication Critical patent/CN109525539B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 

Abstract

A kind of capacity calling method calls receipt method, information processing method and system, the standard agreement of setting is encapsulated in ability open system, during Info Down, the ability call request for the standard agreement based on the setting that upper layer application system can be issued, be converted to it is based on other agreements, can be by the received ability call request of related capabilities gateway, and be transmitted to related capabilities gateway;During information upstream, the acknowledgement information or information to be sent for any setting format that any ability gateway reports can be converted to the information of the standard agreement based on the setting, and be transmitted to corresponding upper layer application system.That is, the opening of Base communication ability is integrated and simplified, the unified ability open platform for being provided with simple, easy-to-use calling interface is provided, reduces the development difficulty for calling the upper layer application system of communication capacity.

Description

A kind of capacity calling method calls receipt method, information processing method and system
Technical field
The present invention relates to field of communication technology more particularly to a kind of capacity calling method, call receipt method, information processing Method and system.
Background technique
There are many open platforms that Internet enterprises all establish oneself at present, have given use the communication capacity opening of oneself Family, for example, Google App Engine, Facebook F8 platform, the Orange Partner platform of France Telecom, and ASSP platform and TOP platform of Alibaba etc..On the other hand, telecom operators have also built the open net of ability of diversified forms It closes, such as Short Message Service Gateway, MMS gateway, for the communication capacity of the open gateway of application system call capability of enterprise side.
But the present inventor has found during invention, development and internet with mobile communication technology Open platform plays increasingly important role, and the traditional Base communication ability of telecom operators is open by increasing Impact.The reason is that from the point of view of the open practice of ability of current domestic mainstream telecommunications operator, the opening base of each Base communication ability The open gateway of ability independent is depended on this to implement, this cause ability calling interface and the bottom layer realization degree of coupling compared with Height, and then the development difficulty for resulting in the application system of enterprise side is larger, the requirement to developer is also higher.
Summary of the invention
The embodiment of the invention provides a kind of capacity calling method, receipt method, information processing method and system are called, is used To solve, each communication capacity in the prior art is all based on the open caused ability calling interface of gateway independent and bottom is real The existing degree of coupling is higher, and then leads to the problem for calling the development difficulty of the application system of each communication capacity larger.
The embodiment of the invention provides a kind of capacity calling methods, are applied to ability open system, the ability Open System First communication interface of system is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, and upper layer is answered Pass through the communication capacity of the ability open system call ability gateway with system, which comprises
Receive the ability call request for the first setting format that any upper layer application system is sent, the first setting format Ability call request include ability label information to be called and data object;
According to the data object, the identification information of any upper layer application system, the mark of target lower layer terminal are determined Know information and Content of Communication information;
According to the ability label information to be called, ability to be called and the corresponding target of the ability to be called are determined Ability gateway, and generate can by the ability call request of the received second setting format of the target capability gateway, described the Identification information, the target lower layer that any upper layer application system is carried in the ability call request of two setting formats are whole The identification information at end and the Content of Communication information;
The ability call request of the second setting format is sent to the target capability gateway.
Optionally, it after the ability call request for receiving the first setting format, according to the data object, determines Before the identification information of any upper layer application system, the identification information of target lower layer terminal and Content of Communication information, institute State method further include:
The data object is converted into the data object with setting data structure.
Optionally, it after the ability call request for receiving the first setting format, according to the data object, determines Before the identification information of any upper layer application system, the identification information of target lower layer terminal and Content of Communication information, institute State method further include:
According to the ability label information to be called, by the data object be added to the ability to be called it is corresponding to Handle request queue;
According to the data object, the identification information of any upper layer application system, the mark of target lower layer terminal are determined Know information and Content of Communication information, specifically include:
The data object is obtained from the request queue to be processed;
Based on the corresponding setting processing logic of the ability to be called, the data object is parsed, described in acquisition The identification information of any upper layer application system, the identification information of target lower layer terminal and the Content of Communication information.
Optionally, after the ability call request for generating the second setting format, by the second setting format Ability call request is sent to before the target capability gateway, the method also includes:
The ability call request of the second setting format is added to the corresponding request to be sent of the ability to be called Queue;
The ability call request of the second setting format is sent to the target capability gateway, is specifically included:
The ability call request of the second setting format is obtained from the request queue to be sent;
The ability call request of the second setting format is sent to the target capability gateway, by the target energy Power gateway is according to the identification information of any upper layer application system, the identification information of target lower layer terminal and described logical Believe that content information executes communication capacity.
The embodiment of the invention also provides a kind of calling receipt methods, are applied to ability open system, and the ability is open First communication interface of system is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, upper layer The communication capacity that application system passes through the ability open system call ability gateway, which comprises
Receive the acknowledgement information for the second setting format that any ability gateway is sent, the receipt letter of the second setting format Receipt identification information is carried in breath;Wherein, the receipt identification information is to be received by any ability gateway according to preparatory To the second setting format ability call request in the call request identification information that carries, be allocated to and the second setting lattice The acknowledgement information of the corresponding second setting format of the ability call request of formula;
Determine corresponding with the receipt identification information call request identification information and it is pre-stored described in Loopback address information corresponding to call request identification information;
The acknowledgement information of the second setting format is converted to can be sent by first communication interface first to set The acknowledgement information for the formula that fixes, and according to the loopback address information, the acknowledgement information of the first setting format is sent to down Send out described second setting format ability call request upper layer application system.
The embodiment of the invention also provides another kinds to call receipt method, is applied to ability open system, and the ability is opened First communication interface of place system is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, on The communication capacity that layer application system passes through the ability open system call ability gateway, which comprises
Receive the acknowledgement information for the second setting format that any ability gateway is sent, the receipt letter of the second setting format Receipt identification information is carried in breath;Wherein, the receipt identification information is to be received by any ability gateway according to preparatory The call request identification information for the ability call request arrived is allocated to corresponding with the ability call request described second and sets The acknowledgement information for the formula that fixes;
The acknowledgement information of the second setting format is converted to can be by the first of first communications interface transmission Set the acknowledgement information of format, and the acknowledgement information storage corresponding with the receipt identification information for setting format for described first;
The receipt acquisition request for the first setting format that upper layer application system is sent is received, the first setting format returns It holds and carries receipt request identification information in acquisition request, the receipt request identification information is by the upper layer application system root According to the call request identification information for the call request that ability open system returns, it is allocated to returning for the first setting format Hold acquisition request;
The receipt request identification information, the receipt identification information and call request mark letter according to the pre-stored data The corresponding relationship of breath obtains time of the first setting format corresponding with the first setting receipt acquisition request of format Information is held, and the acknowledgement information of the first setting format is back to the upper layer application system.
The embodiment of the invention also provides a kind of information processing methods, are applied to ability open system, and the ability is open First communication interface of system is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, ability Gateway sends information to upper layer application system by the ability open system, which comprises
The information to be sent for the first setting format that any ability gateway is sent is received, described first sets the pending of format It delivers letters and carries the identification information of target upper layer application system in breath;
The information to be sent of the first setting format is converted to can be by the of first communications interface transmission The information to be sent of two setting formats;
According to the identification information of the target upper layer application system, determine for receiving the pending of the first setting format It delivers letters the target upper layer application system of breath, and the information to be sent of the second setting format is sent to the target upper layer and is answered Use system.
Optionally, after the information to be sent for receiving the first setting format that any ability gateway is sent, by described the The information to be sent of one setting format is converted to can be by the pending of the second setting format of first communications interface transmission It delivers letters before breath, the method also includes: the logical process that the information to be sent of the first setting format is set;
Wherein, the logical process information to be sent of the first setting format set, including it is following any one It is a or multiple:
Determine that the identification information of the target upper layer application system belongs to pre-stored legitimate user's set;
Filter out the setting keyword in the information to be sent of the first setting format;
For the first setting format information to be sent distribution can be used for described in unique identification the first setting format to Send the identification information of information;
Store the information to be sent of the first setting format.
Still optionally further, right after the information to be sent for receiving the first setting format that any ability gateway is sent Before the logical process that the information to be sent of the first setting format is set, the method also includes: by described first The information to be sent of setting format is added to the corresponding message queue to be processed of any ability gateway;And/or
After the logical process that the information to be sent to the first setting format is set, described first is set The information to be sent of format is converted to can be by the information to be sent of the second setting format of first communications interface transmission Before, the method also includes: it is corresponding that the information to be sent of the first setting format is added to any ability gateway Message queue to be sent.
Correspondingly, the embodiment of the invention also provides a kind of ability open systems, including first interface unit, processing list Member, converting unit and second interface unit, the first interface unit are connect with upper layer application system communication, and described second connects Mouth unit is connect with ability gateway communication, the communication energy that upper layer application system passes through the ability open system call ability gateway Power, in which:
The first interface unit, the ability for receiving the first setting format that any upper layer application system is sent are called The ability call request of request, the first setting format includes ability label information to be called and data object;
The processing unit, for according to the data object, determine any upper layer application system identification information, The identification information and Content of Communication information of target lower layer terminal;
The converting unit, for according to the ability label information to be called, determine ability to be called and it is described to The corresponding target capability gateway of call capability, and generating can be by the energy of the received second setting format of the target capability gateway Power call request, described second sets the mark letter that any upper layer application system is carried in the ability call request of format Breath, the identification information of target lower layer terminal and the Content of Communication information;
The second interface unit, for the ability call request of the second setting format to be sent to the target energy Power gateway.
Optionally, the first interface unit, be also used to receive it is described first setting format ability call request it Afterwards, identification information, the target lower layer of any upper layer application system are determined according to the data object in the processing unit Before the identification information and Content of Communication information of terminal, the data object is converted into the data with setting data structure Object.
Optionally, the processing unit is also used to determine any upper layer application system according to the data object Identification information, target lower layer terminal identification information and Content of Communication information before, according to the ability label to be called The data object is added to the corresponding request queue to be processed of the ability to be called by information;
The processing unit, specifically for obtaining the data object from the request queue to be processed;And it is based on The corresponding setting processing logic of the ability to be called, parses the data object, obtains any upper layer application The identification information of system, the identification information of target lower layer terminal and the Content of Communication information.
Optionally, the converting unit is also used to after the ability call request for generating the second setting format, institute State second interface unit by it is described second setting format ability call request be sent to the target capability gateway before, by institute The ability call request for stating the second setting format is added to the corresponding request queue to be sent of the ability to be called;
The second interface unit, specifically for obtaining the second setting format from the request queue to be sent Ability call request;And by it is described second setting format ability call request be sent to the target capability gateway, with by The target capability gateway is according to the identification information of any upper layer application system, the identification information of target lower layer terminal And the Content of Communication information executes communication capacity.
The embodiment of the invention also provides another ability open systems, including first interface unit, processing unit, conversion Unit and second interface unit, the first interface unit are connect with upper layer application system communication, the second interface unit Connect with ability gateway communication, upper layer application system by the communication capacity of the ability open system call ability gateway, In:
The second interface unit, for receiving the acknowledgement information for the second setting format that any ability gateway is sent, institute It states in the acknowledgement information of the second setting format and carries receipt identification information;Wherein, the receipt identification information is by described The call request identification information that one ability gateway carries in the ability call request according to the second setting format being previously received, It is allocated to the acknowledgement information of the second setting format corresponding with the second setting ability call request of format;
Processing unit, for the determining call request identification information corresponding with the receipt identification information, and Loopback address information corresponding to the pre-stored call request identification information;
Converting unit, can be by the first interface unit for being converted to the acknowledgement information of the second setting format The acknowledgement information of the first setting format sent;
The first interface unit, for according to the loopback address information, the receipt of the first setting format to be believed Breath is sent to the upper layer application system for issuing the ability call request of the second setting format.
The embodiment of the invention also provides another ability open systems, including first interface unit, processing unit, conversion Unit and second interface unit, the first interface unit are connect with upper layer application system communication, the second interface unit Connect with ability gateway communication, upper layer application system by the communication capacity of the ability open system call ability gateway, In:
The second interface unit, for receiving the acknowledgement information for the second setting format that any ability gateway is sent, institute It states in the acknowledgement information of the second setting format and carries receipt identification information;Wherein, the receipt identification information is by described One ability gateway is allocated to and calls with the ability according to the call request identification information for the ability call request being previously received Request the acknowledgement information of the corresponding second setting format;
Converting unit, can be by the first interface list for being converted to the acknowledgement information of the second setting format The acknowledgement information of first setting format of member transmission, and the acknowledgement information of the first setting format and receipt mark are believed The corresponding storage of breath;
The first interface unit is asked for receiving the receipt acquisition of the first setting format of upper layer application system transmission It asks, receipt request identification information, the receipt request mark letter is carried in the receipt acquisition request of the first setting format Breath is the call request identification information of the call request returned by the upper layer application system according to ability open system, is matched It sets to the receipt acquisition request of the first setting format;
The processing unit requests identification information, the receipt identification information for the receipt according to the pre-stored data And the corresponding relationship of call request identification information, obtain institute corresponding with the first setting receipt acquisition request of format State the acknowledgement information of the first setting format;
The first interface unit is also used to the acknowledgement information of the first setting format being back to the upper layer application System.
The embodiment of the invention also provides another ability open system, including first interface unit, converting unit and Second interface unit, the first interface unit are connect with upper layer application system communication, the second interface unit and ability net Communication connection is closed, ability gateway sends information to upper layer application system by the ability open system, in which:
The second interface unit, for receiving the information to be sent for the first setting format that any ability gateway is sent, The identification information of target upper layer application system is carried in the information to be sent of the first setting format;
The converting unit, can be by described first for being converted to the information to be sent of the first setting format The information to be sent of second setting format of interface unit transmission;
The first interface unit is determined for the identification information according to the target upper layer application system for receiving The target upper layer application system of the information to be sent of the first setting format, and the second setting the pending of format is delivered letters Breath is sent to the target upper layer application system.
Optionally, the ability open system further includes processing unit, any for receiving in the second interface unit Ability gateway send first setting format information to be sent after, the converting unit by it is described first setting format to Before sending the information to be sent that information is converted to the second setting format that can be transmitted by the first interface unit, to institute State the logical process that the information to be sent of the first setting format is set;
The processing unit, for setting the to be sent of format to described first by any one or more following mode The logical process that information is set:
Determine that the identification information of the target upper layer application system belongs to pre-stored legitimate user's set;
Filter out the setting keyword in the information to be sent of the first setting format;
For the first setting format information to be sent distribution can be used for described in unique identification the first setting format to Send the identification information of information;
Store the information to be sent of the first setting format.
Still optionally further, the processing unit is also used to carry out in the information to be sent to the first setting format Before the logical process of setting, it is corresponding that the information to be sent of the first setting format is added to any ability gateway Message queue to be processed;And/or after the logical process that the information to be sent to the first setting format is set, The information to be sent of the first setting format is converted to and can be transmitted by the first interface unit by the converting unit Second setting format information to be sent before, by it is described first setting format information to be sent be added to any energy The corresponding message queue to be sent of power gateway.
The present invention has the beneficial effect that:
The embodiment of the invention provides a kind of capacity calling method, receipt method, information processing method and system are called, The standard agreement of setting is encapsulated in ability open system, therefore, during Info Down, upper layer application system can be issued The standard agreement based on the setting ability call request, be converted to it is based on other agreements, can be connect by related capabilities gateway The ability call request of receipts, and it is transmitted to related capabilities gateway;During information upstream, any ability gateway can be reported The acknowledgement information or other information to be sent of any setting format, are converted to the information of the standard agreement based on the setting, and turn Issue corresponding upper layer application system.That is, the opening of traditional Base communication ability is integrated and is simplified, Xiang Yong Family provides the unified ability open platform for being provided with simple, easy-to-use calling interface, solves each communication in the prior art The development difficulty that ability is all based on the open caused upper layer application system for calling communication capacity of gateway independent is biggish Problem reduces the difficulty of system development.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 show capacity calling method in the embodiment of the present invention, calls receipt method and information processing method A kind of schematic diagram of applicable scene;
Fig. 2 show the step flow chart of the capacity calling method in the embodiment of the present invention one;
Fig. 3 show the step flow chart of the calling receipt method in the embodiment of the present invention two;
Fig. 4 show the step flow chart of the calling receipt method in the embodiment of the present invention three;
Fig. 5 show the step flow chart of the information processing method in the embodiment of the present invention four;
Fig. 6 show a kind of achievable system architecture diagram of the ability open system in present example;
Fig. 7 show the structural schematic diagram of the ability open system in the embodiment of the present invention five;
Fig. 8 show the structural schematic diagram of the ability open system in the embodiment of the present invention six;
Fig. 9 show the structural schematic diagram of the ability open system in the embodiment of the present invention seven;
Figure 10 show the structural schematic diagram of the ability open system in the embodiment of the present invention eight.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Embodiment one:
The embodiment of the present invention one provides a kind of capacity calling method, as shown in Figure 1, it is applicable in for one kind of the method The schematic diagram of scene, the method can be applied to ability open system 101, and the first communication interface of ability open system 101 can Pass through ESB (Enterprise Service Bus, Enterprise Service Bus) and one or more 102 communication links of upper layer application system It connects, the second communication interface of ability open system can be communicated to connect with ability gateway 103.
Wherein, in upper layer application system 102 can integration capability open system 101 developer provide setting SDK (Software Development Kit, software development kit), the SDK based on the setting, upper layer application system 102 can pass through energy The communication capacity of 101 call capability gateway 103 of power open system.
Ability gateway 103 may include but be not limited to Short Message Service Gateway, MMS gateway, WapPush (WAP-PUSH, information on services Or push-in information) any one or more in gateway and CTD (Click To Dial, click to dial) gateway.Each ability net 103 receivable ability call requests are closed, and corresponding communication capacity is executed according to the ability call request received;For example, CTD Gateway can receive the ability tune for carrying CTD promoter's identification information, CTD caller identification information and CTD called identification information With request, and it can initiate and establish the calling connection between CTD calling and called.
Specifically, as shown in Fig. 2, it is the step flow chart of method described in the embodiment of the present invention one, the method can The following steps are included:
Step 201: the ability that ability open system receives the first setting format that any upper layer application system is sent is called The ability call request of request, the first setting format includes ability label information to be called and data object.
Preferably, the first setting format may be based on the setting format of HTTP REST agreement, in a kind of implementable side In formula, the first communication interface of ability open system can be specially to connect to simple, the easy-to-use north orientation that upper layer application system provides Mouthful, and the interface can provide the REST WebService agreement for following EMA standard;Therefore, no matter which kind of ability gateway be directed to Communication capacity calling is carried out, upper layer application system can be based only on HTTP REST agreement to ability open system transmitting capacity tune With request;It avoids in the prior art, since the communication protocol that different ability gateways uses is different, caused interface and bottom Realize that the degree of coupling is higher, and then the larger problem of development difficulty of caused upper layer application system, that is, upper layer application system can be reduced The development difficulty of system.
Preferably, the ability label information to be called can be URL (Uniform Resource Locator, unified money Source finger URL), that is to say, that communication capacity to be called can be uniquely characterized with URL.In addition, it is necessary to explanation, energy to be called Power identification information is carried in a message head part of the ability call request of the first setting format, to receive the first setting The ability call request of format can determine the requested ability to be called of ability call request of the first setting format at once.Separately Outside, data object is carried in the message body portion of the ability call request of the first setting format, may include in data object but It is not limited to the identification information of any upper layer application system, the identification information and Content of Communication information of target lower layer terminal.
Optionally, step 201 receive it is described first setting format ability call request after, execute step 202 it Before, the method, which may also include that, is converted to the data object with setting data structure for the data object.
Due to the Content of Communication information in the ability call request for calling the first setting format of different communication ability May be different, for example, for calling the first of SMS capability to set included by the data object in the ability call request of format Content of Communication information be text information, and be used to call multimedia message ability first setting format ability call request in number It may include text information and pictorial information according to Content of Communication information included by object;Therefore, for any received The ability call request of one setting format, can be first by the data object in the ability call request of any first setting format Be converted to the data object with setting data structure, it is preferable that it can be the data object of NodeMsg format, it is subsequent to facilitate Data object is handled and is parsed.
Optionally as well, after the ability call request that step 201 receives the first setting format, further preferably Ground, specifically can the data object is converted to setting data structure data object after, execute step 202 it Before, the method may also include that
According to the ability label information to be called, ability to be called is determined, and the data object is added to described The corresponding request queue to be processed of ability to be called.
Since the processing capacity of ability open system is there are upper limit value, in order to avoid a large amount of first setting Being issued to ability open system in the ability call request short time of format leads to mistake, can be by the receive first setting The ability call request of format is added to request queue to be processed, and can be sequentially obtained from request queue to be processed so as to subsequent The ability call request of one setting format simultaneously carries out sequential processes, reduces the error rate of processing as far as possible.
In addition, due to being directed to the ability call request for requesting SMS capability, the ability tune for requesting multimedia message ability With request, the ability call request for requesting WapPush ability and the place for requesting the ability call request of CTD ability Manage logic can not be identical, therefore, can for SMS capability, multimedia message ability, WapPush ability and CTD ability be respectively set to Handle request queue;And then for receive it is any first setting format ability call request, can according to this any first The ability label information to be called for setting the ability call request of format, by the ability call request of any first setting format In, the corresponding ability call request for being added to any first setting format of data object being converted into setting data structure The request queue to be processed of requested communication capacity.
Step 202: ability open system determines the mark letter of any upper layer application system according to the data object Breath, the identification information of target lower layer terminal and Content of Communication information.
The identification information of any upper layer application system can be described by ability open system according to actual use demand Any upper layer application system flexible configuration;Preferably, the identification information of any upper layer application system concretely SAN (SMS Access number, short message Number for access), an ability open system may be provided with multiple SAN, and can assign them to Layer application system is as the identification information for being used for each upper layer application system of unique identification.
Preferably, the MSISDN (Mobile of the identification information of target lower layer terminal concretely target lower layer terminal Station International ISDN Number, Mobile Subscriber International ISDN number);The identification information of target lower layer terminal It may also comprise other marks in addition to MSISDN, the present embodiment is not limited in any way herein.
Optionally as well, for for requesting the ability call request of SMS capability, Content of Communication information includes but unlimited In text information;For for requesting the ability call request of multimedia message ability, Content of Communication information includes but is not limited to text envelope Breath and pictorial information;For for requesting the ability call request of WapPush ability, Content of Communication information includes but is not limited to Text information, pictorial information and URL information;In addition, for for requesting the ability call request of CTD ability, due to basis The identification information of any upper layer application system and the identification information of target lower layer terminal, that is, can determine CTD caller and CTD Called, therefore, Content of Communication information can be sky, or including other information, not be limited in any way herein.
Optionally, if being added to the data object the method includes according to the ability label information to be called The corresponding request queue to be processed of the ability to be called, then step 202 may particularly include:
The data object is obtained from the request queue to be processed;
Based on the corresponding setting processing logic of the ability to be called, the data object is parsed, described in acquisition The identification information of any upper layer application system, the identification information of target lower layer terminal and the Content of Communication information.
Setting processing logic corresponding to any ability to be called can be according to actual use demand flexible setting.For example, short Processing logic corresponding to letter ability can include: according to the setting data structure, upper layer application is parsed from data object The identification information of system, the identification information and Content of Communication information of target lower layer terminal;It may also include but be not limited to: in determination Whether the identification information of layer application system is located in pre-stored legitimate user's list, to carry out school to the legitimacy of request It tests;Keyword filtering is carried out to Content of Communication information, to filter out the junk information in Content of Communication information;For this logical process Distribution can be used for the identification information of unique identification;By the result of this logical process (including but not limited to upper layer application system Identification information, the identification information of target lower layer terminal, Content of Communication information, legitimacy verifies result etc.), ability label to be called The corresponding storage of the identification information of information and logical process.Processing logic corresponding to other communication capacities is no longer excessive superfluous herein It states.
Step 203: ability open system determines ability to be called and described according to the ability label information to be called The corresponding target capability gateway of ability to be called, and generating can be by the received second setting format of the target capability gateway Ability call request, described second sets the mark that any upper layer application system is carried in the ability call request of format Information, the identification information of target lower layer terminal and the Content of Communication information.
It should be noted that in the prior art, different ability gateways is communicated based on different communication protocol , for example, Short Message Service Gateway can receive based on CMPP agreement (China Mobile Peer to Peer, China Mobile's interconnection Net message gateway interface agreement) ability call request, MMS gateway then can receive the ability call request based on MM7 agreement; Therefore, in step 203, need to determine ability to be called and corresponding target capability net according to ability label information to be called It closes, and generates the ability call request of corresponding agreement.It can be seen that the method provided in this embodiment, may make ability to open Place system provides unified communication interface to upper layer application system, receives based on HTTP REST agreement, calls various communication capacities Call request, and conversion of the achievable HTTP REST agreement to communication capacities specialized protocols such as CMPP agreement, MM7 agreements.
Optionally, step 203 generate it is described second setting format ability call request after, execute step 204 it Before, the method may also include that
The ability call request of the second setting format is added to the corresponding request to be sent of the ability to be called Queue.That is, since the processing capacity of ability gateway is there are upper limit value, in the second setting lattice that will be generated The ability call request of formula is sent to before target capability gateway, can by second setting format ability call request be added to Request queue is sent, the ability of the second setting format can be called according to the flow control situation of target capability gateway so as to subsequent Request sequence is sent.
Step 204: the ability call request of the second setting format is sent to the target energy by ability open system Power gateway.
Optionally, in a kind of embodiment, the second communication interface of ability open system can be specially to mechanical floor The southbound interface of service is provided, the interface protocol docked with each ability gateway can be encapsulated in the interface.
Optionally, if the method is also wrapped after the ability call request that step 203 generates the second setting format It includes and the ability call request of the second setting format is added to the corresponding request queue to be sent of the ability to be called, then Step 204 may particularly include:
The ability call request of the second setting format is obtained from the request queue to be sent;
The ability call request of the second setting format is sent to the target capability gateway, by the target energy Power gateway is according to the identification information of any upper layer application system, the identification information of target lower layer terminal and described logical Believe that content information executes communication capacity.
It is further preferred that can be according to the flow control parameter of the target capability gateway, from the request team to be sent The ability call request no more than setting quantity the second setting format is obtained in column, and by this no more than the second of setting quantity The ability call request of setting format is sent to the target capability gateway, wherein the setting quantity is not more than the target The upper limit value of the flow control of ability gateway;For example, being needed really if the upper limit value of the flow control of target capability gateway is 100 The quantity for protecting the ability call request of the second setting format sent every time to the target capability gateway is not more than 100.
It should be noted that the method that each ability gateway executes respective communication ability according to the ability call request received Similarly to the prior art, details are not described herein for the present embodiment.
In conclusion can be applied to ability open system the embodiment of the invention provides a kind of capacity calling method, it is described First communication interface of ability open system is connect with upper layer application system communication, and the second communication interface and ability gateway communication connect It connects, communication capacity of the upper layer application system by the ability open system call ability gateway, the method can include: receive The ability call request for the first setting format that any upper layer application system is sent, the ability calling of the first setting format are asked It asks including ability label information to be called and data object;And according to the data object, any upper layer application is determined The identification information and Content of Communication information of the identification information of system, target lower layer terminal;And according to the ability to be called Identification information determines ability to be called and the corresponding target capability gateway of the ability to be called, and generating can be described The ability call request of the received second setting format of target capability gateway, described second sets in the ability call request of format It carries in the identification information of any upper layer application system, the identification information of target lower layer terminal and the communication Hold information;Finally, the ability call request of the second setting format is sent to the target capability gateway.That is, During Info Down, the ability call request for the standard agreement based on setting that upper layer application system can be issued, conversion For it is based on other agreements, can be by the received ability call request of related capabilities gateway, and be transmitted to related capabilities gateway.Due to The opening of traditional Base communication ability is integrated and is simplified, provided a user be provided with it is simple, it is easy-to-use calling connect Mouthful unified ability open platform, accordingly, it is possible to resolve each communication capacity is all based on gateway independent and opens in the prior art The problem for calling the development difficulty of the upper layer application system of communication capacity larger caused by putting, reduces the difficulty of system development.
Embodiment two:
Based on same inventive concept, second embodiment of the present invention provides a kind of calling receipt methods.As shown in Figure 1, its For a kind of schematic diagram for being applicable in scene of the method, the method can be applied to ability open system 101, ability open system 101 the first communication interface can be communicated to connect by ESB and one or more upper layer application systems 102, ability open system Second communication interface can be communicated to connect with ability gateway 103.
Wherein, in upper layer application system 102 can integration capability open system 101 developer provide setting SDK, base In the SDK of the setting, upper layer application system 102 can 101 call capability gateway 103 of handling capacity open system communication capacity.
Ability gateway 103 may include but be not limited in Short Message Service Gateway, MMS gateway, WapPush gateway and CTD gateway It is any one or more.Each ability gateway 103 can receive ability call request, and be executed according to the ability call request received Corresponding communication capacity, and can handling capacity open system 101 by the call result of communication capacity, i.e. acknowledgement information, return to Upper layer application system 102.
Specifically, as shown in figure 3, its step flow chart for calling receipt method described in the embodiment of the present invention two, institute The method of stating can comprise the following steps that
Step 301: ability open system receives the acknowledgement information for the second setting format that any ability gateway is sent, described Receipt identification information is carried in the acknowledgement information of second setting format;Wherein, the receipt identification information is by described any The call request identification information that ability gateway carries in the ability call request according to the second setting format being previously received, matches Set the acknowledgement information for giving the corresponding second setting format of ability call request of the second setting format.
It should be noted that in the step process of the capacity calling method of embodiment one, step 204 ability open system It can carry that this second sets for unique identification into the ability call request for the second setting format that target capability gateway is sent The call request identification information ID2 of the ability call request for the formula that fixes;Therefore, when the target capability gateway (institute in the present embodiment State any ability gateway) it is generated and the second setting ability call request of format corresponding second according to ability call result After the acknowledgement information for setting format, it can be asked based on setting rule according to the calling of the ability call request of the second setting format Identification information is sought, can be used for unique identification the second setting format for the acknowledgement information distribution one of the second setting format of generation Acknowledgement information receipt identification information ID3.
Optionally, the setting rule can be according to actual use demand flexible setting;For example, settable receipt identification information ID3 is identical with corresponding call request identification information ID2 or part is identical, and the present embodiment does not make any limit herein It is fixed.
It should be noted that in the prior art, different ability gateways is communicated based on different communication protocol , therefore, for different ability gateways, it is sent to the format of the acknowledgement information of the second setting format of ability open system It is different.For example, Short Message Service Gateway can be communicated based on CMPP agreement, and therefore, the short message net that ability open system receives The acknowledgement information for closing the second setting format sent is actually the acknowledgement information based on CMPP agreement;And MMS gateway can be based on MM7 agreement is communicated, therefore, the acknowledgement information for the second setting format that the MMS gateway that ability open system receives is sent It is actually the acknowledgement information based on MM7 agreement.In turn, in a kind of embodiment, the second communication of ability open system Interface can be specially to provide the southbound interface of service to mechanical floor, and the interface docked with each ability gateway can be encapsulated in the interface Agreement.
In addition, can also carry call result information, call result information in the acknowledgement information of the second setting format It may include for characterizing any ability gateway according to the acknowledgement information phase with the second setting format being previously received It is corresponding second setting format ability call request execute communication capacity implementing result various information, herein with existing skill Art is similar, and details are not described herein again.
Step 302: ability open system determines the call request mark corresponding with receipt identification information (ID3) Know loopback address information corresponding to information (ID2) and the pre-stored call request identification information (ID2).
In one possible implementation, in the step process of the capacity calling method of embodiment one, in step 201 After ability open system receives the ability call request for the first setting format that any upper layer application system is sent, ability is open System can be that the ability call request distribution one of the first setting format received can be used for unique identification first setting The mark ID1 of the ability call request of format, and ID1 is returned into any upper layer application system.Also, ability Open System The loopback address information carried in the ability call request of system acquisition the first setting format, loopback address information can be used for characterizing The ability for receiving the first setting format calls the address information for the acknowledgement information asked.Ability open system is by ID1 and readjustment The corresponding storage of location information.
In the step process of the capacity calling method of embodiment one, step 203 ability open system generate with this After the ability call request of the corresponding second setting format of the ability call request of one setting format, for the second setting lattice The ability call request of formula be assigned with can unique identification this second setting format ability call request ID2 (the i.e. described calling Request identification information), and ID1, ID2 and loopback address information are corresponded into storage.
Therefore, ability open system the acknowledgement information for receiving the second setting format that any ability gateway is sent it Afterwards, the receipt identification information ID3 and setting rule carried in the acknowledgement information that format can be set according to described second, really Fixed ID2 corresponding with the receipt identification information ID3;And according to the corresponding pass between ID1, ID2 and loopback address information System determines loopback address information corresponding to the acknowledgement information of the second setting format.
In alternatively possible implementation, in the step process of the capacity calling method of embodiment one, step 201 The loopback address information that can also do not carried in the ability call request for the first setting format that ability open system receives, can be pre- Loopback address information corresponding to each upper layer application system is first stored, therefore, ability open system is receiving any ability After the acknowledgement information for the second setting format that gateway is sent, returned according to what is carried in the acknowledgement information of the second setting format Identification information ID3 and setting rule are held, determines ID2 corresponding with the receipt identification information;And according to ID1, ID2 And the corresponding relationship between the identification information of upper layer application system, it can determine that the acknowledgement information institute of the second setting format is right The loopback address information answered, details are not described herein again.
Optionally, loopback address information can be specially SAN, can also be IP address (Internet Protocol Address, Internet protocol address) information, the present embodiment is not limited in any way herein.
Step 303: ability open system is converted to the acknowledgement information of the second setting format can be by described first The acknowledgement information for the first setting format that communication interface is sent, and according to the loopback address information, by the first setting lattice The acknowledgement information of formula is sent to the upper layer application system for issuing the ability call request of the second setting format.
In a kind of embodiment, the first communication interface of ability open system can be specially to mention to upper layer application system Simple, the easy-to-use northbound interface supplied, and the interface can provide the REST WebService agreement for following EMA standard;Cause This, it is preferable that setting format of the first setting format concretely based on HTTP REST agreement.
In conclusion can be applied to ability open system the embodiment of the invention provides a kind of calling receipt method, it is described First communication interface of ability open system is connect with upper layer application system communication, and the second communication interface and ability gateway communication connect It connects, communication capacity of the upper layer application system by the ability open system call ability gateway, the method can include: receive The second of any ability gateway transmission sets the acknowledgement information of format, carries back in the acknowledgement information of the second setting format Hold identification information;Wherein, the receipt identification information is by any ability gateway according to the second setting being previously received The call request identification information carried in the ability call request of format is allocated to and calls with the ability of the second setting format Request the acknowledgement information of the corresponding second setting format;And it determines corresponding with the receipt identification information described Loopback address information corresponding to call request identification information and the pre-stored call request identification information;And The acknowledgement information of the second setting format is converted to the first setting format that can be sent by first communication interface The acknowledgement information of the first setting format is sent to and issues described the by acknowledgement information, and according to the loopback address information The upper layer application system of the ability call request of two setting formats.That is, during information upstream, it can be by any ability The acknowledgement information for any setting format that gateway reports, is converted to the information of the standard agreement based on setting, and is transmitted to corresponding Upper layer application system.Since the opening to traditional Base communication ability is integrated and is simplified, setting has been provided a user There is the unified ability open platform of simple, easy-to-use calling interface, accordingly, it is possible to resolve each communication capacity all bases in the prior art The problem for calling the development difficulty of the upper layer application system of communication capacity larger caused by gateway independent is open, reduces The difficulty of system development.
Embodiment three:
Based on same inventive concept, the embodiment of the present invention three provides another calling receipt method.As shown in Figure 1, It is a kind of schematic diagram for being applicable in scene of the method, and the method can be applied to ability open system 101, ability Open System First communication interface of system 101 can be communicated to connect by ESB and one or more upper layer application systems 102, ability open system The second communication interface can be communicated to connect with ability gateway 103.
Wherein, in upper layer application system 102 can integration capability open system 101 developer provide setting SDK, base In the SDK of the setting, upper layer application system 102 can 101 call capability gateway 103 of handling capacity open system communication capacity.
Ability gateway 103 may include but be not limited in Short Message Service Gateway, MMS gateway, WapPush gateway and CTD gateway It is any one or more.Each ability gateway 103 can receive ability call request, and be executed according to the ability call request received Corresponding communication capacity, and can handling capacity open system 101 by the call result of communication capacity, i.e. acknowledgement information, return to Upper layer application system 102.
Specifically, as shown in figure 4, its step flow chart for calling receipt method described in the embodiment of the present invention three, institute The method of stating can comprise the following steps that
Step 401: ability open system receives the acknowledgement information for the second setting format that any ability gateway is sent, described Receipt identification information is carried in the acknowledgement information of second setting format;Wherein, the receipt identification information is by described any Ability gateway is allocated to and asks with ability calling according to the call request identification information for the ability call request being previously received Seek the acknowledgement information of the corresponding second setting format.
In one possible implementation, in the step process of the capacity calling method of embodiment one, in step 201 After ability open system receives the ability call request for the first setting format that any upper layer application system is sent, ability is open System can be that the ability call request distribution one of the first setting format received can be used for unique identification first setting The mark ID1 of the ability call request of format, and ID1 is returned into any upper layer application system.
The ability call request of the first setting format is converted into the second setting format in step 203 ability open system Later, can for this second setting format ability call request distribute one can unique identification this second setting format ability tune With the ID2 of request, and by the corresponding storage of ID1 and ID2.
Due to the ability call request for the second setting format that step 204 ability open system is sent to target capability gateway In carry for unique identification this second setting format ability call request call request identification information ID2;Therefore, when Target capability gateway (any ability gateway in the present embodiment) generates and the second setting lattice according to ability call result After the acknowledgement information of the corresponding second setting format of the ability call request of formula, can based on the first setting rule, according to this The call request identification information of the ability call request of two setting formats, for the acknowledgement information distribution of the second setting format of generation One can be used for unique identification this second setting format acknowledgement information receipt identification information ID3, it can be seen that, ID1, ID2 There are corresponding relationships between ID3.
Optionally, the first setting rule can be according to actual use demand flexible setting;For example, settable receipt mark Information ID 3 is identical with corresponding call request identification information ID2 or part is identical, and the present embodiment is not appointed herein What is limited.
It should be noted that in the prior art, different ability gateways is communicated based on different communication protocol , therefore, for different ability gateways, it is sent to the format of the acknowledgement information of the second setting format of ability open system It is different.For example, Short Message Service Gateway can be communicated based on CMPP agreement, and therefore, the short message net that ability open system receives The acknowledgement information for closing the second setting format sent is actually the acknowledgement information based on CMPP agreement;And MMS gateway can be based on MM7 agreement is communicated, therefore, the acknowledgement information for the second setting format that the MMS gateway that ability open system receives is sent It is actually the acknowledgement information based on MM7 agreement.In turn, in a kind of embodiment, the second communication of ability open system Interface can be specially to provide the southbound interface of service to mechanical floor, and the interface docked with each ability gateway can be encapsulated in the interface Agreement.
In addition, can also carry call result information, call result information in the acknowledgement information of the second setting format It may include for characterizing any ability gateway according to the acknowledgement information phase with the second setting format being previously received It is corresponding second setting format ability call request execute communication capacity implementing result various information, herein with existing skill Art is similar, and details are not described herein again.
Step 402: ability open system is converted to the acknowledgement information of the second setting format can be by described the The acknowledgement information of first setting format of one communications interface transmission, and the acknowledgement information for setting format for described first and described time Hold the corresponding storage of identification information.
In a kind of embodiment, the first communication interface of ability open system can be specially to mention to upper layer application system Simple, the easy-to-use northbound interface supplied, and the interface can provide the REST WebService agreement for following EMA standard;Cause This, it is preferable that setting format of the first setting format concretely based on HTTP REST agreement.
It still optionally further, can be by the acknowledgement information of any first setting format and corresponding receipt identification information ID3 is corresponding to be stored in the database, to set returning for format according to first that upper layer application system is sent in follow-up process Acquisition request is held, the first setting lattice corresponding with the first setting receipt acquisition request of format can be found from database The acknowledgement information of formula.
Step 403: ability open system receives the receipt acquisition request for the first setting format that upper layer application system is sent, Receipt request identification information is carried in the receipt acquisition request of the first setting format, the receipt request identification information is By the call request identification information for the call request that the upper layer application system is returned according to ability open system, it is allocated to The receipt acquisition request of the first setting format.
Optionally, upper layer application system is sent in the ability call request for the first setting format to ability open system When the receipt acquisition request of the first setting format, it can be asked based on the second setting rule according to the ability calling of the first setting format The mark ID1 asked configures one for unique identification the first setting format for the receipt acquisition request of the first setting format Receipt acquisition request receipt request identification information ID4, there are corresponding relationships between ID1 and ID4 as a result,.
Optionally, the second setting rule can be according to actual use demand flexible setting;For example, settable receipt request The mark ID1 of ability call request of format is identical or part phase with corresponding first setting by identification information ID4 Together, the present embodiment is not limited in any way herein.
Step 404: the ability open system receipt according to the pre-stored data requests identification information (ID4), the receipt The corresponding relationship of identification information (ID3) and call request identification information (ID1 and/or ID2) obtains and the first setting lattice The acknowledgement information of the corresponding first setting format of the receipt acquisition request of formula, and the receipt for setting format for described first Information is back to the upper layer application system.
That is, due to receipt request identification information ID4, the receipt identification information ID3 and call request mark Information (the mark of the ability call request of the setting format of mark ID1 and second of the ability call request of the first setting format ID2 there are corresponding relationships between), therefore, can find the first setting format sent with upper layer application system in the database The corresponding first setting format of receipt acquisition request acknowledgement information, and in ability open system and the upper layer application system Between establish channel, using synchronous transfer module will with upper layer application system send first setting format receipt acquisition request The acknowledgement information of corresponding first setting format returns to the upper layer application system.
In conclusion can be applied to ability open system the embodiment of the invention provides a kind of calling receipt method, it is described First communication interface of ability open system is connect with upper layer application system communication, and the second communication interface and ability gateway communication connect It connects, communication capacity of the upper layer application system by the ability open system call ability gateway, the method can include: receive The second of any ability gateway transmission sets the acknowledgement information of format, carries back in the acknowledgement information of the second setting format Hold identification information;Wherein, the receipt identification information is to be called by any ability gateway according to the ability being previously received The call request identification information of request is allocated to the receipt of the second setting format corresponding with the ability call request Information;And be converted to can be by the first of first communications interface transmission by the acknowledgement information of the second setting format Set the acknowledgement information of format, and the acknowledgement information storage corresponding with the receipt identification information for setting format for described first; And receive the receipt acquisition request for the first setting format that upper layer application system is sent, the receipt of the first setting format Carry receipt request identification information in acquisition request, receipt request identification information be by the upper layer application system according to The call request identification information for the call request that ability open system returns is allocated to the receipt of the first setting format Acquisition request;Finally, the receipt request identification information, the receipt identification information and calling according to the pre-stored data are asked The corresponding relationship of identification information is sought, first setting corresponding with the first setting receipt acquisition request of format is obtained The acknowledgement information of format, and the acknowledgement information of the first setting format is back to the upper layer application system.That is, During information upstream, the acknowledgement information for any setting format that any ability gateway reports can be converted to based on setting Standard agreement information, and be transmitted to corresponding upper layer application system.Due to the opening to traditional Base communication ability into Row is integrated and is simplified, and the unified ability open platform for being provided with simple, easy-to-use calling interface has been provided a user, therefore, Can solve each communication capacity in the prior art be all based on gateway independent it is open caused by call the upper layer of communication capacity to answer With the problem that the development difficulty of system is larger, the difficulty of system development is reduced.
Example IV:
Based on same inventive concept, the embodiment of the present invention four provides a kind of information processing method.As shown in Figure 1, its For a kind of schematic diagram for being applicable in scene of the method, the method can be applied to ability open system 101, ability open system 101 the first communication interface can be communicated to connect by ESB and one or more upper layer application systems 102, ability open system Second communication interface can be communicated to connect with ability gateway 103.
Wherein, ability gateway 103 may include but be not limited to Short Message Service Gateway, any one or more in MMS gateway.On Layer application system 102 in can integration capability open system 101 developer provide setting SDK, the SDK based on the setting, Upper layer application system 102 can receive the uplink information of 103 handling capacity open system 101 of ability gateway transmission.
Specifically, as shown in figure 5, its step flow chart for information processing method described in the embodiment of the present invention four, institute The method of stating can comprise the following steps that
Step 501: ability open system receives the information to be sent for the first setting format that any ability gateway is sent, institute State the identification information that target upper layer application system is carried in the information to be sent of the first setting format.
It should be noted that in the prior art, different ability gateways is communicated based on different communication protocol , therefore, for different ability gateways, it is sent to the lattice of the information to be sent of the first setting format of ability open system Formula is different.For example, Short Message Service Gateway can be communicated based on CMPP agreement, and therefore, the short message that ability open system receives The information to be sent for the first setting format that gateway is sent is actually the information based on CMPP agreement;And MMS gateway can be based on MM7 agreement is communicated, and therefore, the first setting the pending of format that the MMS gateway that ability open system receives is sent is delivered letters Breath is actually the information based on MM7 agreement.In turn, in a kind of embodiment, the second communication of ability open system is connect Mouth can be specially to provide the southbound interface of service to mechanical floor, and the interface association docked with each ability gateway can be encapsulated in the interface View.
It should also be noted that, being directed to any upper layer application system, the identification information of any upper layer application system can According to actual use demand by ability open system be any upper layer application system flexible configuration;Preferably, described any Concretely SAN, an ability open system may be provided with multiple SAN to the identification information of upper layer application system, and can be by it Upper layer application system is distributed to as the identification information for being used for each upper layer application system of unique identification;Therefore, the target upper layer The identification information of application system is the mark letter for the target upper layer application system that unique identification is used to receive the information to be sent Breath.
Optionally, it can also be carried in the information to be sent of the first setting format and send the pending of the first setting format Deliver letters breath lower layer's terminal identification information, the MSISDN of the identification information of lower layer's terminal concretely target lower layer terminal;Under The identification information of layer terminal may also comprise other identification informations in addition to MSISDN, and the present embodiment is not limited in any way herein.
Optionally, execute step 501 receive the first setting format that any ability gateway is sent information to be sent it Afterwards, before executing step 502, the method may also include that the information to be sent to the first setting format is set Logical process;
Wherein, the logical process information to be sent of the first setting format set, it may include following any It is one or more:
Determine that the identification information of the target upper layer application system belongs to pre-stored legitimate user's set;
Filter out the setting keyword in the information to be sent of the first setting format;
For the first setting format information to be sent setting can be used for described in unique identification the first setting format to Send the identification information of information;
Store the information to be sent of the first setting format.
That is, ability open system can also be managed each uplink information received.Ability open system can By determining whether the identification information of target upper layer application system is located in pre-stored legitimate user's list, to letter to be sent The legitimacy of breath is verified;Can also keyword filtering be carried out to the content information of information to be sent, to filter out information to be sent In junk information;It can be used for the identification information that unique identification is this time handled for the setting of this logical process (to set for described first Identification information is arranged in the information to be sent for the formula that fixes);By result (the including but not limited to target upper layer application of this logical process Identification information, legitimacy verifies result of system etc.), the identification information (information to be sent of information to be sent and logical process Identification information) corresponding storage.It should be noted that the logic set to the information to be sent of the first setting format Processing may include but be not limited to above content, and details are not described herein for the present embodiment.
Optionally, execute step 501 receive the first setting format that any ability gateway is sent information to be sent it Afterwards, before the logical process set to the information to be sent of the first setting format, the method may also include that institute The information to be sent for stating the first setting format is added to the corresponding message queue to be processed of any ability gateway.
Since the processing capacity of ability open system is there are upper limit value, in order to avoid a large amount of uplink information Ability open system is reported in short time leads to mistake, can add the information to be sent of the receive first setting format Message queue to be processed is added to, the first the pending of setting format can be sequentially obtained from message queue to be processed so as to subsequent and delivers letters Sequential processes are ceased and carry out, to reduce the error rate of processing as far as possible.
In addition, due to for short message, multimedia message carry out logical process processing logic may be it is different, can needle Message queue to be processed is respectively set to Short Message Service Gateway and MMS gateway;And then for any first setting format received Information to be sent any first can set this according to the ability gateway for the information to be sent for sending any first setting format The information to be sent correspondence for the formula that fixes is added to the corresponding message queue to be processed of the ability gateway.For example, will receive The short message to be sent of one setting format is added to short message queue to be processed, by the multimedia message to be sent of the receive first setting format It is added to multimedia message queue to be processed.
Step 502: ability open system is converted to the information to be sent of the first setting format can be by described The information to be sent of second setting format of the first communications interface transmission.
Preferably, the second setting format may be based on the setting format of HTTP REST agreement, in a kind of implementable side In formula, the first communication interface of ability open system can be specially to connect to simple, the easy-to-use north orientation that upper layer application system provides Mouthful, and the interface can provide the REST WebService agreement for following EMA standard;Therefore, no matter short message or coloured silk are directed to Letter, ability open system can be based only on HTTP REST agreement sent to upper layer application system transfer capability gateway it is to be sent Information;It avoids in the prior art, since the communication protocol that different ability gateways uses is different, caused interface and bottom are real The existing degree of coupling is higher, and then the larger problem of development difficulty of caused upper layer application system, that is, can reduce upper layer application system Development difficulty.
Optionally, after the logical process that the information to be sent to the first setting format is set, step is executed The information to be sent of the first setting format is converted to and can be set by the second of first communications interface transmission by rapid 502 Before the information to be sent for the formula that fixes, the method may also include that the information to be sent by the first setting format is added to The corresponding message queue to be sent of any ability gateway.
Due to the first communication interface, that is, the processing capacity of the northbound interface to the offer of upper layer application system is that there are energy The power upper limit, therefore, before the information to be sent of the first setting format is converted to the information to be sent of the second setting format, The information to be sent of first setting format can be added to corresponding message queue to be sent, for example, by the first setting format Short message to be sent is added to short message queue to be sent, and the multimedia message to be sent of the first setting format is added to multimedia message team to be sent Column can carry out the information to be sent sequence of the first setting format according to the flow control situation of the first communication interface so as to subsequent Format conversion and transmission.
Step 503: ability open system is determined according to the identification information of the target upper layer application system for receiving State the target upper layer application system of the information to be sent of the first setting format, and the information to be sent for setting format for described second It is sent to the target upper layer application system.
In conclusion can be applied to ability open system the embodiment of the invention provides a kind of information processing method, it is described First communication interface of ability open system is connect with upper layer application system communication, and the second communication interface and ability gateway communication connect It connects, ability gateway sends information, the method to upper layer application system by the ability open system can include: receives any The first of ability gateway transmission sets the information to be sent of format, carries mesh in the information to be sent of the first setting format Put on the identification information of layer application system;And be converted to the information to be sent of the first setting format can be by described the The information to be sent of second setting format of one communications interface transmission;And the mark according to the target upper layer application system Information determines the target upper layer application system of the information to be sent for receiving the first setting format, and by described second The information to be sent of setting format is sent to the target upper layer application system.That is, can be incited somebody to action during information upstream The information to be sent for any setting format that any ability gateway reports, is converted to the information of the standard agreement based on the setting, And it is transmitted to corresponding upper layer application system.Since the opening to traditional Base communication ability is integrated and is simplified, Xiang Yong Family provides the unified ability open platform for being provided with simple, easy-to-use calling interface, accordingly, it is possible to resolve each in the prior art Communication capacity be all based on gateway independent it is open caused by call communication capacity upper layer application system development difficulty compared with Big problem reduces the difficulty of system development.
The ability will be executed to the ability open system provided in an embodiment of the present invention by taking specific example as an example below Call method calls the specific steps process of receipt method to be described in detail.
As shown in fig. 6, it is a kind of achievable system architecture diagram of the ability open system, including northbound interface Machine, business logic processing module and southbound interface machine;Wherein, northbound interface machine includes protocol converter and data converter, The REST WebService agreement for following EMA standard is encapsulated in protocol converter, data converter is used for the number that will be received The data object of NodeMsg format is converted to according to object;Business logic processing module includes SMS capability processing submodule, multimedia message Ability handles submodule, WapPush ability processing submodule and CTD ability and handles submodule, is respectively used to short message, coloured silk Letter, the call request of WapPush and CTD or acknowledgement information or information to be sent are handled;It is encapsulated in southbound interface machine The interface protocol that is docked with each ability gateway.
Example one:
For any communication capacity, such as short message communication ability, it may include as follows that the process of receipt is called and called to ability Step:
Step 1: northbound interface machine receives the ability calling based on HTTP REST agreement that upper layer application system A is sent and asks It asks, ability label information URL1, data object data1 and loopback address information to be called is carried in the ability call request IP1;Data1 includes the identification information SAN1 of upper layer application system A, the identification information MSISDN1 of target lower layer terminal and logical Believe content information;
Step 2: northbound interface machine is that the ability call request distributes an identification information ID1, and ID1 is returned to upper layer Application system A;
Step 3: the data converter in northbound interface machine is determined according to the URL1 carried in the ability call request wait adjust Communication capacity is SMS capability, and the data1 carried in the ability call request is converted to the data of NodeMsg format Object data2;
Step 4: the corresponding SMS capability that is added to of data2 is handled into the corresponding request queue to be processed of submodule;
Step 5: SMS capability processing submodule obtains data2 from request queue to be processed, parses to data2, Determine the identification information SAN1 of upper layer application system A, identification information MSISDN1 and the Content of Communication letter of target lower layer terminal Breath;
Step 6: SMS capability handles submodule according to the identification information SAN1 of determining upper layer application system A, under target The identification information MSISDN1 and Content of Communication information of layer terminal generate the ability call request based on CMPP agreement, and to be somebody's turn to do Ability call request based on CMPP agreement distributes an identification information ID2;And ID1, IP1 and ID2 are corresponded to and stored;
Step 7: by the ability call request based on CMPP agreement be added to SMS capability processing submodule it is corresponding to Send request queue;
Step 8: southbound interface machine by obtaining the ability call request based on CMPP agreement in request queue to be sent, and The ability call request based on CMPP agreement is sent to corresponding Short Message Service Gateway, should be asked based on the ability calling of CMPP agreement ID2 is carried in asking;
Step 9: Short Message Service Gateway generates opposite with the ability call request based on CMPP agreement is somebody's turn to do according to ability call result The acknowledgement information based on CMPP agreement answered, and ID2 is carried and returns to south orientation in the acknowledgement information based on CMPP agreement Interface message processor (IMP);
Step 10: SMS capability handles the corresponding relationship of submodule ID1, IP1 and ID2 according to the pre-stored data, determines The loopback address information of the acknowledgement information based on CMPP agreement is IP1;
Step 11: the protocol converter of northbound interface machine is converted to the acknowledgement information based on CMPP agreement based on HTTP The acknowledgement information of REST agreement, and according to IP1, which is returned into upper layer application system Unite A.
Example two:
In example one, ability open system is actively pushed to upper layer application system with Push mode and calls acknowledgement information, In the achievable mode of another kind, Pull mode also can be used in ability open system, and by upper layer application system, actively acquisition is called back Information is held, steps are as follows:
Step 1: northbound interface machine receives the ability calling based on HTTP REST agreement that upper layer application system A is sent and asks It asks, ability label information URL1 and data object data1 to be called is carried in the ability call request;Data1 includes upper The identification information SAN1, the identification information MSISDN1 and Content of Communication information of target lower layer terminal of layer application system A;
Step 2: northbound interface machine is that the ability call request distributes an identification information ID1, and ID1 is returned to upper layer Application system A;
Step 3: the data converter in northbound interface machine is determined according to the URL1 carried in the ability call request wait adjust Communication capacity is SMS capability, and the data1 carried in the ability call request is converted to the data of NodeMsg format Object data2;
Step 4: the corresponding SMS capability that is added to of data2 is handled into the corresponding request queue to be processed of submodule;
Step 5: SMS capability processing submodule obtains data2 from request queue to be processed, parses to data2, Determine the identification information SAN1 of upper layer application system A, identification information MSISDN1 and the Content of Communication letter of target lower layer terminal Breath;
Step 6: SMS capability handles submodule according to the identification information SAN1 of determining upper layer application system A, under target The identification information MSISDN1 and Content of Communication information of layer terminal generate the ability call request based on CMPP agreement, and to be somebody's turn to do Ability call request based on CMPP agreement distributes an identification information ID2;And ID1 and ID2 is corresponded into storage;
Step 7: by the ability call request based on CMPP agreement be added to SMS capability processing submodule it is corresponding to Send request queue;
Step 8: southbound interface machine by obtaining the ability call request based on CMPP agreement in request queue to be sent, and The ability call request based on CMPP agreement is sent to corresponding Short Message Service Gateway, should be asked based on the ability calling of CMPP agreement ID2 is carried in asking;
Step 9: Short Message Service Gateway generates opposite with the ability call request based on CMPP agreement is somebody's turn to do according to ability call result The acknowledgement information based on CMPP agreement answered, and ID2 is carried and returns to south orientation in the acknowledgement information based on CMPP agreement Interface message processor (IMP);
Step 10: the protocol converter of northbound interface machine is converted to the acknowledgement information based on CMPP agreement based on HTTP The acknowledgement information of REST agreement, and in the database by the acknowledgement information based on HTTP REST agreement storage corresponding with ID2;
Step 11: northbound interface machine receives the receipt acquisition based on HTTP REST agreement that upper layer application system A is sent and asks It asks, carries ID1 in the receipt acquisition request;
Step 12: the corresponding relationship of northbound interface machine ID1 according to the pre-stored data and ID2 finds mark in the database Know the acknowledgement information based on HTTP REST agreement for being ID2, and establish communication channel with upper layer application system A, is passed using synchronous The acknowledgement information based on HTTP REST agreement found is returned to upper layer application system A by defeated mode.
Embodiment five:
Based on same inventive concept, the embodiment of the present invention five provides a kind of ability open system, specifically, such as Fig. 7 It is shown, it is the structural schematic diagram of ability open system described in the embodiment of the present invention five, the ability open system can include: First interface unit 701, processing unit 702, converting unit 703 and second interface unit 704, the first interface unit 701 connect with upper layer application system communication, and the second interface unit 704 is connect with ability gateway communication, upper layer application system Pass through the communication capacity of the ability open system call ability gateway, in which:
The first interface unit 701, for receiving the ability for the first setting format that any upper layer application system is sent The ability call request of call request, the first setting format includes ability label information to be called and data object;
The processing unit 702, for determining the mark letter of any upper layer application system according to the data object Breath, the identification information of target lower layer terminal and Content of Communication information;
The converting unit 703, for according to the ability label information to be called, determining ability to be called and described The corresponding target capability gateway of ability to be called, and generating can be by the received second setting format of the target capability gateway Ability call request, described second sets the mark that any upper layer application system is carried in the ability call request of format Information, the identification information of target lower layer terminal and the Content of Communication information;
The second interface unit 704, for the ability call request of the second setting format to be sent to the mesh Mark ability gateway.
Optionally, the first interface unit 701, it may also be used for asked in the ability calling for receiving the first setting format After asking, identification information, the mesh of any upper layer application system are determined according to the data object in the processing unit 702 Before identification information and the Content of Communication information of marking lower layer's terminal, the data object, which is converted to, has setting data structure Data object.
Optionally, the processing unit 702, it may also be used for according to the data object, determine that any upper layer is answered Before the identification information of system, the identification information of target lower layer terminal and Content of Communication information, according to the energy to be called The data object is added to the corresponding request queue to be processed of the ability to be called by power identification information;
The processing unit 702 can be specifically used for obtaining the data object from the request queue to be processed;With And based on the corresponding setting processing logic of the ability to be called, the data object is parsed, obtain it is described it is any on The identification information of layer application system, the identification information of target lower layer terminal and the Content of Communication information.
Optionally, the converting unit 703, it may also be used for generate it is described second setting format ability call request it Afterwards, the ability call request of the second setting format is sent to the target capability gateway by the second interface unit 704 Before, the ability call request of the second setting format is added to the corresponding request team to be sent of the ability to be called Column;
The second interface unit 704 can be specifically used for obtaining second setting from the request queue to be sent The ability call request of format;And the ability call request of the second setting format is sent to the target capability net Close, with by the target capability gateway according to the identification information of any upper layer application system, target lower layer terminal Identification information and the Content of Communication information execute communication capacity.
In conclusion the standard agreement of setting is encapsulated in the ability open system provided in this embodiment, therefore, During Info Down, the ability call request for the standard agreement based on the setting that upper layer application system can be issued, conversion For it is based on other agreements, can be by the received ability call request of related capabilities gateway, and be transmitted to related capabilities gateway.Also It is to say, the opening of traditional Base communication ability is integrated and simplified, has provided a user and has been provided with simple, easy-to-use tune With the unified ability open platform of interface, solves each communication capacity in the prior art and be all based on gateway opening independent The larger problem of the development difficulty of the caused upper layer application system for calling communication capacity, reduces the difficulty of system development.
Embodiment six:
Based on same inventive concept, the embodiment of the present invention six additionally provides another ability open system, specifically, such as It is the structural schematic diagram of ability open system described in the embodiment of the present invention six shown in Fig. 8, the ability open system can wrap It includes: first interface unit 801, processing unit 802, converting unit 803 and second interface unit 804, the first interface list Member 801 is connect with upper layer application system communication, and the second interface unit 804 is connect with ability gateway communication, upper layer application system The communication capacity that system passes through the ability open system call ability gateway, in which:
The second interface unit 804, for receiving the acknowledgement information for the second setting format that any ability gateway is sent, Receipt identification information is carried in the acknowledgement information of the second setting format;Wherein, the receipt identification information, is by described The call request mark letter that any ability gateway carries in the ability call request according to the second setting format being previously received Breath is allocated to the acknowledgement information of the second setting format corresponding with the second setting ability call request of format 's;
Processing unit 802, for determining the call request identification information corresponding with the receipt identification information, with And loopback address information corresponding to the pre-stored call request identification information;
Converting unit 803, can be by the first interface for being converted to the acknowledgement information of the second setting format The acknowledgement information for the first setting format that unit 801 is sent;
The first interface unit 801 is used for according to the loopback address information, by the receipt of the first setting format Information is sent to the upper layer application system for issuing the ability call request of the second setting format.
In conclusion the standard agreement of setting is encapsulated in the ability open system provided in this embodiment, in information During uplink, the acknowledgement information for any setting format that any ability gateway reports can be converted to the mark based on the setting The information of quasi- agreement, and it is transmitted to corresponding upper layer application system.That is, to the opening of traditional Base communication ability into Row is integrated and is simplified, and has provided a user the unified ability open platform for being provided with simple, easy-to-use calling interface, has solved Each communication capacity is all based on the open caused upper layer application system for calling communication capacity of gateway independent in the prior art The larger problem of development difficulty, reduce the difficulty of system development.
Embodiment seven:
Based on same inventive concept, the embodiment of the present invention seven additionally provides a kind of ability open system, specifically, such as schemes It is the structural schematic diagram of ability open system described in the embodiment of the present invention seven shown in 9, the ability open system can wrap It includes: first interface unit 901, processing unit 902, converting unit 903 and second interface unit 904, the first interface list Member 901 is connect with upper layer application system communication, and the second interface unit 904 is connect with ability gateway communication, upper layer application system The communication capacity that system passes through the ability open system call ability gateway, in which:
The second interface unit 904, for receiving the acknowledgement information for the second setting format that any ability gateway is sent, Receipt identification information is carried in the acknowledgement information of the second setting format;Wherein, the receipt identification information, is by described Any ability gateway is allocated to and the ability tune according to the call request identification information for the ability call request being previously received With the acknowledgement information for requesting the corresponding second setting format;
Converting unit 903, for being converted to and can connect by described first acknowledgement information of the second setting format The acknowledgement information for the first setting format that mouth unit 901 transmits, and the acknowledgement information for setting format for described first and described time Hold the corresponding storage of identification information;
The first interface unit 901 is obtained for receiving the receipt of the first setting format of upper layer application system transmission It requests, receipt request identification information, the receipt request mark is carried in the receipt acquisition request of the first setting format Information is the call request identification information of the call request returned by the upper layer application system according to ability open system, It is allocated to the receipt acquisition request of the first setting format;
The processing unit 902, for the receipt request identification information according to the pre-stored data, receipt mark letter The corresponding relationship of breath and call request identification information obtains corresponding with the first setting receipt acquisition request of format The acknowledgement information of the first setting format;
The first interface unit 901 is also used to the acknowledgement information of the first setting format being back to the upper layer Application system.
In conclusion the standard agreement of setting is encapsulated in the ability open system provided in this embodiment, in information During uplink, the acknowledgement information for any setting format that any ability gateway reports can be converted to the mark based on the setting The information of quasi- agreement, and it is transmitted to corresponding upper layer application system.That is, to the opening of traditional Base communication ability into Row is integrated and is simplified, and has provided a user the unified ability open platform for being provided with simple, easy-to-use calling interface, has solved Each communication capacity is all based on the open caused upper layer application system for calling communication capacity of gateway independent in the prior art The larger problem of development difficulty, reduce the difficulty of system development.
Embodiment eight:
Based on same inventive concept, the embodiment of the present invention eight additionally provides another ability open system, specifically, such as It is the structural schematic diagram of ability open system described in the embodiment of the present invention eight, the ability open system can shown in Figure 10 Include: first interface unit 1001, converting unit 1002 and second interface unit 1003, the first interface unit 1001 with The connection of upper layer application system communication, the second interface unit 1003 are connect with ability gateway communication, and ability gateway passes through described Ability open system sends information to upper layer application system, in which:
The second interface unit 1003 is delivered letters for receiving the first setting the pending of format that any ability gateway is sent Breath, described first sets the identification information that target upper layer application system is carried in the information to be sent of format;
The converting unit 1002, can be by described for being converted to the information to be sent of the first setting format The information to be sent for the second setting format that first interface unit 1001 transmits;
The first interface unit 1001, for the identification information according to the target upper layer application system, determination is used for The target upper layer application system of the information to be sent of the first setting format is received, and sets the pending of format for described second Breath of delivering letters is sent to the target upper layer application system.
Optionally, the ability open system may also include processing unit (being not shown in Figure 10), for described second After interface unit 1003 receives the information to be sent for the first setting format that any ability gateway is sent, the converting unit The information to be sent of the first setting format is converted to can transmit by the first interface unit 1001 the by 1002 Before the information to be sent of two setting formats, to the logical process that is set of information to be sent of the first setting format;
The processing unit can be used for through any one or more following mode to the pending of the first setting format The logical process that breath of delivering letters is set:
Determine that the identification information of the target upper layer application system belongs to pre-stored legitimate user's set;
Filter out the setting keyword in the information to be sent of the first setting format;
For the first setting format information to be sent distribution can be used for described in unique identification the first setting format to Send the identification information of information;
Store the information to be sent of the first setting format.
Still optionally further, the processing unit, it may also be used for it is described first setting format information to be sent into Before the logical process of row setting, it is corresponding that the information to be sent of the first setting format is added to any ability gateway Message queue to be processed;And/or the logical process that is set of information to be sent to the first setting format it Afterwards, be converted to can be by the first interface list by the information to be sent of the first setting format for the converting unit 1002 Before the information to be sent of second setting format of 1001 transmission of member, the information to be sent of the first setting format is added to The corresponding message queue to be sent of any ability gateway.
In conclusion the standard agreement of setting is encapsulated in the ability open system provided in this embodiment, in information During uplink, the information to be sent for any setting format that any ability gateway reports can be converted to based on the setting The information of standard agreement, and it is transmitted to corresponding upper layer application system.That is, the opening to traditional Base communication ability It is integrated and is simplified, provided a user the unified ability open platform for being provided with simple, easy-to-use calling interface, solved In the prior art each communication capacity be all based on gateway independent it is open caused by call the upper layer application system of communication capacity The larger problem of the development difficulty of system, reduces the difficulty of system development.
In addition, it should be noted that, any number of elements in drawing and description is used to example rather than limits, and Any name is only used for distinguishing, without any restrictions meaning.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, apparatus (equipment) or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the present invention The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of device (equipment) and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (18)

1. a kind of capacity calling method, which is characterized in that be applied to ability open system, the first of the ability open system is logical Letter interface is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, and upper layer application system passes through The communication capacity of the ability open system call ability gateway, which comprises
Receive the ability call request for the first setting format that any upper layer application system is sent, the energy of the first setting format Power call request includes ability label information to be called and data object;
According to the data object, the identification information of any upper layer application system, the mark letter of target lower layer terminal are determined Breath and Content of Communication information;
According to the ability label information to be called, ability to be called and the corresponding target capability of the ability to be called are determined Gateway, and generating can be by the ability call request of the received second setting format of the target capability gateway, described second sets The identification information of any upper layer application system, target lower layer terminal are carried in the ability call request for the formula that fixes Identification information and the Content of Communication information;
The ability call request of the second setting format is sent to the target capability gateway.
2. capacity calling method as described in claim 1, which is characterized in that in the ability tune for receiving the first setting format After request, according to the data object, the identification information of any upper layer application system, target lower layer terminal are determined Before identification information and Content of Communication information, the method also includes:
The data object is converted into the data object with setting data structure.
3. capacity calling method as described in claim 1, which is characterized in that
After the ability call request for receiving the first setting format, according to the data object, determine it is described it is any on Before the identification information of layer application system, the identification information of target lower layer terminal and Content of Communication information, the method is also wrapped It includes:
According to the ability label information to be called, it is corresponding to be processed that the data object is added to the ability to be called Request queue;
According to the data object, the identification information of any upper layer application system, the mark letter of target lower layer terminal are determined Breath and Content of Communication information, specifically include:
The data object is obtained from the request queue to be processed;
Based on the corresponding setting processing logic of the ability to be called, the data object is parsed, is obtained described any The identification information of upper layer application system, the identification information of target lower layer terminal and the Content of Communication information.
4. capacity calling method as described in claim 1, which is characterized in that
After the ability call request for generating the second setting format, by the ability call request of the second setting format It is sent to before the target capability gateway, the method also includes:
The ability call request of the second setting format is added to the corresponding request queue to be sent of the ability to be called;
The ability call request of the second setting format is sent to the target capability gateway, is specifically included:
The ability call request of the second setting format is obtained from the request queue to be sent;
The ability call request of the second setting format is sent to the target capability gateway, by the target capability net It closes according in the identification information of any upper layer application system, the identification information of target lower layer terminal and the communication Hold information and executes communication capacity.
5. a kind of calling receipt method, which is characterized in that be applied to ability open system, the first of the ability open system is logical Letter interface is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, and upper layer application system passes through The communication capacity of the ability open system call ability gateway, which comprises
The acknowledgement information for the second setting format that any ability gateway is sent is received, described second sets in the acknowledgement information of format Carry receipt identification information;Wherein, the receipt identification information is by any ability gateway according to being previously received The call request identification information carried in the ability call request of second setting format is allocated to and the second setting format The acknowledgement information of the corresponding second setting format of ability call request;
Determine the call request identification information corresponding with the receipt identification information and the pre-stored calling Request loopback address information corresponding to identification information;
The acknowledgement information of the second setting format is converted to the first setting lattice that can be sent by first communication interface The acknowledgement information of formula, and according to the loopback address information, the acknowledgement information of the first setting format is sent to and issues institute State the upper layer application system of the ability call request of the second setting format.
6. a kind of calling receipt method, which is characterized in that be applied to ability open system, the first of the ability open system is logical Letter interface is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, and upper layer application system passes through The communication capacity of the ability open system call ability gateway, which comprises
The acknowledgement information for the second setting format that any ability gateway is sent is received, described second sets in the acknowledgement information of format Carry receipt identification information;Wherein, the receipt identification information is by any ability gateway according to being previously received The call request identification information of ability call request is allocated to the second setting lattice corresponding with the ability call request The acknowledgement information of formula;
The acknowledgement information of the second setting format is converted to can be by the first setting of first communications interface transmission The acknowledgement information of format, and the acknowledgement information storage corresponding with the receipt identification information for setting format for described first;
The receipt acquisition request for the first setting format that upper layer application system is sent is received, the receipt of the first setting format obtains It takes and carries receipt request identification information in request, the receipt request identification information is by the upper layer application system according to energy The call request identification information for the call request that power open system returns, the receipt for being allocated to the first setting format obtain Take request;
The receipt according to the pre-stored data requests identification information, the receipt identification information and call request identification information Corresponding relationship, the receipt for obtaining the first setting format corresponding with the first setting receipt acquisition request of format are believed Breath, and the acknowledgement information of the first setting format is back to the upper layer application system.
7. a kind of information processing method, which is characterized in that be applied to ability open system, the first of the ability open system is logical Letter interface is connect with upper layer application system communication, and the second communication interface is connect with ability gateway communication, and ability gateway passes through described Ability open system sends information to upper layer application system, which comprises
The information to be sent for the first setting format that any ability gateway is sent is received, the first setting the pending of format is delivered letters The identification information of target upper layer application system is carried in breath;
The information to be sent of the first setting format is converted to and can be set by the second of first communications interface transmission The information to be sent for the formula that fixes;
According to the identification information of the target upper layer application system, determines and deliver letters for receiving the first setting the pending of format The target upper layer application system of breath, and the information to be sent of the second setting format is sent to target upper layer application system System.
8. information processing method as claimed in claim 7, which is characterized in that set in receive any ability gateway transmission first After the information to be sent for the formula that fixes, the information to be sent of the first setting format is converted to and can be led to by described first Before the information to be sent of the second setting format for believing interface transmission, the method also includes: to the first setting format The logical process that information to be sent is set;
Wherein, to the logical process that is set of information to be sent of the first setting format, including it is following any one or It is multiple:
Determine that the identification information of the target upper layer application system belongs to pre-stored legitimate user's set;
Filter out the setting keyword in the information to be sent of the first setting format;
It can be used for the to be sent of the first setting format described in unique identification for the information to be sent distribution of the first setting format The identification information of information;
Store the information to be sent of the first setting format.
9. information processing method as claimed in claim 8, which is characterized in that
After the information to be sent for receiving the first setting format that any ability gateway is sent, to the first setting format Before the logical process that information to be sent is set, the method also includes: the first setting the pending of format is delivered letters Breath is added to the corresponding message queue to be processed of any ability gateway;And/or
After the logical process that the information to be sent to the first setting format is set, by the first setting format Information to be sent be converted to can by first communications interface transmission second setting format information to be sent before, The method also includes: it is corresponding pending that the information to be sent of the first setting format is added to any ability gateway Send message queue.
10. a kind of ability open system, which is characterized in that including first interface unit, processing unit, converting unit and second Interface unit, the first interface unit are connect with upper layer application system communication, and the second interface unit and ability gateway are logical Letter connection, the communication capacity that upper layer application system passes through the ability open system call ability gateway, in which:
The first interface unit, the ability calling for receiving the first setting format that any upper layer application system is sent are asked It asks, the ability call request of the first setting format includes ability label information to be called and data object;
The processing unit, for determining identification information, the target of any upper layer application system according to the data object The identification information and Content of Communication information of lower layer's terminal;
The converting unit, for according to the ability label information to be called, determining ability to be called and described to be called The corresponding target capability gateway of ability, and generating can be by the ability tune of the received second setting format of the target capability gateway With request, carried in the ability call request of the second setting format any upper layer application system identification information, The identification information of target lower layer terminal and the Content of Communication information;
The second interface unit, for the ability call request of the second setting format to be sent to the target capability net It closes.
11. ability open system as claimed in claim 10, which is characterized in that
The first interface unit is also used to after the ability call request for receiving the first setting format, at the place Reason unit determines the identification information of any upper layer application system according to the data object, the mark of target lower layer terminal is believed Before breath and Content of Communication information, the data object is converted into the data object with setting data structure.
12. ability open system as claimed in claim 10, which is characterized in that
The processing unit, be also used to the identification information for according to the data object, determining any upper layer application system, It, will be described according to the ability label information to be called before the identification information and Content of Communication information of target lower layer terminal Data object is added to the corresponding request queue to be processed of the ability to be called;
The processing unit, specifically for obtaining the data object from the request queue to be processed;And based on described The corresponding setting processing logic of ability to be called, parses the data object, obtains any upper layer application system Identification information, target lower layer terminal identification information and the Content of Communication information.
13. ability open system as claimed in claim 10, which is characterized in that
The converting unit is also used to after the ability call request for generating the second setting format, the second interface Before the ability call request of the second setting format is sent to the target capability gateway by unit, described second is set The ability call request of format is added to the corresponding request queue to be sent of the ability to be called;
The second interface unit, specifically for obtaining the ability of the second setting format from the request queue to be sent Call request;And the ability call request of the second setting format is sent to the target capability gateway, by described Target capability gateway according to the identification information of any upper layer application system, the identification information of target lower layer terminal and The Content of Communication information executes communication capacity.
14. a kind of ability open system, which is characterized in that including first interface unit, processing unit, converting unit and second Interface unit, the first interface unit are connect with upper layer application system communication, and the second interface unit and ability gateway are logical Letter connection, the communication capacity that upper layer application system passes through the ability open system call ability gateway, in which:
The second interface unit, for receiving the acknowledgement information for the second setting format that any ability gateway is sent, described the Receipt identification information is carried in the acknowledgement information of two setting formats;Wherein, the receipt identification information is by any energy The call request identification information that power gateway carries in the ability call request according to the second setting format being previously received, configuration Give the acknowledgement information of the corresponding second setting format of ability call request of the second setting format;
Processing unit, for the determining call request identification information corresponding with the receipt identification information, and in advance Loopback address information corresponding to the call request identification information of storage;
Converting unit, for being converted to and can be sent by the first interface unit acknowledgement information of the second setting format First setting format acknowledgement information;
The first interface unit, for according to the loopback address information, the acknowledgement information of the first setting format to be sent out It send to the upper layer application system for the ability call request for issuing the second setting format.
15. a kind of ability open system, which is characterized in that including first interface unit, processing unit, converting unit and second Interface unit, the first interface unit are connect with upper layer application system communication, and the second interface unit and ability gateway are logical Letter connection, the communication capacity that upper layer application system passes through the ability open system call ability gateway, in which:
The second interface unit, for receiving the acknowledgement information for the second setting format that any ability gateway is sent, described the Receipt identification information is carried in the acknowledgement information of two setting formats;Wherein, the receipt identification information is by any energy Power gateway is allocated to and the ability call request according to the call request identification information for the ability call request being previously received The acknowledgement information of the corresponding second setting format;
Converting unit, for being converted to and can pass by the first interface unit acknowledgement information of the second setting format The acknowledgement information of the first defeated setting format, and the acknowledgement information for setting format for described first and the receipt identification information pair It should store;
The first interface unit, the receipt acquisition request of the first setting format for receiving the transmission of upper layer application system, institute State and carry receipt request identification information in the receipt acquisition request of the first setting format, receipt request identification information be by The call request identification information for the call request that the upper layer application system is returned according to ability open system, is allocated to institute State the receipt acquisition request of the first setting format;
The processing unit, for receipt request identification information according to the pre-stored data, the receipt identification information and The corresponding relationship of call request identification information obtains and sets the receipt acquisition request of format corresponding described the with described first The acknowledgement information of one setting format;
The first interface unit is also used to the acknowledgement information of the first setting format being back to the upper layer application system System.
16. a kind of ability open system, which is characterized in that including first interface unit, converting unit and second interface unit, The first interface unit is connect with upper layer application system communication, and the second interface unit is connect with ability gateway communication, energy Power gateway sends information to upper layer application system by the ability open system, in which:
The second interface unit, it is described for receiving the information to be sent for the first setting format that any ability gateway is sent The identification information of target upper layer application system is carried in the information to be sent of first setting format;
The converting unit, can be by the first interface for being converted to the information to be sent of the first setting format The information to be sent of second setting format of unit transmission;
The first interface unit determines described for receiving for the identification information according to the target upper layer application system The target upper layer application system of the information to be sent of first setting format, and the information to be sent of the second setting format is sent out It send to the target upper layer application system.
17. ability open system as claimed in claim 16, which is characterized in that the ability open system further includes that processing is single Member, for after the information to be sent that the second interface unit receives the first setting format that any ability gateway is sent, The information to be sent of the first setting format is converted to and can be transmitted by the first interface unit by the converting unit The second setting format information to be sent before, at the logic that is set of information to be sent of the first setting format Reason;
The processing unit, for the information to be sent by any one or more following mode to the first setting format The logical process set:
Determine that the identification information of the target upper layer application system belongs to pre-stored legitimate user's set;
Filter out the setting keyword in the information to be sent of the first setting format;
It can be used for the to be sent of the first setting format described in unique identification for the information to be sent distribution of the first setting format The identification information of information;
Store the information to be sent of the first setting format.
18. ability open system as claimed in claim 17, which is characterized in that
The processing unit, be also used to the logical process that is set of information to be sent to the first setting format it Before, the information to be sent of the first setting format is added to the corresponding message queue to be processed of any ability gateway; And/or after the logical process that is set of information to be sent to the first setting format, the converting unit is by institute The information to be sent for stating the first setting format is converted to the second setting format that can be transmitted by the first interface unit Before information to be sent, it is corresponding pending that the information to be sent of the first setting format is added to any ability gateway Send message queue.
CN201710854681.1A 2017-09-20 2017-09-20 Capability calling method, call receipt method, information processing method and system Active CN109525539B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710854681.1A CN109525539B (en) 2017-09-20 2017-09-20 Capability calling method, call receipt method, information processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710854681.1A CN109525539B (en) 2017-09-20 2017-09-20 Capability calling method, call receipt method, information processing method and system

Publications (2)

Publication Number Publication Date
CN109525539A true CN109525539A (en) 2019-03-26
CN109525539B CN109525539B (en) 2021-04-02

Family

ID=65769541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710854681.1A Active CN109525539B (en) 2017-09-20 2017-09-20 Capability calling method, call receipt method, information processing method and system

Country Status (1)

Country Link
CN (1) CN109525539B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021179589A1 (en) * 2020-03-13 2021-09-16 北京旷视科技有限公司 Data transmission method and data channel system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969469A (en) * 2010-10-25 2011-02-09 华为技术有限公司 Callback processing method and device in telecom capability opening
CN102196006A (en) * 2010-03-17 2011-09-21 中国移动通信集团公司 Open system for providing resources for application program
CN102573112A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Telecommunication network capability opening method, system and alliance support platform
CN103813329A (en) * 2012-11-14 2014-05-21 中国移动通信集团公司 Capability calling method and capability opening system
CN103812838A (en) * 2012-11-13 2014-05-21 中国移动通信集团公司 Service calling method and device and system
WO2016045708A1 (en) * 2014-09-23 2016-03-31 Nokia Solutions And Networks Oy Control of communication using service function chaining

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196006A (en) * 2010-03-17 2011-09-21 中国移动通信集团公司 Open system for providing resources for application program
CN101969469A (en) * 2010-10-25 2011-02-09 华为技术有限公司 Callback processing method and device in telecom capability opening
CN102573112A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Telecommunication network capability opening method, system and alliance support platform
CN103812838A (en) * 2012-11-13 2014-05-21 中国移动通信集团公司 Service calling method and device and system
CN103813329A (en) * 2012-11-14 2014-05-21 中国移动通信集团公司 Capability calling method and capability opening system
WO2016045708A1 (en) * 2014-09-23 2016-03-31 Nokia Solutions And Networks Oy Control of communication using service function chaining

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021179589A1 (en) * 2020-03-13 2021-09-16 北京旷视科技有限公司 Data transmission method and data channel system

Also Published As

Publication number Publication date
CN109525539B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN106559251B (en) A kind of Compilation Method and corresponding interface, component and system based on YANG model
CN106464687B (en) Via the client application of user's tunnel communication
CN108600376A (en) Data transmission method, device, LoRa gateways, system based on LoRa and storage medium
CN104283760B (en) A kind of WebRTC communication means, relevant device and system
CN103124267B (en) The method, system and the cloud server that log in/register is carried out by mobile terminal
CN101594440B (en) Image sharing system
CN107800603B (en) Intranet user accesses the method and storage medium of headend equipment based on VPN
CN110048927A (en) Communication means and communication device
US9042235B1 (en) Determining peer-to-peer communication paths between service providers
CN104836800B (en) A kind of method, equipment and the system of service quality control
US7558861B1 (en) System and methods for controlling an application
US20180234287A1 (en) Method and apparatus of performing simultaneous multi-agent access for command execution through a single client
CN110178354A (en) Message session trunk protocol/hypertext transfer protocol file transmission
CN108769017A (en) A kind of data communications method and device
CN108234149A (en) Network request management method and device
CN104660547B (en) A kind of service platform for realizing telecommunication
CN107534649A (en) Change the IMS supplementary service datas in IMS network
CN103533505B (en) A kind of note transmission method, server, system and mobile terminal
CN109151037A (en) A kind of communication means and device
CN100515105C (en) Business access method and device
CN102984272B (en) A kind of system of remote control mobile terminal communication capacity and method thereof
Patel et al. A technique for multi-network access to multimedia messages
CN109525539A (en) A kind of capacity calling method calls receipt method, information processing method and system
CN109089299A (en) It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode
CN108040000B (en) A kind of information transferring method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant