CN103532941B - The method and device that the graphical page is presented under a kind of CGS patterns - Google Patents
The method and device that the graphical page is presented under a kind of CGS patterns Download PDFInfo
- Publication number
- CN103532941B CN103532941B CN201310462586.9A CN201310462586A CN103532941B CN 103532941 B CN103532941 B CN 103532941B CN 201310462586 A CN201310462586 A CN 201310462586A CN 103532941 B CN103532941 B CN 103532941B
- Authority
- CN
- China
- Prior art keywords
- message
- request
- terminal
- response message
- page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种CGS模式下图形化页面呈现的方法及装置,用于解决在移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问题。方法为:在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,采用本发明技术方案,避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程,提高了获取用户所请求的最终业务的效率;并且,在CGS模式下,对应于不同的业务,终端无须安装多个客户端,从而避免了终端安装应用程序过多造成的影响终端运行速度的问题。
The invention discloses a method and device for presenting a graphical page in CGS mode, which are used to solve the problems of cumbersome interactive message interaction process and low efficiency in obtaining the final service requested by users in the interactive message structure when a mobile terminal is connected to a mobile communication network question. The method is: in the CGS mode, through the page script message in the request response message, the graphical page presentation of the terminal is realized, and the technical solution of the present invention is adopted to avoid the problem of poor operability caused by the dialogue mode presentation of the current human-computer interaction interface. problem, simplifies the interactive message interaction process, and improves the efficiency of obtaining the final service requested by the user; and, in the CGS mode, corresponding to different services, the terminal does not need to install multiple clients, thus avoiding the excessive installation of application programs on the terminal. Many problems that affect the running speed of the terminal.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种CGS模式下图形化页面呈现的方法及装置。The present invention relates to the field of communication technology, in particular to a method and device for graphical page presentation in CGS mode.
背景技术Background technique
随着移动通信技术的飞速发展,通过移动终端连接至移动通信网络已经变得越来越方便快捷。目前,移动终端连接至移动通信网络时的互动消息架构主要分为BS(Browser/Server;前端/服务器端)模式,CS(Client/Server;客户机/服务器)模式,以及CGS(Client-Gateway-Server;客户端应用程序-网关-服务器)模式。With the rapid development of mobile communication technology, connecting to a mobile communication network through a mobile terminal has become more and more convenient and fast. At present, the interactive message architecture when the mobile terminal is connected to the mobile communication network is mainly divided into BS (Browser/Server; front-end/server) mode, CS (Client/Server; client/server) mode, and CGS (Client-Gateway- Server; client application-gateway-server) pattern.
BS模式的工作原理与计算机接入网络的工作原理相似,其互动消息架构由移动终端和服务器组成,其中,移动终端中安装有浏览器,其工作过程参阅图1所示,用户通过在浏览器中输入请求消息,由移动终端将该请求消息发送至服务器,服务器将上述请求消息中请求的业务发送至移动终端,并由移动终端呈现在本地的浏览器中。由此可见,在BS模式中,移动终端需要在本地安装浏览器,由于用户在浏览器中的操作受限于移动终端屏幕的尺寸,当移动终端屏幕尺寸较小时,存在操作不便的问题;并且,在BS模式下服务器需要执行上述互动消息交互过程中的大部分工作,从而造成服务器承载较大,移动通信网络响应速度慢的问题。The working principle of the BS mode is similar to that of a computer accessing the network. Its interactive message architecture is composed of a mobile terminal and a server. Among them, a browser is installed in the mobile terminal. Refer to Figure 1 for its working process. Input a request message in the mobile terminal, and the mobile terminal sends the request message to the server, and the server sends the service requested in the above request message to the mobile terminal, and the mobile terminal presents it in a local browser. It can be seen that in the BS mode, the mobile terminal needs to install a browser locally, because the user's operation in the browser is limited by the size of the mobile terminal screen, when the mobile terminal screen size is small, there is a problem of inconvenient operation; and , in the BS mode, the server needs to perform most of the work in the interaction process of the above-mentioned interactive message, which causes the problem that the server bears a large load and the response speed of the mobile communication network is slow.
CS模式下互动消息架构由终端和服务器组成,其中,在移动终端中安装相应的客户端应用程序,一个客户端应用程序对应一种业务,当用户需要请求多种业务时,需要在终端本地安装多个客户端应用程序,从而造成终端中安装的应用程序较多,影响终端运行速度的问题;并且,由于安装至终端的各个客户端应用程序其安全性能不同,因此,采用CS模式时,终端存在不同程度的安全隐患。The interactive message architecture in CS mode consists of a terminal and a server. Among them, the corresponding client application program is installed in the mobile terminal, and a client application program corresponds to a service. When the user needs to request multiple services, it needs to be installed locally on the terminal. Multiple client applications, resulting in many applications installed on the terminal, which affects the running speed of the terminal; and, because the security performance of each client application installed on the terminal is different, when the CS mode is used, the terminal There are different levels of security risks.
CGS模式下互动消息架构由终端、消息网关以及服务器组成,其中,终端安装有包含多种业务的客户端应用程序,其工作过程参阅图2所示,用户通过该客户端应用程序向消息网关发送包含多个业务请求的请求消息,消息网关将上述包含多个业务请求的请求消息发送至相应的各个APP服务器,以及由消息网关接收各个APP服务器发送的请求响应消息,并将各个请求响应消息发送至终端。目前,在CGS模式下,终端接收上述请求响应消息后在界面呈现的页面采用对话模式,此时,终端在界面呈现的对话模式界面中不同的关键字对应于不同的业务选项,用户在终端中输入所需要的业务对应的关键字,终端根据该输入的关键字信息向消息网关发送进一步的请求消息。例如,参阅图3所示,当用户请求购票业务时,则终端在本地呈现相应的购票系统页面,且该页面内包含关键字提示信息(如【1】办理登机牌),终端根据用户基于上述关键字提示信息输入的关键字信息(如用户输入【1】),请求进入相应的“办理登机牌”的页面,若在“办理登机牌”页面中仍包含多个业务时,人机交互界面仍采用上述对话模式。由此可见,在CGS模式下,采用对话模式呈现终端请求的页面时,存在互动消息交互过程繁琐,获取最终业务效率低,人机交互页面可操作性差的问题。The interactive message framework in CGS mode is composed of a terminal, a message gateway and a server. Among them, the terminal is installed with a client application program including various services, and its working process is shown in Figure 2. The user sends a message to the message gateway through the client application program. For a request message containing multiple service requests, the message gateway sends the above request message containing multiple service requests to each corresponding APP server, and the message gateway receives the request response message sent by each APP server, and sends each request response message to to the terminal. At present, in the CGS mode, after the terminal receives the above-mentioned request response message, the page presented on the interface adopts the dialogue mode. At this time, different keywords in the dialogue mode interface presented by the terminal on the interface correspond to different service options. 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. For example, as shown in Figure 3, when a user requests a ticket purchase service, the terminal presents the corresponding ticket purchase system page locally, and the page contains keyword prompt information (such as [1] check-in boarding pass), and the terminal according to Based on the keyword information entered by the user based on the above keyword prompt information (for example, the user enters [1]), the user requests to enter the corresponding "boarding pass" page, if the "boarding pass" page still contains multiple services , the human-computer interaction interface still adopts the above-mentioned dialogue mode. It can be seen that in the CGS mode, when using the dialog mode to present the page requested by the terminal, there are problems such as cumbersome interactive message interaction process, low efficiency in obtaining the final service, and poor operability of the human-computer interaction page.
综上所述,目前,在CGS模式下移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问题。To sum up, at present, in the interactive message architecture when the mobile terminal is connected to the mobile communication network in the CGS mode, the interaction process of the interactive message is cumbersome, and the efficiency of obtaining the final service requested by the user is low.
发明内容Contents of the invention
本发明实施例提供一种CGS模式下图形化页面的呈现方法及装置,用以解决在移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问题。Embodiments of the present invention provide a graphical page presentation method and device in CGS mode, which are used to solve the cumbersome interactive message interaction process in the interactive message structure when the mobile terminal is connected to the mobile communication network, and the low efficiency of obtaining the final service requested by the user The problem.
本发明实施例提供的具体技术方案如下:The specific technical scheme that the embodiment of the present invention provides is as follows:
第一方面,提供一种CGS模式下图形化页面呈现的装置,包括:In the first aspect, a device for presenting graphical pages in CGS mode is provided, including:
接收单元,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息发送至第一发送单元;The receiving unit is configured to receive a first request message sent based on any service corresponding to the application program after the terminal runs the application program corresponding to the local client, and send the first request message to the first sending unit;
第一发送单元,用于接收接收单元发送的第一请求消息,并将所述第一请求消息转发至APP服务器;The first sending unit is configured to receive the first request message sent by the receiving unit, and forward the first request message to the APP server;
获取单元,用于将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息,并将该第一请求响应消息发送至第二发送单元;The obtaining unit is configured to obtain the first request response message carrying the page script message returned by the APP server after forwarding the first request message to the APP server, and send 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, instructing the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
结合第一方面,在第一种可能的实现方式中,还包括校验单元,用于:将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。With reference to the first aspect, in a first possible implementation manner, a verification unit is further included, configured to: perform script verification on the first request response message before sending the first request response message to the terminal. verification; confirm that the script verification result is correct.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括信息添加单元,用于:当所述脚本校验的结果为正确时,将所述第一请求响应消息��送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。With reference to the first possible implementation of the first aspect, in a second possible implementation, an information adding unit is further included, configured to: when the result of the script verification is correct, send the first request to Before the response message is sent to the terminal, after detecting that there is information corresponding to the extension tag carried in the first request response message in the message gateway, adding the information corresponding to the extension tag to the first request response message sent to the terminal, causing the terminal to include information corresponding to the extension tag in at least one input box on the presented graphical page; wherein, the first request response message also carries the extension tag; If there is no information corresponding to the extension tag carried in the first request-response message in the message gateway, instruct the terminal to start the application program corresponding to the extension tag in the terminal, and receive the extension tag passed by the terminal The corresponding application obtains and sends the information corresponding to the extension tag, and adds the information corresponding to the extension tag to the first request response message and sends it to the terminal, so that the terminal locally generates a graphical There is at least one input box on the page containing the information corresponding to the extension tag.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,还包括处理单元,用于:在所述终端界面调用所述客户端内置的浏览器呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。With reference to the second possible implementation of the first aspect, in a third possible implementation, a processing unit is further included, configured to: call a built-in browser of the client on the terminal interface to present a corresponding graphical After receiving the page, the terminal generates a second request message carrying information corresponding to the extension tag according to user instructions; according to the information corresponding to the extension tag carried in the second request message, and the APP server corresponding Permission information, when it is determined that the APP server has the permission to obtain the information corresponding to the extension tag, send the second request message to the APP server, and notify the APP server to generate a packet based on the second request message. The second request response message of the page script message; receiving the second request response message sent by the APP server, and sending the second request response message to the terminal, instructing the terminal to respond according to the page script message , presenting a corresponding graphical page on the terminal interface.
第二方面,提供一种CGS模式下图形化页面呈现的装置,包括:In the second aspect, a device for presenting graphical pages in CGS mode is provided, including:
发送单元,用于根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;The sending unit is configured to control the local client to run the application indicated by the user according to the user's instruction, and then send a first request message to the message gateway based on the service indicated by the user corresponding to the application;
接收单元,用于接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至呈现单元;A receiving unit, configured to receive a first request response message carrying a page script message generated by the message gateway according to the first request message, and send the first request response message to a presentation unit;
呈现单元,用于接收所述接收单元发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。The presenting unit is configured to receive the 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.
结合第二方面,在第一种可能的实现方式中,还包括处理单元,用于:接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。With reference to the second aspect, in a first possible implementation manner, a processing unit is further included, configured to: when the message gateway determines that there is information corresponding to the extension tag in the message gateway, carry in the first request-response message The information corresponding to the extension tag, and at least one input box containing the information corresponding to the extension tag is presented on the presented graphical page; wherein, the first request response message also carries the extension tag.
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述处理单元,还用于:根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至所述消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the processing unit is further configured to: according to the message gateway, when it is determined that there is no information corresponding to the extension tag in the message gateway, send After the corresponding graphical page is presented, start the application program corresponding to the extension label locally; based on the application program corresponding to the extension label, obtain the information corresponding to the extension label, and generate the information corresponding to the extension label according to the user instruction. A second request message for information corresponding to the extension tag; sending the second request message to the message gateway; and receiving a second request response message carrying a page script message fed back by the message gateway for the second request message; according to The page script message presents a corresponding graphical page on the terminal interface.
结合第二方面的第一种可能的实现方式,或者第二种可能的实现方式,在第三种可能的实现方式中,所述呈现单元,具体用于:根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。With reference to the first possible implementation of the second aspect, or the second possible implementation, in a third possible implementation, the presentation unit is specifically configured to: locally At least one keyword and its corresponding input box are presented, or at least one keyword and its corresponding options are presented locally, or at least one user request result is presented locally.
第三方面,提供一种CGS模式下图形化页面呈现的装置,包括:In the third aspect, a device for presenting graphical pages in CGS mode is provided, including:
接收单元,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至生成单元;a receiving unit, configured to receive the first request message sent by the message gateway, and send the first request message to the generating unit;
生成单元,用于接收接收单元发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至发送单元;A generating unit, configured to receive the first request message sent by the receiving unit, generate a first request response message carrying a page script message based on the first request message, and send the first request response message to the sending unit;
发送单元,用于接收生成单元发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。A sending unit, configured to receive the 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 send the page script message carrying The first request response message in the text is sent to the terminal, so that the terminal presents a corresponding graphical page on the terminal interface according to the first request response message.
结合第三方面,在第一种可能的实现方式中,还包括处理单元,用于:In combination with the third aspect, in a first possible implementation manner, a processing unit is also included, configured to:
指示所述终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。After instructing the terminal to present a corresponding graphical page on the terminal interface according to the first request response message, when the APP server has the authority to acquire the information corresponding to the extension tag, receive the message carrying the extension sent by the message gateway. A second request message for information corresponding to the tag; wherein, the first request response message also carries an extension tag; generates a second request response message carrying a page script message according to the second request message; Sending the second request response message of the 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 sends the second request response message according to the second request response message The terminal interface presents corresponding graphical pages.
第四方面,提供一种CGS模式下图形化页面呈现的方法,包括:In the fourth aspect, a method for rendering a graphical page in CGS mode is provided, including:
接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息;receiving the first request message sent by the terminal based on any service corresponding to the application after running the application corresponding to the local client;
将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息;并After forwarding the first request message to the APP server, obtain the first request response message carrying the page script message returned by the APP server; and
将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。sending the first request response message to the terminal, instructing the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
结合第四方面,在第一种可能的实现方式中,将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。With reference to the fourth aspect, in a first possible implementation manner, before sending the first request-response message to the terminal, perform script verification on the first request-response message; confirm that the script verification result is correct.
结合第四方面的第一种可能的实现方式中,在第二种可能的实现方式中,所述第一请求响应消息中还携带扩展标签;当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,还包括:在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。With reference to the first possible implementation of the fourth aspect, in the second possible implementation, the first request response message also carries an extension tag; when the script verification result is correct, the Before the first request response message is sent to the terminal, it further includes: after detecting that there is information corresponding to the extension tag carried in the first request response message in the message gateway, adding the information corresponding to the extension tag to The first request response message is sent to the terminal, so that the terminal includes information corresponding to the extension tag in at least one input box on the presented graphical page. When it is detected that there is no information corresponding to the extension label carried in the first request response message in the message gateway, the terminal is instructed to start the application program corresponding to the extension label in the terminal, and receive the The application program corresponding to the extension tag obtains and sends the information corresponding to the extension tag, and adds the information corresponding to the extension tag to the first request response message and sends it to the terminal, so that the terminal locally generates There is at least one input box on the graphical page containing the information corresponding to the extension tag.
结合第四方面的第二种可能的实现方式,���第三种可能的实现方式中,在所述终端界面呈现相应的图形化页面之后,还包括:接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, after the terminal interface presents a corresponding graphical page, the method further includes: receiving that the terminal generates the information to carry the A second request message for information corresponding to the extension tag; according to the information corresponding to the extension tag carried in the second request message and the permission information corresponding to the APP server, when it is determined that the APP server has the ability to obtain the extension When the permission of the information corresponding to the tag is used, the second request message is sent to the APP server, and the APP server is notified to generate a second request response message carrying a page script message according to the second request message; receiving the The APP server sends a second request response message, and sends the second request response message to the terminal, instructing the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
第五方面,提供一种CGS模式下图形化页面呈现的方法,包括:In the fifth aspect, a method for presenting a graphical page in CGS mode is provided, including:
根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;According to the user instruction, after controlling the local client to run the application program indicated by the user, based on the service indicated by the user corresponding to the application program, sending a first request message to the message gateway;
接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。receiving a first request response message carrying a page script message generated by the message gateway according to the first request message, and presenting a corresponding graphical page on a local interface according to the page script message.
结合第五方面,在第一种可能的实现方式中,所述第一请求响应消息中还携带扩展标签;接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息。With reference to the fifth aspect, in a first possible implementation manner, the first request-response message also carries an extension tag; when the receiving gateway determines that there is information corresponding to the extension tag in the message gateway, it Requesting information corresponding to the extension tag carried in the response message, and presenting at least one input box containing the information corresponding to the extension tag on the presented graphical page.
结合第五方面的第一种可能的实现方式,在第二种可能的实现方式中,根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至所述消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。In combination with the first possible implementation of the fifth aspect, in the second possible implementation, according to the instruction sent by the message gateway when it is determined that there is no information corresponding to the extension tag in the message gateway, the corresponding graphic After converting the page, start the application program corresponding to the extension tag locally; based on the application program corresponding to the extension tag, obtain the information corresponding to the extension tag, and generate a second message carrying the information corresponding to the extension tag according to the user instruction request message; sending the second request message to the message gateway; and receiving a second request response message carrying a page script message fed back by the message gateway for the second request message; according to the page script message, in the The above terminal interface presents the corresponding graphical page.
结合第五方面的第一种可能的实现方式,或者第二种可能的实现方式,在第三种可能的实现方式中,根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。With reference to the first possible implementation of the fifth aspect, or the second possible implementation, in a third possible implementation, at least one keyword and its corresponding The input box either presents at least one keyword and its corresponding options locally, or presents at least one user request result locally.
第六方面,提供一种CGS模式下图形化页面呈现的方法,包括:In the sixth aspect, a method for rendering a graphical page in CGS mode is provided, including:
接收消息网关发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息;receiving a first request message sent by the message gateway, and generating a first request response message carrying a page script message based on the first request message;
将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。sending the first request-response message carrying the page script message to the message gateway, instructing the message gateway to send the first request-response message carrying the page script message to the terminal, and ordering the terminal to send the message according to the first request response message A request response message presents a corresponding graphical page on the terminal interface.
结合第六方面,在第一种可能的实现方式中,所述第一请求响应消息中还携带扩展标签;指示所述终端根据所述第一请求响应消息在所述终端呈现图形化页面之后,还包括:当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。With reference to the sixth aspect, in a first possible implementation manner, the first request-response message further carries an extension tag; instructing the terminal to, after the terminal presents a graphical page according to the first request-response message, It also includes: when the APP server has the authority to obtain the information corresponding to the extension tag, receiving the second request message carrying the information corresponding to the extension tag sent by the message gateway; generating a page script report according to the second request message The second request response message of the text; sending 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 is configured to enable the terminal to present a corresponding graphical page on the terminal interface according to the second request response message.
本发明实施例中,在CGS模式下,终端运行用户指示的客户端应用程序,并基于该客户端应用程序对应的用户指示的业务,向消息网关发送请求消息,通知消息网关将接收到该请求消息发送至APP服务器;APP服务器接收到该请求消息后,基于该请求消息生成携带页面脚本报文的请求响应消息;消息网关接收APP服务器下发的上述请求响应消息后,将该请求响应消息发送至上述终端;上述终端根据请求响应消息中携带的页面脚本报文,在本地进行图形化渲染,并呈现图形化页面。采用本发明技术方案,在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,从而避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程;并且,当用户请求的最终业务包含多个请求项目时,终端可以向服务器发送包含该多个请求项目的请求消息,并根据获取的服务器返回的响应消息,将用户请求的最终业务通过一次请求进行呈现,避免了目前终端需要多次请求才能获取用户请求的最终业务,使得获取用户请求的最终业务时存在效率低的问题。In the embodiment of the present invention, in the CGS mode, the terminal runs the client application program indicated by the user, and based on the service indicated by the user corresponding to the client application program, sends a request message to the message gateway, and notifies the message gateway that the request will be received The message is sent to the APP server; after the APP server receives the request message, it generates a request response message carrying the page script message based on the request message; after the message gateway receives the above request response message sent by the APP server, it sends the request response message to the above-mentioned terminal; the above-mentioned terminal performs graphical rendering locally according to the page script message carried in the request response message, and presents a graphical page. By adopting the technical solution of the present invention, in the CGS mode, the graphical page presentation of the terminal is realized through the page script message in the request response message, thereby avoiding the problem of poor operability caused by the dialogue mode presentation of the current human-computer interaction interface, The interactive message interaction process is simplified; and, when the final service requested by the user includes multiple request items, the terminal can send a request message including the multiple request items to the server, and send the user request to the server according to the obtained response message returned by the server. The final service is presented through one request, which avoids the problem of low efficiency when the terminal needs multiple requests to obtain the final service requested by the user.
附图说明Description of drawings
图1为��有技术中BS模式下互动消息交互示意图;FIG. 1 is a schematic diagram of interactive message interaction in BS mode in the prior art;
图2为现有技术中CGS模式下互动消息交互示意图;FIG. 2 is a schematic diagram of interactive message interaction in the CGS mode in the prior art;
图3为现有技术中CGS模式下终端所呈现的页面示意图;FIG. 3 is a schematic diagram of a page presented by a terminal in CGS mode in the prior art;
图4为本发明实施例中系统架构示意图;Fig. 4 is a schematic diagram of the system architecture in the embodiment of the present invention;
图5为本发明实施例中CGS模式下图形化页面呈现流程图一;Fig. 5 is a flowchart 1 of graphical page presentation in CGS mode in the embodiment of the present invention;
图6为本发明实施例中CGS模式下终端所呈现的图形化页面示意图一;FIG. 6 is a first schematic diagram of a graphical page presented by a terminal in CGS mode in an embodiment of the present invention;
图7为本发明实施例中CGS模式下终端所呈现的图形化页面示意图二;FIG. 7 is a second schematic diagram of a graphical page presented by a terminal in CGS mode in an embodiment of the present invention;
图8为本发明实施例中CGS模式下图形化页面呈现流程图二;FIG. 8 is a second flowchart of graphical page presentation in the CGS mode in the embodiment of the present invention;
图9为本发明实施例中CGS模式下图形化页面呈现流程图三;FIG. 9 is a third flowchart of graphical page presentation in the CGS mode in the embodiment of the present invention;
图10为本发明实施例中具体应用场景下CGS模式下图形化页面呈现流程图;FIG. 10 is a flow chart of graphical page presentation in CGS mode in a specific application scenario in an embodiment of the present invention;
图11为本发明实施例中CGS模式下终端根据第二请求响应消息所呈现的图形化页面示意图;FIG. 11 is a schematic diagram of a graphical page presented by a terminal in CGS mode according to a second request response message in an embodiment of the present invention;
图12为本发明实施例中CGS模式下终端根据第三请求响应消息所呈现的图形化页面示意图;12 is a schematic diagram of a graphical page presented by a terminal in CGS mode according to a third request response message in an embodiment of the present invention;
图13为本发明实施例中CGS模式下图形化页面呈现时互动消息交互示意图;FIG. 13 is a schematic diagram of interactive message interaction when a graphical page is presented in CGS mode in an embodiment of the present invention;
图14为本发明实施例中CGS模式下图形化页面呈现装置结构示意图一;FIG. 14 is a first schematic diagram of the structure of the graphical page presentation device in the CGS mode in the embodiment of the present invention;
图15为本发明实施例中CGS模式下图形化页面呈现装置结构示意图二;Fig. 15 is a second schematic diagram of the structure of the graphical page presentation device in the CGS mode in the embodiment of the present invention;
图16为本发明实施例中CGS模式下图形化页面呈现装置结构示意图三;Fig. 16 is a schematic diagram of the third structure of the graphical page presentation device in the CGS mode in the embodiment of the present invention;
图17为本发明实施例中CGS模式下消息网关结构示意图;FIG. 17 is a schematic diagram of the structure of the message gateway in the CGS mode in the embodiment of the present invention;
图18为本发明实施例中CGS模式下终端结构示意图;FIG. 18 is a schematic diagram of a terminal structure in CGS mode in an embodiment of the present invention;
图19为本发明实施例中CGS模式下APP服务器结构示意图。FIG. 19 is a schematic diagram of the structure of the APP server in the CGS mode in the embodiment of the present invention.
具体实施方式detailed description
为了解决在移动终端连接至移动通信网络时的互动消息架构存在互动消息交互流程繁琐,获取用户请求的最终业务效率低的问题。本发明实施例中,在CGS模式下,终端运行用户指示的客户端应用程序,并基于该客户端应用程序对应的用户指示的业务,向消息网关发送请求消息,通知消息网关将接收到该请求消息发送至APP服务器;APP服务器接收到该请求消息后,基于该请求消息生成携带页面脚本报文的请求响应消息;消息网关接收APP服务器下发的上述请求响应消息后,将该请求响应消息发送至上述终端;上述终端根据请求响应消息中携带的页面脚本报文,在本地进行图形化渲染,并呈现图形化页面。采用本发明技术方案,在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,从而避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程;并且,当用户请求的最终业务包含多个请求项目时,终端可以向服务器发送包含该多个请求项目的请求消息,并根据获取的服务器返回的响应消息,将用户请求的最终业务通过一次请求进行呈现,避免了目前终端需要多次请求才能获取用户请求的最终业务,使得获取用户请求的最终业务时存在效率低的问题。In order to solve the problem of cumbersome interactive message interaction process and low efficiency in obtaining the final service requested by the user in the interactive message architecture when the mobile terminal is connected to the mobile communication network. In the embodiment of the present invention, in the CGS mode, the terminal runs the client application program indicated by the user, and based on the service indicated by the user corresponding to the client application program, sends a request message to the message gateway, and notifies the message gateway that the request will be received The message is sent to the APP server; after the APP server receives the request message, it generates a request response message carrying the page script message based on the request message; after the message gateway receives the above request response message sent by the APP server, it sends the request response message to the above-mentioned terminal; the above-mentioned terminal performs graphical rendering locally according to the page script message carried in the request response message, and presents a graphical page. By adopting the technical solution of the present invention, in the CGS mode, the graphical page presentation of the terminal is realized through the page script message in the request response message, thereby avoiding the problem of poor operability caused by the dialogue mode presentation of the current human-computer interaction interface, The interactive message interaction process is simplified; and, when the final service requested by the user includes multiple request items, the terminal can send a request message including the multiple request items to the server, and send the user request to the server according to the obtained response message returned by the server. The final service is presented through one request, which avoids the problem of low efficiency when the terminal needs multiple requests to obtain the final service requested by the user.
参阅图4所示为本发明实施例中系统架构示意图,其中,终端通过消息网关(Message Gate),与APP服务器(APP Server)进行互动消息交互,且该系统各个设备之间的互动消息交互时所应用的协议为HTTP。Referring to Figure 4, it is a schematic diagram of the system architecture in the embodiment of the present invention, wherein the terminal interacts with the APP server (APP Server) through the message gateway (Message Gate), and the interactive message interaction between the various devices of the system The protocol used is HTTP.
参阅图5所示,本发明实施例中,CGS模式下消息中心控制终端进行图形化页面呈现的详细流程为:Referring to Fig. 5, in the embodiment of the present invention, the detailed flow of the graphical page presentation by the message center control terminal in the CGS mode is as follows:
步骤500:接收终端运行本地客户端对应的应用程序后基于该应用程序对应的任意一项业务发送的第一请求消息。Step 500: Receive the first request message sent by the terminal based on any service corresponding to the application program after running the application program corresponding to the local client.
本发明实施例中,终端安装有客户端对应应用程序,可选的,该客户端为内置浏览器的统一客户端,并且,该客户端中可以对应多种不同的业务,如在本地安装某一聊天工具客户端,该客户端中可以对应包括新闻,邮箱信息等多种业务。In the embodiment of the present invention, the terminal is installed with an application program corresponding to the client. Optionally, the client is a unified client with a built-in browser, and the client can correspond to various services, such as installing a certain A chat tool client, which can correspond to various services including news and email information.
终端检测到用户在本地上选中上述客户端的指示后,运行该客户端应用程序,并在终端界面上呈现该客户端应用程序对应的登录页面;当上述终端检测到用户在上述登录页面中输入正确的验证信息后即登录该客户端;当终端检测到用户在登录上述客户端后选中该客户端对应的任意一项业务时,该终端基于上述用户选中的任意一项业务,向消息网关发送请求消息;消息网关接收上述终端发送的请求消息。After the terminal detects that the user has selected the indication of the above client locally, it runs the client application and presents the login page corresponding to the client application on the terminal interface; when the terminal detects that the user has entered the correct After logging in to the client, the terminal detects that the user has selected any of the services corresponding to the client after logging in to the above client, the terminal sends a request to the message gateway based on any of the services selected by the user message; the message gateway receives the request message sent by the above terminal.
步骤510:将上述请求消息转发至APP服务器后,获取该APP服务器返回的携带页面脚本报文的的第一请求响应消息。Step 510: After forwarding the request message to the APP server, obtain the first request response message carrying the page script message returned by the APP server.
本发明实施例中,由于同一个客户端中不同的业务对应不同的APP服务器,因此,消息网关接收到终端发送的第一请求消息后,即解析该第一请求消息中携带的相关信息,如请求业务类型,请求业务名称等,根据该第一请求消息中携带的相关信息将上述第一请求消息发送至与上述相关信息对应的APP服务器。In the embodiment of the present invention, since different services in the same client correspond to different APP servers, after the message gateway receives the first request message sent by the terminal, it parses the relevant information carried in the first request message, such as Request service type, request service name, etc., send the above-mentioned first request message to the APP server corresponding to the above-mentioned relevant information according to the relevant information carried in the first request message.
进一步的,APP服务器接收到消息网关发送的上述第一请求消息后,即根据上述第一请求消息中携带的请求业务名称,生成第一请求响应消息,并将该第一请求响应消息发送至上述消息网关。其中,上述生成的第一请求响应消息中携带页面脚本报文,该页面脚本报文语言以HTML5为基础,用于使终端根据该页面脚本报文对本地界面所呈现的页面进行图形化渲染。Further, after receiving the above-mentioned first request message sent by the message gateway, the APP server generates a first request-response message according to the requested service name carried in the above-mentioned first request message, and sends the first request-response message to the above-mentioned message gateway. Wherein, the first request response message generated above carries a page script message, and the language of the page script message is based on HTML5, and is used to make the terminal graphically render the page presented on the local interface according to the page script message.
为了提高终端呈现的图形化页面的可操作性,可选的,上述第一请求响应消息中还携带扩展标签。不同的扩展标签可以对应不同的功能,如gis标签对应终端的GPS定位功能,sms标签对应终端的短信发送功能,call标签对应终端的电话拨打功能,camera标签对应终端的拍照功能,fetch标签对应获取用户的相关信息(如身份标识信息等)。当第一请求响应消息中携带的扩展标签不同时,相应的,实现的功能不同。In order to improve the operability of the graphical page presented by the terminal, optionally, the first request response message further carries an extension tag. Different extension tags can correspond to different functions. For example, the gis tag corresponds to the GPS positioning function of the terminal, the sms tag corresponds to the short message sending function of the terminal, the call tag corresponds to the phone dialing function of the terminal, the camera tag corresponds to the camera function of the terminal, and the fetch tag corresponds to the acquisition User-related information (such as identification information, etc.). When the extension tags carried in the first request-response message are different, correspondingly, the implemented functions are different.
消息网关获取APP服务器返回的第一请求响应消息之后,可选的,对该第一请求响应消息进行脚本校验;当该脚本校验结果为正确时,将上述第一请求响应消息发送至终端。After the message gateway obtains the first request response message returned by the APP server, it may optionally perform script verification on the first request response message; when the script verification result is correct, send the above first request response message to the terminal .
步骤520:将上述第一请求响应消息发送至上述终端,指示该终端根据上述页面脚本报文,在终端界面呈现相应的图形化页面。Step 520: Send the above-mentioned first request response message to the above-mentioned terminal, instructing the terminal to present a corresponding graphical page on the terminal interface according to the above-mentioned page script message.
本发明实施例中,上述终端支持HTML5语言,且该终端支持上述扩展标签。终端根据第一请求响应消息中携带的页面脚本报文中的扩展标签和/或关键��信息,在本地获得图形化界面,使本地界面中呈现至少一个关键字及其对应的输入框(参阅图6所示),或者使本地界面中呈现至少一个关键字及其对应的选项,或者使本地界面中呈现至少一个用户请求结果。例如,当用户请求进入购票系统时,在目前CGS模式下将在终端呈现对话模式的页面,参阅图3所示,在本发明CGS模式下将在终端呈现图形化页面,参阅图7所示,此时,终端可以根据用户选中的选项向消息网关发送第二请求消息,而不必通过对话模式中输入关键字时所进行的逐步操作,提高了交互消息流程的效率。In the embodiment of the present invention, the above terminal supports HTML5 language, and the terminal supports the above extension tags. 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 and its corresponding input box are displayed on the local interface (see Fig. 6), or at least one keyword and its corresponding options are displayed on the local interface, or at least one user request result is displayed on the local interface. For example, when the user requests to enter the ticketing system, in the current CGS mode, the terminal will present a dialogue mode page, as shown in Figure 3, and in the CGS mode of the present invention, the terminal will present a graphical page, as shown in Figure 7 , at this time, the terminal can send the second request message to the message gateway according to the option selected by the user, without having to go through the step-by-step operation when entering keywords in the dialogue mode, which improves the efficiency of the interactive message process.
进一步的,当上述第一请求响应消息中携带扩展标签时,消息网关检测本地是否存在上述第一请求响应消息中携带的扩展标签对应的信息(如手机号码);若确定本地存在上述第一请求响应消息中携带的扩展标签对应的信息,则将该扩展标签对应的信息添加至上述第一请求响应消息,并将添加了扩展标签对应的信息的第一请求响应消息发送至终端,令终端在本地生成的图形化页面中存在至少一个输入框中包含上述扩展标签对应的信息。即终端根据该第一请求响应消息呈现的图形化页面中已经存在的部分为消息网关中本地已保存的信息。例如,当APP服务器返回的第一请求响应消息中携带“分类”,“关键字”,以及“手机号码”等关键字时,相应的,第一请求响应消息中携带fetch扩展标签,若“手机号码”信息,则终端呈现的图形化页面中“手机号码”对应的输入框中均已经存在相应的信息,参阅图6所示。采用上述技术方案,避免了用户在终端的图形化页面中输入大量信息,提高了人机交互界面的可操作性。Further, when the extension tag is carried in the first request response message, the message gateway detects locally whether there is information corresponding to the extension tag carried in the first request response message (such as a mobile phone number); if it is determined that the first request locally exists The information corresponding to the extension tag carried in the response message, then add the information corresponding to the extension tag to the above-mentioned first request response message, and send the first request response message with the information corresponding to the extension tag to the terminal, so that the terminal In the graphical page generated locally, there is at least one input box containing the information corresponding to the above extension tag. That is, the existing part of the graphical page presented by the terminal according to the first request response message is the locally stored information in the message gateway. For example, when 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 the fetch extension tag. Number" information, the corresponding information already exists in the input box corresponding to the "mobile phone number" on the graphical page presented by the terminal, as shown in Figure 6. By adopting the above technical solution, the user is prevented from inputting a large amount of information in the graphical page of the terminal, and the operability of the human-computer interaction interface is improved.
可选的,当上述第一请求响应消息中携带扩展标签时,消息网关不检测本地是否存在上述第一请求响应消息中携带的扩展标签对应的信息(如登录用户名),直接将上述第一请求响应消息发送至终端,终端根据该第一请求响应消息中携带的扩展标签,向消息网关发送信息获取请求消息,请求消息网关发送上述扩展标签对应的信息,终端基于消息网关发送的扩展标签对应的信息,在本地呈现图形化页面,其中,上述图形化页面中存在至少一个输入框中包含上述扩展标签对应的信息。由此可见,在终端的图形化页面中呈现扩展标签对应的信息的方式有两种,即由消息网关添加至第一请求响应消息中,令终端根据第一请求响应消息在终端的图形化页面中呈现,或者由终端从消息网关处获取扩展标签对应的信息在终端本地的图形化页面中呈现。Optionally, when the above-mentioned first request-response message carries an extension tag, the message gateway does not detect whether the information corresponding to the extension tag carried in the above-mentioned first request-response message (such as the login user name) exists locally, and directly sends the above-mentioned 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 extension tag carried in the first request response message, requesting the message gateway to send the information corresponding to the above extension tag, and the terminal corresponds to the information based on the extension tag sent by the message gateway. information, and present a graphical page locally, where there is at least one input box on the graphical page that contains the information corresponding to the extension tag. It can be seen that there are two ways to display the information corresponding to the extension tag on the graphical page of the terminal, that is, add it to the first request response message by the message gateway, and make the terminal display the information on the graphical page of the terminal according to the first request response message. , or the terminal obtains the information corresponding to the extension tag from the message gateway and presents it on the local graphical page of the terminal.
特殊的,若消息网关确定本地不存在上述第一请求响应消息中携带的扩展标签对应的信息,则指示终端启动本地所有应用程序中上述扩展标签对应的应用程序;通过该扩展标签中对应的应用程序,获取该扩展标签对应的信息,并将该扩展标签对应的信息发送至消息网关,消息网关将该扩展标签对应的信息添加至上述第一请求响应消息中,令终端在本地生成的图形化页面中存在至少一个输入框中包含上述扩展标签对应的信息。例如,若上述请求响应消息中携带gis扩展标签,则消息网关指示终端开启GPS定位软件,从而使消息网关能够快速获取终端的位置。Specifically, if the message gateway determines that the information corresponding to the extension tag carried in the first request response message does not exist locally, it will instruct the terminal to start the application program corresponding to the above extension tag among all local application programs; through the application corresponding to the extension tag The program obtains the information corresponding to the extension tag, and sends the information corresponding to the extension tag to the message gateway, and the message gateway adds the information corresponding to the extension tag to the above-mentioned first request response message, so that the terminal locally generates a graphical There is at least one input box on the page that contains the information corresponding to the above extension tag. For example, if the above request response message carries the gis extension tag, the message gateway instructs the terminal to start the GPS positioning software, so that the message gateway can quickly obtain the terminal's location.
进一步的,若APP发送的请求响应消息中包含上述扩展标签,则终端根据用户的请求在当前图形化页面中的再次操作发送第二请求消息时,该第二请求消息中将携带上述扩展标签对应的信息;当消息网关获取扩展标签对应的信息后,根据该扩展标签对应的信息和APP服务器对应的权限信息,确定是否将上述扩展标签对应的信息发送至APP服务器。例如,若APP服务器请求获取用户身份证信息,则消息网关核实该APP服务器是否具备获取上述用户身份证信息的权限,当该APP服务器具备获取权限时,消息网关将上述用户身份证信息发送至该APP;当该APP服务器不具备获取权限时,消息网关将拒绝将上述用户身份证信息发送至该APP服务器。APP服务器根据上述第二请求消息,生成携带页面脚本报文的第二请求响应消息,并将该请求响应消息发送至消息网关,令消息网关将上述第二请求响应消息发送至终端,使终端根据该第二请求响应消息在本地呈现图形化页面。采用上述技术方案,由消息网关统一管理各个终端的相关信息,避免了由于用户登录安全性较低的客户端所造成的信息泄露问题,有效提高了网络安全性能。Further, if the request response message sent by the APP includes the above-mentioned extension tag, when the terminal sends a second request message according to the user's request to re-operate on the current graphical page, the second request message will carry the above-mentioned extension tag corresponding After the message gateway obtains the information corresponding to the extension tag, it determines whether to send the information corresponding to the extension tag to the APP server according to the information corresponding to the extension tag and the permission information corresponding to the APP server. For example, if the APP server requests to obtain the user's ID card information, the message gateway will verify whether the APP server has the authority to obtain the user's ID card information. APP; when the APP server does not have access authority, 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 a page script message according to the above second request message, and sends the request response message to the message gateway, so that the message gateway sends the above second request response message to the terminal, so that the terminal according to The second request response message renders the graphical page locally. By adopting the above technical solution, the message gateway uniformly manages the relevant information of each terminal, avoids the problem of information leakage caused by the user logging in to the client with low security, and effectively improves the network security performance.
可选的,当上述客户端中为内置浏览器的统一客户端时,将上述第一请求响应消息发送至上述终端后,终端根据上述页面脚本报文,在终端界面调用客户端中内置的浏览器呈现相应的图形化页面。此外,终端还可以调用本地包含的其他应用程序在本地界面呈现图形化界面。Optionally, when the above-mentioned client is a unified client with a built-in browser, after sending the above-mentioned first request response message to the above-mentioned terminal, the terminal calls the browser built in the client on the terminal interface according to the above-mentioned page script message. The controller presents the corresponding graphical page. In addition, the terminal can also call other applications contained locally to present a graphical interface on the local interface.
参阅图8所示,本发明实施例中,CGS模式下消息中心终端进行图形化页面呈现的详细流程为:Referring to Fig. 8, in the embodiment of the present invention, the detailed flow of the graphical page presentation by the message center terminal in the CGS mode is as follows:
步骤800:根据用户指示,终端运行该用户指示的客户端对应的应用程序后,基于该应用程序对应的上述用户指示的业务,向消息网关发送第一请求消息。Step 800: According to the user instruction, after running the application program 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 program.
本发明实施例中,上述第一请求响应消息中携带页面脚本报文,可选的,该第一请求响应消息中还携带扩展标签。In the embodiment of the present invention, the above-mentioned first request-response message carries a page script message, and optionally, the first request-response message also carries an extension tag.
进一步的,当上述第一请求响应消息中携带扩展标签,且终端接收消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息。Further, when the first request-response message carries an extension tag, and the terminal receiving message gateway determines that there is information corresponding to the extension tag in the message gateway, the information corresponding to the extension tag carried in the first request-response message , and at least one input box containing information corresponding to the extension tag is presented on the presented graphical page.
步骤810:终端接收消息网关发送的携带页面脚本报文的第一请求响应消息,并根据该页面脚本报文在本地界面中呈现相应的图形化页面。Step 810: The terminal receives the first request response message carrying the page script message sent by the message gateway, and presents a corresponding graphical page in the local interface according to the page script message.
本发明实施例中,终端根据上述第一请求响应消息中携带的页面脚本报文在本地呈现用户请求浏览的响应数据,具体的,在终端本地呈现至少一个关键字及其对应的输入框,或者在终端本地呈现至少一个关键字及其对应的选项,或者在终端本地呈现至少一个用户请求结果。In the embodiment of the present invention, the terminal locally presents the response data requested by the user to browse according to the page script message carried in the first request response message, specifically, presents at least one keyword and its corresponding input box locally on the terminal, or At least one keyword and its corresponding options are presented locally on the terminal, or at least one user request result is presented locally on the terminal.
特殊的,当消息网关中不存在扩展标签对应的信息时,在呈现相应的图形化页面���后启动本地所有应用程序中上述扩展标签对应的应用程序;基于该扩展标签中对应的应用程序,获取该扩展标签对应的信息,并根据用户指示生成携带扩展标签对应的信息的第二请求消息;将第二请求消息发送至消息网关;并接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;根据上述页面脚本报文,在终端界面呈现相应的图形化页面。Specifically, when there is no information corresponding to the extension tag in the message gateway, start the application corresponding to the above extension tag in all local applications after the corresponding graphical page is presented; based on the corresponding application in the extension tag, obtain the Expand the information corresponding to the tag, and generate a second request message carrying the information corresponding to the extended tag according to the user's instruction; send the second request message to the message gateway; and receive 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, a corresponding graphical page is presented on the terminal interface.
进一步的,当终端呈现的图形化页面中包含一个关键字及其对应的输入框,或者包含多个关键字及每一个关键字分别对应的输入框时,用户可以根据上述一个或者多个关键字的提示,在输入框中输入相应的信息。特殊的,当上述输入框中已经包含相应的信息时,用户可以仅检验该输入框中相应的信息的准确性,当该输入框中相应的信息出现错误时,用户可以在上述输入框中重新输入相应的信息。当上述每一个输入框中均输入相应的信息,且终端接收到用户输入的确认信息后,即可基于上述每一个关键字及其对应的信息生成第二的请求消息,并将该第二请求消息发送至消息网关,等待消息网关返回的最终用户请求结果。Further, when the graphical page presented by the terminal contains a keyword and its corresponding input box, or contains multiple keywords and an input box corresponding to each keyword, the user can Enter the corresponding information in the input box. In particular, when the above input box already contains the corresponding information, the user can only check the accuracy of the corresponding information in the input box, and when the corresponding information in the input box is wrong, the user can re-enter the above input box. Enter the appropriate information. When the corresponding information is input in each of the above input boxes, and the terminal receives the confirmation information input by the user, it can generate a second request message based on each of the above keywords and its corresponding information, and send the second request The message is sent to the message gateway and waits for the end user request result returned by the message gateway.
当终端呈现的图形化页面中包含一个关键字及其对应的选项,或者包含多个关键字及每一个关键字分别对应的选项时,用户可以根据上述一个或多个关键字的提示,选中任意一个选项,当包含多个选项时,用户可以根据需要选中多个选项。终端检测到用户的选中指示后,基于所选中的选项及选中选项对应的关键字生成第二请求消息,并将该第二请求消息发送至消息网关,等待消息网关返回最终用户请求结果。When the graphical page presented by the terminal contains a keyword and its corresponding options, or multiple keywords and options corresponding to each keyword, the user can select any An option, when multiple options are included, the user can select multiple options as needed. After detecting the user's selection indication, the terminal generates a second request message based on the selected option and the keyword corresponding to the selected option, sends the second request message to the message gateway, and waits for the message gateway to return the end user's request result.
在上述过程中,终端所呈现的图形化页面中可以包含用户请求浏览的响应数据,用户可以在上述图形化界面中进行相应的操作,终端响应该用户的操作后,将向网络侧发送进一步的请求消息;终端接收到网络侧根据该进一步的请求消息下发的进一步的请求响应消息后,根据该进一步的请求响应消息刷新本地界面,并呈现最新响应的图形化页面。终端按照上述过程响应用户请求向网络侧发送请求消息,并接收网络侧发送的请求响应消息从而呈现图形化界面,直至终端本地呈现的图形化页面中包含最终用户请求结果。采用上述技术方案,终端在本地所呈现的图形化页面中可以包含多个关键字及每一个关键字分别对应的选项以及多个关键字及每一个关键字分别对应的输入框,即用户可以在一个页面中完成多次输入或者多次选择,即在一个页面中发送一次或多次请求,从而避免了在对话模式下一个页面完成一次选择,即在一个页面中发送一次请求,提高了人际交互界面的可操作性,简化了互动消息交互流程。In the above process, the graphical page presented by the terminal may contain the response data requested by the user to browse, and the user can perform corresponding operations in the above graphical interface. After the terminal responds to the user's operation, it will send further information to the network side. Request message: After receiving a further request response message issued 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 a graphical page of the latest response. The terminal sends a request message to the network side in response to the user request according to the above process, and receives the request response message sent by the network side to present a graphical interface until the graphical page presented locally by the terminal contains the end user request result. With the above technical solution, the graphical page presented locally by the terminal can include multiple keywords and options corresponding to each keyword, as well as multiple keywords and input boxes corresponding to each keyword, that is, the user can click on the Complete multiple input or multiple selections in one page, that is, send one or multiple requests in one page, thus avoiding completing one selection in one page in dialogue mode, that is, sending one request in one page, and improving human interaction The operability of the interface simplifies the interactive message interaction process.
此外,本发明实施例中,当用户需要订阅新的业务或者安装新的插件时,上述终端支持在本地已有的客户端中用安装新的插件以满足用户订阅新的业务的需求。In addition, in the embodiment of the present invention, when a user needs to subscribe to a new service or install a new plug-in, the terminal supports installing a new plug-in in an existing local client to meet the user's demand for subscribing to a new service.
参阅图9所示,本发明实施例中,CGS模式下消息中心APP服务器控制终端进行图形化页面呈现的详细流程为:Referring to Figure 9, in the embodiment of the present invention, the detailed process of the message center APP server controlling the terminal to present the graphical page in the CGS mode is as follows:
步骤900:APP服务器接收消息网关发送的第一请求消息,并基于该第一请求消息生成携带页面脚本报文的第一请求响应消息。Step 900: The APP server receives the first request message sent by the message gateway, and generates a first request response message carrying a page script message based on the first request message.
本发明实施例中,上述第一请求响应消息中还可以携带扩展标签。In this embodiment of the present invention, the above-mentioned first request response message may also carry an extension tag.
步骤910:APP服务器将上述携带页面脚本报文的第一请求响应消息发送至消息网关,指示消息网关将上述第一请求响应消息发送至终端,令终端根据该第一请求响应消息在终端本地呈现图形化页面。Step 910: The APP server sends the above-mentioned first request response message carrying the page script message to the message gateway, instructs the message gateway to send the above-mentioned first request response message to the terminal, and makes the terminal present locally in the terminal according to the first request response message Graphical page.
本发明实施例中,当第一请求响应消息中携带扩展标签,且APP服务器具备获取扩展标签对应的信息的权限时,接收消息网关发送的上述扩展标签对应的信息。上述扩展标签对应的信息可以为消息网关之前在本地保存的信息,也可以为消息网关在当前时刻由终端获取的信息。In the embodiment of the present invention, when the extension tag is carried in the first request response message, and the APP server has the authority to acquire the information corresponding to the extension tag, the information corresponding to the extension tag sent by the message gateway is received. The information corresponding to the above extension tag may be the information previously saved locally by the message gateway, or may be the information acquired by the terminal at the current moment by the message gateway.
终端根据第一请求响应消息在所述终端呈现图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收消息网关发送的携带上述扩展标签对应的信息的第二请求消息;根据第二请求消息生成携带页面脚本报文的第二请求响应消息;将上述携带页面脚本报文的第二请求响应消息发送至消息网关,指示消息网关将上述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据第二请求响应消息在终端调用终端中客户端内置的浏览器呈现图形化页面。After the terminal presents the graphical page according to the first request response message, when the APP server has the authority to obtain the information corresponding to the extension tag, it receives the second request message sent by the message gateway and carries the information corresponding to the extension tag; according to The second request message generates a second request response message carrying a page script message; sends the second request response message carrying a page script message to the message gateway, and instructs the message gateway to respond to the second request response message carrying a page script message The message is sent to the terminal, so that the terminal invokes the built-in browser of the client in the terminal to present a graphical page according to the second request response message.
参阅图10所示,下面结合具体的应用场景,以用户请求获取用户所在位置周边所有商店的商盟优惠券为例,详细介绍CGS模式下图形化页面的呈现流程:Referring to Figure 10, the following is a specific application scenario, taking the user's request to obtain the business alliance coupons of all stores around the user's location as an example, and introduces the presentation process of the graphical page in CGS mode in detail:
预处理流程:本发明实施例中,终端已经安装获取商盟优惠券相对应的客户端A,并已订阅获取商盟优惠券相对应的业务A。并且,该终端已经在上述客户端中注册成功,在注册过程中,终端将所注册账号与本地手机号码进行绑定。Pre-processing flow: In the embodiment of the present invention, the terminal has installed the client A corresponding to obtaining business alliance coupons, and has subscribed to the service A corresponding to obtaining business alliance coupons. Moreover, the terminal has been successfully registered in the above client, and during the registration process, the terminal binds the registered account with the local mobile phone number.
步骤1000:终端响应用户的指示,运行客户端A,当终端登录客户端A成功后,在终端本地呈现业务A对应的页面。Step 1000: The terminal responds to the user's instruction and runs the client A. When the terminal successfully logs in to the client A, the terminal locally presents a page corresponding to the service A.
步骤1001:终端检测到用户选中“我要优惠券”选项后,基于该“我要优惠券”选项生成第一请求消息,并将该第一请求消息发送至消息网关。Step 1001: After detecting that the user selects the "I want coupons" option, the terminal generates a first request message based on the "I want coupons" option, and sends the first request message to the message gateway.
本发明实施例中,基于该“我要优惠券”选项生成第一请求消息中包含的报文可以采用如下形式:In the embodiment of the present invention, the message contained in the first request message generated based on the "I want a coupon" option can be in the following form:
其中,“海滩赏月”为用户注册时所对应的用户名。Among them, "beach watching the moon" is the corresponding user name when the user registers.
步骤1002:消息网关接收到终端发送的上述第一请求消息后,解析该第一请求消息中的业务名称,将该第一请求消息转发至相应的APP服务器。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.
本发明实施例中,上述APP服务器即为商盟优惠券系统对应的服务器,In the embodiment of the present invention, the above-mentioned APP server is the server corresponding to the business alliance coupon system,
步骤1003:APP服务器接收到上述第一请求消息后,向消息网关发送第一请求响应消息。Step 1003: After receiving the first request message, the APP server sends a first request response message to the message gateway.
本发明实施例中,由于终端请求获取该终端所在位置周边所有商店的商盟优惠券,因此,上述第一请求响应消息中包含对应于定位功能的扩展标签;此外,上述第一请求响应消息中还包含对应于获取用户标识信息功能的扩展标签。其中,上述第一请求响应消息中包含的页面脚本报文可以采用如下形式:In the embodiment of the present invention, since the terminal requests to obtain the coupons of the business alliance of all stores around the location of the terminal, the above-mentioned first request response message includes an extension tag corresponding to the positioning function; in addition, the above-mentioned first request response message contains Also contains extension tags corresponding to functions for obtaining user identification information. Wherein, the page script message included in the above first request response message may be in the following form:
其中,gis为定位功能的标签;fetch为获取用户标识信息功能的扩展标签。Among them, gis is the label of the positioning function; fetch is the extended label of the function of obtaining user identification information.
步骤1004:消息网关将接收到的第一请求响应消息发送至终端。Step 1004: The message gateway sends the received first request response message to the terminal.
本发明实施例中,消息网关解析第一请求响应消息中携带的扩展标签,对应于上述gis扩展标签,消息网关指示终端开启GPS应用程序,并获取终端的位置信息后,将终端的位置信息添加至上述第一请求响应消息中终端位置对应的输入框中;对应于上述fetch扩展标签,消息网关本地保存有终端的手机号码,则消息网关将手机号码直接添加至上述第一请求响应消息中手机号码对应的输入框中。In the embodiment of the present invention, the message gateway parses the extension tag carried in the first request response message, corresponding to the above-mentioned gis extension tag, the message gateway instructs the terminal to start the GPS application program, and after obtaining the location information of the terminal, adds the location information of the terminal to to the input box corresponding to the terminal location in the above first request response message; corresponding to the above fetch extension tag, the message gateway locally stores the mobile phone number of the terminal, and the message gateway directly adds the mobile phone number to the mobile phone number in the above first request response message in the input box corresponding to the number.
步骤1005:终端接收上述消息网关发送的第一请求响应消息,根据该第一请求响应消息中携带的页面脚本报文渲���本地界面,在本地界面中呈现第一图形化页面。Step 1005: The terminal receives the first request response message sent by the message gateway, renders the local interface according to the page script message carried in the first request response message, and presents the first graphical page on the local interface.
本发明实施例中,参阅图6所示,由于消息网关已经将“终端位置”以及“手机号码”关键字对应的输入框中添加相应的信息,因此,用户仅需要在“分类”以及“关键字”关键字对应的输入框中输入相应的信息即可。In the embodiment of the present invention, as shown in FIG. 6, since the message gateway has already added corresponding information to the input boxes corresponding to the keywords of "terminal location" and "mobile phone number", the user only needs to enter "category" and "key Enter the corresponding information in the input box corresponding to the "word" keyword.
步骤1006:终端响应用户输入的“提交”指示,向消息网关发送第二请求消息。Step 1006: the terminal sends a second request message to the message gateway in response to the "submit" instruction input by the user.
本发明实施例中,第二请求消息中包含的报文可以采用如下形式:In the embodiment of the present invention, the message contained in the second request message may take the following form:
步骤1007:消息网关接收到终端发送的上述第二请求消息后,将该第二请求消息转发至上述APP服务器。Step 1007: After receiving the second request message sent by the terminal, the message gateway forwards the second request message to the APP server.
本发明实施例中,由于第二请求消息中携带用户标识信息,因此,在消息网关将第二请求消息转发至APP服务器之前,消息网关会判定该APP服务器是否具备获取上述用户标识信息的权限,若是,则将第二请求消息发送至APP服务器;否则,消息网关将拒绝将上述用户标识信息发送至APP服务器。In the embodiment of the present invention, since the second request message carries the user identification information, before the message gateway forwards the second request message to the APP server, the message gateway will determine whether the APP server has the authority to obtain the above user identification information, If yes, send the second request message to the APP server; otherwise, the message gateway will refuse to send the user identification information to the APP server.
步骤1008:APP服务器接收到上述第二请求消息后,向消息网关发送第二请求响应消息。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 contained in the above second request response message may be in the following form:
步骤1009:消息网关将接收到的第二请求响应消息发送至终端;指示终端接收上述消息网关发送的第二请求响应消息,根据该第二请求响应消息中携带的页面脚本报文渲染终端本地界面,在本地界面中呈现第二图形化页面。Step 1009: The message gateway sends the received second request response message to the terminal; instructs the terminal to receive the second request response message sent by the above message gateway, and render the terminal local interface according to the page script message carried in the second request response message , presenting the second graphical page in the local interface.
本发明实施例中,终端根据第二请求响应消息刷新本地界面,在本地界面中呈现第二图形化页面,参阅图11所示,此时,上述第一图形化页面将被第二图形化页面替代,用户可以通过后退功能返回第一图形化页面。In the embodiment of the present invention, the terminal refreshes the local interface according to the second request response message, and presents the second graphical page in the local interface, as shown in FIG. 11 , at this time, the first graphical page will be replaced by the second graphical page Alternatively, the user can return to the first graphical page through the back function.
步骤1010:终端响应用户在上述第二图形化页面中选中的选项,生成第三请求消息,并将该第三请求消息发送至消息网关。Step 1010: The terminal generates a third request message in response to the option selected by the user on the second graphical page, and sends the third request message to the message gateway.
本发明实施例中,�����请求消息中包含的报文可以采用如下形式:In the embodiment of the present invention, the message contained in the third request message may take the following form:
步骤1011:消息网关接收到终端发送的上述第三请求消息后,将该第三请求消息转发至上述APP服务器,并接收APP服务器发送的第三请求响应消息。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 the third request response message sent by the APP server.
上述第三请求响应消息中包含的页面脚本报文可以采用如下形式:The page script message contained in the above third request response message may be in the following form:
步骤1012:消息网关将接收到的第三请求响应消息发送至终端;指示终端接收上述消息网关发送的第三请求响应消息,根据该第三请求响应消息中携带的页面脚本报文渲染终端本地界面,在本地界面中呈现第三图形化页面。Step 1012: The message gateway sends the received third request response message to the terminal; instructs the terminal to receive the third request response message sent by the above message gateway, and render the terminal local interface according to the page script message carried in the third request response message , presenting the third graphical page in the local interface.
本发明实施例中,终端根据第三请求响应消息刷新本地界面,在本地界面中呈现第三图形化页面,参阅图12所示,该第三图形化页面中包含最终用户请求结果。In the embodiment of the present invention, the terminal refreshes the local interface according to the third request response message, and presents a third graphical page on the local interface. Referring to FIG. 12 , the third graphical page includes the end user request result.
本发明实施例中,终端、消息网关和APP服务器之间的互动消息交互参阅图13所示。In the embodiment of the present invention, the interactive message interaction between the terminal, the message gateway and the APP server is shown in FIG. 13 .
参阅图14所示,本发明还提供了一种CGS模式下图形化页面呈现的装置,包括接收单元140,第一发送单元141,获取单元142,以及第二发送单元143,其中:Referring to Figure 14, the present invention also provides a graphical page presentation device in CGS mode, including a receiving unit 140, a first sending unit 141, an acquiring unit 142, and a second sending unit 143, wherein:
接收单元140,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息发送至第一发送单元141;The receiving unit 140 is configured to receive a first request message sent based on any service corresponding to the application program after the terminal runs the application program corresponding to the local client, and send the first request message to the first sending unit 141;
第一发送单元141,用于接收接收单元140发送的第一请求消息,并将所述第一请求消息转发至APP服务器;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;
获取单元142,用于将所述第一请求消息转发至APP服务器后,获取所述APP服务器返回的携带页面脚本报文的第一请求响应消息,并将该第一请求响应消息发送至第二发送单元143;The obtaining unit 142 is configured to obtain the first request response message carrying the page script message returned by the APP server after forwarding the first request message to the APP server, and send the first request response message to the second Sending unit 143;
第二发送单元143,用于接收获取单元142发送的所述第一请求消息,将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。The second sending unit 143 is configured to receive the first request message sent by the acquiring unit 142, send the first request response message to the terminal, and instruct the terminal to, according to the page script message, in the The terminal interface presents corresponding graphical pages.
其中,上述装置包括校验单元144,用于:将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。Wherein, the above-mentioned device includes a verification unit 144, configured to: perform script verification on the first request-response message before sending the first request-response message to the terminal; and confirm that the script verification result is correct.
上述装置还包括信息添加单元145,用于:当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端在呈现的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所有应用程序中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。The above device also includes an information adding unit 145, configured to: when the script verification result is correct, before sending the first request response message to the terminal, it is detected that the first request exists in the message gateway. information corresponding to the extension tag carried in the request response message, adding the information corresponding to the extension tag to the first request response message and sending it to the terminal, so that the terminal has at least one The input box contains the information corresponding to the extension tag; wherein, the first request response message also carries the extension tag; it is detected that there is no information corresponding to the extension tag carried in the first request response message in the message gateway , instructing the terminal to start the application program corresponding to the extension tag among all the application programs in the terminal, and receiving the information corresponding to the extension tag acquired and sent by the terminal through the application program corresponding to the extension tag, and adding the information corresponding to the extension tag to the first request response message and sending it to the terminal, so that at least one input box containing the information corresponding to the extension tag exists in the locally generated graphical page of the terminal .
上述装置还包括处理单元146,用于:在所述终端界面呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,将所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应The above device further includes a processing unit 146, configured to: after the terminal interface presents the corresponding graphical page, receive the second request message generated by the terminal according to the user instruction and carry the information corresponding to the extension tag; The information corresponding to the extension tag carried in the second request message, and the permission information corresponding to the APP server, when it is determined that the APP server has the permission to obtain the information corresponding to the extension tag, send the second request message to sending to the APP server, instructing the APP server to generate a second request response carrying a page script message according to the second request message
消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。message; receiving the second request response message sent by the APP server, and sending the second request response message to the terminal, instructing the terminal to present the corresponding page script message on the terminal interface according to the page script message Graphical page.
参阅图15所示,本发明还提供了一种CGS模式下图形化页面呈现的装置,包括发送单元150,接收单元151,呈现单元152,其中:Referring to Figure 15, the present invention also provides a graphical page presentation device in CGS mode, including a sending unit 150, a receiving unit 151, and a presentation unit 152, wherein:
发送单元150,用于根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,向消息网关发送第一请求消息;The sending unit 150 is configured to send a first request message to the message gateway based on the service indicated by the user corresponding to the application after controlling the local client to run the application indicated by the user according to the user instruction;
接收单元151,用于接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至呈现单元152;The receiving unit 151 is configured to receive a first request response message carrying a page script message generated by the message gateway according to the first request message, and send the first request response message to the presentation unit 152;
呈现单元152,用于接收所述接收单元151发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。The presenting 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.
其中,上述装置还包括处理单元153,用于:接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一���求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。Wherein, the above device further includes a processing unit 153, configured to: receive the information corresponding to the extension tag carried in the first request response message when the message gateway determines that there is information corresponding to the extension tag in the message gateway, and In the presented graphical page, at least one input box contains information corresponding to the extension tag; wherein, the first request response message also carries the extension tag.
参阅图16所示,本发明还提供了一种CGS模式下图形化页面呈现的装置,包括接收单元160,生成单元161,发送单元162,其中:Referring to Figure 16, the present invention also provides a graphical page presentation device in CGS mode, including a receiving unit 160, a generating unit 161, and a sending unit 162, wherein:
接收单元160,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至生成单元161;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;
生成单元161,用于接收接收单元160发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至发送单元162;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 a page script message based on the first request message, and send the first request response message to the sending unit 162;
发送单元162,用于接收生成单元161发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。The sending unit 162 is configured to receive the first request response message sent by the generation unit 161, and send the first request response message carrying the page script message to the message gateway, instructing the message gateway to send the page carrying page The first request response message of the script message is sent to the terminal, so that the terminal presents a corresponding graphical page on the terminal interface according to the first request response message.
其中,上述装置还包括处理单元163,用于:指示所述终端根据所述第一请求响应消息在所述终端呈现图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。Wherein, the above-mentioned device further includes a processing unit 163, configured to: instruct the terminal to receive the information when the APP server has the authority to acquire the information corresponding to the extension tag after the terminal presents the graphical page according to the first request response message. The second request message sent by the message gateway carrying the information corresponding to the extension tag; wherein, the first request response message also carries the extension tag; according to the second request message, the second request message carrying the page script message is generated Two request response messages; sending 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 presents a corresponding graphical page on the terminal interface according to the second request response message.
参阅图17所示,本发明还提供了一种CGS模式下图形化页面呈现的消息网关,包括收发器170,其中:Referring to Figure 17, the present invention also provides a message gateway for graphical page presentation in CGS mode, including a transceiver 170, wherein:
收发器170,用于接收终端运行本地客户端对应的应用程序后,基于所述应用程序对应的任意一项业务发送的第一请求消息,并将所述第一请求消息转发至APP服务器;以及将所述第一请求消息转发至APP服务器后,接收所述APP服务器返回的携带页面脚本报文的第一请求响应消息;The transceiver 170 is configured to receive a first request message sent based on any service corresponding to the application program after the terminal runs the application program corresponding to the local client, and forward the first request message to the APP server; and After forwarding the first request message to the APP server, receiving the first request response message carrying the page script message returned by the APP server;
所述收发器170,还用于将所述第一请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。The transceiver 170 is further configured to send the first request response message to the terminal, instructing the terminal to present a corresponding graphical page on the terminal interface according to the page script message.
所述消息网关还包括处理器171,用于将所述第一请求响应消息发送至所述终端之前,对所述第一请求响应消息进行脚本校验;确认脚本校验的结果为正确。The message gateway further includes a processor 171, configured to perform script verification on the first request response message before sending the first request response message to the terminal; and confirm that the script verification result is correct.
处理器171,还用于当所述脚本校验的结果为正确时,将所述第一请求响应消息发送至所述终端之前,在检测到消息网关中存在所述第一请求响应消息中携带的扩展标签对应的信息,将所述扩展标签对应的信息添加至所述第一请求响应消息中发送至所述终端,令所述终端���呈现的图形化页面中���在至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签;在检测到消息网关中不存在所述第一请求响应消息中携带的扩展标签对应的信息,则指示所述终端启动所述终端中所述扩展标签对应的应用程序,并接收所述终端通过所述扩展标签对应的应用程序获取并发送的所述扩展标签对应的信息,以及将所述扩展标签对应的信息添加至所述第一请求响应消息发送至所述终端,令所述终端在本地生成的图形化页面中存在至少一个输入框中包含所述扩展标签对应的信息。The processor 171 is further configured to, when the result of the script verification is correct, before sending the first request response message to the terminal, detect that the first request response message is carried in the message gateway. add the information corresponding to the extension tag to the first request response message and send it to the terminal, so that the terminal has at least one input box containing the The information corresponding to the extension tag; wherein, the first request response message also carries the extension tag; if it is detected that there is no information corresponding to the extension tag carried in the first request response message in the message gateway, it indicates the The terminal starts the application program corresponding to the extension tag in the terminal, receives the information corresponding to the extension tag acquired and sent by the terminal through the application program corresponding to the extension tag, and converts the information corresponding to the extension tag Adding to sending the first request response message to the terminal, so that at least one input box on the graphical page generated locally by the terminal contains the information corresponding to the extension tag.
收发器170,还用于在所述终端界面呈现相应的图形化页面之后,接收所述终端根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;并将所述第二请求消息发送至处理器171;以及将由处理器171获取所述第二请求消息发送至所述APP服务器,通知所述APP服务器根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;接收所述APP服务器发送的第二请求响应消息,并将所述第二请求响应消息发送至所述终端,指示所述终端根据所述页面脚本报文,在所述终端界面呈现相应的图形化页面。The transceiver 170 is further configured to, after the terminal interface presents the corresponding graphical page, receive the second request message generated by the terminal according to the user instruction and carry the information corresponding to the extension tag; and send the second request message Sending to the processor 171; and sending the second request message obtained by the processor 171 to the APP server, notifying the APP server to generate a second request response message carrying a page script message according to the second request message; receiving the second request response message sent by the APP server, and sending the second request response message to the terminal, instructing the terminal to present a corresponding graphical message on the terminal interface according to the page script message; page.
处理器171,还用于接收收发器170发送的第二请求消息,根据所述第二请求消息中携带的所述扩展标签对应的信息,以及所述APP服务器对应的权限信息,当判定所述APP服务器具备获取所述扩展标签对应的信息的权限时,通知收发器170将所述第二请求消息发送至所述APP服务器。The processor 171 is further configured to receive the second request message sent by the transceiver 170, and according to the information corresponding to the extension tag carried in the second request message and the permission information corresponding to the APP server, when determining that the When the APP server has the authority to obtain the information corresponding to the extension tag, the notification transceiver 170 sends the second request message to the APP server.
参阅图18所示,本发明提供一种CGS模式下图形化页面呈现的终端,包括收发器180,存储器181,以及处理器182,其中:Referring to FIG. 18, the present invention provides a terminal for graphical page presentation in CGS mode, including a transceiver 180, a memory 181, and a processor 182, wherein:
收发器180,用于向消息网关发送第一请求消息;接收所述消息网关根据所述第一请求消息生成的携带页面脚本报文的第一请求响应消息,并将所述第一请求响应消息发送至处理器182;The transceiver 180 is configured to send a first request message to the message gateway; receive a first request response message carrying a page script message generated by the message gateway according to the first request message, and transmit the first request response message sent to processor 182;
存储器181,用于存储应用程序;memory 181, for storing application programs;
处理器182,用于运行存储器181中的应用程序,执行如下步骤:The processor 182 is used to run the application program in the memory 181 and perform the following steps:
根据用户指示,控制本地客户端运行用户指示的应用程序后,基于所述应用程序对应的所述用户指示的业务,生成第一请求消息发送至收发器180;以及根据收发器180发送的第一请求响应消息,并根据所述页面脚本报文在本地界面呈现相应的图形化页面。According to the user instruction, after controlling the local client to run the application program indicated by the user, based on the service indicated by the user corresponding to the application program, a first request message is generated and sent to the transceiver 180; and according to the first request message sent by the transceiver 180 Request a response message, and present a corresponding graphical page on the local interface according to the page script message.
处理器182,还用于接收所述消息网关在确定出消息网关中存在扩展标签对应的信息时,在第一请求响应消息中携带的所述扩展标签对应的信息,并在呈现的图形化页面中呈现至少一个输入框中包含所述扩展标签对应的信息;其中,所述第一请求响应消息中还携带扩展标签。The processor 182 is also configured to receive the information corresponding to the extension tag carried in the first request response message when the message gateway determines that there is information corresponding to the extension tag in the message gateway, and display the information on the presented graphical page The information corresponding to the extension tag is presented in at least one input box; wherein, the first request response message also carries the extension tag.
处理器182,还用于根据消息网关在确定出消息网关中不存在扩展标签对应的信息时发来的指示,在呈现相应的图形化页面之后启动本地所述扩展标签对应的应用程序;基于所述扩展标签中对应的应用程序,获取所述扩展标签对应的信息,并根据用户指示生成携带所述扩展标签对应的信息的第二请求消息;将所述第二请求消息发送至收发器180。The processor 182 is further configured to, according to the instruction sent by the message gateway when it is determined that there is no information corresponding to the extension tag in the message gateway, start the local application program corresponding to the extension tag after presenting the corresponding graphical page; The application program corresponding to the extension tag, obtains the information corresponding to the extension tag, and generates a second request message carrying the information corresponding to the extension tag according to the user instruction; and sends the second request message to the transceiver 180.
收发器180,还用于接收处理器181发送的第二请求消息,并将该第二请求消息发送至所述消息网关;接收消息网关针对第二请求消息反馈的携带页面脚本报文的第二请求响应消息;将所述第二请求响应消息发送至处理器182。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; receive the second message carrying the page script message fed back by the message gateway for the second request message request response message; sending the second request response message to processor 182 .
处理器182,还用于根据所述第二响应消息中携带的页面脚本报文,在所述终端界面呈现相应的图形化页面。The processor 182 is further configured to present a corresponding graphical page on the terminal interface according to the page script message carried in the second response message.
处理器182,还用于根据所述页面脚本报文在本地呈现至少一个关键字及其对应的输入框,或在本地呈现至少一个关键字及其对应的选项,或在本地呈现至少一个用户请求结果。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.
参阅图19所示,本发明提供一种CGS模式下图形化页面呈现的APP服务器,包括收发器190,处理器191,其中:Referring to Figure 19, the present invention provides an APP server for graphical page presentation in CGS mode, including a transceiver 190 and a processor 191, wherein:
收发器190,用于接收消息网关发送的第一请求消息,并将该第一请求消息发送至处理器191;The transceiver 190 is configured to receive the first request message sent by the message gateway, and send the first request message to the processor 191;
处理器191,用于接收收发器190发送的第一请求消息,并基于所述第一请求消息生成携带页面脚本报文的第一请求响应消息,以及将该第一请求响应消息发送至收发器190;The processor 191 is configured to receive the first request message sent by the transceiver 190, generate a first request response message carrying a page script message based on the first request message, and send the first request response message to the transceiver 190;
收发器190,还用于接收处理器191发送的第一请求响应消息,并将所述携带页面脚本报文的第一请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第一请求响应消息发送至终端,令终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面。The transceiver 190 is further configured to receive the 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, instructing the message gateway to carry the page script message The first request response message of the page script message is sent to the terminal, so that the terminal presents a corresponding graphical page on the terminal interface according to the first request response message.
收发器190,还用于指示所述终端根据所述第一请求响应消息在所述终端界面呈现相应的图形化页面之后,当APP服务器具备获取扩展标签对应的信息的权限时,接收所述消息网关发送的携带所述扩展标签对应的信息的第二请求消息;其中,所述第一请求响应消息中还携带扩展标签;根据所述第二请求消息生成携带页面脚本报文的第二请求响应消息;将所述携带页面脚本报文的第二请求响应消息发送至所述消息网关,指示所述消息网关将所述携带页面脚本报文的第二请求响应消息发送至终端,令终端根据所述第二请求响应消息在所述终端界面呈现相应的图形化页面。The transceiver 190 is further configured to instruct the terminal to receive the message when the APP server has the authority to obtain the information corresponding to the extension tag after the corresponding graphical page is presented on the terminal interface according to the first request response message A second request message sent by the gateway carrying information corresponding to the extension tag; wherein, the first request response message also carries an extension tag; generating a second request response carrying a page script message according to the second request message message; sending 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.
综上所述,本发明实施例中,在CGS模式下通过请求响应消息中的页面脚本报文,实现终端的图形化页面呈现,采用本发明技术方案,避免了目前人机交互界面采用对话模式呈现所造成的可操作性差的问题,简化了互动消息交互流程,提高了获取用户所请求的最终业务的效率;并且,在CGS模式下,对应于不同的业务,终端无须安装多个客户端,从而避免了终端安装应用程序过多造成的影响终端运行速度的问题。To sum up, in the embodiment of the present invention, in the CGS mode, the graphical page presentation of the terminal is realized through the page script message in the request response message, and the technical solution of the present invention is adopted to avoid the current human-computer interaction interface using the dialogue mode. The problem of poor operability caused by presentation simplifies the interactive message interaction process and improves the efficiency of obtaining the final service requested by the user; and, in the CGS mode, corresponding to different services, the terminal does not need to install multiple clients, Therefore, the problem of affecting the running speed of the terminal caused by too many installed applications on the terminal is avoided.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented processing
理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。Therefore, the instructions executed on the computer or other programmable devices provide steps for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. In this way, if the modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (16)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310462586.9A CN103532941B (en) | 2013-09-30 | 2013-09-30 | The method and device that the graphical page is presented under a kind of CGS patterns |
| PCT/CN2014/087186 WO2015043451A1 (en) | 2013-09-30 | 2014-09-23 | Method and device for displaying patterning page in cgs mode |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310462586.9A CN103532941B (en) | 2013-09-30 | 2013-09-30 | The method and device that the graphical page is presented under a kind of CGS patterns |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103532941A CN103532941A (en) | 2014-01-22 |
| CN103532941B true CN103532941B (en) | 2017-07-07 |
Family
ID=49934620
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310462586.9A Expired - Fee Related CN103532941B (en) | 2013-09-30 | 2013-09-30 | The method and device that the graphical page is presented under a kind of CGS patterns |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103532941B (en) |
| WO (1) | WO2015043451A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109960939A (en) * | 2017-12-25 | 2019-07-02 | 航天信息股份有限公司 | Long-range HTML5 page loading method and system |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103532941B (en) * | 2013-09-30 | 2017-07-07 | 华为技术有限公司 | The method and device that the graphical page is presented under a kind of CGS patterns |
| CN105933237B (en) * | 2016-04-20 | 2018-09-28 | 上海斐讯数据通信技术有限公司 | A kind of wireless router and its Information Embedding system, method |
| CN114666874B (en) * | 2020-12-22 | 2024-09-24 | 华为技术有限公司 | Terminal device and application program interaction method, device and medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101388902A (en) * | 2007-09-14 | 2009-03-18 | 英业达股份有限公司 | System and method for realizing graphical web page browsing through client |
| CN101727490A (en) * | 2009-12-22 | 2010-06-09 | 福建星网锐捷网络有限公司 | Method for realizing page insertion in WEB application and WEB server |
| CN102104578A (en) * | 2009-12-16 | 2011-06-22 | 浙江省公众信息产业有限公司 | Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform |
| CN102893278A (en) * | 2010-02-03 | 2013-01-23 | 阿科德有限公司 | Electronic message systems and methods |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101667182B (en) * | 2008-09-05 | 2012-07-25 | 华为技术有限公司 | Method, system and device for performing secondary operation on web pages |
| US9195525B2 (en) * | 2008-10-21 | 2015-11-24 | Synactive, Inc. | Method and apparatus for generating a web-based user interface |
| 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 |
| US9026902B2 (en) * | 2011-04-21 | 2015-05-05 | International Business Machines Corporation | Handling unexpected responses to script executing in client-side application |
| CN103139758B (en) * | 2011-11-28 | 2016-03-02 | 中国电信股份有限公司 | Mobile Socket class application system, server, method and WAP gateway |
| CN103532941B (en) * | 2013-09-30 | 2017-07-07 | 华为技术有限公司 | The method and device that the graphical page is presented under a kind of CGS patterns |
-
2013
- 2013-09-30 CN CN201310462586.9A patent/CN103532941B/en not_active Expired - Fee Related
-
2014
- 2014-09-23 WO PCT/CN2014/087186 patent/WO2015043451A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101388902A (en) * | 2007-09-14 | 2009-03-18 | 英业达股份有限公司 | System and method for realizing graphical web page browsing through client |
| CN102104578A (en) * | 2009-12-16 | 2011-06-22 | 浙江省公众信息产业有限公司 | Method for realization of WAP (Wireless Application Protocol) browsing under BREW (Binary Runtime Environment for Wireless) platform |
| CN101727490A (en) * | 2009-12-22 | 2010-06-09 | 福建星网锐捷网络有限公司 | Method for realizing page insertion in WEB application and WEB server |
| CN102893278A (en) * | 2010-02-03 | 2013-01-23 | 阿科德有限公司 | Electronic message systems and methods |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109960939A (en) * | 2017-12-25 | 2019-07-02 | 航天信息股份有限公司 | Long-range HTML5 page loading method and system |
| CN109960939B (en) * | 2017-12-25 | 2021-02-05 | 航天信息股份有限公司 | Remote HTML5 page loading method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103532941A (en) | 2014-01-22 |
| WO2015043451A1 (en) | 2015-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10009303B2 (en) | Message push method and apparatus | |
| CN104102537B (en) | A kind of application call method and user terminal | |
| US10402066B2 (en) | Information processing terminal and control method | |
| US9130927B2 (en) | Single certificate service system and operational method thereof | |
| US10194288B2 (en) | Sticker distribution system for messaging apps | |
| CN104639721B (en) | The method and device of application information is provided in mobile terminal device | |
| CN109542427B (en) | System customization method and device, electronic equipment and storage medium | |
| KR101577920B1 (en) | Location-based group generation method, apparatus and system | |
| US11175796B2 (en) | Menu management method, server, and system | |
| US20130246920A1 (en) | Method of enabling voice input for a visually based interface | |
| US9378437B2 (en) | Sending print jobs using trigger distances | |
| CN104965690B (en) | Data processing method and device | |
| US10372512B2 (en) | Method and apparatus for automatic processing of service requests on an electronic device | |
| US9876776B2 (en) | Methods for generating and publishing a web site based on selected items and devices thereof | |
| CN106487655B (en) | Message interaction method and device and processing server | |
| CN103532941B (en) | The method and device that the graphical page is presented under a kind of CGS patterns | |
| CN102147660B (en) | A kind of method and apparatus of the input based on multiple user collaborative editor | |
| CN104811485A (en) | Resource sharing method | |
| CN109145182B (en) | Data acquisition method and device, computer equipment and system | |
| US20130080539A1 (en) | Systems and methods for performing quick link communications | |
| WO2017071121A1 (en) | Method and device for establishing wireless connection | |
| US20130325797A1 (en) | Apparatus and method for providing personalized information to a user of a user device | |
| CN114385382B (en) | Light application access method, device, computer equipment and storage medium | |
| WO2015003570A1 (en) | Data downloading method,device and system thereof | |
| US20190007520A1 (en) | Electronic device and operation method thereof and server host device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170707 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |