WO2015043451A1 - 一种cgs模式下图形化页面呈现的方法及装置 - Google Patents

一种cgs模式下图形化页面呈现的方法及装置 Download PDF

Info

Publication number
WO2015043451A1
WO2015043451A1 PCT/CN2014/087186 CN2014087186W WO2015043451A1 WO 2015043451 A1 WO2015043451 A1 WO 2015043451A1 CN 2014087186 W CN2014087186 W CN 2014087186W WO 2015043451 A1 WO2015043451 A1 WO 2015043451A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal
request
request response
response message
Prior art date
Application number
PCT/CN2014/087186
Other languages
English (en)
French (fr)
Inventor
朱红旗
孙银
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2015043451A1 publication Critical patent/WO2015043451A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for graphical page presentation in a CGS mode.
  • the interactive message architecture when the mobile terminal is connected to the mobile communication network is mainly divided into a BS (Browser/Server; front end/server side) mode, a CS (Client/Server; client/server) mode, and a CGS (Client-Gateway- Server; client application - gateway - server mode.
  • the working principle of the BS mode is similar to that of the computer access network.
  • the interactive message architecture consists of a mobile terminal and a server. Among them, a browser is installed in the mobile terminal. The working process is shown in Figure 1, and the user passes through the browser.
  • the request message is input, and the request message is sent by the mobile terminal to the server, and the server sends the service requested in the request message to the mobile terminal, and is presented by the mobile terminal in a local browser.
  • the mobile terminal needs to install the browser locally, and since the operation of the user in the browser is limited by the size of the screen of the mobile terminal, when the screen size of the mobile terminal is small, there is a problem of inconvenience in operation;
  • the server In the BS mode, the server needs to perform most of the work in the above interactive message interaction process, thereby causing a problem that the server bears a large load and the mobile communication network has a slow response speed.
  • the interactive message architecture in CS mode is composed of a terminal and a server, wherein a corresponding client application is installed in the mobile terminal, and a client application corresponds to a service, when the user needs
  • a corresponding client application is installed in the mobile terminal
  • a client application corresponds to a service
  • multiple client applications need to be installed locally on the terminal, which causes more applications installed in the terminal and affects the running speed of the terminal; and, because of the security of each client application installed to the terminal The performance is different. Therefore, when using the CS mode, the terminal has different levels of security risks.
  • the interactive message architecture in the CGS mode is composed of a terminal, a message gateway and a server.
  • the terminal is installed with a client application containing a plurality of services.
  • the working process is as shown in FIG. 2, and the user sends the message to the message gateway through the client application.
  • the request message includes multiple service requests, and the message gateway sends the foregoing request message including multiple service requests to the corresponding APP servers, and the message gateway receives the request response message sent by each APP server, and sends each request response message.
  • the terminal adopts a dialogue mode on the page presented by the interface. At this time, different keywords in the dialog mode interface presented by the terminal correspond to different service options, and the user is in the terminal.
  • the keyword corresponding to the required service is input, and the terminal sends a further request message to the message gateway according to the input keyword information.
  • the terminal when the user requests the ticket purchasing service, the terminal locally presents the corresponding ticket purchasing system page, and the page contains keyword prompt information (such as [1] for boarding pass), and the terminal is based on
  • the user inputs the keyword information (such as the user input [1]) based on the keyword prompt information, and requests to enter the corresponding "check-in boarding" page, if the "check-in boarding pass" page still contains multiple services
  • the human-computer interaction interface still uses the above dialogue mode. It can be seen that in the CGS mode, when the page requested by the terminal is presented in the conversation mode, there is a problem that the interactive message interaction process is cumbersome, the final business is inefficient, and the human-computer interaction page is inoperable.
  • the interactive message architecture when the mobile terminal is connected to the mobile communication network in the CGS mode has a cumbersome interactive message interaction process, and the final business efficiency of obtaining the user request is low. question.
  • the embodiment of the invention provides a method and a device for presenting a graphical page in a CGS mode, which is used to solve the problem that the interactive message structure in the interactive message architecture when the mobile terminal is connected to the mobile communication network is cumbersome, and the final service of obtaining the user request is inefficient.
  • the problem is used to solve the problem that the interactive message structure in the interactive message architecture when the mobile terminal is connected to the mobile communication network is cumbersome, and the final service of obtaining the user request is inefficient.
  • an apparatus for graphical page presentation in a CGS mode including:
  • a receiving unit configured to receive a first request message sent by any one of the service corresponding to the application after the terminal runs the application corresponding to the local client, and send the first request message to the first sending unit;
  • a first sending unit configured to receive a first request message sent by the receiving unit, and forward the first request message to an APP server;
  • an obtaining unit configured to: after forwarding the first request message to the APP server, acquiring a first request response message that is sent by the APP server and carrying the page script message, and sending the first request response message to the second sending unit;
  • the second sending unit is configured to send the first request response message to the terminal, and instruct the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
  • the method further includes: a verification unit, configured to: perform scripting on the first request response message before sending the first request response message to the terminal Verify that the result of the script verification is correct.
  • the information adding unit is further configured to: when the result of the script verification is correct, the first request is Before the response message is sent to the terminal, the information corresponding to the extended tag carried in the first request response message is detected in the message gateway, and the information corresponding to the extended tag is added to the first request response message.
  • the terminal is configured to include at least one input box in the rendered graphical page, the information corresponding to the extended label; wherein the first request response message further carries an extended label; If the information corresponding to the extended label carried in the first request response message does not exist in the message gateway, the terminal is instructed to start an application corresponding to the extended label in the terminal, and receive the extended label by the terminal.
  • At least one input box contains information corresponding to the extended tag.
  • the processing unit is further configured to: invoke the built-in browser of the client to render corresponding graphics in the terminal interface
  • the receiving terminal After the page, the receiving terminal generates a second request message that carries the information corresponding to the extended tag according to the user indication; the information corresponding to the extended tag carried in the second request message, and the corresponding information of the APP server.
  • the right information is sent to the APP server, and the APP server is notified to generate the carrying according to the second request message, when it is determined that the APP server has the right to obtain the information corresponding to the extended label.
  • an apparatus for graphical page presentation in a CGS mode including:
  • a sending unit configured to: after the local client runs the application indicated by the user, according to the user indication, send a first request message to the message gateway according to the service indicated by the user corresponding to the application;
  • a receiving unit configured to receive a first request response message that is generated by the message gateway according to the first request message, and send the first request response message to a presentation unit;
  • a presentation unit configured to receive a first request response message sent by the receiving unit, and present a corresponding graphical page on the local interface according to the page script message.
  • the processing unit further includes: receiving, by the message gateway, carrying, in the first request response message, when determining that the information corresponding to the extended label exists in the message gateway And the information corresponding to the extended label, and the at least one input box is included in the rendered graphical page, and the information corresponding to the extended label is included; wherein the first request response message further carries an extended label.
  • the processing unit is further configured to: according to the message gateway, determining that the extended label does not exist in the message gateway When the corresponding information is sent, the corresponding application corresponding to the extended label is started after the corresponding graphical page is presented; and the information corresponding to the extended label is obtained based on the corresponding application in the extended label, and according to The user instructs to generate a second request message carrying the information corresponding to the extended tag, and sends the second request message to the message gateway; and receives the second message carrying the page script message fed back by the message gateway for the second request message. Requesting a response message; according to the page script message, presenting a corresponding graphical page on the terminal interface.
  • the presentation unit is specifically configured to: locally according to the page script message Presenting at least one keyword and its corresponding input box, or presenting at least one keyword and its corresponding option locally, or presenting at least one user request result locally.
  • an apparatus for graphical page presentation in a CGS mode including:
  • a receiving unit configured to receive a first request message sent by the message gateway, and send the first request message to the generating unit
  • a generating unit configured to receive a first request message sent by the receiving unit, and generate a first request response message that carries a page script message according to the first request message, and send the first request response message to the sending unit;
  • a sending unit configured to receive a first request response message sent by the generating unit, and send the first request response message carrying the page script message to the message gateway, instructing the message gateway to report the portable page script
  • the first request response message of the text is sent to the terminal, so that the terminal presents the corresponding graphical page on the terminal interface according to the first request response message.
  • the processing unit is further configured to:
  • a method for displaying a graphical page in a CGS mode including:
  • the receiving terminal runs the application corresponding to the local client, the first request message sent according to any one of the services corresponding to the application;
  • the first request response message further carries an extended label; when the result of the script verification is correct, Before the first request response message is sent to the terminal, the method further includes: adding information corresponding to the extended label carried in the first request response message to the message gateway, and adding information corresponding to the extended label to The first request response message is sent to the terminal, so that the terminal has at least one input box in the rendered graphical page that includes the information corresponding to the extended label.
  • At least one input box in the graphical page contains information corresponding to the extended label.
  • the method further includes: receiving, by the terminal, generating, carrying, according to the user indication a second request message that expands the information corresponding to the tag; determining, according to the information corresponding to the extended tag carried in the second request message, and the rights information corresponding to the APP server, when determining that the APP server is configured to acquire the extension Sending the second request message to the APP server, and informing the APP server to generate a second request response message carrying a page script message according to the second request message; The second request response message sent by the APP server, and the second request response message is sent to the terminal, and the terminal is instructed to present a corresponding graphical page on the terminal interface according to the page script message.
  • a method for presenting a graphical page in a CGS mode including:
  • the first request response message further carries an extended label; and when the receiving the message gateway determines that the information corresponding to the extended label exists in the message gateway, the first The information corresponding to the extended tag carried in the response message is requested, and at least one input box is presented in the rendered graphical page to include information corresponding to the extended tag.
  • the corresponding graphic is presented.
  • the application corresponding to the extended tag is activated, and the information corresponding to the extended tag is obtained according to the corresponding application in the extended tag, and the second information corresponding to the extended tag is generated according to the user indication.
  • the terminal interface presents a corresponding graphical page.
  • At least one keyword and its corresponding locality are locally generated according to the page script message. Enter a box, or render at least one keyword and its corresponding option locally, or present at least one user request result locally.
  • a method for displaying a graphical page in a CGS mode including:
  • the first request response message further includes an extended label
  • the terminal is instructed, after the terminal presents the graphical page according to the first request response message
  • the method further includes: when the APP server has the right to obtain the information corresponding to the extended label, receiving a second request message that is sent by the message gateway and carrying the information corresponding to the extended label; and generating a carrying page script according to the second request message. Transmitting the second request response message carrying the page script message to the message gateway, instructing the message gateway to send the second request response message carrying the page script message to The terminal causes the terminal to present a corresponding graphical page on the terminal interface according to the second request response message.
  • the terminal runs the client application indicated by the user, and sends a request message to the message gateway according to the service indicated by the user corresponding to the client application, to notify the message gateway that the request is received.
  • the message is sent to the APP server.
  • the APP server After receiving the request message, the APP server generates a request response message carrying the page script message based on the request message.
  • the message gateway After receiving the request response message sent by the APP server, the message gateway sends the request response message.
  • the terminal performs graphic rendering locally according to the page script message carried in the request response message, and presents the graphical page.
  • the graphical page presentation of the terminal is realized by requesting the page script message in the response message in the CGS mode, thereby avoiding the problem of poor operability caused by the current human-computer interaction interface using the dialogue mode presentation.
  • the interactive message interaction process is simplified; and when the final service requested by the user includes multiple request items, the terminal may send a request message containing the multiple request items to the server, and send the user request according to the response message returned by the obtained server.
  • the final service is presented by a request, which avoids the fact that the current terminal needs multiple requests to obtain the final service requested by the user, so that there is a problem of low efficiency when obtaining the final service requested by the user.
  • FIG. 1 is a schematic diagram of interaction of interactive messages in a BS mode in the prior art
  • FIG. 2 is a schematic diagram of interaction of interactive messages in a CGS mode in the prior art
  • FIG. 3 is a schematic diagram of a page presented by a terminal in a CGS mode in the prior art
  • FIG. 4 is a schematic structural diagram of a system in an embodiment of the present invention.
  • FIG. 5 is a flowchart 1 of a graphical page presentation in a CGS mode according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram 1 of a graphical page presented by a terminal in a CGS mode according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram 2 of a graphical page presented by a terminal in a CGS mode according to an embodiment of the present invention
  • FIG. 8 is a flowchart 2 of a graphical page presentation in a CGS mode according to an embodiment of the present invention.
  • FIG. 9 is a flowchart 3 of a graphical page presentation in a CGS mode according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a graphical page presentation in a CGS mode in a specific application scenario according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a graphical page presented by a terminal according to a second request response message in a CGS mode according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of a graphical page presented by a terminal according to a third request response message in a CGS mode according to an embodiment of the present invention
  • FIG. 13 is a schematic diagram of interaction of interactive messages when a graphical page is presented in a CGS mode according to an embodiment of the present invention
  • FIG. 14 is a schematic structural diagram 1 of a graphical page presentation apparatus in a CGS mode according to an embodiment of the present invention
  • FIG. 15 is a second schematic structural diagram of a graphical page presentation device in a CGS mode according to an embodiment of the present invention.
  • 16 is a schematic structural diagram 3 of a graphical page presentation device in a CGS mode according to an embodiment of the present invention.
  • 17 is a schematic structural diagram of a message gateway in a CGS mode according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a terminal in a CGS mode according to an embodiment of the present invention.
  • FIG. 19 is a schematic structural diagram of an APP server in a CGS mode according to an embodiment of the present invention.
  • the terminal runs the client application indicated by the user, and sends a request message to the message gateway according to the service indicated by the user corresponding to the client application, to notify the message gateway that the request is received.
  • the message is sent to the APP server.
  • the APP server After receiving the request message, the APP server generates a request response message carrying the page script message based on the request message.
  • the message gateway After receiving the request response message sent by the APP server, the message gateway sends the request response message.
  • the terminal performs graphic rendering locally according to the page script message carried in the request response message, and presents the graphical page.
  • the graphical page presentation of the terminal is realized by requesting the page script message in the response message in the CGS mode, thereby avoiding the problem of poor operability caused by the current human-computer interaction interface using the dialogue mode presentation.
  • the interactive message interaction process is simplified; and when the final service requested by the user includes multiple request items, the terminal may send a request message containing the multiple request items to the server, and send the user request according to the response message returned by the obtained server.
  • the final service is presented by a request, which avoids the fact that the current terminal needs multiple requests to obtain the final service requested by the user, so that there is a problem of low efficiency when obtaining the final service requested by the user.
  • FIG. 4 is a schematic diagram of a system architecture in an embodiment of the present invention, in which a terminal interacts with an APP server by using a message gateway (Message Gate), and an interactive message is exchanged between devices of the system.
  • the protocol applied is HTTP.
  • the detailed process of the message center control terminal performing the graphical page presentation in the CGS mode is:
  • Step 500 The first request message sent by the terminal according to any one of the services corresponding to the application after the terminal runs the application corresponding to the local client.
  • the terminal is installed with a client-compatible application.
  • the client is a unified client with a built-in browser, and the client can correspond to a plurality of different services, such as installing a local device.
  • a chat tool client which can correspond to various services including news, mailbox information, and the like.
  • the terminal After detecting that the user selects the indication of the client locally, the terminal runs the client application, and displays a login page corresponding to the client application on the terminal interface; when the terminal detects that the user inputs correctly in the login page Log in to the client after verifying the information; After detecting that the user selects any one of the services corresponding to the client after logging in to the client, the terminal sends a request message to the message gateway based on any service selected by the user; the message gateway receives the request message sent by the terminal. .
  • Step 510 After forwarding the foregoing request message to the APP server, obtain a first request response message that is sent by the APP server and carries a page script message.
  • the different services in the same client correspond to different APP servers. Therefore, after receiving the first request message sent by the terminal, the message gateway parses the related information carried in the first request message, such as The service type is requested, the service name is requested, and the like, and the first request message is sent to the APP server corresponding to the related information according to the related information carried in the first request message.
  • the APP server After receiving the first request message sent by the message gateway, the APP server generates a first request response message according to the request service name carried in the first request message, and sends the first request response message to the foregoing Message gateway.
  • the generated first request response message carries a page script message, and the page script message language is based on the HTML5, and is configured to enable the terminal to graphically render the page presented by the local interface according to the page script message.
  • the first request response message further carries an extended label.
  • Different extension tags can correspond to different functions, such as the GPS positioning function of the corresponding terminal of the gis tag, the sms tag corresponding to the short message sending function of the terminal, the call tag corresponding to the calling function of the terminal, the camera tag corresponding to the camera function of the terminal, and the fetch tag correspondingly User related information (such as identity information, etc.).
  • the extended tags carried in the first request response message are different, corresponding functions are implemented differently.
  • the message gateway obtains the first request response message returned by the APP server, optionally, the first request response message is subjected to script verification; when the verification result of the script is correct, the first request response message is sent to the terminal. .
  • Step 520 Send the first request response message to the terminal, and instruct the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
  • the terminal supports the HTML5 language, and the terminal supports the extended label.
  • the terminal obtains a graphical interface locally according to the extended label and/or keyword information in the page script message carried in the first request response message, so that at least one keyword is presented in the local interface. And its corresponding input box (see FIG. 6), or to present at least one keyword and its corresponding option in the local interface, or to present at least one user request result in the local interface.
  • the terminal can send the second request message to the message gateway according to the option selected by the user, and does not need to perform the step-by-step operation performed when the keyword is input in the conversation mode, thereby improving the efficiency of the interactive message flow.
  • the message gateway detects whether the information corresponding to the extended label carried in the first request response message (such as a mobile phone number) exists locally; if it is determined that the first request exists locally.
  • the information corresponding to the extended label carried in the response message is added to the first request response message, and the first request response message to which the information corresponding to the extended label is added is sent to the terminal, so that the terminal is in the terminal
  • At least one input box in the locally generated graphical page contains information corresponding to the above extended label. That is, the part already existing in the graphical page presented by the terminal according to the first request response message is locally saved information in the message gateway.
  • the first request response message returned by the APP server carries keywords such as “category”, “keyword”, and “mobile phone number”, correspondingly, the first request response message carries a fetch extension tag, if “the mobile phone” For the number information, the corresponding information already exists in the input box corresponding to the “mobile phone number” in the graphical page presented by the terminal, as shown in FIG. 6 .
  • the message gateway does not detect whether the information corresponding to the extended label carried in the first request response message (such as the login user name) exists locally, and the first The request response message is sent to the terminal, and the terminal sends an information acquisition request message to the message gateway according to the extended label carried in the first request response message, requesting the message gateway to send the information corresponding to the extended label, and the terminal corresponds to the extended label sent by the message gateway.
  • the information is locally rendered in the graphical page, wherein at least one input box in the graphical page includes the information corresponding to the extended label.
  • the message gateway is added to the first request response message, so that the terminal responds to the message according to the first request in the graphical page of the terminal.
  • the message gateway is added to the first request response message, so that the terminal responds to the message according to the first request in the graphical page of the terminal.
  • the information corresponding to the extension label obtained from the message gateway is presented in the graphical page local to the terminal.
  • the message gateway determines that the information corresponding to the extended tag carried in the first request response message does not exist in the local device, the terminal is instructed to start an application corresponding to the extended tag in all local applications, and the corresponding application in the extended tag is used.
  • the program obtains the information corresponding to the extended label, and sends the information corresponding to the extended label to the message gateway, and the message gateway adds the information corresponding to the extended label to the first request response message, so that the terminal generates the locally generated graphic
  • At least one input box in the page contains information corresponding to the above extended label. For example, if the request response message carries the gis extension tag, the message gateway instructs the terminal to enable the GPS positioning software, so that the message gateway can quickly acquire the location of the terminal.
  • the terminal sends the second request message according to the user's request to perform the re-operation in the current graphical page, and the second request message carries the extended label corresponding
  • the message gateway obtains the information corresponding to the extended tag, it determines whether the information corresponding to the extended tag is sent to the APP server according to the information corresponding to the extended tag and the rights information corresponding to the APP server. For example, if the APP server requests to obtain the user ID information, the message gateway verifies whether the APP server has the right to obtain the user ID information.
  • the message gateway When the APP server has the obtaining authority, the message gateway sends the user ID information to the APP; when the APP server does not have the acquisition right, the message gateway will refuse to send the above user ID information to the APP server.
  • the APP server generates a second request response message carrying the page script message according to the second request message, and sends the request response message to the message gateway, so that the message gateway sends the second request response message to the terminal, so that the terminal The second request response message presents the graphical page locally.
  • the message gateway uniformly manages the related information of each terminal, thereby avoiding the information leakage problem caused by the user logging in to the client with low security, and effectively improving the network security performance.
  • the terminal invokes the built-in browsing in the client interface according to the page script message.
  • the corresponding graphical page is rendered.
  • the terminal can also call other applications included locally to present a graphical interface on the local interface.
  • the message center terminal is graphically displayed in the CGS mode.
  • the detailed process of page rendering is:
  • Step 800 After the terminal runs the application corresponding to the client indicated by the user, the terminal sends a first request message to the message gateway based on the service indicated by the user corresponding to the application.
  • the first request response message carries a page script message, and optionally, the first request response message further carries an extended label.
  • the terminal when the first request response message carries the extended label, and the terminal receives the message corresponding to the extended label in the message gateway, the terminal corresponds to the information corresponding to the extended label carried in the first request response message. And presenting in the rendered graphical page at least one input box containing information corresponding to the extended label.
  • Step 810 The terminal receives the first request response message that is sent by the message gateway and carries the page script message, and displays the corresponding graphic page in the local interface according to the page script message.
  • the terminal locally presents the response data requested by the user according to the page script message carried in the first request response message, and specifically, at least one keyword and its corresponding input box are locally presented in the terminal, or At least one keyword and its corresponding option are presented locally at the terminal, or at least one user request result is presented locally at the terminal.
  • the application corresponding to the extended label in all local applications is started after the corresponding graphical page is presented; and the corresponding application is obtained based on the extended label Expanding the information corresponding to the label, and generating a second request message carrying the information corresponding to the extended label according to the user indication; sending the second request message to the message gateway; and receiving the message carrying the page script message fed back by the message gateway for the second request message
  • the second request response message; according to the above page script message, the corresponding graphical page is presented on the terminal interface.
  • the user may use one or more keywords according to the above one or more keywords. Tips, enter the appropriate information in the input box.
  • the user can only check the accuracy of the corresponding information in the input box.
  • the terminal receives the confirmation information input by the user, the terminal can be based on each of the above keywords and their corresponding letters.
  • the second request message is generated, and the second request message is sent to the message gateway, waiting for the end user request result returned by the message gateway.
  • the terminal When the graphical page presented by the terminal includes a keyword and its corresponding option, or includes multiple keywords and options corresponding to each keyword, the user may select any according to the prompt of one or more keywords.
  • An option when multiple options are included, the user can select multiple options as needed.
  • the terminal After detecting the selected indication of the user, the terminal generates a second request message based on the selected option and the keyword corresponding to the selected option, and sends the second request message to the message gateway, waiting for the message gateway to return the end user request result.
  • the graphical page presented by the terminal may include response data requested by the user for browsing, and the user may perform corresponding operations in the graphical interface.
  • the terminal After responding to the operation of the user, the terminal sends further information to the network side.
  • the terminal After receiving the further request response message sent by the network side according to the further request message, the terminal refreshes the local interface according to the further request response message, and presents the latest response graphical page.
  • the terminal sends a request message to the network side in response to the user request according to the foregoing process, and receives the request response message sent by the network side to present a graphical interface until the graphical user-presented page contains the end user request result.
  • the graphical page displayed by the terminal locally may include multiple keywords and corresponding options for each keyword, and multiple keywords and corresponding input boxes for each keyword, that is, the user may Multiple input or multiple selections in one page, that is, one or more requests are sent in one page, thereby avoiding one page in conversation mode to complete a selection, that is, sending a request in one page, improving interpersonal interaction
  • the operability of the interface simplifies the interactive message interaction process.
  • the terminal when the user needs to subscribe to a new service or install a new plug-in, the terminal supports installing a new plug-in in a local existing client to meet the requirement of the user to subscribe to a new service.
  • the detailed process of the message center APP server controlling the terminal to perform graphical page presentation in the CGS mode is as follows:
  • Step 900 The APP server receives the first request message sent by the message gateway, and generates a first request response message that carries the page script message based on the first request message.
  • the first request response message may further carry an extended label.
  • Step 910 The APP server sends the first request response message carrying the page script message to the message gateway, and the message gateway sends the first request response message to the terminal, so that the terminal locally presents the terminal according to the first request response message.
  • Graphical page
  • the information corresponding to the extended label sent by the message gateway is received.
  • the information corresponding to the extended label may be information saved locally before the message gateway, or may be information obtained by the message gateway at the current moment.
  • the terminal After the terminal presents the graphical page according to the first request response message, when the terminal has the right to obtain the information corresponding to the extended tag, the terminal receives the second request message that is sent by the message gateway and carries the information corresponding to the extended tag;
  • the second request message generates a second request response message that carries the page script message, and sends the second request response message that carries the page script message to the message gateway, instructing the message gateway to respond to the second request that carries the page script message.
  • the message is sent to the terminal, so that the terminal presents the graphical page in the browser built in the terminal in the terminal calling terminal according to the second request response message.
  • the following describes the presentation process of the graphical page in the CGS mode by taking the user's request to obtain the commercial alliance coupons of all the stores around the user's location.
  • the terminal has installed the client A corresponding to the acquisition of the commercial alliance coupon, and has subscribed to the service A corresponding to the acquisition of the commercial alliance coupon. Moreover, the terminal has successfully registered in the client, and in the registration process, the terminal binds the registered account with the local mobile phone number.
  • Step 1000 The terminal responds to the indication of the user, and runs the client A. After the terminal logs in to the client A successfully, the page corresponding to the service A is locally presented in the terminal.
  • Step 1001 After detecting that the user selects the “I want a coupon” option, the terminal generates a first request message based on the “I want a coupon” option, and sends the first request message to the message gateway.
  • the message included in the first request message generated based on the “I want a coupon” option may take the following form:
  • Beach Moon View is the user name corresponding to the user registration.
  • Step 1002 After receiving the first request message sent by the terminal, the message gateway parses the service name in the first request message, and forwards the first request message to the corresponding APP server.
  • the APP server is a server corresponding to the business alliance coupon system
  • Step 1003 After receiving the foregoing first request message, the APP server sends a first request response message to the message gateway.
  • the terminal requests the acquisition of the commercial alliance coupons of all the stores in the vicinity of the location of the terminal, and the first request response message includes the extended label corresponding to the positioning function; An extension tag corresponding to the function of obtaining user identification information is also included.
  • the page script message included in the first request response message may be in the following form:
  • gis is the label of the positioning function; fetch is the extended label of the function of obtaining the user identification information.
  • Step 1004 The message gateway sends the received first request response message to the terminal.
  • the message gateway parses the extended label carried in the first request response message, corresponding to the gis extension label, and the message gateway instructs the terminal to start the GPS application, and obtain the terminal. After the location information of the terminal, the location information of the terminal is added to the input box corresponding to the terminal location in the first request response message; corresponding to the fetch extension tag, the message gateway locally stores the mobile phone number of the terminal, and the message gateway uses the mobile phone number. It is directly added to the input box corresponding to the mobile phone number in the above first request response message.
  • Step 1005 The terminal receives the first request response message sent by the message gateway, and renders the local interface according to the page script message carried in the first request response message, and presents the first graphical page in the local interface.
  • the message gateway since the message gateway has added corresponding information to the input box corresponding to the “terminal location” and the “mobile phone number” keyword, the user only needs to “classify” and “key”. Enter the corresponding information in the input box corresponding to the word "keyword”.
  • Step 1006 The terminal sends a second request message to the message gateway in response to the "submit" indication input by the user.
  • the packet included in the second request message may be in the following form:
  • Step 1007 After receiving the second request message sent by the terminal, the message gateway forwards the second request message to the APP server.
  • the second request message carries the user identification information. Therefore, before the message gateway forwards the second request message to the APP server, the message gateway determines whether the APP server has the right to obtain the user identification information. If yes, the second request message is sent to the APP server; otherwise, the message gateway will refuse to send the user identification information to the APP server.
  • Step 1008 After receiving the second request message, the APP server sends a second request response message to the message gateway.
  • the page script message included in the second request response message may be in the following form:
  • Step 1009 The message gateway sends the received second request response message to the terminal, and the terminal is configured to receive the second request response message sent by the message gateway, and render the terminal local interface according to the page script message carried in the second request response message.
  • the second graphical page is rendered in the local interface.
  • the terminal refreshes the local interface according to the second request response message, and presents the second graphical page in the local interface.
  • the first graphical page is to be the second graphical page. Instead, the user can return to the first graphical page via the back function.
  • Step 1010 The terminal generates a third request message in response to the option selected by the user in the second graphical page, and sends the third request message to the message gateway.
  • the packet included in the third request message may be in the following form:
  • Step 1011 After receiving the third request message sent by the terminal, the message gateway forwards the third request message to the APP server, and receives a third request response message sent by the APP server.
  • the page script message included in the third request response message may be in the following form:
  • Step 1012 The message gateway sends the received third request response message to the terminal, and the terminal receives the third request response message sent by the message gateway, and renders the terminal local interface according to the page script message carried in the third request response message.
  • the third graphical page is rendered in the local interface.
  • the terminal refreshes the local interface according to the third request response message, and presents the third graphical page in the local interface.
  • the third graphical page includes the end user request result.
  • the interactive message interaction between the terminal, the message gateway and the APP server is shown in FIG.
  • the present invention further provides an apparatus for graphical page presentation in a CGS mode, including a receiving unit 140, a first sending unit 141, an obtaining unit 142, and a second sending unit 143, wherein:
  • the receiving unit 140 is configured to receive, after the terminal runs the application corresponding to the local client, the first request message sent according to any one of the services corresponding to the application, and send the first request message to the first sending unit. 141;
  • the first sending unit 141 is configured to receive the first request message sent by the receiving unit 140, and forward the first request message to the APP server;
  • the obtaining unit 142 is configured to: after forwarding the first request message to the APP server, acquiring a first request response message that is sent by the APP server and carrying the page script message, and sending the first request response message to the second Transmitting unit 143;
  • the second sending unit 143 is configured to receive the first request message sent by the obtaining unit 142, and send the first request response message to the terminal, instructing the terminal to use the page script message according to the The terminal interface presents the corresponding graphical page.
  • the device includes a check unit 144, configured to perform a script check on the first request response message before sending the first request response message to the terminal, and confirm that the result of the script check is correct.
  • the device further includes an information adding unit 145, configured to: when the first request response message is sent to the terminal, when the result of the script verification is correct, the first And the information corresponding to the extended label carried in the request response message is added to the first request response message and sent to the terminal, so that the terminal has at least one of the presented graphical pages.
  • the input box includes information corresponding to the extended label, where the first request response message further carries an extended label, and the information corresponding to the extended label carried in the first request response message does not exist in the detected message gateway.
  • the device further includes a processing unit 146, configured to: after the terminal interface presents the corresponding graphical page, receive, by the terminal, a second request message that carries information corresponding to the extended tag according to the user indication; The information corresponding to the extended label carried in the second request message, and the right information corresponding to the APP server, when the APP server is determined to have the right to obtain the information corresponding to the extended label, the second request message is used.
  • a processing unit 146 configured to: after the terminal interface presents the corresponding graphical page, receive, by the terminal, a second request message that carries information corresponding to the extended tag according to the user indication; The information corresponding to the extended label carried in the second request message, and the right information corresponding to the APP server, when the APP server is determined to have the right to obtain the information corresponding to the extended label, the second request message is used.
  • the present invention further provides an apparatus for graphical page presentation in a CGS mode, including a transmitting unit 150, a receiving unit 151, and a rendering unit 152, wherein:
  • the sending unit 150 is configured to: after the local client runs the application indicated by the user, according to the user indication, send a first request message to the message gateway according to the service indicated by the user corresponding to the application;
  • the receiving unit 151 is configured to receive a first request response message that is generated by the message gateway according to the first request message, and send the first request response message to the presentation unit 152;
  • the presentation unit 152 is configured to receive the first request response message sent by the receiving unit 151, and present a corresponding graphical page on the local interface according to the page script message.
  • the device further includes a processing unit 153, configured to: receive information corresponding to the extended label carried in the first request response message when the message gateway determines that the information corresponding to the extended label exists in the message gateway, and At least one input box is displayed in the rendered graphical page, and the information corresponding to the extended label is included; wherein the first request response message further carries an extended label.
  • a processing unit 153 configured to: receive information corresponding to the extended label carried in the first request response message when the message gateway determines that the information corresponding to the extended label exists in the message gateway, and At least one input box is displayed in the rendered graphical page, and the information corresponding to the extended label is included; wherein the first request response message further carries an extended label.
  • the present invention further provides an apparatus for graphical page presentation in a CGS mode, including a receiving unit 160, a generating unit 161, and a transmitting unit 162, wherein:
  • the receiving unit 160 is configured to receive the first request message sent by the message gateway, and send the first request message to the generating unit 161;
  • the generating unit 161 is configured to receive the first request message sent by the receiving unit 160, generate a first request response message carrying the page script message based on the first request message, and send the first request response message to the sending unit 162;
  • the sending unit 162 is configured to receive the first request response message sent by the generating unit 161, and send the first request response message carrying the page script message to the message gateway, instructing the message gateway to use the carrying page
  • the first request response message of the script message is sent to the terminal, so that the terminal presents the corresponding graphical page on the terminal interface according to the first request response message.
  • the device further includes a processing unit 163, configured to: instruct the terminal to receive, after the terminal presents the graphical page according to the first request response message, when the APP server has the right to obtain the information corresponding to the extended tag, a second request message that is sent by the message gateway and that carries the information corresponding to the extended label.
  • the first request response message further includes an extended label, and the second request message generates a page that carries the page script message.
  • the second request response message carrying the page script message is sent to the message gateway, and the message gateway is configured to send the second request response message carrying the page script message to the terminal, so that the terminal is configured according to the second
  • the request response message presents a corresponding graphical page on the terminal interface.
  • the present invention also provides a message gateway for graphical page presentation in CGS mode, including a transceiver 170, wherein:
  • the transceiver 170 is configured to receive, after the terminal runs the application corresponding to the local client, the first request message sent according to any one of the services corresponding to the application, and forward the first request message to the APP server; After forwarding the first request message to the APP server, receiving a first request response message that is sent by the APP server and carrying a page script message;
  • the transceiver 170 is further configured to send the first request response message to the terminal, and instruct the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
  • the message gateway further includes a processor 171, configured to perform a script check on the first request response message before sending the first request response message to the terminal; and confirm that the result of the script check is correct.
  • the processor 171 is further configured to: when the result of the verification of the script is correct, send the first request response message to the terminal, and detect that the presence of the first request response message in the message gateway is carried
  • the information corresponding to the extended label is added to the first request response message and sent to the terminal, so that the terminal has at least one input box in the presented graphical page.
  • the transceiver 170 is further configured to: after the terminal interface presents the corresponding graphical page, receive, by the terminal, a second request message that carries information corresponding to the extended tag according to the user indication; and the second request message Sent to processor 171; and will be acquired by processor 171 Sending a request message to the APP server, informing the APP server to generate a second request response message carrying a page script message according to the second request message, and receiving a second request response message sent by the APP server, and The second request response message is sent to the terminal, and the terminal is instructed to present a corresponding graphical page on the terminal interface according to the page script message.
  • the processor 171 is further configured to receive the second request message sent by the transceiver 170, according to the information corresponding to the extended tag carried in the second request message, and the rights information corresponding to the APP server, when determining the When the APP server has the authority to acquire the information corresponding to the extended tag, the notification transceiver 170 transmits the second request message to the APP server.
  • the present invention provides a terminal for graphical page presentation in a CGS mode, including a transceiver 180, a memory 181, and a processor 182, wherein:
  • the transceiver 180 is configured to send a first request message to the message gateway, receive a first request response message that is generated by the message gateway according to the first request message, and send the first request response message. Send to the processor 182;
  • the processor 182 is configured to run the application in the memory 181 and perform the following steps:
  • the processor 182 is further configured to receive the information corresponding to the extended label carried in the first request response message when the message gateway determines that the information corresponding to the extended label exists in the message gateway, and the rendered graphic page is displayed.
  • the at least one input box includes information corresponding to the extended label, where the first request response message further carries an extended label.
  • the processor 182 is further configured to: after the message gateway determines that the information corresponding to the extended tag does not exist in the message gateway, initiate an application corresponding to the extended tag after the corresponding graphical page is presented; The corresponding application in the extended tag acquires information corresponding to the extended tag, and generates a second request message carrying information corresponding to the extended tag according to the user indication; and sends the second request message to the transceiver 180.
  • the transceiver 180 is further configured to receive the second request message sent by the processor 181, and send the second request message to the message gateway; and receive the second message carrying the page script message fed back by the message gateway for the second request message. Requesting a response message; sending the second request response message to the processor 182.
  • the processor 182 is further configured to present, according to the page script message carried in the second response message, a corresponding graphical page on the terminal interface.
  • the processor 182 is further configured to locally present at least one keyword and its corresponding input box according to the page script message, or locally present at least one keyword and its corresponding option, or locally present at least one user request result.
  • the present invention provides an APP server for graphical page presentation in CGS mode, including a transceiver 190, a processor 191, wherein:
  • the transceiver 190 is configured to receive a first request message sent by the message gateway, and send the first request message to the processor 191;
  • the processor 191 is configured to receive a first request message sent by the transceiver 190, generate a first request response message that carries a page script message, and send the first request response message to the transceiver according to the first request message. 190;
  • the transceiver 190 is further configured to receive a first request response message sent by the processor 191, and send the first request response message carrying the page script message to the message gateway, to instruct the message gateway to carry the The first request response message of the page script message is sent to the terminal, so that the terminal presents the corresponding graphical page on the terminal interface according to the first request response message.
  • the transceiver 190 is further configured to: after the terminal presents the corresponding graphical page according to the first request response message, when the APP server has the right to obtain the information corresponding to the extended tag, the terminal receives the message. a second request message that is sent by the gateway and that carries the information corresponding to the extended label, where the first request response message further carries an extended label, and generates a second request response that carries the page script message according to the second request message. Transmitting the second request response message carrying the page script message to the message gateway, instructing the message gateway to send the second request response message carrying the page script message to the terminal, so that the terminal according to the The second request response message presents a corresponding graphical page on the terminal interface.
  • the page in the response message is requested in the CGS mode.
  • the script message is used to realize the graphical page presentation of the terminal, and the technical solution of the invention avoids the problem of poor operability caused by the current human-computer interaction interface using the dialogue mode presentation, simplifies the interactive message interaction process, and improves the acquisition user.
  • the efficiency of the requested final service; and, in the CGS mode, the terminal does not need to install multiple clients corresponding to different services, thereby avoiding the problem that affects the running speed of the terminal caused by too many terminal installation applications.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种CGS模式下图形化页面呈现的方法及装置,用于解决在移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问题。方法为:在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,采用本发明技术方案,避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程,提高了获取用户所请求的最终业务的效率;并且,在CGS模式下,对应于不同的业务,终端无须安装多个客户端,从而避免了终端安装应用程序过多造成的影响终端运行速度的问题。

Description

一种CGS模式下图形化页面呈现的方法及装置 技术领域
本本发明涉及通信技术领域,尤其涉及一种CGS模式下图形化页面呈现的方法及装置。
背景技术
随着移动通信技术的飞速发展,通过移动终端连接至移动通信网络已经变得越来越方便快捷。目前,移动终端连接至移动通信网络时的互动消息架构主要分为BS(Browser/Server;前端/服务器端)模式,CS(Client/Server;客户机/服务器)模式,以及CGS(Client-Gateway-Server;客户端应用程序-网关-服务器)模式。
BS模式的工作原理与计算机接入网络的工作原理相似,其互动消息架构由移动终端和服务器组成,其中,移动终端中安装有浏览器,其工作过程参阅图1所示,用户通过在浏览器中输入请求消息,由移动终端将该请求消息发送至服务器,服务器将上述请求消息中请求的业务发送至移动终端,并由移动终端呈现在本地的浏览器中。由此可见,在BS模式中,移动终端需要在本地安装浏览器,由于用户在浏览器中的操作受限于移动终端屏幕的尺寸,当移动终端屏幕尺寸较小时,存在操作不便的问题;并且,在BS模式下服务器需要执行上述互动消息交互过程中的大部分工作,从而造成服务器承载较大,移动通信网络响应速度慢的问题。
CS模式下互动消息架构由终端和服务器组成,其中,在移动终端中安装相应的客户端应用程序,一个客户端应用程序对应一种业务,当用户需要请 求多种业务时,需要在终端本地安装多个客户端应用程序,从而造成终端中安装的应用程序较多,影响终端运行速度的问题;并且,由于安装至终端的各个客户端应用程序其安全性能不同,因此,采用CS模式时,终端存在不同程度的安全隐患。
CGS模式下互动消息架构由终端、消息网关以及服务器组成,其中,终端安装有包含多种业务的客户端应用程序,其工作过程参阅图2所示,用户通过该客户端应用程序向消息网关发送包含多个业务请求的请求消息,消息网关将上述包含多个业务请求的请求消息发送至相应的各个APP服务器,以及由消息网关接收各个APP服务器发送的请求响应消息,并将各个请求响应消息发送至终端。目前,在CGS模式下,终端接收上述请求响应消息后在界面呈现的页面采用对话模式,此时,终端在界面呈现的对话模式界面中不同的关键字对应于不同的业务选项,用户在终端中输入所需要的业务对应的关键字,终端根据该输入的关键字信息向消息网关发送进一步的请求消息。例如,参阅图3所示,当用户请求购票业务时,则终端在本地呈现相应的购票系统页面,且该页面内包含关键字提示信息(如【1】办理登机牌),终端根据用户基于上述关键字提示信息输入的关键字信息(如用户输入【1】),请求进入相应的“办理登机牌”的页面,若在“办理登机牌”页面中仍包含多个业务时,人机交互界面仍采用上述对话模式。由此可见,在CGS模式下,采用对话模式呈现终端请求的页面时,存在互动消息交互过程繁琐,获取最终业务效率低,人机交互页面可操作性差的问题。
综上所述,目前,在CGS模式下移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问 题。
发明内容
本发明实施例提供一种CGS模式下图形化页面的呈现方法及装置,用以解决在移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问题。
本发明实施例提供的具体技术方案如下:
第一方面,提供一种CGS模式下图形化页面呈现的装置,包括:
接收单元,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息发送至第一发送单元;
第一发送单元,用于接收接收单元发送的第一请求消息,并将所述第一请求消息转发至APP服务器;
获取单元,用于将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息,并将该第一请求响应消息发送至第二发送单元;
第二发送单元,用于将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
结合第一方面,在第一种可能的实现方式中,还包括校验单元,用于:将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括信息添加单元,用于:当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程 序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,还包括处理单元,用于:在所述终端界面调用所述客户端内置的浏览器呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
第二方面,提供一种CGS模式下图形化页面呈现的装置,包括:
发送单元,用于根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;
接收单元,用于接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至呈现单元;
呈现单元,用于接收所述接收单元发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。
结合第二方面,在第一种可能的实现方式中,还包括处理单元,用于:接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述处理单元,还用于:根据消息网关在确定出消息网关中不存在扩展标签 对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至所述消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
结合第二方面的第一种可能的实现方式,或者第二种可能的实现方式,在第三种可能的实现方式中,所述呈现单元,具体用于:根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。
第三方面,提供一种CGS模式下图形化页面呈现的装置,包括:
接收单元,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至生成单元;
生成单元,用于接收接收单元发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至发送单元;
发送单元,用于接收生成单元发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。
结合第三方面,在第一种可能的实现方式中,还包括处理单元,用于:
指示所述终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。
第四方面,提供一种CGS模式下图形化页面呈现的方法,包括:
接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息;
将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息;并
将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
结合第四方面,在第一种可能的实现方式中,将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。
结合第四方面的第一种可能的实现方式中,在第二种可能的实现方式中,所述第一请求响应消息中还携带扩展标签;当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,还包括:在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。
结合第四方面的第二种可能的实现方式,在第三种可能的实现方式中,在所述终端界面呈现相应的图形化页面之后,还包括:接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述 APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
第五方面,提供一种CGS模式下图形化页面呈现的方法,包括:
根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;
接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。
结合第五方面,在第一种可能的实现方式中,所述第一请求响应消息中还携带扩展标签;接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息。
结合第五方面的第一种可能的实现方式,在第二种可能的实现方式中,根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至所述消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
结合第五方面的第一种可能的实现方式,或者第二种可能的实现方式,在第三种可能的实现方式中,根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。
第六方面,提供一种CGS模式下图形化页面呈现的方法,包括:
接收消息网关发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息;
将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。
结合第六方面,在第一种可能的实现方式中,所述第一请求响应消息中还携带扩展标签;指示所述终端根据所述第一请求响应消息在所述终端呈现图形化页面之后,还包括:当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。
本发明实施例中,在CGS模式下,终端运行用户指示的客户端应用程序,并基于该客户端应用程序对应的用户指示的业务,向消息网关发送请求消息,通知消息网关将接收到该请求消息发送至APP服务器;APP服务器接收到该请求消息后,基于该请求消息生成携带页面脚本报文的请求响应消息;消息网关接收APP服务器下发的上述请求响应消息后,将该请求响应消息发送至上述终端;上述终端根据请求响应消息中携带的页面脚本报文,在本地进行图形化渲染,并呈现图形化页面。采用本发明技术方案,在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,从而避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程;并且,当用户请求的最终业务包含多个请求项目时,终端可以向服务器发送包含该多个请求项目的请求消息,并根据获取的服务器返回的响应消息,将用户请求的最终业务通过一次请求进行呈现,避免了目前终端需要多次请求才能获取用户请求的最终业务,使得获取用户请求的最终业务时存在效率低的问题。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为现有技术中BS模式下互动消息交互示意图;
图2为现有技术中CGS模式下互动消息交互示意图;
图3为现有技术中CGS模式下终端所呈现的页面示意图;
图4为本发明实施例中系统架构示意图;
图5为本发明实施例中CGS模式下图形化页面呈现流程图一;
图6为本发明实施例中CGS模式下终端所呈现的图形化页面示意图一;
图7为本发明实施例中CGS模式下终端所呈现的图形化页面示意图二;
图8为本发明实施例中CGS模式下图形化页面呈现流程图二;
图9为本发明实施例中CGS模式下图形化页面呈现流程图三;
图10为本发明实施例中具体应用场景下CGS模式下图形化页面呈现流程图;
图11为本发明实施例中CGS模式下终端根据第二请求响应消息所呈现的图形化页面示意图;
图12为本发明实施例中CGS模式下终端根据第三请求响应消息所呈现的图形化页面示意图;
图13为本发明实施例中CGS模式下图形化页面呈现时互动消息交互示意图;
图14为本发明实施例中CGS模式下图形化页面呈现装置结构示意图一;
图15为本发明实施例中CGS模式下图形化页面呈现装置结构示意图二;
图16为本发明实施例中CGS模式下图形化页面呈现装置结构示意图三;
图17为本发明实施例中CGS模式下消息网关结构示意图;
图18为本发明实施例中CGS模式下终端结构示意图;
图19为本发明实施例中CGS模式下APP服务器结构示意图。
具体实施方式
为了解决在移动终端连接至移动通信网络时的互动消息架构存在互动 消息交互流程繁琐,获取用户请求的最终业务效率低的问题。本发明实施例中,在CGS模式下,终端运行用户指示的客户端应用程序,并基于该客户端应用程序对应的用户指示的业务,向消息网关发送请求消息,通知消息网关将接收到该请求消息发送至APP服务器;APP服务器接收到该请求消息后,基于该请求消息生成携带页面脚本报文的请求响应消息;消息网关接收APP服务器下发的上述请求响应消息后,将该请求响应消息发送至上述终端;上述终端根据请求响应消息中携带的页面脚本报文,在本地进行图形化渲染,并呈现图形化页面。采用本发明技术方案,在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,从而避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程;并且,当用户请求的最终业务包含多个请求项目时,终端可以向服务器发送包含该多个请求项目的请求消息,并根据获取的服务器返回的响应消息,将用户请求的最终业务通过一次请求进行呈现,避免了目前终端需要多次请求才能获取用户请求的最终业务,使得获取用户请求的最终业务时存在效率低的问题。
参阅图4所示为本发明实施例中系统架构示意图,其中,终端通过消息网关(Message Gate),与APP服务器(APP Server)进行互动消息交互,且该系统各个设备之间的互动消息交互时所应用的协议为HTTP。
参阅图5所示,本发明实施例中,CGS模式下消息中心控制终端进行图形化页面呈现的详细流程为:
步骤500:接收终端运行本地客户端对应的应用程序后基于该应用程序对应的任意一项业务发送的第一请求消息。
本发明实施例中,终端安装有客户端对应应用程序,可选的,该客户端为内置浏览器的统一客户端,并且,该客户端中可以对应多种不同的业务,如在本地安装某一聊天工具客户端,该客户端中可以对应包括新闻,邮箱信息等多种业务。
终端检测到用户在本地上选中上述客户端的指示后,运行该客户端应用程序,并在终端界面上呈现该客户端应用程序对应的登录页面;当上述终端检测到用户在上述登录页面中输入正确的验证信息后即登录该客户端;当终 端检测到用户在登录上述客户端后选中该客户端对应的任意一项业务时,该终端基于上述用户选中的任意一项业务,向消息网关发送请求消息;消息网关接收上述终端发送的请求消息。
步骤510:将上述请求消息转发至APP服务器后,获取该APP服务器返回的携带页面脚本报文的的第一请求响应消息。
本发明实施例中,由于同一个客户端中不同的业务对应不同的APP服务器,因此,消息网关接收到终端发送的第一请求消息后,即解析该第一请求消息中携带的相关信息,如请求业务类型,请求业务名称等,根据该第一请求消息中携带的相关信息将上述第一请求消息发送至与上述相关信息对应的APP服务器。
进一步的,APP服务器接收到消息网关发送的上述第一请求消息后,即根据上述第一请求消息中携带的请求业务名称,生成第一请求响应消息,并将该第一请求响应消息发送至上述消息网关。其中,上述生成的第一请求响应消息中携带页面脚本报文,该页面脚本报文语言以HTML5为基础,用于使终端根据该页面脚本报文对本地界面所呈现的页面进行图形化渲染。
为了提高终端呈现的图形化页面的可操作性,可选的,上述第一请求响应消息中还携带扩展标签。不同的扩展标签可以对应不同的功能,如gis标签对应终端的GPS定位功能,sms标签对应终端的短信发送功能,call标签对应终端的电话拨打功能,camera标签对应终端的拍照功能,fetch标签对应获取用户的相关信息(如身份标识信息等)。当第一请求响应消息中携带的扩展标签不同时,相应的,实现的功能不同。
消息网关获取APP服务器返回的第一请求响应消息之后,可选的,对该第一请求响应消息进行脚本校验;当该脚本校验结果为正确时,将上述第一请求响应消息发送至终端。
步骤520:将上述第一请求响应消息发送至上述终端,指示该终端根据上述页面脚本报文,在终端界面呈现相应的图形化页面。
本发明实施例中,上述终端支持HTML5语言,且该终端支持上述扩展标签。终端根据第一请求响应消息中携带的页面脚本报文中的扩展标签和/或关键字信息,在本地获得图形化界面,使本地界面中呈现至少一个关键字 及其对应的输入框(参阅图6所示),或者使本地界面中呈现至少一个关键字及其对应的选项,或者使本地界面中呈现至少一个用户请求结果。例如,当用户请求进入购票系统时,在目前CGS模式下将在终端呈现对话模式的页面,参阅图3所示,在本发明CGS模式下将在终端呈现图形化页面,参阅图7所示,此时,终端可以根据用户选中的选项向消息网关发送第二请求消息,而不必通过对话模式中输入关键字时所进行的逐步操作,提高了交互消息流程的效率。
进一步的,当上述第一请求响应消息中携带扩展标签时,消息网关检测本地是否存在上述第一请求响应消息中携带的扩展标签对应的信息(如手机号码);若确定本地存在上述第一请求响应消息中携带的扩展标签对应的信息,则将该扩展标签对应的信息添加至上述第一请求响应消息,并将添加了扩展标签对应的信息的第一请求响应消息发送至终端,令终端在本地生成的图形化页面中存在至少一个输入框中包含上述扩展标签对应的信息。即终端根据该第一请求响应消息呈现的图形化页面中已经存在的部分为消息网关中本地已保存的信息。例如,当APP服务器返回的第一请求响应消息中携带“分类”,“关键字”,以及“手机号码”等关键字时,相应的,第一请求响应消息中携带fetch扩展标签,若“手机号码”信息,则终端呈现的图形化页面中“手机号码”对应的输入框中均已经存在相应的信息,参阅图6所示。采用上述技术方案,避免了用户在终端的图形化页面中输入大量信息,提高了人机交互界面的可操作性。
可选的,当上述第一请求响应消息中携带扩展标签时,消息网关不检测本地是否存在上述第一请求响应消息中携带的扩展标签对应的信息(如登录用户名),直接将上述第一请求响应消息发送至终端,终端根据该第一请求响应消息中携带的扩展标签,向消息网关发送信息获取请求消息,请求消息网关发送上述扩展标签对应的信息,终端基于消息网关发送的扩展标签对应的信息,在本地呈现图形化页面,其中,上述图形化页面中存在至少一个输入框中包含上述扩展标签对应的信息。由此可见,在终端的图形化页面中呈现扩展标签对应的信息的方式有两种,即由消息网关添加至第一请求响应消息中,令终端根据第一请求响应消息在终端的图形化页面中呈现,或者由终 端从消息网关处获取扩展标签对应的信息在终端本地的图形化页面中呈现。
特殊的,若消息网关确定本地不存在上述第一请求响应消息中携带的扩展标签对应的信息,则指示终端启动本地所有应用程序中上述扩展标签对应的应用程序;通过该扩展标签中对应的应用程序,获取该扩展标签对应的信息,并将该扩展标签对应的信息发送至消息网关,消息网关将该扩展标签对应的信息添加至上述第一请求响应消息中,令终端在本地生成的图形化页面中存在至少一个输入框中包含上述扩展标签对应的信息。例如,若上述请求响应消息中携带gis扩展标签,则消息网关指示终端开启GPS定位软件,从而使消息网关能够快速获取终端的位置。
进一步的,若APP发送的请求响应消息中包含上述扩展标签,则终端根据用户的请求在当前图形化页面中的再次操作发送第二请求消息时,该第二请求消息中将携带上述扩展标签对应的信息;当消息网关获取扩展标签对应的信息后,根据该扩展标签对应的信息和APP服务器对应的权限信息,确定是否将上述扩展标签对应的信息发送至APP服务器。例如,若APP服务器请求获取用户身份证信息,则消息网关核实该APP服务器是否具备获取上述用户身份证信息的权限,当该APP服务器具备获取权限时,消息网关将上述用户身份证信息发送至该APP;当该APP服务器不具备获取权限时,消息网关将拒绝将上述用户身份证信息发送至该APP服务器。APP服务器根据上述第二请求消息,生成携带页面脚本报文的第二请求响应消息,并将该请求响应消息发送至消息网关,令消息网关将上述第二请求响应消息发送至终端,使终端根据该第二请求响应消息在本地呈现图形化页面。采用上述技术方案,由消息网关统一管理各个终端的相关信息,避免了由于用户登录安全性较低的客户端所造成的信息泄露问题,有效提高了网络安全性能。
可选的,当上述客户端中为内置浏览器的统一客户端时,将上述第一请求响应消息发送至上述终端后,终端根据上述页面脚本报文,在终端界面调用客户端中内置的浏览器呈现相应的图形化页面。此外,终端还可以调用本地包含的其他应用程序在本地界面呈现图形化界面。
参阅图8所示,本发明实施例中,CGS模式下消息中心终端进行图形化 页面呈现的详细流程为:
步骤800:根据用户指示,终端运行该用户指示的客户端对应的应用程序后,基于该应用程序对应的上述用户指示的业务,向消息网关发送第一请求消息。
本发明实施例中,上述第一请求响应消息中携带页面脚本报文,可选的,该第一请求响应消息中还携带扩展标签。
进一步的,当上述第一请求响应消息中携带扩展标签,且终端接收消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息。
步骤810:终端接收消息网关发送的携带页面脚本报文的第一请求响应消息,并根据该页面脚本报文在本地界面中呈现相应的图形化页面。
本发明实施例中,终端根据上述第一请求响应消息中携带的页面脚本报文在本地呈现用户请求浏览的响应数据,具体的,在终端本地呈现至少一个关键字及其对应的输入框,或者在终端本地呈现至少一个关键字及其对应的选项,或者在终端本地呈现至少一个用户请求结果。
特殊的,当消息网关中不存在扩展标签对应的信息时,在呈现相应的图形化页面之后启动本地所有应用程序中上述扩展标签对应的应用程序;基于该扩展标签中对应的应用程序,获取该扩展标签对应的信息,并根据用户指示生成携带扩展标签对应的信息的第二请求消息;将第二请求消息发送至消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据上述页面脚本报文,在终端界面呈现相应的图形化页面。
进一步的,当终端呈现的图形化页面中包含一个关键字及其对应的输入框,或者包含多个关键字及每一个关键字分别对应的输入框时,用户可以根据上述一个或者多个关键字的提示,在输入框中输入相应的信息。特殊的,当上述输入框中已经包含相应的信息时,用户可以仅检验该输入框中相应的信息的准确性,当该输入框中相应的信息出现错误时,用户可以在上述输入框中重新输入相应的信息。当上述每一个输入框中均输入相应的信息,且终端接收到用户输入的确认信息后,即可基于上述每一个关键字及其对应的信 息生成第二的请求消息,并将该第二请求消息发送至消息网关,等待消息网关返回的最终用户请求结果。
当终端呈现的图形化页面中包含一个关键字及其对应的选项,或者包含多个关键字及每一个关键字分别对应的选项时,用户可以根据上述一个或多个关键字的提示,选中任意一个选项,当包含多个选项时,用户可以根据需要选中多个选项。终端检测到用户的选中指示后,基于所选中的选项及选中选项对应的关键字生成第二请求消息,并将该第二请求消息发送至消息网关,等待消息网关返回最终用户请求结果。
在上述过程中,终端所呈现的图形化页面中可以包含用户请求浏览的响应数据,用户可以在上述图形化界面中进行相应的操作,终端响应该用户的操作后,将向网络侧发送进一步的请求消息;终端接收到网络侧根据该进一步的请求消息下发的进一步的请求响应消息后,根据该进一步的请求响应消息刷新本地界面,并呈现最新响应的图形化页面。终端按照上述过程响应用户请求向网络侧发送请求消息,并接收网络侧发送的请求响应消息从而呈现图形化界面,直至终端本地呈现的图形化页面中包含最终用户请求结果。采用上述技术方案,终端在本地所呈现的图形化页面中可以包含多个关键字及每一个关键字分别对应的选项以及多个关键字及每一个关键字分别对应的输入框,即用户可以在一个页面中完成多次输入或者多次选择,即在一个页面中发送一次或多次请求,从而避免了在对话模式下一个页面完成一次选择,即在一个页面中发送一次请求,提高了人际交互界面的可操作性,简化了互动消息交互流程。
此外,本发明实施例中,当用户需要订阅新的业务或者安装新的插件时,上述终端支持在本地已有的客户端中用安装新的插件以满足用户订阅新的业务的需求。
参阅图9所示,本发明实施例中,CGS模式下消息中心APP服务器控制终端进行图形化页面呈现的详细流程为:
步骤900:APP服务器接收消息网关发送的第一请求消息,并基于该第一请求消息生成携带页面脚本报文的第一请求响应消息。
本发明实施例中,上述第一请求响应消息中还可以携带扩展标签。
步骤910:APP服务器将上述携带页面脚本报文的第一请求响应消息发送至消息网关,指示消息网关将上述第一请求响应消息发送至终端,令终端根据该第一请求响应消息在终端本地呈现图形化页面。
本发明实施例中,当第一请求响应消息中携带扩展标签,且APP服务器具备获取扩展标签对应的信息的权限时,接收消息网关发送的上述扩展标签对应的信息。上述扩展标签对应的信息可以为消息网关之前在本地保存的信息,也可以为消息网关在当前时刻由终端获取的信息。
终端根据第一请求响应消息在所述终端呈现图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收消息网关发送的携带上述扩展标签对应的信息的第二请求消息;根据第二请求消息生成携带页面脚本报文的第二请求响应消息;将上述携带页面脚本报文的第二请求响应消息发送至消息网关,指示消息网关将上述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据第二请求响应消息在终端调用终端中客户端内置的浏览器呈现图形化页面。
参阅图10所示,下面结合具体的应用场景,以用户请求获取用户所在位置周边所有商店的商盟优惠券为例,详细介绍CGS模式下图形化页面的呈现流程:
预处理流程:本发明实施例中,终端已经安装获取商盟优惠券相对应的客户端A,并已订阅获取商盟优惠券相对应的业务A。并且,该终端已经在上述客户端中注册成功,在注册过程中,终端将所注册账号与本地手机号码进行绑定。
步骤1000:终端响应用户的指示,运行客户端A,当终端登录客户端A成功后,在终端本地呈现业务A对应的页面。
步骤1001:终端检测到用户选中“我要优惠券”选项后,基于该“我要优惠券”选项生成第一请求消息,并将该第一请求消息发送至消息网关。
本发明实施例中,基于该“我要优惠券”选项生成第一请求消息中包含的报文可以采用如下形式:
Figure PCTCN2014087186-appb-000001
Figure PCTCN2014087186-appb-000002
其中,“海滩赏月”为用户注册时所对应的用户名。
步骤1002:消息网关接收到终端发送的上述第一请求消息后,解析该第一请求消息中的业务名称,将该第一请求消息转发至相应的APP服务器。
本发明实施例中,上述APP服务器即为商盟优惠券系统对应的服务器,
步骤1003:APP服务器接收到上述第一请求消息后,向消息网关发送第一请求响应消息。
本发明实施例中,由于终端请求获取该终端所在位置周边所有商店的商盟优惠券,因此,上述第一请求响应消息中包含对应于定位功能的扩展标签;此外,上述第一请求响应消息中还包含对应于获取用户标识信息功能的扩展标签。其中,上述第一请求响应消息中包含的页面脚本报文可以采用如下形式:
Figure PCTCN2014087186-appb-000003
Figure PCTCN2014087186-appb-000004
其中,gis为定位功能的标签;fetch为获取用户标识信息功能的扩展标签。
步骤1004:消息网关将接收到的第一请求响应消息发送至终端。
本发明实施例中,消息网关解析第一请求响应消息中携带的扩展标签,对应于上述gis扩展标签,消息网关指示终端开启GPS应用程序,并获取终 端的位置信息后,将终端的位置信息添加至上述第一请求响应消息中终端位置对应的输入框中;对应于上述fetch扩展标签,消息网关本地保存有终端的手机号码,则消息网关将手机号码直接添加至上述第一请求响应消息中手机号码对应的输入框中。
步骤1005:终端接收上述消息网关发送的第一请求响应消息,根据该第一请求响应消息中携带的页面脚本报文渲染本地界面,在本地界面中呈现第一图形化页面。
本发明实施例中,参阅图6所示,由于消息网关已经将“终端位置”以及“手机号码”关键字对应的输入框中添加相应的信息,因此,用户仅需要在“分类”以及“关键字”关键字对应的输入框中输入相应的信息即可。
步骤1006:终端响应用户输入的“提交”指示,向消息网关发送第二请求消息。
本发明实施例中,第二请求消息中包含的报文可以采用如下形式:
Figure PCTCN2014087186-appb-000005
Figure PCTCN2014087186-appb-000006
步骤1007:消息网关接收到终端发送的上述第二请求消息后,将该第二请求消息转发至上述APP服务器。
本发明实施例中,由于第二请求消息中携带用户标识信息,因此,在消息网关将第二请求消息转发至APP服务器之前,消息网关会判定该APP服务器是否具备获取上述用户标识信息的权限,若是,则将第二请求消息发送至APP服务器;否则,消息网关将拒绝将上述用户标识信息发送至APP服务器。
步骤1008:APP服务器接收到上述第二请求消息后,向消息网关发送第二请求响应消息。
上述第二请求响应消息中包含的页面脚本报文可以采用如下形式:
Figure PCTCN2014087186-appb-000007
Figure PCTCN2014087186-appb-000008
步骤1009:消息网关将接收到的第二请求响应消息发送至终端;指示终端接收上述消息网关发送的第二请求响应消息,根据该第二请求响应消息中携带的页面脚本报文渲染终端本地界面,在本地界面中呈现第二图形化页面。
本发明实施例中,终端根据第二请求响应消息刷新本地界面,在本地界面中呈现第二图形化页面,参阅图11所示,此时,上述第一图形化页面将被第二图形化页面替代,用户可以通过后退功能返回第一图形化页面。
步骤1010:终端响应用户在上述第二图形化页面中选中的选项,生成第三请求消息,并将该第三请求消息发送至消息网关。
本发明实施例中,第三请求消息中包含的报文可以采用如下形式:
Figure PCTCN2014087186-appb-000009
步骤1011:消息网关接收到终端发送的上述第三请求消息后,将该第三请求消息转发至上述APP服务器,并接收APP服务器发送的第三请求响应消息。
上述第三请求响应消息中包含的页面脚本报文可以采用如下形式:
Figure PCTCN2014087186-appb-000010
Figure PCTCN2014087186-appb-000011
Figure PCTCN2014087186-appb-000012
步骤1012:消息网关将接收到的第三请求响应消息发送至终端;指示终端接收上述消息网关发送的第三请求响应消息,根据该第三请求响应消息中携带的页面脚本报文渲染终端本地界面,在本地界面中呈现第三图形化页面。
本发明实施例中,终端根据第三请求响应消息刷新本地界面,在本地界面中呈现第三图形化页面,参阅图12所示,该第三图形化页面中包含最终用户请求结果。
本发明实施例中,终端、消息网关和APP服务器之间的互动消息交互参阅图13所示。
参阅图14所示,本发明还提供了一种CGS模式下图形化页面呈现的装置,包括接收单元140,第一发送单元141,获取单元142,以及第二发送单元143,其中:
接收单元140,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息发送至第一发送单元141;
第一发送单元141,用于接收接收单元140发送的第一请求消息,并将所述第一请求消息转发至APP服务器;
获取单元142,用于将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息,并将该第一请求响应消息发送至第二发送单元143;
第二发送单元143,用于接收获取单元142发送的所述第一请求消息,将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
其中,上述装置包括校验单元144,用于:将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。
上述装置还包括信息添加单元145,用于:当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所有应用程序中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。
上述装置还包括处理单元146,用于:在所述终端界面呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
参阅图15所示,本发明还提供了一种CGS模式下图形化页面呈现的装置,包括发送单元150,接收单元151,呈现单元152,其中:
发送单元150,用于根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;
接收单元151,用于接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至呈现单元152;
呈现单元152,用于接收所述接收单元151发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。
其中,上述装置还包括处理单元153,用于:接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。
参阅图16所示,本发明还提供了一种CGS模式下图形化页面呈现的装置,包括接收单元160,生成单元161,发送单元162,其中:
接收单元160,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至生成单元161;
生成单元161,用于接收接收单元160发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至发送单元162;
发送单元162,用于接收生成单元161发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。
其中,上述装置还包括处理单元163,用于:指示所述终端根据所述第一请求响应消息在所述终端呈现图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将 所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。
参阅图17所示,本发明还提供了一种CGS模式下图形化页面呈现的消息网关,包括收发器170,其中:
收发器170,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息转发至APP服务器;以及将所述第一请求消息转发至APP服务器后,接收所述APP服务器返回的携带页面脚本报文的第一请求响应消息;
所述收发器170,还用于将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
所述消息网关还包括处理器171,用于将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。
处理器171,还用于当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。
收发器170,还用于在所述终端界面呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;并将所述第二请求消息发送至处理器171;以及将由处理器171获取所述第 二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
处理器171,还用于接收收发器170发送的第二请求消息,根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,通知收发器170将所述第二请求消息发送至所述APP服务器。
参阅图18所示,本发明提供一种CGS模式下图形化页面呈现的终端,包括收发器180,存储器181,以及处理器182,其中:
收发器180,用于向消息网关发送第一请求消息;接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至处理器182;
存储器181,用于存储应用程序;
处理器182,用于运行存储器181中的应用程序,执行如下步骤:
根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,生成第一请求消息发送至收发器180;以及根据收发器180发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。
处理器182,还用于接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。
处理器182,还用于根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至收发器180。
收发器180,还用于接收处理器181发送的第二请求消息,并将该第二请求消息发送至所述消息网关;接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;将所述第二请求响应消息发送至处理器182。
处理器182,还用于根据所述第二响应消息中携带的页面脚本报文,在所述终端界面呈现相应的图形化页面。
处理器182,还用于根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。
参阅图19所示,本发明提供一种CGS模式下图形化页面呈现的APP服务器,包括收发器190,处理器191,其中:
收发器190,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至处理器191;
处理器191,用于接收收发器190发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至收发器190;
收发器190,还用于接收处理器191发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。
收发器190,还用于指示所述终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。
综上所述,本发明实施例中,在CGS模式下通过请求响应消息中的页 面脚本报文,实现终端的图形化页面呈现,采用本发明技术方案,避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程,提高了获取用户所请求的最终业务的效率;并且,在CGS模式下,对应于不同的业务,终端无须安装多个客户端,从而避免了终端安装应用程序过多造成的影响终端运行速度的问题。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (20)

  1. 一种CGS模式下图形化页面呈现的装置,其特征在于,包括:
    接收单元,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息发送至第一发送单元;
    第一发送单元,用于接收接收单元发送的第一请求消息,并将所述第一请求消息转发至APP服务器;
    获取单元,用于将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息,并将该第一请求响应消息发送至第二发送单元;
    第二发送单元,用于接收所述获取单元发送的所述第一请求消息,并将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
  2. 如权利要求1所述的装置,其特征在于,还包括校验单元,用于:
    将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。
  3. 如权利要求2所述的装置,其特征在于,还包括信息添加单元,用于:
    当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;
    在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一 个输入框中包含所述扩展标签对应的信息。
  4. 如权利要求3所述的装置,其特征在于,还包括处理单元,用于:
    在所述终端界面呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
  5. 一种CGS模式下图形化页面呈现的装置,其特征在于,包括:
    发送单元,用于根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;
    接收单元,用于接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至呈现单元;
    呈现单元,用于接收所述接收单元发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。
  6. 如权利要求5所述的装置,其特征在于,还包括处理单元,用于:
    接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。
  7. 如权利要求6所述的装置,其特征在于,所述处理单元,还用于:
    根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息, 并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至所述消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
  8. 如权利要求5、6或7所述的装置,其特征在于,所述呈现单元,具体用于:
    根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。
  9. 一种CGS模式下图形化页面呈现的装置,其特征在于,包括:
    接收单元,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至生成单元;
    生成单元,用于接收接收单元发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至发送单元;
    发送单元,用于接收生成单元发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。
  10. 如权利要求9所述的装置,其特征在于,还包括处理单元,用于:
    指示所述终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。
  11. 一种CGS模式下图形化页面呈现的方法,其特征在于,包括:
    接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息;
    将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息;并
    将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
  12. 如权利要求11所述的方法,其特征在于,将所述第一请求响应消息发送至所述终端之前,还包括:
    对所述第一请求响应消息进行脚本校验;
    确认脚本校验的结果为正确。
  13. 如权利要求12所述的方法,其特征在于,所述第一请求响应消息中还携带扩展标签;
    当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,还包括:
    在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;
    在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。
  14. 如权利要求13所述的方法,其特征在于,在所述终端界面呈现相应的图形化页面之后,还包括:
    接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;
    根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述 APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;
    接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
  15. 一种CGS模式下图形化页面呈现的方法,其特征在于,包括:
    根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;
    接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。
  16. 如权利要求15所述的方法,其特征在于,所述第一请求响应消息中还携带扩展标签;
    所述方法还包括:
    接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息。
  17. 如权利要求16所述的方法,其特征在于,所述方法还包括:
    根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;
    基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并
    根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;
    将所述第二请求消息发送至所述消息网关;
    并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;
    根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。
  18. 如权利要求15、16或17所述的方法,其特征在于,根据所述页面脚本报文在本地界面中呈现相应的图形化页面,具体包括:
    根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或
    在本地呈现至少一个关键字及其对应的选项,或
    在本地呈现至少一个用户请求结果。
  19. 一种CGS模式下图形化页面呈现的方法,其特征在于,包括:
    接收消息网关发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息;
    将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。
  20. 如权利要求19所述的方法,其特征在于,所述第一请求响应消息中还携带扩展标签;
    指示所述终端根据所述第一请求响应消息在所述终端呈现图形化页面之后,还包括:
    当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;
    根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;
    将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。
PCT/CN2014/087186 2013-09-30 2014-09-23 一种cgs模式下图形化页面呈现的方法及装置 WO2015043451A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310462586.9 2013-09-30
CN201310462586.9A CN103532941B (zh) 2013-09-30 2013-09-30 一种cgs模式下图形化页面呈现的方法及装置

Publications (1)

Publication Number Publication Date
WO2015043451A1 true WO2015043451A1 (zh) 2015-04-02

Family

ID=49934620

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087186 WO2015043451A1 (zh) 2013-09-30 2014-09-23 一种cgs模式下图形化页面呈现的方法及装置

Country Status (2)

Country Link
CN (1) CN103532941B (zh)
WO (1) WO2015043451A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532941B (zh) * 2013-09-30 2017-07-07 华为技术有限公司 一种cgs模式下图形化页面呈现的方法及装置
CN105933237B (zh) * 2016-04-20 2018-09-28 上海斐讯数据通信技术有限公司 一种无线路由器及其信息植入系统、方法
CN109960939B (zh) * 2017-12-25 2021-02-05 航天信息股份有限公司 远程html5页面加载方法及系统
CN114666874A (zh) * 2020-12-22 2022-06-24 华为技术有限公司 终端设备及其应用程序交互方法、装置和介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667182A (zh) * 2008-09-05 2010-03-10 华为技术有限公司 一种对网页进行二次操作的方法、系统和装置
US20100100823A1 (en) * 2008-10-21 2010-04-22 Synactive, Inc. Method and apparatus for generating a web-based user interface
US20120272131A1 (en) * 2011-04-21 2012-10-25 International Business Machines Corporation Handling unexpected responses to script executing in client-side application
CN103532941A (zh) * 2013-09-30 2014-01-22 华为技术有限公司 一种cgs模式下图形化页面呈现的方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388902B (zh) * 2007-09-14 2011-12-07 英业达股份有限公司 通过客户端实现图形化网页浏览之系统及其方法
EP2259551A1 (en) * 2009-06-05 2010-12-08 Software AG Gateway server system comprising a gateway server for making SOAP/XML-based web services accessible to RPC clients
CN102104578A (zh) * 2009-12-16 2011-06-22 浙江省公众信息产业有限公司 一种在brew平台下实现wap浏览的方法
CN101727490A (zh) * 2009-12-22 2010-06-09 福建星网锐捷网络有限公司 Web应用中实现页面插件化的方法和web服务器
CN102893278A (zh) * 2010-02-03 2013-01-23 阿科德有限公司 电子消息系统和方法
CN103139758B (zh) * 2011-11-28 2016-03-02 中国电信股份有限公司 移动Socket类应用系统、服务器、方法和WAP网关

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667182A (zh) * 2008-09-05 2010-03-10 华为技术有限公司 一种对网页进行二次操作的方法、系统和装置
US20100100823A1 (en) * 2008-10-21 2010-04-22 Synactive, Inc. Method and apparatus for generating a web-based user interface
US20120272131A1 (en) * 2011-04-21 2012-10-25 International Business Machines Corporation Handling unexpected responses to script executing in client-side application
CN103532941A (zh) * 2013-09-30 2014-01-22 华为技术有限公司 一种cgs模式下图形化页面呈现的方法及装置

Also Published As

Publication number Publication date
CN103532941A (zh) 2014-01-22
CN103532941B (zh) 2017-07-07

Similar Documents

Publication Publication Date Title
US20220086600A1 (en) Method for activating service based on user scenario perception, terminal device, and system
US9130927B2 (en) Single certificate service system and operational method thereof
US10154529B2 (en) Method and apparatus for connecting peripheral devices
JP5947459B2 (ja) プッシュメッセージを表示する方法、装置、プログラム及び記録媒体
US20130246920A1 (en) Method of enabling voice input for a visually based interface
US20140207679A1 (en) Online money transfer service in connection with instant messenger
US9378437B2 (en) Sending print jobs using trigger distances
US9774582B2 (en) Private cloud connected device cluster architecture
US20130138723A1 (en) Dynamic browser icons
US20150256415A1 (en) Browser notifications
CN103997452A (zh) 多平台之间的信息分享方法及装置
US10542069B2 (en) System and method for providing a customized resource
US10863312B2 (en) Moving track sharing method and apparatus, and storage medium
CN105264821A (zh) 用于生成用于无线设备的消息的方法和装置
US9667631B2 (en) Venue-specific wi-fi connectivity notifications
JP2010501914A (ja) 携帯デバイスのための電子メールフォームエンジン
CN106027631B (zh) 一种数据传输方法及装置
WO2015043451A1 (zh) 一种cgs模式下图形化页面呈现的方法及装置
WO2017071121A1 (zh) 一种用于建立无线连接的方法与设备
JP2018500670A (ja) 非構造化メッセージの処理
US10581783B2 (en) Method and system for creating dynamic email signatures
KR101958922B1 (ko) 문자 기반 상담 서비스의 가맹점 검색 시스템, 그 방법 및 컴퓨터 프로그램이 기록된 기록매체
TWI641969B (zh) 電子裝置與其操作方法以及伺服器主機
CN109145182B (zh) 数据采集方法、装置、计算机设备及系统
CN105635059A (zh) 一种wlan接入认证方法、相关设备及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14848791

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14848791

Country of ref document: EP

Kind code of ref document: A1