WO2016169327A1 - Method and system for sharing data plan usage quota of mobile terminal - Google Patents

Method and system for sharing data plan usage quota of mobile terminal Download PDF

Info

Publication number
WO2016169327A1
WO2016169327A1 PCT/CN2016/074150 CN2016074150W WO2016169327A1 WO 2016169327 A1 WO2016169327 A1 WO 2016169327A1 CN 2016074150 W CN2016074150 W CN 2016074150W WO 2016169327 A1 WO2016169327 A1 WO 2016169327A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
packet
information
packets
user
Prior art date
Application number
PCT/CN2016/074150
Other languages
French (fr)
Chinese (zh)
Inventor
陈小云
张秀丽
李蕊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016169327A1 publication Critical patent/WO2016169327A1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • This document relates to, but is not limited to, traffic management technology in communication technology, and specifically relates to a method and system for mobile terminal Internet traffic sharing.
  • the traffic card is a new form of prepaid card that comes into being in response to the requirements of the LTE network in this situation.
  • the feature is that after the user binds this type of card, the user can select the traffic in the card, and no additional charge is required in the traffic range. Users can purchase such cards through the e-commerce platform. There are many types of cards, such as different expiration dates, QOS, traffic, etc. The cost of different cards is also different. After purchasing the card, the user obtains a card number and associated password. Through the e-commerce platform, after the user inputs the mobile phone number, card number, and password, the user can bind, and after binding, the user's traffic through the mobile phone will be deducted from this card.
  • the flow card provides users with a relatively flexible flow plan. Due to the convenience of the purchase and use of the flow card, it was quickly welcomed and recognized by the market once it was launched. However, there is still much room for improvement in current flow card flexibility. For example, if the user's traffic is not used up, it will be cleared at the end of the month, which is easy to cause waste.
  • Embodiments of the present invention provide a method and system for mobile terminal Internet traffic sharing, which can avoid traffic waste.
  • the embodiment of the invention discloses a method for sharing internet traffic of a mobile terminal, which mainly comprises the following operations:
  • the traffic splitting information includes the number of the divided traffic packets and/or the traffic information of the single traffic packet
  • the generated traffic packet is delivered to the user.
  • the method before the traffic sharing system generates the traffic packet according to the traffic splitting information, the method further includes:
  • the validity of the user is verified, and the traffic packet is generated according to the traffic splitting information only after the user passes the validity check.
  • the process of generating a traffic packet according to the traffic splitting information includes:
  • the traffic splitting information includes only the number N of traffic packets, the current traffic balance in the parent card is equally divided into N shares to generate N traffic packets; or
  • the traffic splitting information includes only the traffic information of the single traffic packet, calculate the number N of the traffic packets that can be distributed according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generate N traffic packets; or
  • the traffic splitting information includes the traffic packet number N and the traffic information of the single traffic packet
  • the current traffic balance in the parent card is divided into N shares according to the traffic information of the single traffic packet, and N traffic packets are generated.
  • the foregoing method further includes:
  • the foregoing method further includes:
  • the unseen traffic packet information is sent to the specified directory through the file transfer protocol FTP;
  • the embodiment of the invention further discloses a system for sharing internet traffic of a mobile terminal, comprising an e-commerce application module and a main service logic module, wherein:
  • the e-commerce application module is configured to determine a parent card for sharing traffic and traffic split information according to a user instruction, and send the generated traffic packet to a user in the traffic sharing system, where the traffic split information includes the split traffic.
  • the main service logic module is configured to generate a traffic packet according to the traffic splitting information, and simultaneously deduct the traffic sum of all the traffic packets from the parent card, and return the generated traffic packet to the e-commerce application module.
  • system further includes a data communication interface module, where the e-commerce application module is connected to the main service logic module by using the data communication interface module, where:
  • the data communication interface module is configured to verify validity of the e-commerce application module
  • the main service logic module is configured to generate a traffic packet according to the traffic splitting information only when the e-commerce application module passes the legality check.
  • the primary service logic module is configured to generate a traffic packet according to the traffic split information by:
  • the main service logic module divides the current traffic balance in the parent card into N shares, and generates N traffic packets;
  • the primary service logic module calculates the number N of deliverable traffic packets according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generates N. Traffic packets; or
  • the primary service logic module divides the current traffic balance in the parent card according to the traffic information of the single traffic packet. For N shares, generate N traffic packets.
  • the e-commerce application module is further configured to receive an instruction initiated by another user to receive the traffic packet;
  • the main service logic module is further configured to perform binding processing on the traffic packet with the other user according to the instruction.
  • the e-commerce application module is further configured to: according to the preset validity period of the traffic packet, determine that the traffic packet that is not expired is sent to the unseen traffic packet information through the file transfer protocol FTP. Specify the directory;
  • the main service logic module is further configured to periodically extract the traffic packet return file to the specified directory, and summarize the traffic in the expired unreported traffic packet and return it to the mother card.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the traffic is moved, the waste of user traffic is avoided, and the user experience is improved, thereby indirectly improving the customer satisfaction of the operator.
  • FIG. 1 is a structural diagram of a structure of a traffic sharing system according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of purchasing a traffic card according to an embodiment of the present invention.
  • red envelope deduction instruction is a flowchart of a red envelope (red envelope deduction instruction) according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a red envelope (red envelope purchase and binding instruction) according to an embodiment of the present invention
  • FIG. 6 is a flow chart of returning a red envelope according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for sharing traffic according to an embodiment of the present invention.
  • the embodiment provides a system for sharing internet traffic of a mobile terminal, including an e-commerce application module and a main service logic module, where:
  • the e-commerce application module is configured to determine the mother card and the traffic split information of the shared traffic according to the user instruction, and send the traffic packet generated by the main service logic module to the user in the traffic sharing system, where the traffic split information includes the split traffic.
  • the main service logic module is configured to generate a traffic packet (also referred to as a traffic red packet) according to the traffic split information, and deduct the traffic sum of all the traffic packets from the mother card, and return the generated traffic packet to the e-commerce application module.
  • a traffic packet also referred to as a traffic red packet
  • system may further include a data communication interface module, where the e-commerce application module is connected to the main service logic module by using the data communication interface module, where:
  • the data communication interface module is configured to verify the legality of the e-commerce application module, including: obtaining the identification information of the e-commerce (such as a user name and a password), and storing the obtained e-commerce identification information and the e-commerce stored in the e-commerce application module. The identification information is compared, and if it is consistent, the e-commerce application module is considered to be legal;
  • the main service logic module is configured to generate a traffic packet according to the traffic splitting information only when the e-commerce application module passes the legality check.
  • the main service logic module is configured to generate a traffic packet according to the traffic split information by:
  • the main service logic module divides the current traffic balance in the mother card into N shares, and generates N traffic packets, where the N is greater than or equal to 1; or
  • the primary service logic module calculates the number N of the traffic packets that can be issued according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generates N traffic packets.
  • the calculation includes: dividing the current traffic balance in the mother card by the traffic information of the single traffic packet, and modulating the obtained result to obtain the number N of the distributable traffic packets; or
  • the main service logic module divides the current traffic balance in the parent card into N shares according to the traffic information of the single traffic packet, and generates N traffic packets.
  • the e-commerce application module is further configured to receive an instruction initiated by another user to receive a traffic packet.
  • the main service logic module is further configured to add the traffic in the traffic packet to the user who receives the traffic packet according to the instruction. Account, or bind traffic packets to users.
  • the e-commerce application module is further configured to, according to the preset validity period of the traffic packet, determine that the traffic packet that is not expired is sent to the specified directory through the file transfer protocol FTP.
  • the main service logic module is further configured to periodically extract the traffic packet return file to the specified directory, and summarize the traffic in the expired traffic packet and return it to the mother card.
  • FIG. 1 is a schematic diagram of a mobile terminal Internet traffic sharing system, wherein any mobile terminal number can be registered as a user of the system.
  • This system mainly involves the following modules:
  • the (third-party) e-commerce application module is configured to provide functions such as registration, purchase, and binding of the flow card.
  • the mobile terminal Internet traffic sharing system of the present embodiment provides an e-commerce application module for the user to register, purchase, and Binding, etc.
  • our mobile terminal Internet traffic sharing system also provides a standard interface specification with a third-party e-commerce application platform, and any third-party e-commerce application can access the mobile terminal described in this embodiment through this interface.
  • Internet traffic sharing system ;
  • the data communication interface module is configured to receive a request sent by the (third party) e-commerce application module or the card management portal module, and verify the legality of the e-commerce application module; the main business logic module is set to pass the legality in the e-commerce application module. Provides the implementation of the business logic of the traffic card and the service storage process during verification;
  • the card management portal module is configured to be responsible for system data management of the flow card, card management (including creating card resources, selling cards, bindings, etc.) and various statistics;
  • a data storage module configured to store traffic card data.
  • the process of realizing the mobile terminal traffic sharing by the above system mainly includes registration, purchase, and sending traffic packets (also referred to as traffic red packets) and the traffic red packets in several stages, which are introduced one by one below.
  • traffic packets also referred to as traffic red packets
  • the registration process is very simple, as shown in Figure 2, only involving users and (third-party) e-commerce applications.
  • the mobile terminal accesses the (third party) e-commerce application, sets the login password, initiates the registration application, and the (third party) e-commerce application module records the user number and password, and gives the user feedback to register the successful response.
  • the purchase process includes the following operations:
  • Step A After the user logs in to the (third party) e-commerce application module, the card type is selected, and an application for purchasing a flow card is initiated to the e-commerce application;
  • Step B The (third party) e-commerce application module initiates a card purchase instruction to the data communication interface module through the SOAP message;
  • Step C After receiving the flow card purchase instruction, the data communication interface module first verifies the legality of the (third party) e-commerce module, and after the verification passes, calls the main business logic module of the flow card to purchase the card;
  • Step D The main business logic module randomly selects a card corresponding to the condition according to the card type transmitted from the data communication interface module, and feeds back the card number, password, expiration date and the like information of the card to the data communication interface module, and records the purchase.
  • Card information ;
  • step E the data communication interface module feeds back information such as the card number, password, and expiration date to the (third party) e-commerce application module through the SOAP message.
  • step F the (third party) e-commerce application module displays the card number, password, expiration date and the like to the user.
  • the process of sending traffic red packets includes the following operations:
  • Step A The user purchases a new card through any (third party) e-commerce application module or directly uses an old card as a mother card, and the purpose is to create a red envelope for the traffic to be shared;
  • Step B The user creates a traffic red packet through the (third party) e-commerce application module, and determines the traffic split information in the purchased mother card according to the user instruction, and the (third party) e-commerce application module sends the traffic red packet buckle to the data communication interface module. Subtraction and traffic split information;
  • Step C After receiving the traffic red packet deduction instruction, the data communication interface module first verifies the legality of the (third party) e-commerce module, and after the verification is passed, the main business logic module is called to generate a traffic red packet according to the traffic split information;
  • Step D The main service logic module calculates the number N of traffic red packets that can be distributed according to the traffic balance and traffic split information in the current mother card, and generates N traffic red packets, and deducts the traffic sum of all traffic red packets from the mother card to generate CDR
  • Step E the data communication interface module returns the result to the (third party) e-commerce application module, and records the deduction log file;
  • Step F After the traffic red packet is generated, the e-commerce application module issues a traffic red packet to any user.
  • the user directly selects the object to be sent the traffic red packet in the mobile terminal address book in the (third-party) e-commerce application module, and then gives the data communication interface
  • the module sends a request for sending a traffic red envelope; the other is that the user first sends a request for generating a traffic red packet to the data communication interface module in the (third party) e-commerce application module, and then shares the created traffic red packet to the third-party APP application.
  • WeChat friends circle, WeChat friends, Weibo and so on.
  • the process of collecting traffic red packets includes the following operations:
  • step A after the other user obtains the red packet of the traffic, the user may initiate the collection.
  • the (third party) e-commerce application module sends a traffic red packet receiving instruction to the data communication interface module;
  • Step B After receiving the traffic red envelope receiving command, the data communication interface module first checks the legality of the e-commerce module. After the verification is passed, the main business logic module is called to perform binding;
  • Step C The main service logic module binds the traffic red packet (that is, the traffic packet is bound to the user as a separate traffic card account, and the user can set the traffic on the traffic card to be preferentially used by the e-commerce application module after binding) After the processing is completed, the processing result is reversed to the data communication interface module;
  • Step D The data communication interface module returns the result fed back by the main service logic module to the (third party) e-commerce application module through the SOAP message, and records the traffic red packet binding log file;
  • step E the (third party) e-commerce application module displays the result of the traffic packet collection to the user.
  • the validity period of the traffic red envelope can be set on the (third party) e-commerce application side.
  • the flow red packet return process as shown in FIG. 6, which mainly includes the following operations:
  • Step A The (third party) e-commerce application module sends the red envelope information to be returned to the specified directory through FTP;
  • Step B The scheduled task in the main service logic module goes to the directory to be configured at a specified time to take traffic.
  • the red envelope returns the file, summarizes the traffic of the traffic red envelope and returns it to the mother card, and generates a processing result file;
  • Step C The (third party) e-commerce application module can obtain and view the result file of the red envelope return through FTP.
  • the embodiment provides a method for sharing traffic on a mobile terminal, which mainly includes the following operations:
  • the traffic splitting information includes the number of the divided traffic packets and/or the traffic information of the single traffic packet
  • a traffic packet According to the traffic split information (hereinafter also referred to as a traffic red packet), and deducting the traffic sum of all the traffic packets from the mother card;
  • the generated traffic packet is delivered to the user.
  • the validity of the user may be verified first. After the user passes the validity check, the traffic packet is generated according to the traffic split information.
  • the process of generating a traffic packet according to the traffic split information is as follows:
  • the traffic splitting information includes only the number N of traffic packets, the current traffic balance in the mother card is equally divided into N shares to generate N traffic packets; or
  • the number N of the traffic packets that can be issued is calculated according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and N traffic packets are generated;
  • the traffic split information includes the traffic packet number N and the traffic information of a single traffic packet
  • the current traffic balance in the parent card is divided into N shares according to the traffic information of the single traffic packet, and N traffic packets are generated.
  • the traffic packet after generating the traffic packet, other users may initiate an instruction to receive the traffic packet.
  • the command may be received, and according to the command, the traffic in the traffic packet is added to the user account that receives the traffic packet, and
  • the traffic packet to be collected by the user can be bound to the user, that is, the traffic packet is bound as a separate traffic card account and the user number. After binding, the user can set the traffic on the traffic card to be preferentially used.
  • the validity period of the package is such that when there is a traffic packet that is not expired, the unclaimed traffic packet information file transfer protocol is FTPed to the specified directory, and then the traffic packet return file is periodically extracted to the specified directory, and the expired unreported traffic packet is included.
  • the traffic is aggregated and returned to the parent card.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the above technical solution makes the traffic move, avoids the waste of user traffic, improves the user experience, and indirectly improves the operator's customer satisfaction.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a usage quota management technique in the technical field of communications. Disclosed are a method and system for sharing data plan usage quota of a mobile terminal. The method comprises: determining, by a usage quota sharing system according to a user instruction, a master card sharing usage quota and usage quota division information, wherein the usage quota division information comprises the quantity of usage quota packets to be divided and/or usage quota information of a single usage quota packet; generating, by the usage quota sharing system, usage quota packets according to the usage quota division information, while subtracting the sum of usage quota of all the usage quota packets from the master card; and issuing, by the usage quota sharing system, the generated usage quota packets to a user in the usage quota sharing system. The technical solution enables circulation of usage quota, thus avoiding waste of usage quota of a user, improving user experience and indirectly improving customer satisfaction of an operator.

Description

一种用于移动终端上网流量分享的方法和系统Method and system for mobile terminal internet traffic sharing 技术领域Technical field
本文涉及但不限于通信技术中的流量经营技术,具体涉及一种用于移动终端上网流量分享的方法和系统。This document relates to, but is not limited to, traffic management technology in communication technology, and specifically relates to a method and system for mobile terminal Internet traffic sharing.
背景技术Background technique
随着移动互联网时代的到来、智能终端的普及以及4G通信技术的迅猛发展,传统的通话为主、上网为辅已远远不能满足人们的社交需求,人们对移动终端上网的需求越来越多,移动数据流量消费特点突出。电信运营商们不得不面对这种传统电信业务下滑、流量激增的现实。在互联网应用对传统电信业务加速替代趋势下,流量经营很快占据了大半壁江山,成为通信运营商们主要的业务来源和新的利润增长点。这就要求运营商们从话务量经营向着力于流量经营转变。流量经营对运营商传统的BOSS系统提出了很大的挑战,对BOSS的要求更高、更精确。With the advent of the mobile Internet era, the popularity of smart terminals, and the rapid development of 4G communication technologies, traditional call-based and Internet-based supplements are far from satisfying people's social needs. People are increasingly demanding mobile terminals for Internet access. The characteristics of mobile data traffic consumption are outstanding. Telecom operators have to face the reality of this decline in traditional telecom services and the surge in traffic. Under the trend of accelerated replacement of traditional telecom services by Internet applications, traffic management has quickly occupied more than half of the country, becoming the main source of business and new profit growth points for communication operators. This requires operators to shift from traffic management to traffic management. Traffic management poses a great challenge to operators' traditional BOSS systems, and the requirements for BOSS are higher and more precise.
流量卡就是在这种形势下顺应LTE网络要求,应运而生的一种新形式的预付费卡。其特点为用户在绑定这种类型的卡后,用户上网可以选择这个卡内的流量,在流量范围内,不再需要额外付费。用户可以通过电商平台购买这种卡,卡有多种类型,如不同的有效期,QOS,流量等,不同卡费用也不同。用户在购买卡后,获取一个卡号及相关的密码。通过电商平台,用户输入手机号码,卡号,密码后,可以进行绑定,绑定后,用户通过手机上网的流量,将从这张卡的扣取。The traffic card is a new form of prepaid card that comes into being in response to the requirements of the LTE network in this situation. The feature is that after the user binds this type of card, the user can select the traffic in the card, and no additional charge is required in the traffic range. Users can purchase such cards through the e-commerce platform. There are many types of cards, such as different expiration dates, QOS, traffic, etc. The cost of different cards is also different. After purchasing the card, the user obtains a card number and associated password. Through the e-commerce platform, after the user inputs the mobile phone number, card number, and password, the user can bind, and after binding, the user's traffic through the mobile phone will be deducted from this card.
流量卡可以为用户提供相对灵活的流量套餐。由于流量卡购买和使用方便,因而一经推出很快得到了市场的欢迎和认可。但是,目前的流量卡灵活性上还有不少可改进的空间。比如用户的流量用不完的,月底即被清零,很容易造成浪费。 The flow card provides users with a relatively flexible flow plan. Due to the convenience of the purchase and use of the flow card, it was quickly welcomed and recognized by the market once it was launched. However, there is still much room for improvement in current flow card flexibility. For example, if the user's traffic is not used up, it will be cleared at the end of the month, which is easy to cause waste.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种用于移动终端上网流量分享的方法和系统,能够避免流量浪费。Embodiments of the present invention provide a method and system for mobile terminal Internet traffic sharing, which can avoid traffic waste.
本发明实施例公开了一种移动终端上网流量分享的方法,主要包括如下操作:The embodiment of the invention discloses a method for sharing internet traffic of a mobile terminal, which mainly comprises the following operations:
按照用户指令确定分享流量的母卡以及流量分割信息,其中,所述流量分割信息包括分割的流量包个数和/或单个流量包的流量信息;Determining, according to a user instruction, a mother card sharing the traffic and the traffic splitting information, where the traffic splitting information includes the number of the divided traffic packets and/or the traffic information of the single traffic packet;
根据所述流量分割信息生成流量包,同时从所述母卡中扣减所有流量包的流量总和;Generating a traffic packet according to the traffic splitting information, and deducting the traffic sum of all the traffic packets from the mother card;
将生成的流量包下发给用户。The generated traffic packet is delivered to the user.
可选地,上述方法中,所述流量分享系统根据所述流量分割信息生成流量包之前,该方法还包括:Optionally, in the foregoing method, before the traffic sharing system generates the traffic packet according to the traffic splitting information, the method further includes:
校验所述用户的合法性,仅当所述用户通过合法性校验后,才根据所述流量分割信息生成流量包。The validity of the user is verified, and the traffic packet is generated according to the traffic splitting information only after the user passes the validity check.
可选地,上述方法中,所述根据所述流量分割信息生成流量包的过程包括:Optionally, in the foregoing method, the process of generating a traffic packet according to the traffic splitting information includes:
所述流量分割信息仅包括流量包个数N时,将所述母卡中当前流量余额平均划分为N份,生成N个流量包;或者When the traffic splitting information includes only the number N of traffic packets, the current traffic balance in the parent card is equally divided into N shares to generate N traffic packets; or
所述流量分割信息仅包括单个流量包的流量信息时,根据所述母卡中当前流量余额以及单个流量包的流量信息计算可发放的流量包的个数N,生成N个流量包;或者When the traffic splitting information includes only the traffic information of the single traffic packet, calculate the number N of the traffic packets that can be distributed according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generate N traffic packets; or
所述流量分割信息包括流量包个数N和单个流量包的流量信息时,将所述母卡中当前流量余额按照单个流量包的流量信息划分为N份,生成N个流量包。When the traffic splitting information includes the traffic packet number N and the traffic information of the single traffic packet, the current traffic balance in the parent card is divided into N shares according to the traffic information of the single traffic packet, and N traffic packets are generated.
可选地,上述方法还包括:Optionally, the foregoing method further includes:
接收其他用户发起的领取所述流量包的指令; Receiving an instruction initiated by another user to receive the traffic packet;
根据所述指令,将所述流量包与所述其他用户进行绑定处理。And according to the instruction, binding the traffic packet to the other user.
可选地,上述方法还包括:Optionally, the foregoing method further includes:
根据预先设置的流量包有效期,确定存在过期未领的流量包时,将未领的流量包信息通过文件传输协议FTP发送到指定目录;According to the preset validity period of the traffic packet, when it is determined that there is an expired traffic packet, the unseen traffic packet information is sent to the specified directory through the file transfer protocol FTP;
定期到所述指定目录提取流量包返还文件,将过期未领的流量包中的流量进行汇总并返还到母卡上。Regularly collect the traffic packet return file from the specified directory, and summarize the traffic in the expired traffic packet and return it to the mother card.
本发明实施例还公开了一种移动终端上网流量分享的系统,包括电商应用模块和主业务逻辑模块,其中:The embodiment of the invention further discloses a system for sharing internet traffic of a mobile terminal, comprising an e-commerce application module and a main service logic module, wherein:
所述电商应用模块,设置为按照用户指令确定分享流量的母卡以及流量分割信息,以及将生成的流量包下发给流量分享系统中的用户,其中,所述流量分割信息包括分割的流量包个数和/或单个流量包的流量信息;The e-commerce application module is configured to determine a parent card for sharing traffic and traffic split information according to a user instruction, and send the generated traffic packet to a user in the traffic sharing system, where the traffic split information includes the split traffic. The number of packets and/or the traffic information of a single traffic packet;
所述主业务逻辑模块,设置为根据所述流量分割信息生成流量包,同时从所述母卡中扣减所有流量包的流量总和,以及将生成的流量包返回给所述电商应用模块。The main service logic module is configured to generate a traffic packet according to the traffic splitting information, and simultaneously deduct the traffic sum of all the traffic packets from the parent card, and return the generated traffic packet to the e-commerce application module.
可选地,上述系统还包括数据通信接口模块,所述电商应用模块通过所述数据通信接口模块与所述主业务逻辑模块相连,其中:Optionally, the system further includes a data communication interface module, where the e-commerce application module is connected to the main service logic module by using the data communication interface module, where:
所述数据通信接口模块,设置为校验所述电商应用模块的合法性;The data communication interface module is configured to verify validity of the e-commerce application module;
所述主业务逻辑模块,设置为仅在所述电商应用模块通过合法性校验时,根据所述流量分割信息生成流量包。The main service logic module is configured to generate a traffic packet according to the traffic splitting information only when the e-commerce application module passes the legality check.
可选地,上述系统中,所述主业务逻辑模块是设置为通过如下方式实现根据所述流量分割信息生成流量包:Optionally, in the foregoing system, the primary service logic module is configured to generate a traffic packet according to the traffic split information by:
所述流量分割信息仅包括流量包个数N时,所述主业务逻辑模块将所述母卡中当前流量余额平均划分为N份,生成N个流量包;或者When the traffic splitting information includes only the number N of traffic packets, the main service logic module divides the current traffic balance in the parent card into N shares, and generates N traffic packets; or
所述流量分割信息仅包括单个流量包的流量信息时,所述主业务逻辑模块根据所述母卡中当前流量余额以及单个流量包的流量信息计算可发放的流量包的个数N,生成N个流量包;或者When the traffic splitting information includes only the traffic information of a single traffic packet, the primary service logic module calculates the number N of deliverable traffic packets according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generates N. Traffic packets; or
所述流量分割信息包括流量包个数N和单个流量包的流量信息时,所述主业务逻辑模块将所述母卡中当前流量余额按照单个流量包的流量信息划分 为N份,生成N个流量包。When the traffic splitting information includes the traffic packet number N and the traffic information of the single traffic packet, the primary service logic module divides the current traffic balance in the parent card according to the traffic information of the single traffic packet. For N shares, generate N traffic packets.
可选地,上述系统中,所述电商应用模块,还设置为接收其他用户发起的领取所述流量包的指令;Optionally, in the above system, the e-commerce application module is further configured to receive an instruction initiated by another user to receive the traffic packet;
所述主业务逻辑模块,还设置为根据所述指令,将所述流量包与所述其他用户进行绑定处理。The main service logic module is further configured to perform binding processing on the traffic packet with the other user according to the instruction.
可选地,上述系统中,所述电商应用模块,还设置为根据预先设置的流量包有效期,确定存在过期未领的流量包时,将未领的流量包信息通过文件传输协议FTP发送到指定目录;Optionally, in the above system, the e-commerce application module is further configured to: according to the preset validity period of the traffic packet, determine that the traffic packet that is not expired is sent to the unseen traffic packet information through the file transfer protocol FTP. Specify the directory;
所述主业务逻辑模块,还设置为定期到所述指定目录提取流量包返还文件,将过期未领的流量包中的流量进行汇总并返还到母卡上。The main service logic module is further configured to periodically extract the traffic packet return file to the specified directory, and summarize the traffic in the expired unreported traffic packet and return it to the mother card.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
采用本申请技术方案,使得流量动起来,避免了用户流量的浪费,提升了用户感受,从而间接提升了运营商的客户满意度。By adopting the technical solution of the present application, the traffic is moved, the waste of user traffic is avoided, and the user experience is improved, thereby indirectly improving the customer satisfaction of the operator.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例流量分享系统的框架结构图;1 is a structural diagram of a structure of a traffic sharing system according to an embodiment of the present invention;
图2为本发明实施例用户注册流程图;2 is a flowchart of user registration according to an embodiment of the present invention;
图3为本发明实施例购买流量卡流程图;3 is a flowchart of purchasing a traffic card according to an embodiment of the present invention;
图4为本发明实施例发红包(红包扣减指令)流程图;4 is a flowchart of a red envelope (red envelope deduction instruction) according to an embodiment of the present invention;
图5为本发明实施例领红包(红包购买和绑定指令)流程图;FIG. 5 is a flowchart of a red envelope (red envelope purchase and binding instruction) according to an embodiment of the present invention;
图6为本发明实施例红包返还流程图;6 is a flow chart of returning a red envelope according to an embodiment of the present invention;
图7为本发明实施例的流量分享方法的流程图。 FIG. 7 is a flowchart of a method for sharing traffic according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文将结合附图对本发明实施例技术方案作进一步详细说明。需要说明的是,在不冲突的情况下,本申请的实施例和实施例中的特征可以任意相互组合。The technical solutions of the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be combined with each other arbitrarily.
实施例1Example 1
本实施例提供一种移动终端上网流量分享的系统,包括电商应用模块和主业务逻辑模块,其中:The embodiment provides a system for sharing internet traffic of a mobile terminal, including an e-commerce application module and a main service logic module, where:
电商应用模块,设置为按照用户指令确定分享流量的母卡以及流量分割信息,以及将主业务逻辑模块生成的流量包下发给流量分享系统中的用户,其中,流量分割信息包括分割的流量包个数和/或单个流量包的流量信息;The e-commerce application module is configured to determine the mother card and the traffic split information of the shared traffic according to the user instruction, and send the traffic packet generated by the main service logic module to the user in the traffic sharing system, where the traffic split information includes the split traffic. The number of packets and/or the traffic information of a single traffic packet;
主业务逻辑模块,设置为根据流量分割信息生成流量包(也可以称为流量红包),同时从母卡中扣减所有流量包的流量总和,以及将生成的流量包返回给电商应用模块。The main service logic module is configured to generate a traffic packet (also referred to as a traffic red packet) according to the traffic split information, and deduct the traffic sum of all the traffic packets from the mother card, and return the generated traffic packet to the e-commerce application module.
可选方案中,上述系统还可以包括数据通信接口模块,电商应用模块通过该数据通信接口模块与主业务逻辑模块相连,其中:In an optional solution, the system may further include a data communication interface module, where the e-commerce application module is connected to the main service logic module by using the data communication interface module, where:
数据通信接口模块,设置为校验电商应用模块的合法性,包括:获取电商的识别信息(如用户名和密码),将所述获取的电商识别信息与电商应用模块存储的电商识别信息进行比较,如一致,则认为所述电商应用模块合法;The data communication interface module is configured to verify the legality of the e-commerce application module, including: obtaining the identification information of the e-commerce (such as a user name and a password), and storing the obtained e-commerce identification information and the e-commerce stored in the e-commerce application module. The identification information is compared, and if it is consistent, the e-commerce application module is considered to be legal;
主业务逻辑模块,是设置为仅在电商应用模块通过合法性校验时,根据流量分割信息生成流量包。The main service logic module is configured to generate a traffic packet according to the traffic splitting information only when the e-commerce application module passes the legality check.
可选地,主业务逻辑模块是设置为通过如下方式实现根据流量分割信息生成流量包:Optionally, the main service logic module is configured to generate a traffic packet according to the traffic split information by:
流量分割信息仅包括流量包个数N时,主业务逻辑模块将母卡中当前流量余额平均划分为N份,生成N个流量包,所述N大于或等于1;或者When the traffic splitting information includes only the number N of traffic packets, the main service logic module divides the current traffic balance in the mother card into N shares, and generates N traffic packets, where the N is greater than or equal to 1; or
流量分割信息仅包括单个流量包的流量信息时,主业务逻辑模块根据母卡中当前流量余额以及单个流量包的流量信息计算可发放的流量包的个数N,生成N个流量包,所述计算包括:将所述母卡中当前流量余额除以单个流量包的流量信息,将获得的结果取模得到所述可发放的流量包的个数N; 或者When the traffic splitting information includes only the traffic information of the single traffic packet, the primary service logic module calculates the number N of the traffic packets that can be issued according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generates N traffic packets. The calculation includes: dividing the current traffic balance in the mother card by the traffic information of the single traffic packet, and modulating the obtained result to obtain the number N of the distributable traffic packets; or
流量分割信息包括流量包个数N和单个流量包的流量信息时,主业务逻辑模块将母卡中当前流量余额按照单个流量包的流量信息划分为N份,生成N个流量包。When the traffic splitting information includes the traffic packet number N and the traffic information of the single traffic packet, the main service logic module divides the current traffic balance in the parent card into N shares according to the traffic information of the single traffic packet, and generates N traffic packets.
另外,上述电商应用模块,还设置为接收其他用户发起的领取流量包的指令,此时,主业务逻辑模块,还设置为根据该指令,将流量包中的流量添加到领取流量包的用户账户,或者将流量包与用户进行绑定处理。In addition, the e-commerce application module is further configured to receive an instruction initiated by another user to receive a traffic packet. At this time, the main service logic module is further configured to add the traffic in the traffic packet to the user who receives the traffic packet according to the instruction. Account, or bind traffic packets to users.
还有一些方案中,电商应用模块,还设置为根据预先设置的流量包有效期,确定存在过期未领的流量包时,将未领的流量包信息通过文件传输协议FTP发送到指定目录。相应地,主业务逻辑模块,还设置为定期到上述指定目录提取流量包返还文件,将过期未领的流量包中的流量进行汇总并返还到母卡上。In some other schemes, the e-commerce application module is further configured to, according to the preset validity period of the traffic packet, determine that the traffic packet that is not expired is sent to the specified directory through the file transfer protocol FTP. Correspondingly, the main service logic module is further configured to periodically extract the traffic packet return file to the specified directory, and summarize the traffic in the expired traffic packet and return it to the mother card.
下面结合附图介绍上述系统的具体实现。The specific implementation of the above system will be described below with reference to the accompanying drawings.
如图1所示为移动终端上网流量分享系统示意图,其中,任意的移动终端号码均可以注册成为本系统的用户。本系统主要涉及以下几个模块:FIG. 1 is a schematic diagram of a mobile terminal Internet traffic sharing system, wherein any mobile terminal number can be registered as a user of the system. This system mainly involves the following modules:
(第三方)电商应用模块,设置为提供流量卡的注册、购买、绑定等功能,本实施例的移动终端上网流量分享系统本身提供了电商应用模块,以供用户进行注册、购买和绑定等,此外,我们的移动终端上网流量分享系统也提供了和第三方电商应用平台的标准接口规范,任何第三方电商应用均可以通过此接口接入本实施例所述的移动终端上网流量分享系统;The (third-party) e-commerce application module is configured to provide functions such as registration, purchase, and binding of the flow card. The mobile terminal Internet traffic sharing system of the present embodiment provides an e-commerce application module for the user to register, purchase, and Binding, etc. In addition, our mobile terminal Internet traffic sharing system also provides a standard interface specification with a third-party e-commerce application platform, and any third-party e-commerce application can access the mobile terminal described in this embodiment through this interface. Internet traffic sharing system;
数据通信接口模块,设置为接收(第三方)电商应用模块或卡管门户模块发送的请求,校验电商应用模块的合法性;主业务逻辑模块,设置为在电商应用模块通过合法性校验时,提供流量卡的业务逻辑的实现,以及业务存储过程;The data communication interface module is configured to receive a request sent by the (third party) e-commerce application module or the card management portal module, and verify the legality of the e-commerce application module; the main business logic module is set to pass the legality in the e-commerce application module. Provides the implementation of the business logic of the traffic card and the service storage process during verification;
卡管门户模块,设置为负责流量卡的系统数据管理、卡管理(包括创建卡资源、售卡、绑定等)和多种统计;The card management portal module is configured to be responsible for system data management of the flow card, card management (including creating card resources, selling cards, bindings, etc.) and various statistics;
数据存储模块,设置为存储流量卡数据。A data storage module configured to store traffic card data.
上述系统实现移动终端流量分享的过程主要包括注册、购买、发流量包(也可称为流量红包)和领流量红包几个阶段,下面逐一介绍。 The process of realizing the mobile terminal traffic sharing by the above system mainly includes registration, purchase, and sending traffic packets (also referred to as traffic red packets) and the traffic red packets in several stages, which are introduced one by one below.
其中,注册的流程很简单,如图2所示,只涉及用户和(第三方)电商应用。Among them, the registration process is very simple, as shown in Figure 2, only involving users and (third-party) e-commerce applications.
移动终端访问(第三方)电商应用,设置登录密码,发起注册申请,(第三方)电商应用模块记录用户号码和密码,给用户反馈注册成功响应。The mobile terminal accesses the (third party) e-commerce application, sets the login password, initiates the registration application, and the (third party) e-commerce application module records the user number and password, and gives the user feedback to register the successful response.
购买的流程,如图3所示,包括如下操作:The purchase process, as shown in Figure 3, includes the following operations:
步骤A,用户登录(第三方)电商应用模块后,选择卡类型,向电商应用发起购买流量卡的申请;Step A: After the user logs in to the (third party) e-commerce application module, the card type is selected, and an application for purchasing a flow card is initiated to the e-commerce application;
步骤B,(第三方)电商应用模块通过SOAP消息,向数据通信接口模块发起卡购买指令;Step B: The (third party) e-commerce application module initiates a card purchase instruction to the data communication interface module through the SOAP message;
步骤C,数据通信接口模块收到流量卡购买指令后,先校验(第三方)电商模块的合法性,校验通过后调用流量卡主业务逻辑模块购买卡;Step C: After receiving the flow card purchase instruction, the data communication interface module first verifies the legality of the (third party) e-commerce module, and after the verification passes, calls the main business logic module of the flow card to purchase the card;
步骤D,主业务逻辑模块根据数据通信接口模块传过来的卡类型到数据库中随机选取一张符合条件的卡,反馈这张卡的卡号、密码、有效期等信息给数据通信接口模块,并记录买卡信息;Step D: The main business logic module randomly selects a card corresponding to the condition according to the card type transmitted from the data communication interface module, and feeds back the card number, password, expiration date and the like information of the card to the data communication interface module, and records the purchase. Card information;
步骤E,数据通信接口模块将卡号、密码、有效期等信息通过SOAP消息反馈给(第三方)电商应用模块。In step E, the data communication interface module feeds back information such as the card number, password, and expiration date to the (third party) e-commerce application module through the SOAP message.
步骤F,(第三方)电商应用模块再将卡号、密码、有效期等信息展示给用户。In step F, the (third party) e-commerce application module displays the card number, password, expiration date and the like to the user.
发流量红包的流程,如图4所示,包括如下操作:The process of sending traffic red packets, as shown in Figure 4, includes the following operations:
步骤A,用户通过任何(第三方)电商应用模块购买一张新卡或直接用一张老卡做为母卡,其用途是用于制作待分享的流量红包;Step A: The user purchases a new card through any (third party) e-commerce application module or directly uses an old card as a mother card, and the purpose is to create a red envelope for the traffic to be shared;
步骤B,用户通过(第三方)电商应用模块制作流量红包,根据用户指令确定购买的母卡中的流量分割信息,此时(第三方)电商应用模块向数据通信接口模块发送流量红包扣减指令和流量分割信息;Step B: The user creates a traffic red packet through the (third party) e-commerce application module, and determines the traffic split information in the purchased mother card according to the user instruction, and the (third party) e-commerce application module sends the traffic red packet buckle to the data communication interface module. Subtraction and traffic split information;
步骤C,数据通信接口模块收到流量红包扣减指令后,先校验(第三方)电商模块的合法性,校验通过后调用主业务逻辑模块按照流量分割信息生成流量红包; Step C: After receiving the traffic red packet deduction instruction, the data communication interface module first verifies the legality of the (third party) e-commerce module, and after the verification is passed, the main business logic module is called to generate a traffic red packet according to the traffic split information;
步骤D,主业务逻辑模块根据当前母卡中的流量余额和流量分割信息计算可发放的流量红包个数N并生成N个流量红包,同时从母卡中扣减所有流量红包的流量总和,生成话单CDR;Step D: The main service logic module calculates the number N of traffic red packets that can be distributed according to the traffic balance and traffic split information in the current mother card, and generates N traffic red packets, and deducts the traffic sum of all traffic red packets from the mother card to generate CDR
步骤E,数据通信接口模块把结果返回给(第三方)电商应用模块,并记录扣减日志文件;Step E, the data communication interface module returns the result to the (third party) e-commerce application module, and records the deduction log file;
步骤F,流量红包生成后,电商应用模块发放流量红包给任意用户。Step F: After the traffic red packet is generated, the e-commerce application module issues a traffic red packet to any user.
在电商应用模块发流量红包阶段,还包含两种方式:一是用户在(第三方)电商应用模块中直接在移动终端通讯录中选择指定要发送流量红包的对象,然后给数据通信接口模块发送发流量红包的请求;另一种是用户在(第三方)电商应用模块中先给数据通信接口模块发送制作流量红包的请求,然后将制作好的流量红包分享到第三方的APP应用,如微信朋友圈、微信好友、微博等。In the E-commerce application module traffic red envelope phase, there are two ways: First, the user directly selects the object to be sent the traffic red packet in the mobile terminal address book in the (third-party) e-commerce application module, and then gives the data communication interface The module sends a request for sending a traffic red envelope; the other is that the user first sends a request for generating a traffic red packet to the data communication interface module in the (third party) e-commerce application module, and then shares the created traffic red packet to the third-party APP application. Such as WeChat friends circle, WeChat friends, Weibo and so on.
领流量红包的流程,如图5所示,包括如下操作:The process of collecting traffic red packets, as shown in Figure 5, includes the following operations:
步骤A,其它用户获取到流量红包后,可以发起领取,此时(第三方)电商应用模块向数据通信接口模块发送流量红包领取指令;In step A, after the other user obtains the red packet of the traffic, the user may initiate the collection. At this time, the (third party) e-commerce application module sends a traffic red packet receiving instruction to the data communication interface module;
步骤B,数据通信接口模块收到流量红包领取指令后,先校验电商模块的合法性。校验通过后调用主业务逻辑模块进行绑定;Step B: After receiving the traffic red envelope receiving command, the data communication interface module first checks the legality of the e-commerce module. After the verification is passed, the main business logic module is called to perform binding;
步骤C,主业务逻辑模块将流量红包的绑定(即将流量包作为单独的流量卡账户和用户进行绑定,绑定后用户可以通过电商应用模块设置优先使用哪张流量卡上的流量)处理完成后,将处理结果反给数据通信接口模块;Step C: The main service logic module binds the traffic red packet (that is, the traffic packet is bound to the user as a separate traffic card account, and the user can set the traffic on the traffic card to be preferentially used by the e-commerce application module after binding) After the processing is completed, the processing result is reversed to the data communication interface module;
步骤D,数据通信接口模块将主业务逻辑模块反馈的结果通过SOAP消息返回给(第三方)电商应用模块,并记录流量红包绑定日志文件;Step D: The data communication interface module returns the result fed back by the main service logic module to the (third party) e-commerce application module through the SOAP message, and records the traffic red packet binding log file;
步骤E,(第三方)电商应用模块将流量包领取结果展示给用户。In step E, the (third party) e-commerce application module displays the result of the traffic packet collection to the user.
此外,在(第三方)电商应用侧可设置流量红包的有效期,对于过期未领的流量红包,有一个流量红包返还的流程,如附图6所示,主要包括如下操作:In addition, the validity period of the traffic red envelope can be set on the (third party) e-commerce application side. For the expired traffic red envelope, there is a flow red packet return process, as shown in FIG. 6, which mainly includes the following operations:
步骤A,(第三方)电商应用模块将待返还的红包信息通过FTP发送到指定目录;Step A: The (third party) e-commerce application module sends the red envelope information to be returned to the specified directory through FTP;
步骤B,主业务逻辑模块中的定时任务到指定时间去配置的目录取流量 红包返还文件,将流量红包的流量进行汇总并返还到母卡上,并生成处理结果文件;Step B: The scheduled task in the main service logic module goes to the directory to be configured at a specified time to take traffic. The red envelope returns the file, summarizes the traffic of the traffic red envelope and returns it to the mother card, and generates a processing result file;
步骤C,(第三方)电商应用模块可以通过FTP获取和查看红包返还的结果文件。Step C: The (third party) e-commerce application module can obtain and view the result file of the red envelope return through FTP.
实施例2Example 2
如图7所示,本实施例提供一种移动终端上网流量分享的方法,主要包括如下操作:As shown in FIG. 7, the embodiment provides a method for sharing traffic on a mobile terminal, which mainly includes the following operations:
按照用户指令确定分享流量的母卡以及流量分割信息,其中,流量分割信息包括分割的流量包个数和/或单个流量包的流量信息;Determining the parent card of the shared traffic and the traffic splitting information according to the user instruction, where the traffic splitting information includes the number of the divided traffic packets and/or the traffic information of the single traffic packet;
根据流量分割信息生成流量包(下方也称为流量红包),同时从母卡中扣减所有流量包的流量总和;Generating a traffic packet according to the traffic split information (hereinafter also referred to as a traffic red packet), and deducting the traffic sum of all the traffic packets from the mother card;
将生成的流量包下发给用户。The generated traffic packet is delivered to the user.
可选地,根据流量分割信息生成流量包之前,可以先校验所述用户的合法性,仅当用户通过合法性校验后,再根据流量分割信息生成流量包。Optionally, before the traffic packet is generated according to the traffic splitting information, the validity of the user may be verified first. After the user passes the validity check, the traffic packet is generated according to the traffic split information.
可选地,根据流量分割信息生成流量包的过程如下:Optionally, the process of generating a traffic packet according to the traffic split information is as follows:
流量分割信息仅包括流量包个数N时,将母卡中当前流量余额平均划分为N份,生成N个流量包;或者When the traffic splitting information includes only the number N of traffic packets, the current traffic balance in the mother card is equally divided into N shares to generate N traffic packets; or
流量分割信息仅包括单个流量包的流量信息时,根据母卡中当前流量余额以及单个流量包的流量信息计算可发放的流量包的个数N,生成N个流量包;或者When the traffic splitting information includes only the traffic information of a single traffic packet, the number N of the traffic packets that can be issued is calculated according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and N traffic packets are generated; or
流量分割信息包括流量包个数N和单个流量包的流量信息时,将母卡中当前流量余额按照单个流量包的流量信息划分为N份,生成N个流量包。When the traffic split information includes the traffic packet number N and the traffic information of a single traffic packet, the current traffic balance in the parent card is divided into N shares according to the traffic information of the single traffic packet, and N traffic packets are generated.
另外,生成流量包后,其他用户可以发起领取流量包的指令,此时,可以接收该指令,并根据该指令将所述流量包中的流量添加到领取所述流量包的用户账户中,也可以将用户所要领取的流量包与用户进行绑定处理,即将流量包作为单独的流量卡账户和用户号码进行绑定,绑定后用户可以设置优先使用哪张流量卡上的流量。一些方案还提出,为上述流量包预先设置流量 包有效期,这样,当存在过期未领的流量包时,将未领的流量包信息文件传输协议FTP到指定目录,再定期到该指定目录提取流量包返还文件,将过期未领的流量包中的流量进行汇总并返还到母卡上即可。In addition, after generating the traffic packet, other users may initiate an instruction to receive the traffic packet. At this time, the command may be received, and according to the command, the traffic in the traffic packet is added to the user account that receives the traffic packet, and The traffic packet to be collected by the user can be bound to the user, that is, the traffic packet is bound as a separate traffic card account and the user number. After binding, the user can set the traffic on the traffic card to be preferentially used. Some solutions also propose to pre-set traffic for the above traffic packets. The validity period of the package is such that when there is a traffic packet that is not expired, the unclaimed traffic packet information file transfer protocol is FTPed to the specified directory, and then the traffic packet return file is periodically extracted to the specified directory, and the expired unreported traffic packet is included. The traffic is aggregated and returned to the parent card.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. This application is not limited to any specific combination of hardware and software.
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述技术方案使得流量动起来,避免了用户流量的浪费,提升了用户感受,从而间接提升了运营商的客户满意度。 The above technical solution makes the traffic move, avoids the waste of user traffic, improves the user experience, and indirectly improves the operator's customer satisfaction.

Claims (11)

  1. 一种移动终端上网流量分享的方法,包括如下操作:A method for sharing mobile Internet traffic of a mobile terminal includes the following operations:
    按照用户指令确定分享流量的母卡以及流量分割信息,其中,所述流量分割信息包括分割的流量包个数和/或单个流量包的流量信息;Determining, according to a user instruction, a mother card sharing the traffic and the traffic splitting information, where the traffic splitting information includes the number of the divided traffic packets and/or the traffic information of the single traffic packet;
    根据所述流量分割信息生成流量包,同时从所述母卡中扣减所有流量包的流量总和;Generating a traffic packet according to the traffic splitting information, and deducting the traffic sum of all the traffic packets from the mother card;
    将生成的流量包下发给用户。The generated traffic packet is delivered to the user.
  2. 如权利要求1所述的方法,该方法还包括:The method of claim 1 further comprising:
    所述流量分享系统根据所述流量分割信息生成流量包之前,校验所述用户的合法性,仅当所述用户通过合法性校验后,才根据所述流量分割信息生成流量包。Before the traffic sharing system generates the traffic packet according to the traffic splitting information, the validity of the user is verified, and the traffic packet is generated according to the traffic splitting information only after the user passes the validity check.
  3. 如权利要求2所述的方法,其中,所述根据所述流量分割信息生成流量包的过程包括:The method of claim 2, wherein the process of generating a traffic packet according to the traffic splitting information comprises:
    所述流量分割信息仅包括流量包个数N时,将所述母卡中当前流量余额平均划分为N份,生成N个流量包;或者When the traffic splitting information includes only the number N of traffic packets, the current traffic balance in the parent card is equally divided into N shares to generate N traffic packets; or
    所述流量分割信息仅包括单个流量包的流量信息时,根据所述母卡中当前流量余额以及单个流量包的流量信息计算可发放的流量包的个数N,生成N个流量包;或者When the traffic splitting information includes only the traffic information of the single traffic packet, calculate the number N of the traffic packets that can be distributed according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generate N traffic packets; or
    所述流量分割信息包括流量包个数N和单个流量包的流量信息时,将所述母卡中当前流量余额按照单个流量包的流量信息划分为N份,生成N个流量包;When the traffic splitting information includes the traffic packet number N and the traffic information of the single traffic packet, the current traffic balance in the parent card is divided into N shares according to the traffic information of the single traffic packet, and N traffic packets are generated;
    所述N大于或等于1。The N is greater than or equal to 1.
  4. 如权利要求1至3任一项所述的方法,该方法还包括:The method of any one of claims 1 to 3, further comprising:
    接收其他用户发起的领取所述流量包的指令;Receiving an instruction initiated by another user to receive the traffic packet;
    根据所述指令,将所述流量包与所述其他用户进行绑定处理。And according to the instruction, binding the traffic packet to the other user.
  5. 如权利要求4所述的方法,所述方法还包括:The method of claim 4, the method further comprising:
    根据预先设置的流量包有效期,确定存在过期未领的流量包时,将未领 的流量包信息通过文件传输协议FTP发送到指定目录;According to the pre-set traffic packet validity period, it is determined that there is an expired traffic packet. The traffic packet information is sent to the specified directory through the file transfer protocol FTP;
    定期到所述指定目录提取流量包返还文件,将过期未领的流量包中的流量进行汇总并返还到母卡上。Regularly collect the traffic packet return file from the specified directory, and summarize the traffic in the expired traffic packet and return it to the mother card.
  6. 一种移动终端上网流量分享的系统,包括电商应用模块和主业务逻辑模块,其中:A system for sharing mobile Internet traffic of a mobile terminal, comprising an e-commerce application module and a main business logic module, wherein:
    所述电商应用模块,设置为按照用户指令确定分享流量的母卡以及流量分割信息,以及将生成的流量包下发给流量分享系统中的用户,其中,所述流量分割信息包括分割的流量包个数和/或单个流量包的流量信息;The e-commerce application module is configured to determine a parent card for sharing traffic and traffic split information according to a user instruction, and send the generated traffic packet to a user in the traffic sharing system, where the traffic split information includes the split traffic. The number of packets and/or the traffic information of a single traffic packet;
    所述主业务逻辑模块,设置为根据所述流量分割信息生成流量包,同时从所述母卡中扣减所有流量包的流量总和,以及将生成的流量包返回给所述电商应用模块。The main service logic module is configured to generate a traffic packet according to the traffic splitting information, and simultaneously deduct the traffic sum of all the traffic packets from the parent card, and return the generated traffic packet to the e-commerce application module.
  7. 如权利要求6所述的系统,还包括数据通信接口模块,所述电商应用模块通过所述数据通信接口模块与所述主业务逻辑模块相连,其中:The system of claim 6 further comprising a data communication interface module, said e-commerce application module being coupled to said main service logic module by said data communication interface module, wherein:
    所述数据通信接口模块,设置为校验所述电商应用模块的合法性;The data communication interface module is configured to verify validity of the e-commerce application module;
    所述主业务逻辑模块,设置为仅在所述电商应用模块通过合法性校验时,根据所述流量分割信息生成流量包。The main service logic module is configured to generate a traffic packet according to the traffic splitting information only when the e-commerce application module passes the legality check.
  8. 如权利要求7所述的系统,其中,所述主业务逻辑模块是设置为通过如下方式实现根据所述流量分割信息生成流量包:The system of claim 7, wherein the primary service logic module is configured to generate a traffic packet based on the traffic split information by:
    所述流量分割信息仅包括流量包个数N时,所述主业务逻辑模块将所述母卡中当前流量余额平均划分为N份,生成N个流量包;或者When the traffic splitting information includes only the number N of traffic packets, the main service logic module divides the current traffic balance in the parent card into N shares, and generates N traffic packets; or
    所述流量分割信息仅包括单个流量包的流量信息时,所述主业务逻辑模块根据所述母卡中当前流量余额以及单个流量包的流量信息计算可发放的流量包的个数N,生成N个流量包;或者When the traffic splitting information includes only the traffic information of a single traffic packet, the primary service logic module calculates the number N of deliverable traffic packets according to the current traffic balance in the parent card and the traffic information of the single traffic packet, and generates N. Traffic packets; or
    所述流量分割信息包括流量包个数N和单个流量包的流量信息时,所述主业务逻辑模块将所述母卡中当前流量余额按照单个流量包的流量信息划分为N份,生成N个流量包;When the traffic splitting information includes the traffic packet number N and the traffic information of the single traffic packet, the primary service logic module divides the current traffic balance in the parent card into N shares according to the traffic information of the single traffic packet, and generates N Traffic packet
    所述N大于或等于1。The N is greater than or equal to 1.
  9. 如权利要求6至8任一项所述的系统, A system according to any one of claims 6 to 8,
    所述电商应用模块,还设置为接收其他用户发起的领取所述流量包的指令;The e-commerce application module is further configured to receive an instruction initiated by another user to receive the traffic packet;
    所述主业务逻辑模块,还设置为根据所述指令,将所述流量包与所述其他用户进行绑定处理。The main service logic module is further configured to perform binding processing on the traffic packet with the other user according to the instruction.
  10. 如权利要求9所述的系统,The system of claim 9
    所述电商应用模块,还设置为根据预先设置的流量包有效期,确定存在过期未领的流量包时,将未领的流量包信息通过文件传输协议FTP发送到指定目录;The e-commerce application module is further configured to: according to the preset validity period of the traffic packet, determine that the traffic packet that is not expired is sent to the specified directory through the file transfer protocol FTP;
    所述主业务逻辑模块,还设置为定期到所述指定目录提取流量包返还文件,将过期未领的流量包中的流量进行汇总并返还到母卡上。The main service logic module is further configured to periodically extract the traffic packet return file to the specified directory, and summarize the traffic in the expired unreported traffic packet and return it to the mother card.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1~5中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 5.
PCT/CN2016/074150 2015-04-23 2016-02-19 Method and system for sharing data plan usage quota of mobile terminal WO2016169327A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510196815.6 2015-04-23
CN201510196815.6A CN106162755A (en) 2015-04-23 2015-04-23 A kind of method and system shared for mobile terminal Internet access flow

Publications (1)

Publication Number Publication Date
WO2016169327A1 true WO2016169327A1 (en) 2016-10-27

Family

ID=57142866

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074150 WO2016169327A1 (en) 2015-04-23 2016-02-19 Method and system for sharing data plan usage quota of mobile terminal

Country Status (2)

Country Link
CN (1) CN106162755A (en)
WO (1) WO2016169327A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792582A (en) * 2016-12-27 2017-05-31 甘肃万维信息技术有限责任公司 A kind of customer flow representing method based on wechat
CN110876123A (en) * 2018-08-30 2020-03-10 北京三星通信技术研究有限公司 Flow acquiring, providing, sharing, calibrating and transferring method and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090017789A1 (en) * 2007-01-19 2009-01-15 Taproot Systems, Inc. Point of presence on a mobile network
CN103096384A (en) * 2012-12-17 2013-05-08 东莞宇龙通信科技有限公司 Method limiting slave internet traffic and system thereof
CN103596121A (en) * 2013-10-30 2014-02-19 北京网河时代科技有限公司 Flow sharing method for wireless mobile networks
CN104053140A (en) * 2014-06-11 2014-09-17 中兴通讯股份有限公司 Service providing method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090017789A1 (en) * 2007-01-19 2009-01-15 Taproot Systems, Inc. Point of presence on a mobile network
CN103096384A (en) * 2012-12-17 2013-05-08 东莞宇龙通信科技有限公司 Method limiting slave internet traffic and system thereof
CN103596121A (en) * 2013-10-30 2014-02-19 北京网河时代科技有限公司 Flow sharing method for wireless mobile networks
CN104053140A (en) * 2014-06-11 2014-09-17 中兴通讯股份有限公司 Service providing method, device and system

Also Published As

Publication number Publication date
CN106162755A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US10387856B2 (en) Online payment method, system, and apparatus
WO2016188377A1 (en) Method for implementing traffic control, server and terminal
CN110189013A (en) A kind of determination method, apparatus, equipment and the medium of operation flow
TW201915894A (en) Method for realizing an installment business based on credit
CN110830735A (en) Video generation method and device, computer equipment and storage medium
CN109039993B (en) Live broadcast application configuration method and device and storage medium
TW201947481A (en) Virtual card generation method, user terminal and token server
WO2014180406A1 (en) Payment processing method and device
CN108900469A (en) Connect progress page methods of exhibiting, terminal device and computer-readable medium
CN101478416A (en) Service processing method, synthetic service platform and service processing system
EP3304808A1 (en) Systems and methods for publicly verifiable authorization
CN106921708B (en) Group management method and device
CN109461026A (en) Card certificate distribution method, device, computer equipment and storage medium
WO2016169327A1 (en) Method and system for sharing data plan usage quota of mobile terminal
CN109819123B (en) Method and device for realizing value-added service and industry application authentication center
CN110841297B (en) Data processing method and device and machine readable medium
CN109818759B (en) Data display-based traffic sharing method and device and computer equipment
CN105787791B (en) Service request processing method and device
CN110351345A (en) Method and device for service request processing
US20100076868A1 (en) Method and system for realizing a video shop
CN113132928B (en) Charging method and device for video short message service
WO2017024958A1 (en) Business object providing method, terminal, and related servers
CN110443684B (en) Combined product snapshot type price information processing method and device
KR20160076801A (en) System, method and computer program for providing video conference service through rental of virtual meeting room
JP2016208131A (en) Tie-up service providing method

Legal Events

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

Ref document number: 16782475

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16782475

Country of ref document: EP

Kind code of ref document: A1