Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of Universal Service Platform of the support multiple business based on many network integrations, realize the fusion that the different operators heterogeneous networks is served for each Virtual network operator provides a shared platform, and can upgrade in time, easy to maintenance.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of Universal Service Platform of the support multiple business based on many network integrations comprises at least:
The service access unit connects the communication network of each Virtual network operator, is used for the various communication services that access network operator is authorized, and the agreement support of various communication services is provided, and finishes the data interaction of communication service with message processing unit;
Message processing unit is connected between service access unit and the service enabler unit, receives the communication service request of service access unit, determines the type of service of institute's received communication service request, calls corresponding service example in the service enabler unit; Receive the service order that the service enabler unit sends, this service order is sent to the service access unit; Message processing unit also connects the web service network simultaneously, receives the service request that the web service network sends;
The service enabler unit, be used for providing the service operation support to each communication service that inserts, call the generation srvice instance according to the service request that message processing unit sends, and carry out professional, trigger new service request according to service executing result, and this new service request is back to message processing unit; And
Administrative unit is connected with service access unit, message processing unit and service enabler unit respectively, and finishes the coordinated management to it, the public support service of whole Universal Service Platform is provided, and unified management is carried out in each communication service.
Wherein, this Universal Service Platform also comprises:
Professional generation unit connects service enabler unit and administrative unit, and being used for provides the business interface of opening to insert new business to service developer; The new business application that inserts is sent to the service enabler unit; Professional generation unit also is connected with the web server that places public network, generates requirement analysis according to the business of receiving and produces demand for services, generates new service application, and the service application that generates is sent to the storage of service enabler unit.
Wherein, the communication network of described service access unit connection comprises: PSTN, second generation cordless communication network, 3G (Third Generation) Moblie network, next generation network NGN, Wi-Fi network, Wi-MAX network, Internet and Packet Switch Data Network.
Wherein, described service access unit is made of following IAD at least:
The Parlay/ParlayX gateway is connected with PSTN, second generation cordless communication network, 3G (Third Generation) Moblie network and NGN network, is used to insert described network and carries out the mutual of described Virtual network operator mandate business;
Short message service gateway connects second generation cordless communication network and 3G (Third Generation) Moblie network, is used to provide the mandate business of short message class;
The Multimedia Message gateway connects second generation cordless communication network and 3G (Third Generation) Moblie network, is used to provide the mandate business of Multimedia Message class;
The LBS gateway connects second generation cordless communication network and 3G (Third Generation) Moblie network, is used to provide the positioning service of portable terminal;
The GIS gateway connects the geographic information services among the Internet, is used to provide the geography information business;
The SIP gateway connects 3G (Third Generation) Moblie network, NGN network, Wi-Fi network, Wi-MAX network and Internet, is used to provide IP-based traffic business;
The Mail gateway connects the mail server among the Internet, unites with other gateways of service access unit to be used for providing mail to remind and the forwarding business to the user;
The Web service gateway connects Internet, and being used for provides the web inquiry and recommend professional to the user;
Each gateway is connected with message processing unit, sends service request and receives the service order that message processing unit is sent to message processing unit.
Wherein, described service enabler unit further comprises:
The Service Component storehouse is used to store described each the professional application component of support;
Business library, the connection message processing unit receives service order; Be used to store the order of calling application component and carry out the triggering source, form corresponding business and use;
The srvice instance generation module, according to the type of service that the service enabler unit receives, the corresponding service that calls in the business library is used, and generates srvice instance, finishes this professional support.
Wherein, described message processing unit comprises:
The message sink module is used to receive the service message that service access unit and web service network send, and resolves the service message of being received, obtains type of service, parameter and semantic information;
The service management module is determined service priority according to the service message analysis result, carries out calling of service application according to the service priority of determining; And
Message transmission module, the result generates new business request information according to the service management module invokes, and is sent to the corresponding gateway execution of service access unit.
Wherein, described administrative unit comprises:
Configuration Manager is used for the backup of data in the configuration of each administration module of platform and the platform;
Fault management module is used for supervision and malfunction monitoring to each communication service running status, and fault warning, fault location, fault log and accident analysis are provided;
Safety management module is used to dock access customer access authentication, authentication management, and increases user, deletion user, modification user right;
Charge and the service management module, provide corresponding charging way according to type of service.
Wherein, this Universal Service Platform also comprises:
The terminal adaptation unit, connect the exterior terminal knowledge base, judge the Termination ID of service request according to the service message of service access unit and the transmission of web service network, and according to Termination ID matched termination knowledge base, obtain the basic identity information of terminal, determine the professional form that sends according to the terminal characteristic information that obtains.
The present invention utilizes the service access unit to finish the access of each network according to the network insertion characteristics of heterogeneous networks operator; After the request that receives each Network, procotol according to correspondence is resolved, and is sent to the parsing that message processing unit is finished business, calls the generation srvice instance, call this business is carried out service application, finish support business according to type of service and priority.In addition, the access of different operators network makes the present invention can facilitate the service of across a network, for example, utilizes landline telephone to positioning function of 3G subscription terminal etc.The present invention is powerful, practical, for different service providers has expanded type of service, has made things convenient for business to provide.The present invention simultaneously also provides the dynamic professional interface that generates, and the user can insert different new business by this business interface and finish the renewal of business etc.
Embodiment
The present invention will be described in more detail below in conjunction with accompanying drawing.
As shown in Figure 1, Universal Service Platform 1 of the present invention includes service access unit 10, message processing unit 11, service enabler unit 12, administrative unit 13, professional generation unit 14 and terminal adaptation unit 15, wherein, connect to carry out the forwarding of service request between heterogeneous networks between service access unit 10 and the message processing unit 11.Connect between message processing unit 11 and the service enabler unit 12 to finish professional calling and the generation and the execution of srvice instance, trigger new service request according to service executing result simultaneously, and this new service request is back to message processing unit 11.Universal Service Platform 1 of the present invention inserts web service network (web server) by service enabler unit 12, realizes providing to user's (registration) of web service network (Universal Service Platform network side) each service provider's service.Service access unit 10, message processing unit 11, service enabler unit 12, professional generation unit 14 and terminal adaptation unit 15 all are connected in administrative unit 13, the configuration of the management of managed unit 13, initialization and corresponding business parameter, each unit coordinated under the scheduling of administrative unit 13 is to finish the access of miscellaneous service.Below above-mentioned each unit be described in detail.
Service access unit 10 is used for the various communication services that access network operator is authorized, as note, multimedia message (e), location, GIS, Sip, professional abilities such as Parlay, Email as the access interface of each Virtual network operator communication network.The various communication services of the Virtual network operator mandate that the present invention handles mainly are various value-added services.Service access unit 10 mainly is the unified calling interface that basic communication protocol is packaged into, support multiple network operator communication protocol, the network of access includes but not limited to common exchanging telephone network PSTN, second generation cordless communication network (2G), 3G (Third Generation) Moblie network (3G), next generation network (NGN), Wi-Fi network, Wi-MAX network, Internet and Packet Switch Data Network (2.5G).As shown in Figure 1, the communication protocol ability that comprises of service access unit 10 is following but be not limited to following listed:
The Parlay/ParlayX gateway is connected with PSTN, second generation cordless communication network, 3G (Third Generation) Moblie network and NGN network, is used to insert above-mentioned network and carries out the mutual of above-mentioned Virtual network operator mandate business.In the communication network of today, application and service all belongs to network operation merchant's field, and great majority all are to be based upon on the basis of intelligent network.This solution is fit to the simple market of great majority very much and transmission is used.But along with the expansion gradually of mobility in the network and IP, the simple and convenient development approach efficiently of most of new application requirements, but original intelligent network lacks this ability very much.The Parlay gateway provides Parlay API (Application Programming Interface) interface, this Parlay api interface is a kind of based on distributed computing technology, open, OO business development technology of future generation, and it is abstracted into the communication details of bottom-layer network by the agreement mapping techniques API form of standard for service developer business logic development program.Greatly reduce the technical threshold of business development, can make service developer satisfy user's personal needs more quickly, colourful business is provided,, thereby widens the range of application of network intelligence for the application and the development of next generation network provides the most effective actuating force.
For example, can realize the call barring business by the Parlay/ParlayX gateway, when calling subscriber's call request during the user of call barring business, the bottom-layer network switching equipment reports upper strata processing unit (as message processing unit 11 and service enabler unit 12) to this initial call incident by the Parlay gateway, creating a thread process by the upper strata processing unit should call out, use the Parlay gateway to import the PIN code of called setting to user's transmitting system prompt tone requirement calling subscriber subsequently, thereby realize the management of calling, for the user provides the service of more fitting and needing.The Parlay/ParlayX gateway can pass through parlay (being formulated the issue of the European Telecommunication Standard committee by Parlay working group) provides Parlay api interface, thereby realizes the access of Parlay business.It will be appreciated by those skilled in the art that the access that realizes the Parlay business is easily.
Short Message Service (SMS, Short Message Service) gateway is connected in second generation cordless communication network and 3G (Third Generation) Moblie network, is used to provide the mandate business of short message class.The SMS gateway is arranged on mobile radio communication, makes mobile device can send and receive text message.Short message communication only limits to a message, and in other words, the transmission of a message has just constituted once communication, and therefore, business is asymmetric.System thinks that different short messages is independently of one another, and message on purpose and area of origin.The note application is to arrive application end by the up note (MO, Mobile Originate) that the user sends, and return results is called downlink short message (MT, Mobile Terminated).Short message service gateway of the present invention is responsible for the service request of the short message class of portable terminal is forwarded to message processing unit 11, and transmits the classes of messages service result that message processing unit 11 issues.
The SMS gateway specifically is that SMGPs such as the CMPP with reference to China Mobile, SMGP, the SGIP of CHINAUNICOM of China Telecom and standard design, for the service provider provides unified note access platform, also realized the note intercommunication between operator's gateway of different agreement.The customization of stock, entertainment information, news can be provided to the user; Also can realize sending mail notice etc. by upper strata web server to the mobile subscriber who has customized the mail notice.
Multimedia Message service MMS gateway is connected in second generation cordless communication network and 3G (Third Generation) Moblie network, is used to provide the mandate business of Multimedia Message class, is highest standard a kind of of present short message technological development.Utilize this technology, can send the information in conjunction with literal, image, animation or the tinkle of bells equally, capacity is by 30, and 000bytes is to infinitely great.MMS can utilize the built-in function of mobile phone immediately or connect peripheral equipment and send other people again to and share to take pictures or to enroll sound, and need not be confined to use file default in the mobile phone.MMS mainly proposes for 3G, also can use on the GRPS of 2G and 2.5G at present.Multimedia Message service MMS gateway is mainly used in the information such as image, animation that send to the terminal of supporting multimedia service (as the cartographic information of address location business etc.), provides type to enrich business of the present invention.
LBS (Location Based Service) gateway is connected in second generation cordless communication network and 3G (Third Generation) Moblie network, is used to provide the positioning service of portable terminal.The major function of LBS gateway is to be that platform of the present invention inserts the LBS ability, and operation layer can be developed the business of various facing positions based on the LBS subsystem, such as location, mapping, path navigation etc.LBS gateway of the present invention is by finishing GIS-Geographic Information System (GIS alternately with the CDMA of CHINAUNICOM location service server, Geographical InformationSystem) function and positioning function, LBS gateway of the present invention is followed " requirement of the CDMA of CHINAUNICOM positioning service SPACCESS interfacing " standard of CHINAUNICOM's issue, adopt the message format and the server interaction of unified standard, LBS gateway of the present invention is as the client of CHINAUNICOM's location server, utilize the HTTP technology, the message of XML form is sent to server, server is finished corresponding function, the response results of XML form is returned to the LBS subsystem, the LBS system is the analyzing XML response message again, then the result is returned to operation layer.
The GIS gateway is connected in the geographic information services among the Internet, is used to provide the geography information business.GIS gateway of the present invention has been realized the cartographic information Presentation Function of CDMA terminal and GSM terminal, and passes through the location of GIS gateway triggering to the longitude and latitude of CDMA terminal or GSM terminal, and this locating information is sent to the GIS gateway, shows to obtain cartographic information.
SIP (SIP, Session Initiation protocol) gateway is connected in 3G (Third Generation) Moblie network, NGN network, Wi-Fi network, Wi-MAX network and Internet, is used to provide IP-based traffic business.SIP is the IP phone signaling protocol that is proposed by IETF, the control protocol that is used for initiation session, it can control the foundation and the intermediary of the Multimedia session of a plurality of participants' participation, and can dynamically adjust and revise session attribute, as the session bandwidth requirement, the medium type (voice, video and data etc.) of transmission, the code/decode format of medium, the most powerful part of SIP is exactly the function of user location, SIP itself contains the function of oriented registrar registration, and also the location-server that can utilize other location-servers such as DNS etc. to provide comes the booster positioning function.The branch that client-server is arranged among the SIP.Client computer is meant the application program that connects with server in order to send request to server.Contain client computer among user agent (USER AGENT) and the agency (PROXY).Server is the application program that is used for providing to the request that client computer is sent service and return response.Have four kinds of base server: Redirect Server, acting server, subscriber proxy server and registrar.Redirect Server receives the SIP request, and the raw address in the request is become zero or a plurality of new address, returns client computer.On behalf of other client computer, acting server return response. the register requirement of registrar subscribing client, finish the registration of station address.The SIP gateway is used for the access of above-mentioned service, realizes the support of SIP related service.
The Mail gateway is connected in the mail server on the Internet, and being used for provides mail to remind and the forwarding business to the user.The maximum communication system that uses today is the Internet, and Email also is one of service most popular on the Internet simultaneously, and it is cheap, quick, can get in touch with system with the network user in any one corner in the world.But all mail service is all finished by the Internet.If the user is not on Internet or do not sign in to mailbox, just can not in time understand mail in the mailbox dynamically.Mail gateway of the present invention can provide the reminding business of new mail to the user in conjunction with other each gateway in the service access unit 10, and the business by portable terminal and mail gateway replied mail.
The Web service gateway is connected in Internet, and being used for provides the web inquiry and recommend professional to the user.Trigger the Web search according to the Network demand, and return the coupling service.For example utilize Web service gateway of the present invention can realize the intelligent search business.The user (can be a mobile phone users, or PSTN user terminal user etc.) after search condition inserts by network insertion unit 10, by the intelligent search srvice instance in the message processing unit 11 triggering service enabler unit 12, the intelligent search srvice instance is carried out intelligent search, submit searching request to by the Web service gateway, corresponding search system (service provider's foundations) is searched for (can by manually finishing) user institute information of interest (point of interest) according to user's demand, searching with these points of interest has relevant homepage, and checks the more detailed information that the user may be concerned about.After finding its search information is encapsulated at message processing unit 10 places together with the information relevant with this information, be sent to user terminal (portable terminal message search for example with the network gateway of service request terminal support again, if the service request mode is the short message mode, then be sent to user terminal) by the SMS gateway.
Above-mentioned each gateway professional interface that is used to provide support, and the message that inserts is resolved by each gateway, and will insert by the requested service type and to ask to be forwarded to each Service Processing Unit; After receiving the service request on upper strata, the information interaction of the network of realization and its access.Based on above-mentioned each gateway, the compatible Parlay of business platform of the present invention, relevant international standard protocol such as Sip family, both can be used as door and be connected to the service provider of different web sites, can be used as exploitation and running environment that multiclass service application such as voice, video, literal are mutual are provided again by user's request.
As shown in Figure 1, 2, message processing unit 11 receives the service request of service access unit 10, judges the type of service of this communication service request, calls the corresponding srvice instance in the service enabler unit 12; When receiving the service order of service enabler unit 12 (the professional new service request of carrying out the example triggering),, this instruction is sent to IAD corresponding in the service access unit 10 according to the type of this service request.Message processing unit 11 is connected in the web service network simultaneously, is used to provide the service request of web service network end subscriber, and triggers corresponding business to service enabler unit 12.Message processing unit 11 of the present invention comprises message transmission module 111, message sink module 114 and message management module (being made of srvice instance administration module 112 and service management module 113).Below introduce it respectively in detail.
Message transmission module 111, message transmission module 111 is forwarded to service access unit 10 with the instruction of service enabler unit 12 business of triggering.When message transmission module 111 receives service enabler unit 12 business of triggering request messages, extract service identification, employed service accessibility type in the message, whether can call by service management module 113 these business of checking.If the verification passes, use the request of bottom service access to be transmitted to service access unit 10 service enabler unit 12 again, finish calling of concrete access service by service access unit 10.Stop press sending module 111 can informing business instance management modules 12 its need search relevant information with srvice instance, preserve these information by srvice instance administration module 12 and use for the Message Processing of back.
And after message transmission module 111 is receiving the request of service enabler unit 12, except the carrier network side that inserts to service access of the present invention unit 10 is initiated the request, also need to call the information relevant that srvice instance administration module 112 is preserved, use for the Message Processing of back with service operation.
Message sink module 114, mainly be the business request information that service access unit 10 or web client (web service network client) send to be resolved and the establishment of srvice instance, carry out Business Processing then, perhaps be distributed to concrete srvice instance and directly carry out Business Processing.Message sink module 114 need be called service management module 113 and find the corresponding service example in the process of message distribution, calls srvice instance administration module 113 again and finds message corresponding service or srvice instance.Message sink module 114 also needs the message that service access unit 10 sends is encapsulated, and needs simultaneously the return value of platform network to service access unit 10 encapsulated.The message sink module is finished the message that receives service access unit 10 and Web service network terminal, and it is transmitted to the function of corresponding service instance processes.
After message sink module 114 receives the service message of service access unit 10 (each protocol gateway) or Web service network terminal, at first extract information relevant in the message with business, obtain the network capabilities tabulation that this business can use by the service management module, judge whether this business has the ability of the message that processing protocol gateway or Web service network terminal report.Secondly, message sink module 114 can be extracted the information relevant with searching or create srvice instance in the message, by srvice instance administration module 112 according to these information searchings or establishment corresponding service example.Message sink module 114 is behind the srvice instance of searching or create the message that can manage business access unit 10 or a Web service network reports, message sink module 114 is packaged into the required unified message of professional executable file to the message that service access unit 10 or Web service network report, and the forwards that this is packaged handles for this service enabler unit.Then, message sink module 114 extracts service access unit 10 or the required return value of Web service network from the return value that srvice instance is handled, return to service access unit 10 or Web service network after encapsulating.Stop press receiver module 114 can informing business instance management modules 112 its need search relevant information with srvice instance, preserve these information by srvice instance administration module 112 and use for the Message Processing of back.
Service management module 113, the business request information that business request information that reports according to service access unit 10 and web service network end report finds the concrete business of handling this message in service allocation list and the form relevant with service operation.
Srvice instance administration module 112, after the service access unit 10 reporting service message and after the web service network reporting service message, according to the information relevant that type of message, parameter and this inside modules are preserved, find or the srvice instance of a newly-built on request processing messages with service operation.
Message processing unit 11 has been realized the execution of service request, and it is directly connected in provides the service enabler of business support unit 12, will call corresponding business application in the service enabler unit 12 according to the type of business, thereby realizes the realization of user's requested service.In addition, for the service request from web service network side, message processing unit 11 calls corresponding business according to the type of service request equally and uses, and the business execution command is sent to service access unit 10.
It will be appreciated by those skilled in the art that message transmission module 111, message sink module 114, srvice instance administration module 112 and service management module 113 can realize by integrated circuit or corresponding control logic.
As shown in Figure 1, service enabler unit 12 is used for providing professional operation support to each communication service that inserts, carry out corresponding business according to the calling service request that message processing unit 11 sends, trigger new service request according to service executing result, and this new service request is back to message processing unit 11; Service enabler unit 12 direct and web service networks (web serves network address), with the generalization of implementation platform service, the user can customize the service (PSTN user's calling and talk business, mobile subscriber's calling and talk business and mobile subscriber's location etc.) that each service provider provides by this web service network.Service enabler unit 12 is concrete supporter of each Virtual network operator value-added service, that is to say the program application library of business realizing, and the miscellaneous service program is used and is stored in service enabler unit 12.Service enabler unit 12 specifically comprises Service Component storehouse, business library and srvice instance.Wherein, Component Gallery is used to store the member of miscellaneous service support program, promptly realizes the basic member that business procedure is used, and is the elementary cell that constitutes each business application, promptly is present program application component storehouse.Business library, the instruction code of each assembly in the invocation component storehouse, thus constitute different business.Srvice instance is according to the application example that is used to carry out corresponding service of the generation of the service order code in the business library, according to the business of realization of calling of message processing unit 11.
As shown in Figure 1, administrative unit 13 of the present invention is connected to service access unit 10, message processing unit 11, service enabler unit 12, professional generation unit 14 and terminal adaptation unit 15, finish coordinated management to each unit, realizing the public support service of whole Universal Service Platform, and unified management is carried out in each communication service.Comprise under the open environment professional charging, authentication, authentication, configuration and to O﹠M functions such as the user manage.
Administrative unit 13 specifically comprises:
Configuration Manager is used to realize that configuration data management, fault reconfigure, metering data configuration, system and operating data automated back-up.
Fault management module is used for supervision and malfunction monitoring, fault warning, fault location, fault log and accident analysis to the running status of business platform of the present invention.
Safety management module is promptly realized access authentication, authentication management.Support the leading subscriber access way of classification.The operation difference that the leading subscriber of different rights can be carried out is supported multipoint operation and timing starting command.To finish management, mainly comprise: increase user, deletion user, revise user right etc. the user.
Log management mainly realizes security log, log management.Security log is as the part of safety management, and all operations person's key operation all can be recorded in the security log.
Charge and service management function, can support multiple charging way.To note and data service, support to charge by flow and by content charging; To traditional voice service and Video service, support charged according to time.
Realization is to user login and use the functions such as (AAA) that authenticates, authorizes, charges when professional.
Below as can be known, administrative unit 13 is to coordinate the brain of each cell operation of platform, can realize above-mentioned management function by special server.It will be appreciated by those skilled in the art that the mode of carrying out above-mentioned administrative unit by prior art is easy to realize, for example control chip or independent PC etc.Because this part is not an emphasis of the present invention, therefore do not give unnecessary details.
As shown in Figure 1, business platform of the present invention also comprises terminal adaptation unit 15, after having determined the Termination ID of requested service according to service requesting information, carry out adaptive determining concrete terminal characteristic information, thereby guarantee the business service message adaptive terminal that sends.Business information (data such as the sports buildings place of knowing as customer requirements, information) by carrying out adaptive configuration by terminal adaptation unit 15 according to terminal type in service enabler unit 12, shows final information in a suitable manner on user terminal.Terminal adaptation unit 15 includes the termination property database, this database storage has the characteristic information of all terminals that the present invention supports, the termination property database is used to store the performance data of each terminal, as basic configuration information of the size of display screen, resolution, terminal etc.When this platform need feed back to user terminal with business information, carry out adaptive according to the Termination ID inquiry terminal property database in the user terminal requests to terminal equipment, according to adaptive result, transfer its characteristic information, again the business information form is adjusted into the form that terminal is supported, and then sends.When for example user terminal is mobile phone, and the information on the user mobile phone finally returned is when being image, and by the end message that obtains, will adjust the size of image comes adaptive this terminal, thereby realizes the correct demonstration of image at mobile phone screen.The Adapted information that it will be appreciated by those skilled in the art that terminal adaptation unit 15 of the present invention can be set arbitrarily, and for example, whether needs are adaptive according to the type decision of terminal, and adaptive mode etc. all can be set as the case may be flexibly.When if user terminal is PC, when being image file equally, just do not need adaptive and the form adjustment.The use of terminal adaptation unit 15 of the present invention is in order to promote professional result's the quality of returning.
As shown in Figure 1, the present invention also comprises professional generation unit 14, and it can generate various new services fast according to user's request.Be connected in service enabler unit 12 and administrative unit 13, be used for providing the business interface of opening, to realize the access of new business to service developer; The new business application that inserts is sent to service enabler unit 12, and finishes the configuration of other unit in the platform by administrative unit 13.The present invention adopts " the call processing language CPL of expansion " to carry out professional generation automatically.Call processing language (CPL) is the language that is used for controlling and describing IP telephone service, makes a strong impact at present, and by standardization (RFC 3880).Because the designer of CPL does not associate CPL and certain signaling protocol closely, so CPL is and the irrelevant script of the signaling protocol of bottom to be used with any underlying protocol.Though CPL has certain advantage in exploitation calling class service field, but the ability that its language itself is had is expressed for abundant at present business demand certain restriction is arranged still, therefore the present invention expands it, make it have exploitation complicated call business and data services ability, the CPL language of expansion that Here it is.The CPL script of an expansion mainly is made up of two parts information: supplementary that script is relevant and call treatment action (action).The relevant supplementary of script is mainly used in the correct processing scripts of server.The call treatment action then is divided into two kinds again: the processing action and the son action (subaction) of top layer.The processing of top layer action is by label<incoming〉and<outgoing represent, when representing respectively to calling (incoming call) and outgoing (outgoing call) server the action that should take.Son action (subaction) then is similar to the notion of the function of c language, is the action that can call in other action, and uses subaction also to strengthen the modularity and the reusability of CPL script.Various underlying protocol abilities are abstracted into different CPL labels, and these labels can be nested in subaction label inside, have realized the encapsulation of variety of protocol ability.Simultaneously the message label that will use in the operation flow is also expanded, enriched the type of message.Just can define a cover operation flow by various message and protocol label being carried out logical combination.Said method can be realized the generation of new business fast.
As shown in Figure 3, the flow chart of initiating new service request for service access of the present invention unit 10.
In the step 1, service access unit 10 sends to message sink module 114 with the message of receiving.
In the step 2, message sink module 114 receives the message that service access unit 10 sends, and the message that receives is packaged into the derived class of IMessage (parent of inside story).
In the step 3, message sink module 114 is called the serviceID that service management module 113 is obtained the business of handling this message.
In the step 4, service management module 113 returns to message sink module 114 with the serviceID that obtains.
In the step 5, message sink module 114 is called service management module 113 and is obtained quoting of professional srvice instance administration module 112.
In the step 6, return quoting of srvice instance administration module 112, promptly obtain the handle that calls administration module 112.
In the step 7, call the instanceID that srvice instance administration module 112 obtains the srvice instance of handling this message.
In the step 8, be returned as null.Do not carry out this business before the expression, do not have the instanceID of this messaging service example.
In the step 9, when the return value in last step is null,, need find this professional JNDI (Java Naming Directory and Interface is a standard element of J2EE the inside, i.e. Java named directory interface) for triggering a business.
In the step 10, return professional JNDI.
In the step 11, message sink module 114 uses JNDI to create a srvice instance.
In the step 12, message sink module 114 is called the interface of the processing messages of srvice instance, packaged message is passed to srvice instance handle.
In the step 13, srvice instance is packaged into the same type of message of inheriting IMessage with the return value of handling.
In the step 14, the message of returning after message that message sink module 114 informing business instance management modules 112 these network insertion unit 10 send and service enabler unit 12 are handled.
In the step 15, message and return value that srvice instance administration module 112 is handled according to service enabler unit 12 are revised the information relevant with service operation.
In the step 16, message sink module 114 is resolved the return value of srvice instance, and this return value is packaged into the form that network insertion unit 10 requires.
In the step 17, message sink module 114 returns to service access unit 10 to return value.
As shown in Figure 4, be the operation flow of platform up (waiting until platform) from mobile phone terminal.
In the step 41, service access unit 10 sends to message sink module 114 with the message of the mobile phone terminal received etc. and sends message.This message has been inherited IMessage (parent of inside story).
In the step 42, message sink module 114 receives the message that service access unit 10 sends, and the message that receives is packaged into the derived class of IMessage.
In the step 43, message sink module 114 is called the serviceID that service management module 112 is obtained the business of handling this message.
In the step 44, service management module 113 returns to message sink module 114 with the serviceID that obtains.
In the step 45, message sink module 114 is called service management module 112 and is obtained quoting of professional srvice instance administration module 112, promptly obtains the handle that calls to administration module 112.
In the step 46, return quoting of srvice instance administration module 112, promptly to the handle that calls of administration module 112.
In the step 47, call srvice instance administration module 112 and obtain the instanceID of the srvice instance of handling this message and return.
In the step 48, message sink module 114 is called the interface of the processing messages of srvice instance, packaged message is passed to srvice instance handle.
In the step 49, srvice instance is packaged into the same type of message of inheriting IMessage with the return value of handling.
In the step 410, the message of returning after message that message sink module 114 informing business instance management modules 113 these network insertion unit 10 send and service enabler unit 12 are handled.
In the step 411, srvice instance administration module 112 is revised the information relevant with service operation according to the message and the return value of business logic processing.
In the step 412, message sink module 114 returns to network insertion unit 10 to return value, and is handed down to user terminal (mobile phone terminal etc.) by network insertion unit 10.
As shown in Figure 5, for of the present invention from the business platform to the user terminal operation flow of (descending).
In the step 51, service enabler cell call message transmission module 111 sends message to service access unit 10.
In the step 52, message transmission module 111 is called service access unit 10 and is sent message.
In the step 53, service access unit 10 message send the result that the back that finishes sends to message transmission module 111 return messages.
In the step 54, message transmission module 111 is called the relevant information of service management module 113 some service operations of record according to the return value of service access unit 10.
In the step 55, service management module 113 is called srvice instance administration module 112 and is preserved the relevant information of service operation.
In the step 56, message transmission module 111 returns to the service enabler unit with the return value of service access unit 10.
Business platform of the present invention is connected in the web service network, the various value-added services that can provide the service provider of this platform support to provide to Internet user.The user can send mobile subscriber's Location Request by the web service network, and like this, this request can be forwarded to service enabler unit 12, and triggers the srvice instance of enquiry mobile terminal position, obtains being back to the user behind the positioning result.Illustrate that below the user is by the flow process of the service request of web service network initiation.
As shown in Figure 6, for initiating service request (Internet user initiates by the platform webpage), web service network user of the present invention triggers professional flow chart.
In the step 61, the Web service network terminal sends message (WebMessage) to message sink module 114.
In the step 62, message sink module 114 extracts ServiceID and passes to service management module 113 from WebMessage, obtains the JNDI of ServiceID corresponding service.
In the step 63, service management module 113 returns JNDI for message sink module 114.
In the step 64, message sink module 114 is called 113 pairs of these ServiceID corresponding service of service management module and is carried out authentication, comprises whether this business is in state of activation.
In the step 65, service management module 113 returns the service authentication success for message sink module 114.
In the step 66, message sink module 114 is called the srvice instance administration module, creates a srvice instance of ServiceID correspondence.
In the step 67, srvice instance administration module 112 generates the sign InstanceID of this new srvice instance.
In the step 68, srvice instance administration module 112 uses JNDI to find the Home interface of corresponding service EJB (Enterprise JavaBean), and creates the remote interface InstanceRef of professional EJB on the Home interface.
In the step 69, new quoting of srvice instance of creating returns to srvice instance administration module 112.
In the step 610, srvice instance administration module 112 is preserved the relevant information of service operation, comprises the correspondence of srvice instance sign InstanceID and srvice instance application InstanceRef.
In the step 611, srvice instance administration module 112 returns to message sink module 114 to the InstanceRef that quotes of the srvice instance of handling current Web reporting message.
In the step 612, message sink module 114 will be received the message that receives, and be packaged into the needed inside story of srvice instance, and this type of message has been realized the IMessage interface.
In the step 613, message sink module 114 is called the interface of the processing messages of srvice instance, packaged message is passed to srvice instance handle.
In the step 614, srvice instance returns to message sink module 114 with the return value of handling, and this type of message has been inherited the type of message of RetMessage.
In the step 615, message sink module 114 is resolved the return value RetMessage of srvice instance, and this return value is packaged into the needed WebRetMessage of Web service networking client.
In the step 616, message sink module 114 returns to the Web service networking client to return value WebRetMessage.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.