Abstract:
The present invention relates to the communication field and discloses a method, a device and a system for identifying a service to solve the problem in prior art that a service request can not be realized correctly in case of wrong configuration of the terminal. The method for identifying a service in an embodiment of the present invention includes: receiving a service request including a field for indicating a service content type of the service request; resolving the service request to identify the service type of the service request according to the field included in the service request. An embodiment of the present invention also discloses a device and a system for service processing accordingly.

Description:
CROSS REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application claims priority to Chinese Patent Application No. 200710076518.3, filed on Aug. 17, 2007, which is incorporated by reference herein in its entirety. 
       FIELD OF THE INVENTION 
       [0002]    The present invention relates to a communication technology field, and particularly to a method, device and system for identifying a service. 
       BACKGROUND 
       [0003]    In the communication technology field, a user needs to contact a service provider when initiating a service request. When the service request meets conditions, the service provider provides services in response to the service request. For example, in data services, the user may initiate a service request for a multimedia messaging service (MMS) via a terminal such as a cell phone. In order to contact the service provider, an IP address and a port of a wireless application protocol gateway (WAP GW) as well as an access point name (APN) need to be configured in the cell phone. The address of a service gateway should also be configured correctly at the same time. When all these parameters are configured correctly, the object of the service request may be realized. 
         [0004]    The inventor of the present invention found in the process of studying and practicing the above prior art that the system may typically take the address and the port of the WAP GW as default and the APN may be identified automatically, but the service request can not be realized correctly when the address of the service gateway is configured wrongly. This means that the prior art has the following disadvantages: Correct configuration of the address of the service gateway becomes a prerequisite for transmitting multimedia messages correctly and the service of transmitting multimedia messages can not be achieved when the address of the service gateway is configured wrongly in the terminal. 
       SUMMARY 
       [0005]    The present invention provides a method, device and system for identifying a service which enables a service request to be identified correctly and hence transmitting the multimedia messaging service correctly even when a terminal is configured wrongly, 
         [0006]    An embodiment of the present invention provides a method for identifying a service which includes: receiving a service request including a field for indicating a service content type of the service request, and resolving the service request to identify a service type of the service request according to the field included in the service request. 
         [0007]    An embodiment of the present invention also provides an application protocol gateway including: a receiving unit configured to receive a service request including a field for indicating a service content type of the service request, and a resolving unit configured to resolve the field included in the service request to identify a service type of the service request. 
         [0008]    An embodiment of the present invention also provides a service processing system including: an application protocol gateway configured to receive a service request including a field for indicating a service content type of the service request transmitted by a terminal, resolve the service request to identify a service type of the service request according to the field and process service procedure according to the identified service type; and an application server configured to receive an inquiry request from the application protocol gateway and inquire an address of a service server corresponding to the identified service type. 
         [0009]    With the technical solutions described in embodiments of the present invention, a service content type for indicating a service type of the service request is included in the service request. When the service gateway is configured wrongly in the terminal, the service type of the service request may also be determined according to the service content type, thereby realizing service normally. For example, after receiving a service request, if the service gateway address is configured by the terminal wrongly, the service request is determined according to the service content type and corresponding service flow is carried out. For example, when it is the MMS service, the service request is processed according to the MMS service flow, therefore realizing MMS service and providing better insurance for realizing service successfully. 
     
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         [0010]    In order to make the technical problems to be solved in the present invention, the adopted technical solutions and advantages clearer, the present invention will be described further in detail with reference to accompanying drawings and in conjunction with embodiments. It should be appreciated that all the drawings are not necessarily drawn to scale and not intended to limit the present invention. In the drawings: 
           [0011]      FIG. 1  is an architecture diagram of a service implementing system in prior art; 
           [0012]      FIG. 2  is a signaling flow chart of implementing multimedia messaging service in prior art on the basis of  FIG. 1 ; 
           [0013]      FIG. 3  is a flow chart of the method for identifying a service according to an embodiment of the present invention; 
           [0014]      FIG. 4  is a flow chart of the method for identifying a service according to another embodiment of the present invention; and 
           [0015]      FIG. 5  is an architecture diagram of the service processing system including an application protocol gateway according to an embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0016]    Technical solutions of the present invention will be described further with reference to embodiments below. 
         [0017]    For convenience of description, definitions and functions of messages involved in embodiments of the present invention is described briefly here. What described here are only general meanings and common standard specifications should be referred for improper description here. The description here is not intended to limit the invention. 
         [0018]    The following are definitions and functions of messages involved in embodiments of the present invention: 
         [0019]    M-Send.req, a message submitted to a multimedia message service center (MMSC) by a sender terminal via a WAP GW; 
         [0020]    M-Send.conf, a response message returned to the sender terminal by the MMSC after receiving the message submitted by the sender terminal; 
         [0021]    M-Notification.ind, a push notification message for notifying a receiver terminal to get a message from the MMSC, which is transmitted to the receiver terminal by the MMSC after receiving the multimedia message submitted ba the sender terminal; 
         [0022]    M-NotifyResp.ind, a message for indicating whether the multimedia message is received successfully, which is sent to the MMSC by the receiver terminal; 
         [0023]    M_GET_REQ, transmitted by the receiver terminal to the MMSC, which instructs to retrieve the multimedia message; 
         [0024]    M-Retrieve.req, transmitted by the receiver terminal to the MMSC, which instructs to request to retrieve the multimedia message; 
         [0025]    M-Retrieve.conf, a response message returned by the MMSC after receiving the GET message from the receiver terminal; and 
         [0026]    M-Acknowledge.ind, a message for indicating reception status, which is transmitted to the WAP GW by the receiver terminal after completing reception of multimedia message. 
         [0027]    An embodiment of the present invention is described as follows. 
         [0028]    The multimedia message is a message that includes text, picture, video and audio contents, which is an enhancement of a short message service. If a user wants to use the MMS, he/she needs to configure an IP address and a port of the WAP GW and the APN on the cell phone terminal, and meanwhile configuring the address of the service gateway correctly is needed. After all the three parameters are configured correctly, the multimedia message can be transmitted correctly. A typical service gateway is for example the MMSC. If an operator deploys a plurality of MMSCs, the MMSCs are interconnected. When a user transmits an MMS message, a home MMSC is typically used for providing service. In this time, the WAP GW is needed to forward the service request to the home MMSC of the user. In order to realize the forwarding by the WAP GW, it needs to inquire an electronic numbers to uniform resource identifier (URI) mapping (ENUM) server to acquire the home MMSC of the user according to the address of the MMSC reported by a terminal of the user. For convenience of description, the electronic number to uniform resource identifier mapping server is referred to as an ENUM server. An example procedure may be described as follows: a user may be roamed from home province B to province A and transmits a service request for accessing an MMS from a visited (namely roamed)WAP GW; the visited WAP GW may receive the service request for accessing an MMS transmitted by the user, and inquire the ENUM server to acquire the uniform resource locator (URL) address of the home MMSC of the user (hereinafter referred to as a URL address); the visited WAP GW may transmit directly the service request for accessing an MMS to the home MMSC of the user; and, the home MMSC of the user may return an MMS message transmission response. 
         [0029]    As shown in the system architecture of  FIG. 1  and the signaling flow chart based on  FIG. 1  of  FIG. 2 , the embodiment is further described in detail below. 
         [0030]    S 1 : A terminal  100  may transmit an M-Send.req request message to a WAP GW  500  by taking a WAP as a carrying protocol. The terminal  100  is referred to as a sender terminal that is configured with the address of an MMSC. 
         [0031]    S 2 : The WAP GW  500  may receive the request message from the terminal  100  and resolves the URL address included in the service request. If the address is http://mmsc.monternet.com, it is regarded that the service request is a multimedia messaging service request, and the user identification of the sender is obtained from the service request and an inquiry that the address of the home MMSC of the sender is retrieved from the ENUM server  300  is initiated. 
         [0032]    S 3 : The ENUM server  300  may return to the WAP GW  500  an inquiry result including the address of the home MMSC of the sender. 
         [0033]    S 4 : According to the response message, the WAP GW  500  may forward the M-Send.Req request message to the home MMSC  400  of the sender, to request to transmit the multimedia message. 
         [0034]    S 5 : The home MMSC  400  of the sender may respond to the request message of the WAP GW  500  and incorporate an M-Send.conf in the response to indicate that the request has been accepted. 
         [0035]    S 6 : The WAP GW  500  may forward the M-Send.conf to the terminal  100 . 
         [0036]    In the above-mentioned embodiment, in order to transmit the multimedia message, it is needed to configure correctly the address “http://mmsc.monternet.com” of the MMSC in the terminal (referring to the step S 2  in the above-mentioned embodiment). If the address is configured wrongly as for example “http://mms.monternet.com”, the WAP GW will identify wrongly and fail to process the request as the MMS, hence leading failure of transmission of the multimedia message. This may bring poor experience for users and is adverse for the operator to actively promote services. 
         [0037]    The processing procedure for a person information management (PIM) service is the same with the above embodiment of transmitting multimedia messages. The PIM service may be mainly for synchronization of data such as a telephone directory, a scheduling table and an album between a cell phone terminal and the PIM server. For example, with synchronization operation on the telephone directory, a user may synchronize phone numbers on the terminal of the user to the PIM server. 
         [0038]    The processing procedure for the PIM service is similar to that of the MMS service. The WAP GW may receive the request message from the terminal and resolve the URL address included in the service request. If it is determined that the service to be executed is the PIM service, the ENUM server is inquired to acquire the address of the home PIM server of the user and the service request is forwarded to the home PIM server of the user by the WAP GW. However, if the terminal is configured with a wrong URL address, the WAP GW will identify wrongly and fail to process the service request as the PIM service. Thus the purpose of the service request can not be realized, which brings poor experience to users and is adverse for the carrier to actively promote services. 
         [0039]    An embodiment of the present invention provides a technical solution in which the WAP GW may respond normally to a service request, identify a service correctly and implement service process according to the service request even when the terminal is configured with the wrong address of the service gateway. For example, a service content type included in the service request may be also incorporated as one of identifying features for the WAP GW, so that the WAP GW may identify the service request not only according to the URL address of the service request but also according to the type of service contents included in the service request such as content information included in the Content-Type field of the service request. 
         [0040]    As shown in  FIG. 3 , an embodiment of the present invention provides a method for identifying services, and the method may include the following steps. 
         [0041]    S 11 : A service request including a URL address is received; 
         [0042]    S 22 : Whether the URL address matches a service flow is determined. 
         [0043]    S 33 : A service type of the service request is identified according to a service content type included in the service request, when the determination result indicates that the URL address matches no service flow. 
         [0044]    For example, a visited application protocol gateway (typically a WAP GW) may receive the service request of a roaming user and determine whether the URL address included in the service request is the URL address of an MMSC. If the URL address included in the service request is the URL address of the MMSC, the process proceeds to the process procedure of prior art. If the URL address included in the service request is not the URL address of the MMSC, the service type of the service request is identified according to the service content type included in the service request. 
         [0045]    S 44 : A request for inquiring the address of the service server corresponding to the identified service type is transmitted after the service type of the service request is identified. For example, when the identified service type is the service request for the multimedia message, a request for inquiring the address of the home MMSC of the sender of the service request is transmitted. 
         [0046]    The above-mentioned step that whether the URL address matches a service flow is determined may further include the following steps: whether the URL address is the URL address of the MMSC or the address of the home PIM server of the user is determined; If the URL address is the URL address of the MMSC, the process proceeds to the MMS service procedure; and If the URL address is the address of the home PIM server of the user, the process proceeds to the PIM service procedure. 
         [0047]    In the above-mentioned embodiment, the type of service content included in the service request may be information included in a field of the service request and the field may be for example the Content-Type field. 
         [0048]    Referring to  FIG. 4 , the present embodiment may be described further as follows. 
         [0049]    S 201 : The service request from the roaming user is received by the visited WAP GW. 
         [0050]    S 202 : The URL address included in the service request is resolved. 
         [0051]    S 203 : Whether the URL address is the URL address of the MMSC such as “http://mmsc.monternet.com” is determined. 
         [0052]    S 204 : Whether the service request is the MMS is identified continually according to the service content type included in the service request. The included service content type is for example the content in the Content-Type field. If the content is the service content type of the MMS, for example, the content is “Application/vnd.wap. mms-message”, it is determined that the service request is an MMS request. 
         [0053]    In addition, a determination feature may be further added, and the following is an example. 
         [0054]    S 205 : It is needed that the MMS service request is a request for transmitting MMS service and the content information type of the Content-Type field is the MMS. For example, if a content of a method field in the service request is “m-send-req”, it is determined that the service request is the MMS service request. 
         [0055]    A determination step may also be added in an embodiment of the present invention. For example, the request for inquiring the address of the home MMSC of the user is transmitted to the ENUM server when the service route table is matched successfully according to multipurpose internet mail extensions (MIME). An MIME message may include text, image, voice, video and data specific to other application programs. 
         [0056]    S 206 : The request for inquiring the address of the home MMSC of the user is transmitted to the ENUM server if the WAP GW determines that the service request satisfying the above-mentioned conditions is the MMS service request. 
         [0057]    With the technical solution described in the above-mentioned embodiments, it is realized that the WAP GW can determine and identify correctly the service type by the service content type and carry out subsequent steps for implementing the MMS even when the address of the service gateway is configured wrongly in the terminal. Thus the user&#39;s service request is correctly realized, the user&#39;s experience is satisfied well, which is equivalent to enhancing the fault tolerant processing capacity of the WAP GW and is advantageous for the operator&#39;s service promotion. 
         [0058]    Similarly, in the data services, particularly in the message services, the Content-type field in the service request may be extended to facilitate the WAP GW to correctly identify the service type corresponding to the service request. Again, the PIM service is taken as an example below. 
         [0059]    The visited WAP GW may resolve the URL address included in the service request after receiving the service request from the roaming user. 
         [0060]    Whether the URL address is the URL address of the PIM service is determined. If it is determined that the URL address is not the URL address of the PIM service, whether the service request is the PIM service is identified according to the service content type included in the service request. The included service content type may be for example the content in the included Content-Type field. If the content is the content type of the PIM service, it is determined that the service request is the PIM service request. Subsequent processing steps are carried out according to the prior art PIM service procedure. 
         [0061]    An embodiment of the present invention may also provide a application protocol gateway such as a WAP GW. Referring to  FIG. 5 , the WAP GW  500  includes a receiving unit  501 , a determining unit  502 , and a resolving unit  503 . 
         [0062]    The receiving unit  501  is configured to receive a service request including a URL address. 
         [0063]    The determining unit  502  is configured to determine whether the URL address matches a service flow. 
         [0064]    The resolving unit  503  is configured to resolve the service content type included in the service request to identify the service type of the service request when the determination result of the determining unit  502  indicates that the URL address matches no service flow. 
         [0065]    The determining unit  502  may determine whether the URL address matches a service flow. Further, the determining unit  502  may determine whether the URL address included in the service request is the URL address of the MMSC or the address of the home PIM server of the user. 
         [0066]    The resolution result of the resolving unit  503  may include the service content type to which the service request belongs, for example the MMS service or the PIM service. 
         [0067]    The WAP GW  500  may further include a transmitting unit  504  configured to transmit a request for inquiring the address of the service server corresponding to the identified service type. For example, when the resolution result is the MMS service, the transmitting unit  504  may transmit to the ENUM server  300  a request for inquiring the address of the home MMSC of the user. 
         [0068]    The WAP GW  500  in the procedure of processing the service request may be described as follows. 
         [0069]    The WAP GW  500  may typically be the visited WAP GW. After the receiving unit  501  receives from a roaming user a service request including generally a URL address, the resolving unit  503  may resolve the service content type included in the service request. Before the resolving of the resolving unit  503 , the determining unit  502  may determine whether the URL address included in the service request is the URL address of the MMSC such as “http://mmsc.monternet.com”. If it is determined that the URL address included in the service request is not the URL address of the MMSC, the resolving unit may resolve the service content type included in the service request, and the service type of the service request is identified according to the resolution result (namely the service content type). If it is identified that the service type of the service request is the MMS service, it may also be further determined that the service request is a request for transmitting the MMS service. After that, a request for inquiring the address of the home MMSC of the user is transmitted to the ENUM server  300 . Subsequent steps proceed to the prior art procedure and are not described further here. 
         [0070]    With the technical solution described in the above-mentioned embodiments, the fault toleration capability of the WAP GW may be enhanced. The addition of determination feature may increase probability of identifying the service type correctly and better ensure normal operation of the service. And it is easier to implement with lower cost. 
         [0071]    An embodiment of the present invention may also provide a service processing system including a terminal, an application protocol gateway and an application server. 
         [0072]    The terminal is configured to transmit a service request including a field identifying the service content type of the service request. 
         [0073]    The application protocol gateway may be for example the WAP GW  500  shown in  FIG. 5  and is configured to resolve the service request transmitted by the terminal, identify the service type of the service request according to the field of the service content type and process service procedure according to the identified service type. 
         [0074]    The application server may be for example the ENUM server  300  shown in  FIG. 5  and is configured to receive the inquiry request from the application protocol gateway and inquire the address of the service server corresponding to the identified service type. The inquiring the address of the service server corresponding to the identified service type is further described as follows: Referring to  FIG. 5 , for example, when the service type identified by the WAP GW  500  is the MMS service, the ENUM server  300  may receive from the WAP GW  500  the request for inquiring the address of the home MMSC of the user and return to the WAP GW  500  an inquiry result including the address of the home MMSC of the user. Here, the server corresponding to the MMS service is the home MMSC of the user. For example again, when the service type identified by the WAP GW  500  is the PIM service, the ENUM server  300  is inquired to acquire the address of the home PIM server of the user, and the WAP GW  500  may forward the service request to the home PIM server of the user. Here, the service server corresponding to PIM service is the PIM server. 
         [0075]    Referring to  FIG. 5 , the WAP GW  500  may further include a receiving unit  501 , a determining unit  502  and a resolving unit  503 . 
         [0076]    The receiving unit  501  is configured to receive a service request including a URL address. 
         [0077]    The determining unit  502  is configured to determine whether the URL address matches a service flow. 
         [0078]    The resolving unit  503  is configured to resolve the service content type included in the service request and identify the service type of the service request when the determination result of the determining unit  502  indicates that the URL address matches no service flow. 
         [0079]    The determining unit  502  may determine whether the URL address matches a service flow. Further, the determining unit  502  may determine whether the URL address included in the service request is the URL address of the MMSC or the address of the home PIM server of the user. 
         [0080]    The resolution result of the resolving unit  503  may include the service content type to which the service request belongs, for example the MMS service or the PIM service. 
         [0081]    The WAP GW  500  may further include a transmitting unit  504  configured to transmit a request for inquiring the address of the service server corresponding to the identified service type. For example, when the resolution result is the MMS service, the transmitting unit  504  may transmit to the ENUM server  300  a request for inquiring the address of the home MMSC of the user. 
         [0082]    With the technical solution described in the above-mentioned embodiments, service content type is identified correctly, which may enhance the fault toleration capability of application protocol gateway, improve the system&#39;s capability of processing service and realize user&#39;s service request. And they are easier to implement with lower cost and with little change for networking structure of the overall system. 
         [0083]    The above description is only preferred embodiments of the present invention and is not for limiting the scope of the invention. The specification as a whole supports the protection scope of the present invention.