[go: up one dir, main page]

CN107454580B - A method and system and mobile terminal for realizing directional guidance of application flow - Google Patents

A method and system and mobile terminal for realizing directional guidance of application flow Download PDF

Info

Publication number
CN107454580B
CN107454580B CN201710636315.9A CN201710636315A CN107454580B CN 107454580 B CN107454580 B CN 107454580B CN 201710636315 A CN201710636315 A CN 201710636315A CN 107454580 B CN107454580 B CN 107454580B
Authority
CN
China
Prior art keywords
traffic
guidance
service
module
steering
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
Application number
CN201710636315.9A
Other languages
Chinese (zh)
Other versions
CN107454580A (en
Inventor
林元明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201710636315.9A priority Critical patent/CN107454580B/en
Publication of CN107454580A publication Critical patent/CN107454580A/en
Application granted granted Critical
Publication of CN107454580B publication Critical patent/CN107454580B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0215Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种实现应用程序流量定向引导的方法和系统及移动终端,所述方法包括以下步骤:接收用户的业务请求;在对业务请求进行处理之前,收集用户的流量业务信息,其中流量业务信息包含订购状态和订购内容;以及处理业务请求,包含:根据订购状态,确定是否对处理结果进行流量引导;若确定进行流量引导,根据订购内容相应的流量引导配置,对业务请求的处理结果进行引导。本发明通过H5页面提供统一的业务接入方式,利用H5页面通过回调客户端进而控制流量引导服务,解决流量引导问题,进而极大提高了在定向流量中流量引导的顺畅程度,使用户能获得较好的体验。

Figure 201710636315

The invention discloses a method, a system and a mobile terminal for realizing application flow directional guidance. The method includes the following steps: receiving a user's service request; before processing the service request, collecting the user's traffic service information, wherein the traffic The business information includes order status and order content; and processing business requests, including: according to the order status, determine whether to conduct traffic guidance for the processing result; if it is determined to conduct traffic guidance, according to the corresponding traffic guidance configuration of the order content, the processing result of the service request to guide. The present invention provides a unified service access method through the H5 page, uses the H5 page to control the traffic guidance service by calling back the client, solves the problem of traffic guidance, and greatly improves the smoothness of the traffic guidance in the directional traffic, so that the user can obtain better experience.

Figure 201710636315

Description

一种实现应用程序流量定向引导的方法和系统及移动终端A method and system and mobile terminal for realizing directional guidance of application flow

技术领域technical field

本发明涉及移动互联网移动数据领域,特别涉及一种实现应用程序流量定向引导的方法和系统及移动终端。The invention relates to the field of mobile Internet mobile data, and in particular, to a method and system and a mobile terminal for realizing directional guidance of application flow.

背景技术Background technique

随着移动互联网迅速发展,安装在移动智能终端(例如手机、平板电脑、PDA等等)上的应用程序(即APP)的功能也越来越依赖于网络。很多应用程序的功能都必须通过连接到互联网上才能实现。这使得流量已经成为移动互联网用户非常关注的点。例如,很多用户喜欢在外出的空闲时间,例如等人、等车、乘坐公共交通、点餐空闲时,都会拿出手机浏览网上感兴趣的视频、音乐、图片、文字等等。这些操作都会导致大量的流量消费的产生。给用户造成一定的经济负担。With the rapid development of the mobile Internet, the functions of application programs (ie, APPs) installed on mobile smart terminals (such as mobile phones, tablet computers, PDAs, etc.) are increasingly dependent on the network. Many application functions must be connected to the Internet to achieve. This makes traffic a very important point for mobile Internet users. For example, many users like to take out their mobile phones to browse videos, music, pictures, texts, etc. they are interested in online during their free time when they are out, such as waiting for someone, waiting for a car, taking public transportation, or ordering food. These operations will result in the generation of a large amount of traffic consumption. cause a certain economic burden to the user.

为了解决上述问题,有人已经提出了一种“定向流量”的概念,即一些内容提供商(CP)会与某些移动营运商开展合作,对于用户通过特定应用程序来访问这些CP所提供的内容而产生的流量在计费上给予优惠(例如半价甚至免费)。通过支持所述“定向流量”的应用程序(例如手机视频),用户可以尽情浏览其提供的内容(例如电影、电视剧、综艺等等),而无需担心流量问题。In order to solve the above problems, some people have proposed a concept of "directed traffic", that is, some content providers (CPs) will cooperate with some mobile operators to allow users to access the content provided by these CPs through specific applications. The generated traffic is given preferential billing (for example, half price or even free). By supporting the "directed traffic" applications (such as mobile phone videos), users can browse the content provided by them (such as movies, TV series, variety shows, etc.) without worrying about traffic problems.

在传统推出的定向流量应用中,CP通过上报域名的方式实现定向流量,具体而言,运营商对订购用户访问某些特定地址的通信进行流量减免。但是,在实际应用过程中,CP如果对接多个运营商,则需要匹配各个运营商的接口并根据不同的订购进行不同的流量调度策略,这样一来就存在业务接入方式不统一的问题,导致平台对接较为困难,而且,由于运营商不同,用户的手机没有统一的获取接口,甚至存在取号成功率较低的问题,这些问题集中起来就导致了目前在“定向流量”中出现了流量引导不顺畅的现象,进而严重影响了用户的体验。In the traditionally launched directional traffic application, the CP realizes directional traffic by reporting domain names. Specifically, the operator reduces and exempts the traffic for the communication of subscribers accessing certain specific addresses. However, in the actual application process, if the CP connects to multiple operators, it needs to match the interfaces of each operator and implement different traffic scheduling policies according to different subscriptions. As a result, there is a problem of inconsistent service access methods. This makes it difficult to connect platforms. Moreover, due to different operators, users' mobile phones do not have a unified access interface, and even there is a problem that the success rate of number access is low. These problems are concentrated, which leads to the current traffic in "directed traffic". Guiding is not smooth phenomenon, and then seriously affect the user experience.

发明内容SUMMARY OF THE INVENTION

为了解决现有技术的问题,本发明实施例提供了一种实现应用程序流量定向引导的方法和系统及移动终端。所述技术方案如下:In order to solve the problems in the prior art, the embodiments of the present invention provide a method and system and a mobile terminal for implementing directional guidance of application flow. The technical solution is as follows:

一方面,一种实现应用程序流量定向引导的方法,其中,所述方法包括:In one aspect, a method for implementing application traffic directional guidance, wherein the method includes:

接收用户的业务请求;Receive business requests from users;

在对所述业务请求进行处理之前,收集所述用户的流量业务信息,其中所述流量业务信息包含订购状态和订购内容;以及Before processing the service request, collect traffic service information of the user, wherein the traffic service information includes subscription status and subscription content; and

处理所述业务请求,包含:Process the business request, including:

根据所述订购状态,确定是否对处理结果进行流量引导;According to the order status, determine whether to conduct traffic guidance on the processing result;

若确定进行流量引导,根据所述订购内容相应的流量引导配置,对所述业务请求的处理结果进行引导。If it is determined to perform traffic guidance, the processing result of the service request is guided according to the traffic guidance configuration corresponding to the subscription content.

进一步的,收集所述用户的流量业务信息包含:Further, collecting the traffic service information of the user includes:

用户可通过所述应用程序提供的统一资源定位符转入流量业务页面;The user can transfer to the traffic business page through the uniform resource locator provided by the application;

在所述流量业务页面中填写所述流量业务信息;Fill in the traffic service information in the traffic service page;

对所述流量业务信息进行加密和封装,并由所述流量业务页面回调给所述应用程序。Encrypt and encapsulate the traffic service information, and call back to the application from the traffic service page.

进一步的,所述处理所述业务请求的步骤具体包括:Further, the step of processing the service request specifically includes:

所述应用程序对所述业务请求进行处理,并将接收到的加密封装后的所述流量业务信息和处理结果作为参数调用流量引导服务;The application program processes the service request, and uses the received encrypted and encapsulated traffic service information and processing results as parameters to invoke the traffic steering service;

所述流量引导服务对所述参数进行解密、解析,并根据解析出的所述订购状态确定是否对所述处理结果进行流量引导;The traffic guidance service decrypts and parses the parameters, and determines whether to conduct traffic guidance on the processing result according to the parsed subscription status;

若确定进行流量引导,则获取所述流量引导配置,并根据所述流量引导配置进行引导。If it is determined to perform traffic steering, the traffic steering configuration is obtained, and the steering is performed according to the traffic steering configuration.

进一步的,所述流量引导服务获取所述流量引导配置的方法包括:Further, the method for obtaining the traffic steering configuration by the traffic steering service includes:

加载缓存中的所述流量引导配置,如果无法从所述缓存中加载所述流量引导配置,则使用默认流量引导规则;Load the traffic steering configuration in the cache, and use the default traffic steering rule if the traffic steering configuration cannot be loaded from the cache;

发送所述流量业务信息至远端权鉴服务器,远端鉴权服务器根据所述流量业务信息中的所述订购内容,下发相应的所述流量引导配置给所述流量引导服务,所述流量引导服务更新加载所述流量引导配置。Send the traffic service information to the remote authentication server, and the remote authentication server delivers the corresponding traffic steering configuration to the traffic steering service according to the subscription content in the traffic service information, and the traffic The bootstrap service update loads the traffic bootstrap configuration.

进一步的,所述远端鉴权服务器在下发所述流量引导配置之前,更包括:Further, before delivering the traffic steering configuration, the remote authentication server further includes:

对所述流量业务信息进行检测,若所述订购状态为有效,则根据所述订购内容,下发相应的所述流量引导配置给所述流量引导服务;若所述订购状态为无效,则通知所述流量引导服务更新所述用户的订购状态。Detect the traffic service information, and if the subscription status is valid, issue the corresponding traffic guidance configuration to the traffic guidance service according to the subscription content; if the subscription status is invalid, notify The traffic steering service updates the subscription status of the user.

进一步的,所述流量引导服务根据流量引导配置对所述处理结果进行流量引导具体包括:Further, the traffic steering service performing traffic steering on the processing result according to the traffic steering configuration specifically includes:

直接回源,或建立所述流量引导服务与引导节点、源服务器的传输通道,并通过所述传输通道发送所述处理结果至所述源服务器,获取相应资源后,并将所述资源通过所述传输通道回传给所述流量引导服务,所述流量引导服务根据所述应用程序的格式需求发送所述资源。Return directly to the source, or establish a transmission channel between the traffic guidance service, the guidance node, and the source server, and send the processing result to the source server through the transmission channel. After obtaining the corresponding resources, pass the resources through the source server. The transmission channel is sent back to the traffic steering service, and the traffic steering service sends the resource according to the format requirements of the application.

进一步的,所述流量引导服务以软件开发工具包的形式嵌入在所述应用程序中。Further, the traffic steering service is embedded in the application in the form of a software development kit.

另一方面,一种实现应用程序流量定向引导的系统,其中,所述系统包含:流量业务模块、应用程序模块和流量引导模块,其中,所述流量业务模块收集用户的流量业务信息,并传送至所述应用程序模块,所述应用程序模块接收并处理所述用户的业务请求,发送所述流量业务信息至所述流量引导模块,所述流量引导模块根据所述流量业务信息中的订购状态确定是否对处理结果进行流量引导,若进行引导,则并根据所述流量业务信息中的订购内容相应的流量引导配置对所述处理结果进行流量引导。On the other hand, a system for implementing application traffic directional guidance, wherein the system includes: a traffic service module, an application program module, and a traffic guidance module, wherein the traffic service module collects user traffic service information, and transmits to the application program module, the application program module receives and processes the service request of the user, and sends the traffic service information to the traffic guidance module, and the traffic guidance module according to the order status in the traffic service information It is determined whether to perform traffic guidance on the processing result, and if so, perform traffic guidance on the processing result according to the traffic guidance configuration corresponding to the subscription content in the traffic service information.

进一步的,所述应用程序模块提供统一资源定位符,用于转入所述流量业务模块,所述流量业务模块对收集到的所述流量业务信息进行加密和封装,并回调给所述应用程序模块。Further, the application program module provides a uniform resource locator, which is used to transfer to the traffic service module, and the traffic service module encrypts and encapsulates the collected traffic service information, and calls back to the application program. module.

进一步的,所述应用程序模块对所述业务请求进行处理后,将接收到的加密封装后的所述流量业务信息和处理结果作为参数调用流量引导模块;Further, after the application module processes the service request, the received encrypted and encapsulated traffic service information and the processing result are used as parameters to call the traffic guidance module;

所述流量引导模块对所述参数进行解密、解析,并根据解析出的所述订购状态确定是否对所述处理结果进行流量引导;The traffic guidance module decrypts and parses the parameters, and determines whether to conduct traffic guidance on the processing result according to the parsed order status;

若确定进行流量引导,则获取所述流量引导配置,并根据所述流量引导配置进行引导。If it is determined to perform traffic steering, the traffic steering configuration is obtained, and the steering is performed according to the traffic steering configuration.

进一步的,所述流量引导模块获取流量引导配置的方法包括:Further, the method for the traffic steering module to obtain the traffic steering configuration includes:

加载缓存中的所述流量引导配置,如果无法从所述缓存中加载所述流量引导配置,则使用默认流量引导规则;Load the traffic steering configuration in the cache, and use the default traffic steering rule if the traffic steering configuration cannot be loaded from the cache;

发送所述流量业务信息至远端权鉴服务器,远端鉴权服务器根据所述流量业务信息中的所述订购内容,下发相应的所述流量引导配置给所述流量引导模块,所述流量引导服务更新加载所述流量引导配置。Send the traffic service information to the remote authentication server, and the remote authentication server delivers the corresponding traffic steering configuration to the traffic steering module according to the subscription content in the traffic service information, and the traffic The bootstrap service update loads the traffic bootstrap configuration.

进一步的,所述远端鉴权服务器在下发所述流量引导配置之前,更包括:Further, before delivering the traffic steering configuration, the remote authentication server further includes:

对所述流量业务信息进行检测,若所述订购状态为有效,则根据所述订购内容,下发相应的所述流量引导配置给所述流量引导模块;若所述订购状态为无效,则通知所述流量引导模块更新所述用户的订购状态。Detect the traffic service information, and if the subscription status is valid, issue the corresponding traffic guidance configuration to the traffic guidance module according to the subscription content; if the subscription status is invalid, notify The traffic steering module updates the subscription status of the user.

进一步的,所述流量引导模块根据流量引导配置对所述处理结果进行引导具体包括:Further, the traffic guidance module guiding the processing result according to the traffic guidance configuration specifically includes:

直接回源,或建立所述流量引导模块与引导节点、源服务器的传输通道,并通过所述传输通道发送所述处理结果至所述源服务器,获取相应资源后,并将所述资源通过所述传输通道回传给所述流量引导模块,所述流量引导模块根据所述应用程序模块的格式需求发送所述资源。Return directly to the source, or establish a transmission channel between the traffic guidance module, the guidance node, and the source server, and send the processing result to the source server through the transmission channel. After obtaining the corresponding resources, pass the resources through the source server. The transmission channel is sent back to the traffic steering module, and the traffic steering module sends the resource according to the format requirement of the application module.

进一步的,所述流量业务模块基于HTML5进行实现。Further, the traffic service module is implemented based on HTML5.

进一步的,所述流量引导模块以软件开发工具包的形式嵌入在所述应用程序模块中。Further, the traffic guidance module is embedded in the application program module in the form of a software development kit.

流量业务模块应用程序模块流量业务模块应用程序模块traffic business module application module traffic business module application module

又一方面,一种移动终端,其中,所述移动终端上运行有上述实现应用程序流量定向引导的系统。In another aspect, a mobile terminal, wherein the above-mentioned system for implementing application traffic directional guidance runs on the mobile terminal.

本发明实施例提供的技术方案带来的有益效果是:通过流量业务页面,例如H5页面提供统一的业务接入方式,解决了多个平台的对接问题和用户取号成功率较低的问题,当用户在流量业务页面操作完成后,流量业务页面通过回调客户端进而控制流量引导服务,解决流量引导问题,进而极大提高了在定向流量中流量引导的顺畅程度,使用户能获得较好的体验。The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are: a unified service access method is provided through a traffic service page, such as an H5 page, which solves the problem of docking of multiple platforms and the problem of a low success rate for users to obtain numbers, After the user completes the operation on the traffic business page, the traffic business page will call back the client to control the traffic guidance service, solve the traffic guidance problem, and greatly improve the smoothness of the traffic guidance in the directional traffic, so that the user can obtain better experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明一实施方式中实现应用程序流量定向引导的方法流程图;FIG. 1 is a flowchart of a method for implementing application traffic directional guidance in an embodiment of the present invention;

图2为本发明一实施方式中实现应用程序流量定向引导的系统10的结构示意图。FIG. 2 is a schematic structural diagram of a system 10 for implementing application traffic directional guidance in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

本发明的实施例描述一种实现应用程序流量定向引导的方法和系统及移动终端。本发明的实施例所涉及的应用程序,包括但不局限于:运行于例如谷歌(Google)公司的安卓(Android)操作系统、苹果公司的IOS操作系统、微软公司的Windows Phone操作系统、诺基亚公司的Symbian操作系统等等移动平台上的应用程序。需要说明的是移动平台仅仅是示例说明,而并非局限于这些平台上的应用程序,其它未列出的移动平台上的应用程序也能应用于本发明的范畴。Embodiments of the present invention describe a method and system and a mobile terminal for implementing directional guidance of application flow. The applications involved in the embodiments of the present invention include, but are not limited to, running on, for example, the Android operating system of Google (Google), the IOS operating system of Apple, the Windows Phone operating system of Microsoft, and the operating system of Nokia. applications on mobile platforms such as the Symbian operating system. It should be noted that the mobile platforms are only illustrative, and are not limited to applications on these platforms, and applications on other unlisted mobile platforms can also be applied to the scope of the present invention.

实施例一Example 1

以下将对本发明所提供的实施一中的一种实现应用程序流量定向引导的方法进行详细说明。The following will describe in detail a method for implementing directional guidance of application traffic in the first implementation provided by the present invention.

请参阅图1,为本发明一实施方式中实现应用程序流量定向引导的方法流程图。Please refer to FIG. 1 , which is a flowchart of a method for implementing directional guidance of application traffic in an embodiment of the present invention.

在步骤S1中,接收用户的业务请求。In step S1, a user's service request is received.

在步骤S2中,在对业务请求进行处理之前,收集用户的流量业务信息,其中流量业务信息包含订购状态和订购内容。In step S2, before processing the service request, the traffic service information of the user is collected, wherein the traffic service information includes subscription status and subscription content.

其中,收集所述用户的流量业务信息包含:Wherein, collecting the traffic service information of the user includes:

用户可通过所述应用程序提供的统一资源定位符(Uniform Resource Locator,URL)转入流量业务页面,并在所述流量业务页面中填写所述流量业务信息;The user can transfer to the traffic service page through the uniform resource locator (Uniform Resource Locator, URL) provided by the application, and fill in the traffic service information in the traffic service page;

流量业务页面对所述流量业务信息进行加密和封装,并由所述流量业务页面回调给所述应用程序。The traffic service page encrypts and encapsulates the traffic service information, and the traffic service page calls back to the application.

在本实施方式中,所述应用程序即为各类app,所述应用程序根据平台提供的URL接入流量业务,基本的URL包括模式(或称协议)、服务器名称(或IP地址)、路径和文件名,最常用的模式是超文本传输协议(Hypertext Transfer Protocol,HTTP),这个协议可以用来访问网络,其它协议还包括文件传输协议(FTP)、用安全套接字层传送的超文本传输协议(HTTPS)等等。In this embodiment, the application programs are all kinds of apps, and the application programs access traffic services according to the URL provided by the platform. The basic URL includes the mode (or protocol), server name (or IP address), path and file names, the most commonly used mode is the Hypertext Transfer Protocol (HTTP), which can be used to access the network, other protocols include File Transfer Protocol (FTP), Hypertext using Secure Sockets Layer Transport Protocol (HTTPS) and so on.

在本实施方式中,所述流量业务页面是平台提供的统一页面,例如为平台提供的HTML5(简称H5)页面,不同平台提供的流量业务页面可以相同,也可以不同,当然,平台提供的流量业务页面不仅仅包括HTML5页面,还可以包括其它的页面,在此不做限定。In this embodiment, the traffic service page is a unified page provided by the platform, such as an HTML5 (H5) page provided by the platform. The traffic service pages provided by different platforms may be the same or different. Of course, the traffic provided by the platform The business page includes not only HTML5 pages, but also other pages, which are not limited here.

在本实施方式中,通过用户点击所述应用程序的流量业务入口进入平台提供的HTML5页面,用户在使用过程中所有的业务操作均在HTML5页面上操作完成,例如用户在进入HTML5页面后,提交流量业务请求,HTML5页面通过与后台的交互方式验证用户的流量业务请求,判断流量业务请求的合法性和可用性,例如,联通用户无法请求移动提供的流量业务平台。在验证通过后,用户在流量业务页面(例如HTML5页面)中填写流量业务信息,其中,流量业务信息包含订购状态和订购内容,然后由HTML5页面接收用户流量订购、账户登录或流量退订等等和流量业务相关的一切需求操作,如果验证不通过,则返回不可操作的HTML5页面,即返回错误界面,此时用户无法在该HTML5页面上进行任何操作,即无法接入流量业务。In this embodiment, the user clicks the traffic service entry of the application to enter the HTML5 page provided by the platform, and all business operations of the user during the use process are completed on the HTML5 page. For example, after the user enters the HTML5 page, submit Traffic service request, the HTML5 page verifies the user's traffic service request by interacting with the background, and judges the legitimacy and availability of the traffic service request. For example, Unicom users cannot request the traffic service platform provided by China Mobile. After the verification is passed, the user fills in the traffic service information on the traffic service page (such as an HTML5 page), where the traffic service information includes the order status and order content, and then the HTML5 page receives the user's traffic subscription, account login or traffic unsubscribe, etc. All required operations related to the traffic business, if the verification fails, an inoperable HTML5 page will be returned, that is, an error interface will be returned. At this time, the user cannot perform any operations on the HTML5 page, that is, the traffic business cannot be accessed.

在本实施方式中,用户在流量业务页面中填写完流量业务信息之后,流量业务页面对流量业务信息进行加密和封装,然后回调给应用程序。In this embodiment, after the user fills in the traffic service information on the traffic service page, the traffic service page encrypts and encapsulates the traffic service information, and then calls back to the application.

在本实施方式中,在系统接入方面,应用程序对接需要嵌入本发明提供的SDK,系统分为两个组件,即包括业务组件和流量引导组件,其中,业务组件为平台提供的流量订购页面(例如HTML5页面),流量引导组件为平台提供的SDK,其中,系统接入分为两个步骤,即业务接口接入步骤和引导服务接入步骤,业务接口接入步骤是应用程序根据平台提供的URL接入业务,引导服务接入步骤是嵌入流量引导服务的SDK。In this embodiment, in terms of system access, the application program docking needs to be embedded in the SDK provided by the present invention. The system is divided into two components, including a business component and a traffic guide component, wherein the business component is the traffic order page provided by the platform. (for example, HTML5 page), the traffic guidance component is the SDK provided by the platform, wherein the system access is divided into two steps, namely the business interface access step and the guidance service access step. The business interface access step is an application program provided according to the platform. The URL access service, the guide service access step is to embed the SDK of the traffic guide service.

在本实施方式中,HTML5页面通过回调操作流量引导服务的SDK,控制流量引导服务,其中,HTML5回调的协议格式如下:In this embodiment, the HTML5 page controls the traffic guidance service by calling back the SDK of the operation traffic guidance service, wherein the protocol format of the HTML5 callback is as follows:

scheme://host/callbackdata;scheme://host/callbackdata;

其中,scheme为业务组件和流量引导组件协商的协议,为了识别这两个组件的合法性,callbackdata需要通过双方统一的加密算法和加密秘要进行处理,当两者一致时才认为是合法的。Among them, scheme is the protocol negotiated by the business component and the traffic steering component. In order to identify the legitimacy of these two components, the callback data needs to be processed through the unified encryption algorithm and encryption secret of both parties, and it is considered legal when the two are consistent.

举例来说,用户进入HTML5页面后,填写流量业务信息,HTML5页面会检验请求的合法性和可用性,检验通过后用户可以在HTML5页面上进行订购、登录、退订以及其它业务操作,否则返回不可操作页面,业务操作完成后,后台进行数据加密和封装,封装后将数据填充入回调协议的callbackdata字段,数据包括流量业务信息,并通过HTML5页面回调给应用程序。For example, after the user enters the HTML5 page and fills in the traffic service information, the HTML5 page will check the validity and availability of the request. After the check is passed, the user can order, log in, unsubscribe and other business operations on the HTML5 page. Operation page, after the business operation is completed, the data is encrypted and encapsulated in the background. After encapsulation, the data is filled into the callbackdata field of the callback protocol. The data includes traffic business information, and is called back to the application through the HTML5 page.

在步骤S3中,处理业务请求。In step S3, the service request is processed.

其中,所述处理业务请求包含:Wherein, the processing service request includes:

根据订购状态,确定是否对处理结果进行流量引导;According to the order status, determine whether to conduct traffic guidance for the processing result;

若确定进行流量引导,根据订购内容相应的流量引导配置,对业务请求的处理结果进行引导。If it is determined to perform traffic guidance, the processing result of the service request is guided according to the traffic guidance configuration corresponding to the subscription content.

在本实施方式中,步骤S3中的处理业务请求的详细处理过程具体包括:In this embodiment, the detailed processing process of processing the service request in step S3 specifically includes:

应用程序对业务请求进行处理,并将接收到的加密封装后的流量业务信息和处理结果作为参数调用流量引导服务;The application processes the service request, and uses the received encrypted and encapsulated traffic service information and processing results as parameters to call the traffic steering service;

流量引导服务对参数进行解密、解析,并根据解析出的订购状态确定是否对处理结果进行流量引导;The traffic guidance service decrypts and parses the parameters, and determines whether to conduct traffic guidance for the processing result according to the parsed order status;

若确定进行流量引导,则获取流量引导配置,并根据流量引导配置进行引导。If it is determined to perform traffic steering, the traffic steering configuration is obtained, and the steering is performed according to the traffic steering configuration.

其中,流量引导服务获取流量引导配置的方法包括:The method for the traffic steering service to obtain the traffic steering configuration includes:

加载缓存中的流量引导配置,如果无法从缓存中加载流量引导配置,则使用默认流量引导规则;Load the traffic steering configuration from the cache. If the traffic steering configuration cannot be loaded from the cache, the default traffic steering rule is used;

发送业务流量信息至远端权鉴服务器,远端鉴权服务器根据业务流量信息中的订购内容,下发相应的流量引导配置给流量引导服务,流量引导服务更新加载流量引导配置。The service flow information is sent to the remote authentication server, and the remote authentication server delivers the corresponding flow guidance configuration to the flow guidance service according to the subscription content in the service flow information, and the flow guidance service updates and loads the flow guidance configuration.

由于流量引导服务在从远端鉴权服务器获取相应的流量引导配置这一过程中可能需要相应的等待时间,为了保证用户的上网体验,可直接先从缓存中获取相应的流量引导规则进行引导。Since the traffic steering service may require a corresponding waiting time in the process of obtaining the corresponding traffic steering configuration from the remote authentication server, in order to ensure the user's online experience, the corresponding traffic steering rules can be directly obtained from the cache for guidance.

在本实施方式中,所述远端鉴权服务器在下发所述流量引导配置之前,更包括:In this embodiment, before delivering the traffic steering configuration, the remote authentication server further includes:

对业务流量信息进行检测,若订购状态为有效,则根据订购内容,下发相应的流量引导配置给流量引导服务;若订购状态为无效,则通知流量引导服务更新用户的订购状态。Detecting business traffic information, if the subscription status is valid, then according to the subscription content, deliver the corresponding traffic guidance configuration to the traffic guidance service; if the subscription status is invalid, notify the traffic guidance service to update the user's subscription status.

在本实施方式中,所述流量引导服务根据流量引导配置对所述处理结果进行引导的详细过程具体包括:In this embodiment, the detailed process for the traffic steering service to guide the processing result according to the traffic steering configuration specifically includes:

直接回源,或建立所述流量引导服务与引导节点、源服务器的传输通道,并通过所述传输通道发送所述处理结果至所述源服务器,获取相应资源后,并将所述资源通过所述传输通道回传给所述流量引导服务,所述流量引导服务根据所述应用程序的格式需求发送所述资源。Return directly to the source, or establish a transmission channel between the traffic guidance service, the guidance node, and the source server, and send the processing result to the source server through the transmission channel. After obtaining the corresponding resources, pass the resources through the source server. The transmission channel is sent back to the traffic steering service, and the traffic steering service sends the resource according to the format requirements of the application.

其中,流量引导服务以软件开发工具包(Software Development Kit,SDK)的形式嵌入在应用程序中。The traffic guidance service is embedded in the application in the form of a software development kit (Software Development Kit, SDK).

举例来说,应用程序接收到回调数据后,对用户的业务请求进行处理后,使用回调数据作为参数调用SDK的流量引导服务api,SDK根据用户的订购状态判断是否开启流量引导服务,当检测到用户为已订购用户时,开启流量引导服务,当检测到为未订购用户时,服务不操作。For example, after the application receives the callback data, it processes the user's business request, and uses the callback data as a parameter to call the SDK's traffic guidance service api. The SDK determines whether to enable the traffic guidance service according to the user's subscription status. When the user is a subscribed user, the traffic guidance service is enabled. When it is detected as an unsubscribed user, the service does not operate.

在开启服务时,将回调数据中作为参数发给远端鉴权服务器,由远端鉴权服务器再次确认该用户的订购状态,若订购状态为有效,则根据订购内容下发相应的流量引导配置给流量引导服务;若订购状态为无效,则通知流量引导服务更新用户的订购状态,其中,流量引导配置包括是否进行流量引导、引导节点信息以及数据加密秘钥,数据加密秘钥同时分配到远程引导服务器,又称引导节点,当系统收到引导配置后,保存并根据引导配置进行流量引导。When the service is started, the callback data is sent as a parameter to the remote authentication server, and the remote authentication server reconfirms the user's subscription status. If the subscription status is valid, the corresponding traffic steering configuration is issued according to the subscription content. Provide the traffic steering service; if the subscription status is invalid, notify the traffic steering service to update the user's subscription status, where the traffic steering configuration includes whether to perform traffic steering, the information of the guiding node and the data encryption key, and the data encryption key is distributed to the remote The bootstrap server, also known as the bootstrap node, saves and guides traffic according to the bootstrap configuration after the system receives the bootstrap configuration.

远端鉴权服务器进行订购状态的二次确认,并下发到SDK,SDK根据状态进行覆盖,当鉴权相应为已订购状态时,服务正常引导,应用程序后续启动时正常启动引导服务,当鉴权响应为未订购状态时,覆盖本地订购状态,下次应用程序重新启动不开启流量引导服务。如此一来,可以更进一步的对用户的流量业务状态进行确认,避免当用户信息过期时,无法察觉,而继续提供相关的流量引导服务。The remote authentication server performs a secondary confirmation of the order status and sends it to the SDK. The SDK covers the status according to the status. When the authentication corresponds to the ordered status, the service will be booted normally. When the authentication response is in the unsubscribed state, the local subscription state is overwritten, and the traffic steering service is not enabled the next time the application is restarted. In this way, it is possible to further confirm the user's traffic service status, so as to avoid being unable to detect when the user information expires, and to continue to provide related traffic guidance services.

当应用程序需将处理结果通过网络发出时,流量引导服务根据流量引导配置判断是否直接回源,直接回源的话,则不进行引导处理,将处理结果的网络请求发送往源服务器。When the application needs to send the processing result through the network, the traffic steering service determines whether to directly return to the source according to the traffic steering configuration.

如果不是直接回源回源,流量引导服务根据流量引导配置通过指定的引导节点和源服务器建立连接通道,并通过该连接通道进行数据的传输,具体而言,在建立连接通道时,流量引导服务先向指定的引导节点发出连接请求,连接成功后,引导节点再与相应的源站服务器建立连接,完成了连接通道的建立之后,流量引导服务再将处理结果的网络请求发往引导节点,引导节点向源服务器发出请求,并将返回的数据资源返回到流量引导服务,流量引导服务接收到返回的数据资源后,根据应用程序的格式需求发送所述资源,即当配置为回源时,将资源转发到应用程序,若资源为不回源,将资源还原回应用程序所需格式,并发送给应用程序。If it is not directly back to the source, the traffic steering service establishes a connection channel through the specified boot node and the source server according to the traffic steering configuration, and transmits data through the connection channel. Specifically, when the connection channel is established, the traffic steering service First send a connection request to the specified bootstrap node. After the connection is successful, the bootstrap node establishes a connection with the corresponding origin server. After the connection channel is established, the traffic steering service sends the network request of the processing result to the bootstrap node. The node sends a request to the origin server, and returns the returned data resource to the traffic steering service. After receiving the returned data resource, the traffic steering service sends the resource according to the format requirements of the application, that is, when it is configured as back-to-source, the The resource is forwarded to the application. If the resource is not returned to the source, the resource is restored to the format required by the application and sent to the application.

更进一步的,引导节点在向源站服务器发出连接请求之前,需根据接收到的加密密钥对该连接的合法性进行检验,若检验通过,则发出请求,若不通过,则拒绝连接。Further, before sending a connection request to the origin server, the bootstrap node needs to check the validity of the connection according to the received encryption key.

本发明提供的一种实现应用程序流量定向引导的方法,通过流量业务页面,例如HTML5页面提供统一的业务接入方式,解决了多个平台的对接问题和用户取号成功率较低的问题,当用户在流量业务页面操作完成后,流量业务页面通过回调客户端进而控制流量引导服务,解决流量引导问题,进而极大提高了在定向流量中流量引导的顺畅程度,使用户能获得较好的体验。The present invention provides a method for directional guidance of application flow, which provides a unified service access method through a flow service page, such as an HTML5 page, and solves the problem of docking of multiple platforms and the problem of low success rate of user number selection. After the user completes the operation on the traffic business page, the traffic business page will call back the client to control the traffic guidance service, solve the traffic guidance problem, and greatly improve the smoothness of the traffic guidance in the directional traffic, so that the user can obtain better experience.

实施例二Embodiment 2

以下将对本发明所提供的一种实现应用程序流量定向引导的系统进行详细说明。The following will describe in detail a system for implementing application traffic directional guidance provided by the present invention.

请参阅图2,所示为本发明一实施方式中实现应用程序流量定向引导的系统结构示意图。Please refer to FIG. 2 , which is a schematic structural diagram of a system for implementing directional guidance of application traffic in an embodiment of the present invention.

在本实施方式中,实现应用程序流量定向引导的系统10与远端鉴权服务器11、源服务器12、引导节点13均通信连接,而且,实现应用程序流量定向引导的系统10具体包括流量业务模块101、应用程序模块102和流量引导模块103。In this embodiment, the system 10 for implementing directional guidance of application program traffic is connected in communication with the remote authentication server 11, the source server 12, and the guiding node 13, and the system 10 for implementing application program traffic directional guidance specifically includes a traffic service module 101 , an application program module 102 and a traffic guidance module 103 .

流量业务模块101收集用户的流量业务信息,并传送至应用程序。其中,流量业务信息包含订购状态和订购内容,具体收集用户的流量业务信息包含:The traffic service module 101 collects the user's traffic service information and transmits it to the application. Among them, the traffic service information includes subscription status and subscription content. Specifically, the traffic service information collected from users includes:

用户可通过应用程序模块102提供的URL转入流量业务模块101,其中流量业务模块101提供流量业务页面供用户输入信息;The user can transfer to the traffic service module 101 through the URL provided by the application module 102, wherein the traffic service module 101 provides a traffic service page for the user to input information;

用户在流量业务页面中填写流量业务信息;The user fills in the traffic business information in the traffic business page;

流量业务模块101对接收到的流量业务信息进行加密和封装,并回调给应用程序。The traffic service module 101 encrypts and encapsulates the received traffic service information, and calls back to the application.

应用程序模块102接收并处理所述用户的业务请求,发送所述业务流量信息至流量引导模块103。The application module 102 receives and processes the service request of the user, and sends the service flow information to the flow guiding module 103 .

流量引导模块103根据业务流量信息中的订购状态确定是否对处理结果进行流量引导,若进行引导,则并根据业务流量信息中的订购内容相应的流量引导配置对处理结果进行流量引导。The traffic guidance module 103 determines whether to conduct traffic guidance on the processing result according to the subscription status in the service traffic information, and if so, conducts traffic guidance on the processing result according to the traffic guidance configuration corresponding to the subscription content in the service traffic information.

具体的,应用程序模块102提供统一资源定位符,用于转入流量业务模块103,流量业务模块103对收集到的流量业务信息进行加密和封装,并回调给应用程序模块102;Specifically, the application module 102 provides a uniform resource locator for transferring to the traffic service module 103, and the traffic service module 103 encrypts and encapsulates the collected traffic service information, and calls back to the application module 102;

应用程序模块102对业务请求进行处理后,将接收到的加密封装后的流量业务信息和处理结果作为参数调用流量引导模块103;After the application module 102 processes the service request, it calls the traffic steering module 103 with the received encrypted and encapsulated traffic service information and the processing result as parameters;

流量引导模块103对参数进行解密、解析,并根据解析出的订购状态确定是否对处理结果进行流量引导,若确定进行流量引导,则获取流量引导配置,并根据流量引导配置进行引导。The traffic steering module 103 decrypts and parses the parameters, and determines whether to perform traffic steering on the processing result according to the parsed subscription status.

在本实施方式中,所述应用程序模块即为各类app,所述应用程序模块根据平台提供的URL接入流量业务,基本的URL包括模式(或称协议)、服务器名称(或IP地址)、路径和文件名,最常用的模式是超文本传输协议(Hypertext Transfer Protocol,HTTP),这个协议可以用来访问网络,其它协议还包括文件传输协议(FTP)、用安全套接字层传送的超文本传输协议(HTTPS)等等。In this embodiment, the application program modules are all kinds of apps, and the application program modules access traffic services according to the URL provided by the platform. The basic URL includes the mode (or protocol), server name (or IP address) , path and file name, the most commonly used mode is Hypertext Transfer Protocol (HTTP), which can be used to access the network, other protocols include File Transfer Protocol (FTP), Secure Sockets Layer Hypertext Transfer Protocol (HTTPS) and more.

在本实施方式中,流量业务模块101提供的流量业务页面基于HTML5实现,所述流量业务页面是平台提供的统一页面,例如为平台提供的HTML5(简称H5)页面,不同平台提供的流量业务页面可以相同,也可以不同,当然,平台提供的流量业务页面不仅仅包括HTML5页面,还可以包括其它的页面,在此不做限定。In this embodiment, the traffic service page provided by the traffic service module 101 is implemented based on HTML5, and the traffic service page is a unified page provided by the platform, such as the HTML5 (H5) page provided by the platform, and the traffic service page provided by different platforms. They may be the same or different. Of course, the traffic service pages provided by the platform not only include HTML5 pages, but also other pages, which are not limited here.

在本实施方式中,通过用户点击所述应用程序的流量业务入口进入平台提供的HTML5页面,用户在使用过程中所有的业务操作均在HTML5页面上操作完成,例如用户在进入HTML5页面后,提交流量请求,HTML5页面通过与后台的交互方式验证用户的流量请求,判断流量请求的合法性和可用性,在验证通过后,用户在流量业务页面(例如HTML5页面)中填写流量业务信息,其中,流量业务信息包含订购状态和订购内容,然后由HTML5页面接收用户流量订购、账户登录或流量退订等等和流量业务相关的一切需求操作,如果验证不通过,则返回不可操作的HTML5页面,即返回错误界面,此时用户无法在该HTML5页面上进行任何操作。In this embodiment, the user clicks on the traffic service entry of the application to enter the HTML5 page provided by the platform, and all business operations of the user during the use process are completed on the HTML5 page. For example, after the user enters the HTML5 page, submit Traffic request, the HTML5 page verifies the user's traffic request by interacting with the background, and judges the legitimacy and availability of the traffic request. After the verification is passed, the user fills in the traffic service information in the traffic service page (such as HTML5 page). Among them, the traffic The business information includes the order status and order content, and then the HTML5 page receives all the required operations related to the traffic business, such as user traffic subscription, account login or traffic unsubscription, etc. If the verification fails, the inoperable HTML5 page is returned, that is, return Error interface, the user cannot perform any operations on the HTML5 page at this time.

在本实施方式中,用户在流量业务页面中填写完流量业务信息之后,流量业务页面对流量业务信息进行加密和封装,然后回调给应用程序。In this embodiment, after the user fills in the traffic service information on the traffic service page, the traffic service page encrypts and encapsulates the traffic service information, and then calls back to the application.

其中,流量引导模块103以软件开发工具包的形式嵌入在应用程序模块102中,且流量引导模块103获取流量引导配置的方法包括:The traffic steering module 103 is embedded in the application program module 102 in the form of a software development kit, and the method for the traffic steering module 103 to obtain the traffic steering configuration includes:

加载缓存中的流量引导配置,如果无法从缓存中加载流量引导配置,则使用默认流量引导规则;Load the traffic steering configuration from the cache. If the traffic steering configuration cannot be loaded from the cache, the default traffic steering rule is used;

发送业务流量信息至远端权鉴服务器11,远端鉴权服务器11根据业务流量信息中的订购内容,下发相应的流量引导配置给流量引导模块103,流量引导服务更新加载流量引导配置。The service flow information is sent to the remote authentication server 11, and the remote authentication server 11 delivers the corresponding flow guidance configuration to the flow guidance module 103 according to the subscription content in the service flow information, and the flow guidance service updates and loads the flow guidance configuration.

其中,远端鉴权服务器11在下发流量引导配置之前,更包括:The remote authentication server 11 further includes:

对业务流量信息进行检测,若订购状态为有效,则根据订购内容,下发相应的流量引导配置给流量引导模块103;若订购状态为无效,则通知流量引导模块103更新用户的订购状态。The service flow information is detected. If the subscription status is valid, the corresponding traffic guidance configuration is issued to the traffic guidance module 103 according to the subscription content; if the subscription status is invalid, the traffic guidance module 103 is notified to update the user's subscription status.

其中,流量引导模块103根据流量引导配置对处理结果进行引导具体包括:Wherein, the flow guiding module 103 guiding the processing result according to the flow guiding configuration specifically includes:

直接回源,或建立流量引导模块103与引导节点13、源服务器12的传输通道,并通过传输通道发送处理结果至源服务器12,获取相应资源后,并将资源通过传输通道回传给流量引导模块103,流量引导模块103根据应用程序的格式需求发送资源。Directly back to the source, or establish a transmission channel between the traffic guidance module 103 and the guidance node 13 and the source server 12, and send the processing result to the source server 12 through the transmission channel, after obtaining the corresponding resources, and pass the resources back to the traffic guidance through the transmission channel Module 103, the traffic guidance module 103 sends resources according to the format requirements of the application.

本发明提供的一种实现应用程序流量定向引导的系统10,通过流量业务页面,例如HTML5页面提供统一的业务接入方式,解决了多个平台的对接问题和用户取号成功率较低的问题,当用户在流量业务页面操作完成后,流量业务页面通过回调客户端进而控制流量引导服务,解决流量引导问题,进而极大提高了在定向流量中流量引导的顺畅程度,使用户能获得较好的体验。A system 10 for implementing application traffic directional guidance provided by the present invention provides a unified service access method through traffic service pages, such as HTML5 pages, and solves the problem of docking of multiple platforms and the problem of low success rate of user number access. , when the user completes the operation on the traffic business page, the traffic business page will call back the client to control the traffic guidance service, solve the traffic guidance problem, and greatly improve the smoothness of the traffic guidance in the directional traffic, so that the user can obtain better experience.

实施例三Embodiment 3

本发明还提供一种移动终端,其中,该移动终端上运行有包括前述的实现应用程序流量定向引导的系统10。所述移动终端可以为手机、平板电脑等移动电子设备。The present invention also provides a mobile terminal, wherein the mobile terminal runs on the mobile terminal including the aforementioned system 10 for implementing application flow directional guidance. The mobile terminal may be a mobile electronic device such as a mobile phone and a tablet computer.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic A disc, an optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or some parts of the embodiments.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (14)

1.一种实现应用程序流量定向引导的方法,其特征在于,所述方法包括:1. A method for implementing directional guidance of application flow, wherein the method comprises: 接收用户的业务请求;Receive business requests from users; 在对所述业务请求进行处理之前,收集所述用户的流量业务信息,其中所述流量业务信息包含订购状态和订购内容;以及Before processing the service request, collect traffic service information of the user, wherein the traffic service information includes subscription status and subscription content; and 处理所述业务请求,包含:Process the business request, including: 根据所述订购状态,确定是否对处理结果进行流量引导;According to the order status, determine whether to conduct traffic guidance on the processing result; 若确定进行流量引导,根据所述订购内容相应的流量引导配置,对所述业务请求的处理结果进行引导;If it is determined to perform traffic guidance, the processing result of the service request is guided according to the traffic guidance configuration corresponding to the subscription content; 收集所述用户的流量业务信息包含:Collecting the traffic service information of the user includes: 用户可通过所述应用程序提供的统一资源定位符转入流量业务页面;The user can transfer to the traffic business page through the uniform resource locator provided by the application; 在所述流量业务页面中填写所述流量业务信息;Fill in the traffic service information in the traffic service page; 对所述流量业务信息进行加密和封装,并由所述流量业务页面回调给所述应用程序。Encrypt and encapsulate the traffic service information, and call back to the application from the traffic service page. 2.如权利要求1所述的实现应用程序流量定向引导的方法,其特征在于,所述处理所述业务请求的步骤具体包括:2. The method for implementing application traffic directional guidance according to claim 1, wherein the step of processing the service request specifically comprises: 所述应用程序对所述业务请求进行处理,并将接收到的加密封装后的所述流量业务信息和处理结果作为参数调用流量引导服务;The application program processes the service request, and uses the received encrypted and encapsulated traffic service information and processing results as parameters to invoke the traffic steering service; 所述流量引导服务对所述参数进行解密、解析,并根据解析出的所述订购状态确定是否对所述处理结果进行流量引导;The traffic guidance service decrypts and parses the parameters, and determines whether to conduct traffic guidance on the processing result according to the parsed subscription status; 若确定进行流量引导,则获取所述流量引导配置,并根据所述流量引导配置进行引导。If it is determined to perform traffic steering, the traffic steering configuration is obtained, and the steering is performed according to the traffic steering configuration. 3.如权利要求2所述的实现应用程序流量定向引导的方法,其特征在于,所述流量引导服务获取所述流量引导配置的方法包括:3. The method for implementing application traffic directional guidance according to claim 2, wherein the method for obtaining the traffic steering configuration by the traffic steering service comprises: 加载缓存中的所述流量引导配置,如果无法从所述缓存中加载所述流量引导配置,则使用默认流量引导规则;Load the traffic steering configuration in the cache, and use the default traffic steering rule if the traffic steering configuration cannot be loaded from the cache; 发送所述流量业务信息至远端权鉴服务器,远端鉴权服务器根据所述流量业务信息中的所述订购内容,下发相应的所述流量引导配置给所述流量引导服务,所述流量引导服务更新加载所述流量引导配置。Send the traffic service information to the remote authentication server, and the remote authentication server delivers the corresponding traffic steering configuration to the traffic steering service according to the subscription content in the traffic service information, and the traffic The bootstrap service update loads the traffic bootstrap configuration. 4.如权利要求3所述的实现应用程序流量定向引导的方法,其特征在于,所述远端鉴权服务器在下发所述流量引导配置之前,更包括:4. The method for implementing application traffic directional guidance according to claim 3, wherein before the remote authentication server issues the traffic guidance configuration, the method further comprises: 对所述流量业务信息进行检测,若所述订购状态为有效,则根据所述订购内容,下发相应的所述流量引导配置给所述流量引导服务;若所述订购状态为无效,则通知所述流量引导服务更新所述用户的订购状态。Detect the traffic service information, and if the subscription status is valid, issue the corresponding traffic guidance configuration to the traffic guidance service according to the subscription content; if the subscription status is invalid, notify The traffic steering service updates the subscription status of the user. 5.如权利要求3所述的实现应用程序流量定向引导的方法,其特征在于,所述流量引导服务根据流量引导配置对所述处理结果进行流量引导具体包括:5 . The method for implementing application traffic directional guidance according to claim 3 , wherein, the traffic guidance service performing traffic guidance on the processing result according to the traffic guidance configuration specifically comprises: 5 . 直接回源,或建立所述流量引导服务与引导节点、源服务器的传输通道,并通过所述传输通道发送所述处理结果至所述源服务器,获取相应资源后,并将所述资源通过所述传输通道回传给所述流量引导服务,所述流量引导服务根据所述应用程序的格式需求发送所述资源。Return directly to the source, or establish a transmission channel between the traffic guidance service, the guidance node, and the source server, and send the processing result to the source server through the transmission channel. After obtaining the corresponding resources, pass the resources through the source server. The transmission channel is sent back to the traffic steering service, and the traffic steering service sends the resource according to the format requirements of the application. 6.如权利要求1所述的实现应用程序流量定向引导的方法,其特征在于,所述流量引导服务以软件开发工具包的形式嵌入在所述应用程序中。6 . The method for implementing application traffic directional guidance according to claim 1 , wherein the traffic guidance service is embedded in the application in the form of a software development kit. 7 . 7.一种实现应用程序流量定向引导的系统,其特征在于,所述系统包含:流量业务模块、应用程序模块和流量引导模块,其中,所述流量业务模块收集用户的流量业务信息,并传送至所述应用程序模块,所述应用程序模块接收并处理所述用户的业务请求,发送所述流量业务信息至所述流量引导模块,所述流量引导模块根据所述流量业务信息中的订购状态确定是否对处理结果进行流量引导,若进行引导,则并根据所述流量业务信息中的订购内容相应的流量引导配置对所述处理结果进行流量引导;7. A system for implementing application flow directional guidance, wherein the system comprises: a flow service module, an application program module and a flow guidance module, wherein the flow service module collects user's flow service information, and transmits to the application program module, the application program module receives and processes the service request of the user, and sends the traffic service information to the traffic guidance module, and the traffic guidance module according to the order status in the traffic service information determining whether to perform traffic guidance on the processing result, and if performing the guidance, perform traffic guidance on the processing result according to the traffic guidance configuration corresponding to the subscription content in the traffic service information; 所述应用程序模块提供统一资源定位符,用于转入所述流量业务模块,所述流量业务模块对收集到的所述流量业务信息进行加密和封装,并回调给所述应用程序模块。The application program module provides a uniform resource locator for transferring to the traffic service module, the traffic service module encrypts and encapsulates the collected traffic service information, and calls back to the application program module. 8.如权利要求7所述的实现应用程序流量定向引导的系统,其特征在于,所述应用程序模块对所述业务请求进行处理后,将接收到的加密封装后的所述流量业务信息和处理结果作为参数调用流量引导模块;8. The system for implementing application flow directional guidance according to claim 7, wherein after the application module processes the service request, the received encrypted and encapsulated flow service information and The processing result is used as a parameter to call the traffic guidance module; 所述流量引导模块对所述参数进行解密、解析,并根据解析出的所述订购状态确定是否对所述处理结果进行流量引导;The traffic guidance module decrypts and parses the parameters, and determines whether to conduct traffic guidance on the processing result according to the parsed order status; 若确定进行流量引导,则获取所述流量引导配置,并根据所述流量引导配置进行引导。If it is determined to perform traffic steering, the traffic steering configuration is obtained, and the steering is performed according to the traffic steering configuration. 9.如权利要求8所述的实现应用程序流量定向引导的系统,其特征在于,所述流量引导模块获取流量引导配置的方法包括:9. The system for implementing application traffic directional guidance according to claim 8, wherein the method for obtaining the traffic guidance configuration by the traffic guidance module comprises: 加载缓存中的所述流量引导配置,如果无法从所述缓存中加载所述流量引导配置,则使用默认流量引导规则;Load the traffic steering configuration in the cache, and use the default traffic steering rule if the traffic steering configuration cannot be loaded from the cache; 发送所述流量业务信息至远端权鉴服务器,远端鉴权服务器根据所述流量业务信息中的所述订购内容,下发相应的所述流量引导配置给所述流量引导模块,所述流量引导服务更新加载所述流量引导配置。Send the traffic service information to the remote authentication server, and the remote authentication server delivers the corresponding traffic steering configuration to the traffic steering module according to the subscription content in the traffic service information, and the traffic The bootstrap service update loads the traffic bootstrap configuration. 10.如权利要求9所述的实现应用程序流量定向引导的系统,其特征在于,所述远端鉴权服务器在下发所述流量引导配置之前,更包括:10. The system for implementing application traffic directional guidance according to claim 9, wherein before the remote authentication server delivers the traffic guidance configuration, the method further comprises: 对所述流量业务信息进行检测,若所述订购状态为有效,则根据所述订购内容,下发相应的所述流量引导配置给所述流量引导模块;若所述订购状态为无效,则通知所述流量引导模块更新所述用户的订购状态。Detect the traffic service information, and if the subscription status is valid, issue the corresponding traffic guidance configuration to the traffic guidance module according to the subscription content; if the subscription status is invalid, notify The traffic steering module updates the subscription status of the user. 11.如权利要求9所述的实现应用程序流量定向引导的系统,其特征在于,所述流量引导模块根据流量引导配置对所述处理结果进行引导具体包括:11 . The system for implementing application traffic directional guidance according to claim 9 , wherein the traffic guidance module guiding the processing result according to the traffic guidance configuration specifically comprises: 11 . 直接回源,或建立所述流量引导模块与引导节点、源服务器的传输通道,并通过所述传输通道发送所述处理结果至所述源服务器,获取相应资源后,并将所述资源通过所述传输通道回传给所述流量引导模块,所述流量引导模块根据所述应用程序模块的格式需求发送所述资源。Return directly to the source, or establish a transmission channel between the traffic guidance module, the guidance node, and the source server, and send the processing result to the source server through the transmission channel. After obtaining the corresponding resources, pass the resources through the source server. The transmission channel is sent back to the traffic steering module, and the traffic steering module sends the resource according to the format requirement of the application module. 12.如权利要求7所述的实现应用程序流量定向引导的系统,其特征在于,所述流量业务模块基于HTML5进行实现。12 . The system for implementing application traffic directional guidance according to claim 7 , wherein the traffic service module is implemented based on HTML5. 13 . 13.如权利要求7所述的实现应用程序流量定向引导的系统,其特征在于,所述流量引导模块以软件开发工具包的形式嵌入在所述应用程序模块中。13. The system for implementing application traffic direction guidance according to claim 7, wherein the traffic guidance module is embedded in the application program module in the form of a software development kit. 14.一种移动终端,其特征在于,所述移动终端上运行有权利要求7-13中任一项所述的实现应用程序流量定向引导的系统。14 . A mobile terminal, characterized in that the system for implementing application traffic directional guidance according to any one of claims 7 to 13 runs on the mobile terminal.
CN201710636315.9A 2017-07-31 2017-07-31 A method and system and mobile terminal for realizing directional guidance of application flow Expired - Fee Related CN107454580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710636315.9A CN107454580B (en) 2017-07-31 2017-07-31 A method and system and mobile terminal for realizing directional guidance of application flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710636315.9A CN107454580B (en) 2017-07-31 2017-07-31 A method and system and mobile terminal for realizing directional guidance of application flow

Publications (2)

Publication Number Publication Date
CN107454580A CN107454580A (en) 2017-12-08
CN107454580B true CN107454580B (en) 2020-02-18

Family

ID=60490584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710636315.9A Expired - Fee Related CN107454580B (en) 2017-07-31 2017-07-31 A method and system and mobile terminal for realizing directional guidance of application flow

Country Status (1)

Country Link
CN (1) CN107454580B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040033743A (en) * 2002-10-15 2004-04-28 에스케이 텔레콤주식회사 Method and System for Providing Free Communication Service in Mobile Communication System
CN104243182A (en) * 2014-09-30 2014-12-24 中国联合网络通信集团有限公司 Directional traffic charging method and directional traffic charging system
CN105007581A (en) * 2015-08-12 2015-10-28 腾讯科技(深圳)有限公司 Network access authentication method and network access authentication client
CN105101147A (en) * 2015-08-19 2015-11-25 网宿科技股份有限公司 A method and system for realizing directional flow of mobile app
CN105704703A (en) * 2016-03-15 2016-06-22 中国联合网络通信集团有限公司 System, method and device for business ordering
CN106817361A (en) * 2015-12-01 2017-06-09 中兴通讯股份有限公司 The control method and device of group's online
CN106973107A (en) * 2017-03-29 2017-07-21 小沃科技有限公司 A kind of mobile client orientation flow agency plant realized based on hook modes and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9948494B2 (en) * 2015-09-29 2018-04-17 International Business Machines Corporation Method to save data usage in mobile devices based on prior history

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040033743A (en) * 2002-10-15 2004-04-28 에스케이 텔레콤주식회사 Method and System for Providing Free Communication Service in Mobile Communication System
CN104243182A (en) * 2014-09-30 2014-12-24 中国联合网络通信集团有限公司 Directional traffic charging method and directional traffic charging system
CN105007581A (en) * 2015-08-12 2015-10-28 腾讯科技(深圳)有限公司 Network access authentication method and network access authentication client
CN105101147A (en) * 2015-08-19 2015-11-25 网宿科技股份有限公司 A method and system for realizing directional flow of mobile app
CN106817361A (en) * 2015-12-01 2017-06-09 中兴通讯股份有限公司 The control method and device of group's online
CN105704703A (en) * 2016-03-15 2016-06-22 中国联合网络通信集团有限公司 System, method and device for business ordering
CN106973107A (en) * 2017-03-29 2017-07-21 小沃科技有限公司 A kind of mobile client orientation flow agency plant realized based on hook modes and method

Also Published As

Publication number Publication date
CN107454580A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
EP2589179B1 (en) Apparatus and method for controlling access to multiple services
CN106131079B (en) Authentication method, system and proxy server
US20190109838A1 (en) Secure authentication for accessing remote resources
WO2016127793A1 (en) Message sending method, apparatus, system, and server
CN108540433B (en) User identity verification method and device
CN108712372B (en) Method and system for accessing WEB third party login by client
CN107295573B (en) A kind of bootstrap technique and system of service application flow
CN113922982B (en) Login method, electronic device and computer readable storage medium
CN107634934B (en) Visual communication management method and device
CN105871853A (en) Portal authenticating method and system
CN112866385A (en) Interface calling method and device, electronic equipment and storage medium
US9032489B2 (en) Method and device for proxy access of open platform
CA2844888A1 (en) System and method of extending a host website
CN113783829B (en) Method and device for realizing equipment access across platforms
CN114338078B (en) A CS client login method and device
KR101349201B1 (en) Apparatus for interoperability between Web-browser and Local-resources in the Mobile Device and method thereof
RU2596588C2 (en) System and method for activation of mobile device for communication initiating
CN110855655B (en) Information verification method, device, equipment and storage medium
CN112272211A (en) Service request processing method, device and system
CN115396826A (en) Message processing method, device, equipment and storage medium
CN114500630A (en) Message pushing method, device, system, storage medium and electronic equipment
CN107454580B (en) A method and system and mobile terminal for realizing directional guidance of application flow
CN115567583A (en) Device communication method, device and electronic device
CN114417318A (en) Third-party page jumping method and device and electronic equipment
CN106790385B (en) Content providing system, sharing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200218