CN107707369A - The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing - Google Patents

The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing Download PDF

Info

Publication number
CN107707369A
CN107707369A CN201710924337.5A CN201710924337A CN107707369A CN 107707369 A CN107707369 A CN 107707369A CN 201710924337 A CN201710924337 A CN 201710924337A CN 107707369 A CN107707369 A CN 107707369A
Authority
CN
China
Prior art keywords
flow
data
orientation
flows
set meal
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.)
Pending
Application number
CN201710924337.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710924337.5A priority Critical patent/CN107707369A/en
Publication of CN107707369A publication Critical patent/CN107707369A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/141Indication of costs
    • H04L12/1421Indication of expected costs
    • 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/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1464Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network using a card, such as credit card, prepay card or SIM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Abstract

The embodiment of the present application provides a kind of method, apparatus, computer equipment and the computer-readable recording medium of flow order management, and methods described includes:Orientation flow package data are obtained, and obtain the orientation data on flows that terminal has used in itself, the orientation flow is the flow that specified application uses;According to the orientation flow package data and the orientation data on flows used, judge whether the residual flow of the orientation flow package data is less than or equal to predetermined threshold value;If the residual flow is less than or equal to the predetermined threshold value, according to preset rules output directional flow order.The embodiment of the present application passes through when orientation flow will use, timely prompting user is oriented traffic management, avoid does not have the problem of mobile network can not be used during flow using virtual card, improves the service efficiency of orientation flow, avoids causing the system resource waste of mobile terminal.

Description

The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing
Technical field
The application is related to mobile terminal application field, more particularly to a kind of method, apparatus of flow order management, calculates Machine equipment and computer-readable recording medium.
Background technology
With the development that mobile terminal is applied, there are virtual SIM card (Subscriber Identification Module, subscriber identification card), so-called virtual SIM card, traditional entity SIM is different from, referred to without real card, other work( Can be similar with common SIM card, the function of entity SIM card is realized with virtual functions in the terminal.
User uses virtual SIM card, when virtual card set meal flow will be finished, when being stopped in an area or country Between it is shorter, such as one day or two days, if using a big flow set meal, cause the waste of set meal data on flows;If one Individual country or area also need to treat a period of time, such as seven days, if having used a low discharge set meal, needed in mobile terminal Frequently operated the waste for the system resource that mobile terminal will be caused to obtain the access right of flow package.
The content of the invention
The embodiment of the present application provides a kind of method, apparatus of flow order management, computer equipment and computer-readable deposited Storage media, it is possible to achieve accurate flow order management, avoid causing the waste of mobile terminal resource.
A kind of method of flow order management, methods described include:
Orientation flow package data are obtained, and obtain the orientation data on flows that terminal has used in itself, the oriented flow Measure the flow used for specified application;
According to the orientation flow package data and the orientation data on flows used, the orientation flow is judged Whether the residual flow of set meal data is less than or equal to predetermined threshold value;
If the residual flow is less than or equal to the predetermined threshold value, according to preset rules output directional flow order.
A kind of device of flow order management, described device include:
Acquisition module, flow package data are oriented for obtaining, and obtain the orientation flow number that terminal has used in itself According to the orientation flow is the flow that specified application uses;
Judge module, for according to the orientation flow package data and the orientation data on flows used, sentencing Whether the residual flow of the disconnected orientation flow package data is less than or equal to predetermined threshold value;
Output module, if being less than or equal to the predetermined threshold value for the residual flow, exported according to preset rules Orient flow order.
A kind of computer equipment, including memory and processor, computer program, the meter are stored in the memory When calculation machine program is by the computing device so that the step of method described in the computing device.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor The step of described method is realized during row.
The method, apparatus of flow order management, computer equipment and computer-readable recording medium in the embodiment of the present application, By being counted to the use for orienting flow, when orientation flow will use, timely user is prompted to enter by preset rules The relatively accurate management of row orientation flow, avoid not using caused by mobile network when not quantifying flow using virtual card and ask Topic, the service efficiency of orientation flow is improved again, avoid causing the system resource waste of mobile terminal.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the applied environment figure of flow order management method in one embodiment;
Fig. 2 is the part Organization Chart of terminal in one embodiment;
Fig. 3 is Ge Gemo under the set meal purchase carried out in one embodiment to virtual SIM card, the scene for enabling and failing Interaction between block;
Fig. 4 is the internal structure schematic diagram of server in one embodiment;
Fig. 5 is the flow chart of the method for flow order management in one embodiment;
Fig. 6 is the flow chart of the method for flow order management in a specific embodiment;
Fig. 7 is the program function module map of the device of flow order management in one embodiment;
Fig. 8 is the block diagram of the part-structure of the mobile phone related to the computer equipment of the embodiment of the present application offer.
Embodiment
In order that the object, technical solution and advantage of the application are more clearly understood, it is right below in conjunction with drawings and Examples The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, and It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used for distinguishing first element and another element.Citing comes Say, in the case where not departing from scope of the present application, the first client can be referred to as the second client, and similarly, can incite somebody to action Second client is referred to as the first client.First client and the second client both clients, but it is not same visitor Family end.
Fig. 1 is the applied environment figure of flow order management method in one embodiment.As shown in figure 1, the application environment bag Include server 110 and terminal 120.Server 110 is the service that VNO is used to provide network traffics to terminal 120 Device, can be Cloud Server.Server 110 can provide Virtual User identification module (Subscriber to terminal 120 Identity Module, SIM) card data and the service of network service is realized using the virtual SIM card.Virtual SIM card refers to There is no physical SIM card entity carrier, virtual SIM card.Virtual SIM card application program is may be provided with terminal 110 (Application, APP) 121, virtual SIM card operating system 122 and virtual SIM card adaptation layer 123.The virtual SIM card APP121, virtual SIM card operating system 122 and virtual SIM card adaptation layer 123 may be disposed at the application in terminal 120 Manage in device (Application Processor, AP).The server 110 can be by virtual SIM card APP 121, to virtual SIM Card operation system 122 sends virtual SIM card data;Virtual SIM card operating system 122 can by virtual SIM card adaptation layer 123, The radio-frequency communication control software in BBP (Baseband Processor, BP) is realized and is arranged on to be communicated, with Realize and carry out network service using virtual SIM card.
Wherein, server 110 can be supplied to the relevant interfaces of virtual SIM card APP 121 of terminal 120, pass through the interface Realize the communication between terminal 120.The interface may include user and equipment control, set meal and order management, SIM resources plus The interfaces such as close transmission.Server 110 can be with REST ful application programming interfaces (Application Programming Interface, API) mode to virtual SIM card APP121 provide relevant interface.That is realized carries out net using virtual SIM card The content of network communication includes but is not limited to realize the interactive maintenance of virtual SIM card data, the dynamic renewal of state and flow Statistics and speed limit etc., for example the storage that can realize to virtual SIM card data is deleted and virtual SIM card enables closing etc..
Fig. 2 is the part Organization Chart of terminal in one embodiment, and the module included in the Organization Chart is and virtual SIM card phase The module of pass.As shown in Fig. 2 virtual SIM card operating system, virtual SIM card adaptation layer, void are may be provided with the application layer of terminal Intend SIM card APP and phone directory/information module.Ccf layer (Framework layers) may be provided with Telephony interface layers and Radio interface layer (Radio Interface Layer, RIL) java layers.Modem (Modem module) can be by including base One module of the compositions such as provided with processor, radio frequency and other peripheral chips, it is GSM/GPRS Modem modules.Wherein, Telephony interface layers are used to provide general interface, and virtual SIM card operating system passes through Telephony interface layers and Modem Module carries out Socket interactions, can be achieved to determine whether virtual SIM card, the groove position of virtual SIM card etc..Virtual SIM card Operating system is interacted by virtual SIM card adaptation layer with switching to the Modem module progress Socket of virtual SIM card passage, can Realize the activation to virtual SIM card, close, and the function such as network communicating function and traffic monitoring is carried out using virtual SIM card. It should be understood that the structure shown in Fig. 2, only the part of module related to application scheme, is not formed to the application The restriction for the computer equipment that scheme is applied thereon, specific computer equipment can include than shown in figure more or more Few module, either combine certain module or there is different module arrangements.For example double card pipe can be also set on ccf layer Module is managed, the double card management module can be communicated with Telephony interface layers.
In one embodiment, terminal can provide a user the management operation circle of virtual SIM card by virtual SIM card APP Face, and detect act on associative operation in the management operation interface when, produce corresponding virtual SIM card process instruction, and The process instruction is sent to virtual SIM card operating system.The system that the virtual SIM card operating system can simulate true SIM card Logic, realize agreement and file system for carrying out the related specifications needed for network service.Virtual SIM card operating system can The process instruction from virtual SIM card App is received, is sent and the process instruction pair to Modem module through virtual SIM card adaptation layer The message answered, instruction Modem module carries out corresponding processing to virtual SIM card basic data, and can receive Modem module and make Response message, common realize carry out network communicating function using virtual SIM card.Wherein, the agreement of above-mentioned related specifications can Including International Organization for standardization (International Organization for Standardization, ISO) 7816 with And 3 generation collaborative project (3rd Generation Partnership Project, 3GPP) on Universal Integrated Circuit Card (Universal Integrated Circuit Card, UICC) and Universal Subscriber Identity identification module (Universal Subscriber Identity Module, USIM) etc. specification agreement.
In one embodiment, weights corresponding to being set in advance to virtual SIM card adaptation layer so that can be by virtual SIM card adaptation layer is communicated with RIL layers.For example virtual SIM card adaptation layer can be set with phone process same levels Authority.
In one embodiment, as shown in Figure 3, there is provided a kind of timing diagram, the timing diagram contains to be sticked into virtual SIM Under capable set meal purchase, the scene for enabling and failing, the interaction between modules.With reference to shown in figure 3, wherein, set meal The process of purchase includes step 301~306;The process of set meal activation includes step 311~316;The process of set meal failure includes Step 321~326.
Step 301, terminal sends virtual SIM card purchase request by virtual SIM card APP to server.
In the present embodiment, terminal can show that virtual SIM card buys interface by virtual SIM card APP to user, and detect work Purchase operation on the interface, according to the purchase operation triggering purchase instruction detected, virtual SIM card is sent to server Purchase request.Wherein, the virtual push button of corresponding purchase operation can be provided on the purchase interface, received to the virtual push button Clicking operation when, can trigger purchase instruction, or can detect it is default in the purchase instruction corresponding to voice messaging or During person's movable information, purchase instruction is triggered.For example the voice messaging that includes " purchase virtual card " can be being detected, or it is right When terminal rock etc. up and down predetermined movement information, purchase instruction can trigger.
In one embodiment, terminal can be connect by the corresponding communication between default virtual SIM card APP and server Mouthful, send virtual SIM card purchase request to server.Wherein, identified in purchase request comprising user.The user, which identifies, to be used The identity of user is corresponded in unique mark, can be made up of the numeral of presetting digit capacity, letter or other characters.
Step 302, server is bought according to the virtual SIM card of reception and asked, and virtual SIM card set meal corresponding to acquisition is believed Breath.
In the present embodiment, server can be the server for providing the terminal with network traffics, and server can be according to the purchase Request is bought, obtains one or more virtual SIM card package informations to match with purchase request.In one embodiment, should The positional information of terminal can be also included in purchase request, server can obtain one or more void to match with the positional information Intend SIM card package information.Wherein, comprising corresponding flow total amount, effective time and price, its is medium in every kind of package information One or more field informations.Flow total amount represents surfing flow total amount workable for can corresponding to set meal, for example is surfed the Net for 10GB Flow.Effective time can include the effective time of the set meal, for example be 24 hours, 3 days or 7 days etc..Price indication purchase is corresponding The cost information paid needed for set meal.
Step 303, server sends the virtual SIM card package information to terminal.
In the present embodiment, server can send corresponding with virtual SIM card purchase request with request matching to terminal Virtual SIM card package information.In one embodiment, multiple virtual SIM card package informations can be transmitted, for selection by the user.
Step 304, terminal receives the package information by virtual SIM card APP, and sends set meal selection to server and refer to Order.
In the present embodiment, terminal can receive the package information by virtual SIM card APP, and be shown.Terminal can pass through The selection operation that virtual SIM card APP detectings are acted on package information displaying interface, according to the selection operation detected, it is determined that The corresponding set meal chosen, generates the set meal selection instruction to the set meal, the set meal selection instruction is sent to server.Wherein, The set meal of selection may include one or more.
Step 305, server receives the set meal selection instruction, and set meal corresponding with the set meal selection instruction is sent to terminal Data.
In the present embodiment, server can the set meal selection instruction that sends of receiving terminal, identify that the set meal selection instruction is corresponding Package information.Wherein, the set meal mark for the package information chosen can be included in set meal selection instruction, server can determine that the set Package information corresponding to meal mark, and obtain set meal data corresponding to the package information.Set meal identifies a kind of for unique mark The package information of set meal.Master data and data on flows of the set meal packet containing virtual SIM card.The master data includes virtual The operator's informaiton of SIM card, network parameter information, virtual SIM card mark etc. are used for the necessity for realizing virtual SIM card network service Data.Data on flows includes the information such as size and the effective time of corresponding network service utilizable flow.
Step 306, terminal receives the set meal data by virtual SIM card APP, and passes through virtual SIM card operating system pair Set meal data are stored.
In the present embodiment, set meal data that terminal can be sent by virtual SIM card APP the reception servers, and by the set meal Data forwarding is to virtual SIM card operating system.The set meal data that virtual SIM card operating system will can receive, pass through virtual SIM Card adaptation layer is sent to the Modem of terminal, and indicates that Modem stores to set meal data.
Step 311, terminal obtains set meal activation instruction by virtual SIM card APP.
In the present embodiment, terminal can show that set meal activates interface by virtual SIM card APP, and can pass through virtual SIM card The activation manipulation that APP detectings are acted on package information displaying interface, according to the activation manipulation detected, it is determined that corresponding to activation Set meal, the set meal activation instruction to the set meal is generated, the set meal activation instruction is sent to server.
Step 312, set meal activation instruction is sent to virtual SIM card operating system by virtual SIM card APP.
In the present embodiment, virtual SIM card APP is by default communication mode between virtual SIM card operating system, to this Virtual SIM card operating system sends set meal activation instruction, and the set meal mark of corresponding set meal to be activated is included in the set meal activation instruction Know so that virtual SIM card operating system can identify according to the set meal and user identifies, and determine set meal to be activated.
Step 313, terminal carries out set meal activation processing by virtual SIM card operating system.
Virtual SIM card operating system can forward set meal activation to refer to by above-mentioned Telephony interface layers to Modem Order, Modem is according to the set meal activation instruction received, set meal data corresponding to extraction, and corresponding set meal data are entered into line activating Processing.
Step 314, activation result is fed back to virtual SIM card APP by virtual SIM card operating system.
Virtual SIM card operating system can obtain the result that Modem enters line activating processing, and by the result of acquisition Send to virtual SIM card APP, and indicate that virtual SIM card APP further activates result to server feedback.Virtual SIM card APP can show activation result on terminal interface, so that user consults.Activation result may include to activate successfully with it is sharp The result of failure living.
Step 315, terminal sends activation to server by virtual SIM card APP and uses notice.
In the present embodiment, virtual SIM card APP can be sent out the activation result got by above-mentioned default interface Server is delivered to, when the activation result for when activating successfully, the terminal is further by virtual SIM card APP, to server Activation is sent using notice, the notice is used to indicate that server starts to provide the clothes for carrying out network service using the virtual SIM card Business.
Step 316, server receives the activation using notice, and the response message for starting set meal monitoring is fed back to terminal.
In the present embodiment, server starts the use to the set meal data of the activation after activation is received using notice Service, and can be according to certain frequency monitoring to the set meal data use state, with provide entered using the correspondence set meal data The service of row network service, and the response message of the APP feedback set meal monitoring to terminal.So that user would know that server with into Work(opens network communication services.
Step 321, terminal obtains set meal failure instruction by virtual SIM card APP.
In the present embodiment, virtual SIM card APP can call the timer that terminal inner is set to count making for the set meal data With the time, or current time can be obtained, according to the usage time or current obtain the time and judge that the set meal data have been lost It is automatic to trigger set meal failure instruction during effect.Or terminal can also show set meal administration interface by virtual SIM card APP, and can lead to The expiration operation that virtual SIM card APP detectings are acted on package information displaying interface is crossed, according to the expiration operation detected, really The fixed set meal for corresponding to failure, instruction of being failed to the set meal of the set meal is generated, the set meal, which is failed, to instruct sends to server.
Step 322, terminal sends set meal failure notification by virtual SIM card APP to server.
In the present embodiment, virtual SIM card APP can send set meal failure after set meal data failure is detected to server Notice, the notice are used to indicate that server carries out the confirmation detection whether related set meal fails.Wherein, set meal is carried in the notice Mark.
Step 323, server receives the set meal failure notification, and carries out set meal crash handling.
In the present embodiment, server can detect whether corresponding set meal fails according to the set meal failure notification received, if really Recognize failure, then can carry out set meal crash handling, terminate the network communication services of the correspondence set meal data.
Step 324, confirmation of the server to terminal feedback set meal failure.
Step 325, terminal receives the confirmation by virtual SIM card APP, and is sent to virtual SIM card operating system Set meal crash handling instructs.
Terminal the crash handling instruction of generation set meal, the processing is referred to after the confirmation that set meal has failed is received Order is sent to virtual SIM card operating system, and set meal mark is carried in the instruction.
Step 326, terminal virtual SIM card operating system carries out set meal crash handling.
In the present embodiment, the virtual SIM card operating system further can forward set meal crash handling instruction to Modem, with Set meal data corresponding to Modem deletions are indicated, or terminates and carries out virtual SIM card communication using the set meal data, and can also be entered One step recovers the proper communication for the entity SIM card being involved in terminal.
Fig. 4 is the internal structure schematic diagram of server in one embodiment.As shown in figure 4, the server is including passing through Processor, non-volatile memory medium, built-in storage and the network interface of bus of uniting connection.Wherein, the processor is used to provide Calculating and control ability, support the operation of whole computer equipment.Memory is used for data storage, program etc..Memory can wrap Include the non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM), or random storage Memory body (Random-Access-Memory, RAM) etc..For example, in one embodiment, memory includes non-volatile memories Medium and built-in storage.Non-volatile memory medium is stored with operating system and is stored with for realization and the embodiment of the present application The related data of the flow order management method suitable for computer equipment of middle offer, for example can be stored with and computer equipment On the interface data that is communicated of virtual SIM card APP, and related virtual SIM card information etc..Built-in storage is non-volatile Property storage medium in operating system and provide cache suitable for the method for the flow order management of computer equipment Running environment.Network interface can be Ethernet card or wireless network card etc., for being communicated with the computer equipment of outside.Clothes Business device can with independent server either multiple server groups into server cluster realize.Those skilled in the art can To understand, the block diagram of the structure, the only part-structure related to application scheme that are shown in Fig. 4, do not form to this Shen Please the restriction of server that is applied thereon of scheme, specific server can include than more or less portions shown in figure Part, either combine some parts or arranged with different parts.
In one embodiment, as shown in figure 5, Fig. 5 is the flow chart of the method for flow order management in one embodiment, Methods described includes:
Step 500, orientation flow package data are obtained, and obtain the orientation data on flows that terminal has used in itself, institute It is the flow that specified application uses to state orientation flow.
Specifically, terminal obtains the orientation flow package data of user's purchase from server end, and stream is oriented in user When measuring set meal purchase, the orientation flow package data storage that server buys user is in server database.Meanwhile terminal Obtain the orientation data on flows used that counts of terminal in itself, the orientation data on flows for specify using orientation Flow, the orientation flow is the flow for specifying application to use.Further, terminal system reads mould by flow Block, the flow information by process statistics is read from the proc files of kernel, and be stored in the NetworkStats (networks of system Statistics) in return.Wherein, the proc file system is a kind of file system of no storage, when reading file therein, in it Hold dynamic generation, when written document, the function of writing associated by file is called.The byte that each proc files associate is specific Read/write function, thus it provides another and kernel communication mechanism:Core component can by this document system to User's space provides interface to provide Query Information behavior, thus is a kind of important special file system.
Step 520, according to the orientation flow package data and orientation data on flows used, described in judgement Whether the residual flow of orientation flow package data is less than or equal to predetermined threshold value.
Specifically, terminal judges according to the orientation flow package data and the orientation data on flows used The service condition of the orientation flow package, when the residual flow of the orientation flow package data is less than or equal to default threshold During value, the service condition of the orientation flow package is prompted, and prompts client to be bought, to avoid because orienting flow Set meal is finished, and the mobile network for causing virtual card closes, and influences user's use.Such as the orientation flow package of user's purchase Data are 1G, if user is used for 910M using orientation flow, and the orientation flow package data set is surplus The predetermined threshold value of residual current amount is 100M, shows the orientation flow package service condition of user in prompting range.
If step 540, the residual flow are less than or equal to the predetermined threshold value, according to preset rules output directional stream Measure order.
Specifically, if terminal judges that the residual flow of the orientation flow package data is less than or equal to the default threshold Value, according to preset rules output directional flow order, the orientation flow order is used to prompt user to be oriented traffic management, Such as the prompting according to the predetermined suggestion content of prompting mode set in advance.Further, it is oriented flow The prompting of order, the content of the prompting include the orientation flow package and service condition bought, prompt user to be determined Orientation flow etc. is bought using setting, or recommended user to flow, to avoid user from being finished shadow because of the orientation flow package Ring the use of virtual card mobile network.
In one embodiment, it is described to obtain orientation flow package data, and obtain the orientation that terminal has used in itself The step of data on flows, includes:
Orientation flow package data are obtained from server end, and is obtained and used in itself from the terminal with predetermined period Orientation data on flows.
Specifically, terminal is obtained in itself after server obtains the orientation flow package data with predetermined period from terminal The orientation data on flows used is taken, such as with 5 minutes, 10 minutes or 30 minutes constant durations, by acquisition The orientation data on flows and the orientation flow nest meal data used is compared, and judges the institute used State the data on flows whether orientation data on flows is less than or equal to the orientation flow nest meal.
In one embodiment, the step of output directional flow order according to preset rules includes:
According to the first predetermined period interior orientation data on flows use value, the first predetermined period interior orientation flow number is obtained According to using average value, average value is used according to the orientation data on flows, output uses average comprising the orientation data on flows The first of value recommends set meal mark.
Specifically, according to the first predetermined period interior orientation data on flows use value, it is default to obtain first predetermined period Average value is used to data on flows, average value is used according to the orientation data on flows, output includes the orientation data on flows Set meal is recommended to identify using the first of average value, the first recommendation set meal identifies the set meal number for a kind of set meal of unique mark According to basic data and data on flows of the set meal packet containing virtual SIM card, that is, output include the orientation flow number According to the purchase option using average value.Such as used in the preset time period such as terminal counting user 3 days or 5 days it is described fixed Data on flows use value is measured, user is obtained and uses average value nearest 3 days or 5 days interior orientation datas on flows, according to described fixed Average value is used to data on flows, exports the purchase option that the orientation data on flows uses average value.For example obtain described Orient data on flows and show user in 3 days or 5 days using average value, the average flow for using 200M daily, then with daily 200M usage amount is recommended to user, by exporting an option data for including selection purchase number of days, allows user according to reality The orientation flow of several days is bought in demand selection, for example user also needs to treat in locality 3 days, according to averagely daily 200M use Amount, then 600M usage amount is bought, it generally just disclosure satisfy that demand.
In one embodiment, the step of output directional flow order according to preset rules includes:
According to the second predetermined period interior orientation data on flows use value, output is more than the orientation comprising orientation data on flows The second of data on flows use value recommends set meal mark.
Specifically, it is more than according to the second predetermined period interior orientation data on flows use value, output comprising orientation data on flows The second of the orientation data on flows use value recommends set meal mark, and the second recommendation set meal identifies a kind of for unique mark The set meal data of set meal, basic data and data on flows of the set meal packet containing virtual SIM card.In order to avoid terminal is frequent Client is prompted to carry out the orientation traffic management, the orientation data on flows in the second predetermined period uses terminal according to user Situation, output are more than the set meal data of the orientation data on flows use value comprising orientation data on flows, recommend to be more than to user The set meal of the orientation data on flows use value, such as user have used 600M flows in 5 days, then recommend to be more than to user The set meal of 600M flows, the orientation flow of user is avoided not enough to be prompted using needs.
In one embodiment, the output is more than the of the orientation data on flows use value comprising orientation data on flows The step of two recommendation set meal marks, includes:
Output recommends set meal mark, the orientation comprising orientation data on flows is more than the orientation flow use value second The value of data on flows is included in the predetermined sequence that sorts in order, and the value of the orientation data on flows be in the sequence with The orientation immediate value of data on flows use value.
Specifically, such as, in one sequence, the data traffic that the set meal that can recommend mark includes be respectively 500M, 550M, 650M, 700M and 800M, terminal have used 590M flow according to user in 5 days, then set meal of the output more than 590M Mark data, in above-mentioned sequence, identified again with the 590 immediate set meals for comprising 650M flows more than 590, then output bag The set meal mark of the flow containing 650M, recommend the set meal of 650M flows to user;Equally, if user has used 660M in 5 days Flow, then output include 700M set meal mark data, the set meal for recommending to include 700M to user, avoids recommendation set meal amount mistake Big set meal, cause the waste of set meal.
In one embodiment, the recommendation set meal mark also includes package price data and buying pattern data.
Specifically, the content in the set meal mark data prompted the user with of terminal output includes the orientation flow number of set meal According to being how many, price is how many, buying pattern, for example provides purchase link or provide purchase button etc..
In one embodiment, the step of output directional flow order according to preset rules includes:
At the edge of the display screen of the terminal, according to preset rules output directional flow order.
Specifically, when terminal detect user the orientation flow will use finish when, except being carried on APP Show outside information, the order of orientation flow at the edge of the display screen of the terminal, can also be prompted according to preset rules, so as to User is allowed to receive the information of prompting in a manner of more timely.
Further, the terminal display screen taskbar, according to preset rules output directional flow order, Exactly when user's using terminal is operated, orientation described in the position indicating of the top taskbar of the display screen of the terminal Flow order.
The method that the flow order management is now explained with a specific embodiment, referring to Fig. 6, Fig. 6 is a tool The flow chart of the method for flow order management, comprises the following steps in body embodiment:
Step 600, the virtual card start-up of terminal use.
Specifically, first, terminal receives the virtual card orientation that user A have purchased B ground by virtual card APP from server Flow package C, the orientation flow package C include 500M data traffics, the B ground that server buys user A it is virtual locking To flow package C purchaser record data storage in the database of server, the purchaser record data include virtual card SIM Mark, set meal mark and the data such as set meal possession, time buying, Payment Amount.
Orientation flow is the flow that uses of specified application, for example, specify video APP, novel APP, music APP or Person's news APP, the specified application is set by server end and terminal system is voluntarily set, and user is not provided with authority.Meanwhile Terminal system is set when user's residual flow is equal to or less than 100M, and terminal is oriented flow prompting.
When user A with reaching B, terminal on the premise of user A activation virtual cards are obtained, terminal virtual card access B ground Mobile network, the mobile network is by the Mobile Network Operator cooperated with providing virtual card orientation flow package C service provider There is provided, begin to use the C flow packages.
Step 610, terminal are oriented traffic statistics.
Specifically, terminal obtains orientation flow package data, and obtains the oriented flow used that terminal counts in itself Measure data.Terminal obtains the data on flows 500M for orienting flow package C and including from server, will orient flow package C 500M Data on flows be stored in the database of terminal, meanwhile, start to count the service condition that flow is oriented in terminal, with default week Phase, for example, 5 minutes, the constant duration of 1 hour or 24 hours obtains from traffic statistics storehouse can use oriented flow The situation about specifying using orientation flow of amount.
Whether the residual flow that step 620, terminal judge to orient flow is less than or equal to predetermined threshold value.
Specifically, terminal judges according to the orientation flow package data and the orientation data on flows used Whether the residual flow of the orientation flow package data is less than or equal to predetermined threshold value.When the orientation flow package C's When orienting flow residue 100M, into step 630, otherwise return to step 610, continue to obtain making for orientation flow with predetermined period Use situation.
Step 630, terminal generation orientation flow order.
Specifically, if terminal judges that the residual flow of the orientation flow package C is less than or equal to 100M, that is, When the orientation flow that terminal acquisition counts on uses more than 400M, terminal generates orientation flow order according to preset rules, raw Into orientation flow order in comprising purchase link or buying pattern, in addition to the orientation data on flows that can buy and correspondingly Price, it is described orientation data on flows the way of recommendation can select following one kind:
(1) if orientation flow package C 400M flows are that user A was finished in 4 days, then user can be counted to fixed It is averagely daily 50M to the service condition of flow, then when set meal mark is recommended in terminal output, purchase of the output comprising 50M/ parts is selected Item data, and the service condition for prompting user to orient flow is daily 50M, allows user according to corresponding to being actually needed selection purchase Orient flow, for example user also needs to treat 3 days in B, then the orientation flow of 3 parts of 50M/ parts of selection purchase, that is, 150M Flow, user also need to treat 5 days in B, then buys 5 parts of 50M/ parts, that is, purchase 250M orientation flow, by that analogy, Intelligent recommendation is realized, is bought on demand.
(2) if terminal output set meal mark in orient data on flows be fixed, such as have respectively comprising 100M, 250M, 300M, 450M, 600M and 700M fixation set meal, then 400M orientation flow, terminal are used in 4 days according to user The orientation flow order data of output, the data for recommending 450M, 600M or 700M orientation flow to user can be included, enter one Step, terminal exports the orientation flow order data for including 450M flows to user's recommendation.
Step 640, terminal output directional flow order, user is prompted to be oriented traffic management.
Specifically, terminal is when user logs in virtual card APP, the output of the orientation flow order generated on APP, Output flow service condition and the orientation flow order contents of recommendation on the APP of virtual card.And can further, timely By the edge of the display screen of terminal, such as when user operates terminal, in the task field of the display screen of the terminal Put, export the orientation flow order of generation, purchase link or buying pattern are included in the orientation flow order of output, in addition to The orientation data on flows and corresponding price that can be bought, user is prompted to be oriented traffic management.
The method of above-mentioned flow order management to the use for orienting flow by counting, when orientation flow will use When, timely prompt user to be oriented the relatively accurate management of flow by preset rules, it is not fixed using virtual card to avoid The problem of mobile network can not being used to produce when measuring flow, the service efficiency of orientation flow is improved again, avoid causing movement eventually The system resource waste at end.
In one embodiment, referring to Fig. 7, Fig. 7 is the program work(of the device of flow order management in one embodiment Energy module map, described device include:
Acquisition module 70, flow package data are oriented for obtaining, and obtain the orientation flow that terminal has used in itself Data, the orientation flow are the flow that specified application uses
Specifically, terminal obtains the orientation flow package data of user's purchase from server end, and stream is oriented in user When measuring set meal purchase, the orientation flow package data storage that server buys user is in server database.Meanwhile terminal Obtain the orientation data on flows used that counts of terminal in itself, the orientation data on flows for specify using orientation Flow, the orientation flow is the flow for specifying application to use.Further, terminal system reads mould by flow Block, the flow information by process statistics is read from the proc files of kernel, and be stored in the NetworkStats (networks of system Statistics) in return.Wherein, the proc file system is a kind of file system of no storage, when reading file therein, in it Hold dynamic generation, when written document, the function of writing associated by file is called.The byte that each proc files associate is specific Read/write function, thus it provides another and kernel communication mechanism:Core component can by this document system to User's space provides interface to provide Query Information behavior, thus is a kind of important special file system.
Judge module 72, for orienting flow package data and the orientation data on flows used according to described, Judge whether the residual flow of the orientation flow package data is less than or equal to predetermined threshold value.
Specifically, terminal judges according to the orientation flow package data and the orientation data on flows used The service condition of the orientation flow package, when the residual flow of the orientation flow package data is less than or equal to default threshold During value, the service condition of the orientation flow package is prompted, and prompts client to be bought, to avoid because orienting flow Set meal is finished, and the mobile network for causing virtual card closes, and influences user's use.Such as the orientation flow package of user's purchase Data are 1G, if user is used for 910M using orientation flow, and the orientation flow package data set is surplus The predetermined threshold value of residual current amount is 100M, shows the orientation flow package service condition of user in prompting range.
Output module 74, it is defeated according to preset rules if being less than or equal to the predetermined threshold value for the residual flow Go out to orient flow order.
Specifically, if terminal judges that the residual flow of the orientation flow package data is less than or equal to the default threshold Value, according to preset rules output directional flow order, the orientation flow order is used to prompt user to be oriented traffic management, Such as the prompting according to the predetermined suggestion content of prompting mode set in advance.Further, it is oriented flow The prompting of order, the content of the prompting include the orientation flow package and service condition bought, prompt user to be determined Orientation flow etc. is bought using setting, or recommended user to flow, to avoid user from using up shadow because of the orientation flow package Ring the use of virtual card mobile network.
In one embodiment, the acquisition module 70 includes:
For obtaining orientation flow package data from server end, and obtained in itself from the terminal with predetermined period The orientation data on flows used.
Specifically, terminal is obtained in itself after server obtains the orientation flow package data with predetermined period from terminal The orientation data on flows used is taken, such as with 5 minutes, 10 minutes or 30 minutes constant durations, by acquisition The orientation data on flows and the orientation flow nest meal data used is compared, and judges the institute used State the data on flows whether orientation data on flows is less than or equal to the orientation flow nest meal.
In one embodiment, the output module 74 includes:
For according to the first predetermined period interior orientation data on flows use value, obtaining the first predetermined period interior orientation stream Amount data use average value, use average value according to the orientation data on flows, output uses comprising the orientation data on flows The first of average value recommends set meal mark, and the set meal identifies the set meal data for a kind of set meal of unique mark, the set meal Basic data and data on flows of the packet containing virtual SIM card.
Specifically, according to the first predetermined period interior orientation data on flows use value, it is default to obtain first predetermined period Average value is used to data on flows, average value is used according to the orientation data on flows, output includes the orientation data on flows Set meal is recommended to identify using the first of average value, the set meal identifies the set meal data for a kind of set meal of unique mark, described Basic data and data on flows of the set meal packet containing virtual SIM card, that is, output use comprising the orientation data on flows The purchase option of average value.Such as the quantitative flow used in the preset time period such as terminal counting user 3 days or 5 days Data use value, obtain user and use average value nearest 3 days or 5 days interior orientation datas on flows, according to the orientation flow Data use average value, export the purchase option that the orientation data on flows uses average value.Such as the oriented flow obtained Measure data and show user in 3 days or 5 days using average value, the average flow for using 200M daily, then with daily 200M's Usage amount is recommended to user, by exporting the option data of a selection purchase number of days, allows user to select to purchase according to the actual requirements The orientation flow of several days is bought, for example user also needs to treat in locality 3 days, according to averagely daily 200M usage amount, then buys 600M usage amount, generally just disclosure satisfy that demand.
In one embodiment, the output module 74 includes:
For being more than comprising orientation data on flows described according to the second predetermined period interior orientation data on flows use value, output Orient the second of data on flows use value and recommend set meal mark, the set meal identifies the set meal number for a kind of set meal of unique mark According to basic data and data on flows of the set meal packet containing virtual SIM card.
Specifically, in order to avoid terminal frequently prompts client to carry out the orientation traffic management, terminal is according to user the The orientation data on flows service condition in two predetermined periods, output are more than the set meal number of the orientation data on flows use value According to, recommend the set meal for being more than the orientation data on flows use value, such as user to use 600M flows in 5 days to user, Then recommend the set meal more than 600M flows to user, avoid the orientation flow of user from not enough being prompted using needs.
In one embodiment, the output module 74 includes:
Recommend set meal mark comprising second of orientation data on flows more than the orientation flow use value for exporting, it is described The value of orientation data on flows is included in the predetermined sequence to sort in order, and the value of the orientation data on flows is the sequence In with it is described orientation the immediate value of data on flows use value.
Specifically, such as, in one sequence, the data traffic that the set meal that can recommend mark includes be respectively 500M, 550M, 650M, 700M, 800M, terminal have used 590M flow according to user in 5 days, then set meal of the output more than 590M Mark data, in above-mentioned sequence, identified again with the 590 immediate set meals for comprising 650M flows more than 590, then output bag The set meal mark of the flow containing 650M, recommend the set meal of 650M flows to user;Equally, if user has used 660M in 5 days Flow, then output include 700M set meal mark data, the set meal for recommending to include 700M to user, avoids recommendation set meal amount mistake Big set meal, cause the waste of set meal.
In one embodiment, the recommendation set meal mark also includes package price data and buying pattern data.
Specifically, the data traffic that the set meal content prompted the user with of terminal output includes set meal is how many, the set The price of meal is how many, buying pattern, for example provides purchase link or provide purchase button etc..
In one embodiment, the output module 74 includes:
For the edge of the display screen in the terminal, according to preset rules output directional flow order.
Specifically, when terminal detect user the orientation flow will use finish when, except being carried on APP Show outside information, the order of orientation flow at the edge of the display screen of the terminal, can also be prompted according to preset rules, so as to User is allowed to receive the information of prompting in a manner of more timely.
Further, the terminal display screen taskbar, according to preset rules output directional flow order, Flow is oriented exactly when user's using terminal is operated, described in the position indicating of the top taskbar of the terminal screen to order It is single.
The division of modules is only used for for example, in other embodiments in the device of above-mentioned flow order management, The device of flow order management can be divided into different modules, to complete the device of above-mentioned flow order management as required All or part of function.
The embodiment of the present application also provides a kind of computer equipment, including memory and processor, is stored in the memory There is computer program, when the computer program is by the computing device so that method described in the computing device Step.
Specifically, as shown in figure 8, for convenience of description, illustrate only the part related to the embodiment of the present application, specific skill Art details does not disclose, refer to the embodiment of the present application method part.The computer equipment can be to include mobile phone, flat board electricity Brain, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), Any terminal device such as vehicle-mounted computer, Wearable, so that computer equipment is mobile phone as an example:
Fig. 8 is the block diagram of the part-structure of the mobile phone related to the computer equipment of the embodiment of the present application offer.Reference chart 8, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, display unit 840, Sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880 and The grade part of power supply 890.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 does not form the restriction to mobile phone, can With including than illustrating more or less parts, either combining some parts or different parts arrangement.
Wherein, RF circuits 810 can be used for receive and send messages or communication process in, the reception and transmission of signal can be by base stations After downlink information receives, handled to processor 880;Up data can also be sent to base station.Generally, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 810 can also be communicated by radio communication with network and other equipment.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 820 can be used for storage software program and module, and processor 880 is stored in memory 820 by operation Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 820 can mainly include Program storage area and data storage area, wherein, program storage area can storage program area, the application journey needed at least one function Sequence (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can store root Created data (such as voice data, address list etc.) etc. are used according to mobile phone.In addition, memory 820 can be included at a high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input block 830 can be used for the numeral or character information for receiving input, and produces and set with the user of mobile phone 800 And the key signals input that function control is relevant.Specifically, input block 830 may include contact panel 831 and other inputs Equipment 832.Contact panel 831, alternatively referred to as touch-screen, collect touch operation (such as user of the user on or near it Use the operation of any suitable object such as finger, stylus or annex on contact panel 831 or near contact panel 831), And corresponding attachment means are driven according to formula set in advance.In one embodiment, contact panel 831 may include to touch inspection Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 880, and the order sent of reception processing device 880 and can be performed.In addition, The polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be used to realize contact panel 831.Except touch surface Plate 831, input block 830 can also include other input equipments 832.Specifically, other input equipments 832 can be included but not The one or more being limited in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 840 can be used for display by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display panel 841.In one embodiment, liquid crystal display (Liquid can be used Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 841.In one embodiment, contact panel 831 can cover display panel 841, when contact panel 831 is examined After measuring the touch operation on or near it, processor 880 is sent to determine the type of touch event, is followed by subsequent processing device 880 provide corresponding visual output according to the type of touch event on display panel 841.Although in fig. 8, contact panel 831 and display panel 841 are the parts independent as two to realize the input of mobile phone and input function, but in some implementations In example, contact panel 831 and display panel 841 can be integrated and realize input and the output function of mobile phone.
Mobile phone 800 may also include at least one sensor 850, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 841, and proximity transducer can close display panel when mobile phone is moved in one's ear 841 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions The size of speed, size and the direction of gravity are can detect that when static, application (such as the horizontal/vertical screen available for identification mobile phone posture Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared ray sensor etc..
Voicefrequency circuit 860, loudspeaker 861 and microphone 862 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data received conversion can be transferred to loudspeaker 861, sound is converted to by loudspeaker 861 by road 860 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860 Voice data is changed to, then after voice data output processor 880 is handled, another mobile phone can be sent to through RF circuits 810, or Person exports voice data to memory 820 so as to subsequent treatment.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 8 is shown WiFi module 870, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone 800, can omit as needed.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module being stored in memory 820, and call and be stored in memory 820 Data, the various functions and processing data of mobile phone are performed, so as to carry out integral monitoring to mobile phone.In one embodiment, handle Device 880 may include one or more processing units.In one embodiment, processor 880 can integrate application processor and modulation Demodulator, wherein, application processor mainly handles operating system, user interface and application program etc.;Modem is mainly located Manage radio communication.It is understood that above-mentioned modem can not also be integrated into processor 880.Such as the processor 880 can integrate application processor and BBP, BBP with and other peripheral chips etc. can form modem. Mobile phone 800 also includes the power supply 890 (such as battery) to all parts power supply, it is preferred that power supply can pass through power management system System is logically contiguous with processor 880, so as to realize the work(such as management charging, electric discharge and power managed by power-supply management system Energy.
In one embodiment, mobile phone 800 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 880 included by the mobile terminal performs the calculating of storage on a memory Following steps are realized during machine program:
Orientation flow package data are obtained, and obtain the orientation data on flows that terminal has used in itself, the oriented flow Measure the flow used for specified application;
According to the orientation flow package data and the orientation data on flows used, the orientation flow is judged Whether the residual flow of set meal data is less than or equal to predetermined threshold value;
If the residual flow is less than or equal to the predetermined threshold value, according to preset rules output directional flow order.
In one embodiment, it is described to obtain orientation flow package data, and obtain the orientation that terminal has used in itself The step of data on flows, includes:
Orientation flow package data are obtained from server end, and is obtained and used in itself from the terminal with predetermined period Orientation data on flows.
In one embodiment, the step of output directional flow order according to preset rules includes:
According to the first predetermined period interior orientation data on flows use value, the first predetermined period interior orientation flow number is obtained According to using average value, average value is used according to the orientation data on flows, output uses average comprising the orientation data on flows The first of value recommends set meal mark.
In one embodiment, the step of output directional flow order according to preset rules includes:
According to the second predetermined period interior orientation data on flows use value, output is more than the orientation comprising orientation data on flows The second of data on flows use value recommends set meal mark.
In one embodiment, the output is more than the of the orientation data on flows use value comprising orientation data on flows The step of two recommendation set meal marks, includes:
Output recommends set meal mark, the orientation comprising orientation data on flows is more than the orientation flow use value second The value of data on flows is included in the predetermined sequence that sorts in order, and the value of the orientation data on flows be in the sequence with The orientation immediate value of data on flows use value.
In one embodiment, the recommendation set meal mark also includes package price data and buying pattern data.
In one embodiment, the step of output directional flow order according to preset rules includes:
At the edge of the display screen of the terminal, according to preset rules output directional flow order.
The embodiment of the present application also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter Calculation machine program realizes the step of method of the flow order management described in the various embodiments described above when being executed by processor.
The embodiment of the present application additionally provides a kind of computer program product.A kind of computer program product for including instruction, When run on a computer so that the method that computer performs the flow order management described in the various embodiments described above.
Any reference to memory, storage, database or other media used in this application may include non-volatile And/or volatile memory.Suitable nonvolatile memory may include read-only storage (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Embodiment described above only expresses the several embodiments of the application, and its description is more specific and detailed, but simultaneously Therefore the limitation to the application the scope of the claims can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application Protect scope.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of method of flow order management, methods described include:
Orientation flow package data are obtained, and obtain the orientation data on flows that terminal has used in itself, the orientation flow is The flow that specified application uses;
According to the orientation flow package data and the orientation data on flows used, the orientation flow package is judged Whether the residual flow of data is less than or equal to predetermined threshold value;
If the residual flow is less than or equal to the predetermined threshold value, according to preset rules output directional flow order.
2. according to the method for claim 1, it is characterised in that it is described to obtain orientation flow package data, and obtain terminal The step of orientation data on flows used itself, includes:
Orientation flow package data are obtained from server end, and obtain determining of having used in itself from the terminal with predetermined period To data on flows.
3. according to the method for claim 1, it is characterised in that the step according to preset rules output directional flow order Suddenly include:
According to the first predetermined period interior orientation data on flows use value, obtaining the first predetermined period interior orientation data on flows makes With average value, average value is used according to the orientation data on flows, output uses average value comprising the orientation data on flows First recommends set meal mark.
4. according to the method for claim 1, it is characterised in that the step according to preset rules output directional flow order Suddenly include:
According to the second predetermined period interior orientation data on flows use value, output is more than the orientation flow comprising orientation data on flows The second of data use value recommends set meal mark.
5. according to the method for claim 4, it is characterised in that the output is more than the orientation comprising orientation data on flows The step of second recommendation set meal mark of data on flows use value, includes:
Output recommends set meal mark, the orientation flow comprising orientation data on flows is more than the orientation flow use value second The value of data is included in the predetermined sequence that sorts in order, and the value of the orientation data on flows be in the sequence with it is described Orient the immediate value of data on flows use value.
6. according to the method described in claim any one of 3-5, it is characterised in that described first recommends set meal mark or second Set meal mark is recommended also to include package price data and buying pattern data.
7. according to the method for claim 1, it is characterised in that the step according to preset rules output directional flow order Suddenly include:
At the edge of the display screen of the terminal, according to preset rules output directional flow order.
8. a kind of device of flow order management, it is characterised in that described device includes:
Acquisition module, flow package data are oriented for obtaining, and obtain the orientation data on flows that terminal has used in itself, institute It is the flow that specified application uses to state orientation flow;
Judge module, for according to the orientation flow package data and the orientation data on flows used, judging institute Whether the residual flow for stating orientation flow package data is less than or equal to predetermined threshold value;
Output module, if being less than or equal to the predetermined threshold value for the residual flow, according to preset rules output directional Flow order.
9. a kind of computer equipment, including memory and processor, computer program, the calculating are stored in the memory When machine program is by the computing device so that the step of method of the computing device as described in right wants any one of 1-7.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of method as any one of claim 1-7 is realized when being executed by processor.
CN201710924337.5A 2017-09-30 2017-09-30 The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing Pending CN107707369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710924337.5A CN107707369A (en) 2017-09-30 2017-09-30 The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710924337.5A CN107707369A (en) 2017-09-30 2017-09-30 The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN107707369A true CN107707369A (en) 2018-02-16

Family

ID=61184500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710924337.5A Pending CN107707369A (en) 2017-09-30 2017-09-30 The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107707369A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494982A (en) * 2018-03-15 2018-09-04 上海连尚网络科技有限公司 Method and apparatus for generating information
CN108769980A (en) * 2018-05-14 2018-11-06 中国联合网络通信集团有限公司 Data channel switching method and terminal
CN110958191A (en) * 2019-11-28 2020-04-03 广东汉鼎蜂助手网络技术有限公司 Method, device and equipment for managing flow supply card
CN111459774A (en) * 2019-01-21 2020-07-28 ***通信有限公司研究院 Method, device and equipment for acquiring flow of application program and storage medium
TWI700942B (en) * 2018-03-07 2020-08-01 中華電信股份有限公司 Recommended method for purchasing data volume
CN111768229A (en) * 2020-06-23 2020-10-13 北京思特奇信息技术股份有限公司 Forward rule control system based on coupons
CN112398745A (en) * 2020-10-12 2021-02-23 联通智网科技有限公司 Flow control method, flow control device, server and storage medium
CN112398746A (en) * 2020-10-12 2021-02-23 联通智网科技有限公司 Flow control method, flow control device, server and storage medium
CN112598447A (en) * 2020-12-28 2021-04-02 加和(北京)信息科技有限公司 Order information processing method and device, electronic equipment and processor
CN113225767A (en) * 2021-04-19 2021-08-06 深圳市安全守护科技有限公司 Monitoring management method, device, equipment and computer readable storage medium
CN116760708A (en) * 2023-06-26 2023-09-15 广州易尊网络科技股份有限公司 Device flow control method, system and storage medium based on WeChat applet

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150149631A1 (en) * 2013-11-25 2015-05-28 Amazon Technologies, Inc. Customer-directed networking limits in distributed systems
CN106060899A (en) * 2016-05-20 2016-10-26 廖建强 Flow control method and device
CN106304011A (en) * 2016-08-16 2017-01-04 努比亚技术有限公司 A kind of flow bag recommendation apparatus and method
CN106304193A (en) * 2015-05-22 2017-01-04 中兴通讯股份有限公司 A kind of realize the method for flow-control, server and terminal
CN106685671A (en) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 Directional traffic card realization method and device and traffic service platform
CN106789121A (en) * 2017-01-04 2017-05-31 珠海市魅族科技有限公司 A kind of flow prompt method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150149631A1 (en) * 2013-11-25 2015-05-28 Amazon Technologies, Inc. Customer-directed networking limits in distributed systems
CN106304193A (en) * 2015-05-22 2017-01-04 中兴通讯股份有限公司 A kind of realize the method for flow-control, server and terminal
CN106685671A (en) * 2015-11-10 2017-05-17 中兴通讯股份有限公司 Directional traffic card realization method and device and traffic service platform
CN106060899A (en) * 2016-05-20 2016-10-26 廖建强 Flow control method and device
CN106304011A (en) * 2016-08-16 2017-01-04 努比亚技术有限公司 A kind of flow bag recommendation apparatus and method
CN106789121A (en) * 2017-01-04 2017-05-31 珠海市魅族科技有限公司 A kind of flow prompt method and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI700942B (en) * 2018-03-07 2020-08-01 中華電信股份有限公司 Recommended method for purchasing data volume
CN108494982B (en) * 2018-03-15 2021-06-22 上海尚往网络科技有限公司 Method and apparatus for generating information
CN108494982A (en) * 2018-03-15 2018-09-04 上海连尚网络科技有限公司 Method and apparatus for generating information
CN108769980A (en) * 2018-05-14 2018-11-06 中国联合网络通信集团有限公司 Data channel switching method and terminal
CN111459774A (en) * 2019-01-21 2020-07-28 ***通信有限公司研究院 Method, device and equipment for acquiring flow of application program and storage medium
CN111459774B (en) * 2019-01-21 2023-05-12 ***通信有限公司研究院 Method, device, equipment and storage medium for acquiring flow of application program
CN110958191A (en) * 2019-11-28 2020-04-03 广东汉鼎蜂助手网络技术有限公司 Method, device and equipment for managing flow supply card
CN111768229A (en) * 2020-06-23 2020-10-13 北京思特奇信息技术股份有限公司 Forward rule control system based on coupons
CN111768229B (en) * 2020-06-23 2023-10-13 北京思特奇信息技术股份有限公司 Forward rule control system based on card
CN112398745A (en) * 2020-10-12 2021-02-23 联通智网科技有限公司 Flow control method, flow control device, server and storage medium
CN112398746A (en) * 2020-10-12 2021-02-23 联通智网科技有限公司 Flow control method, flow control device, server and storage medium
CN112598447A (en) * 2020-12-28 2021-04-02 加和(北京)信息科技有限公司 Order information processing method and device, electronic equipment and processor
CN112598447B (en) * 2020-12-28 2023-10-10 加和(北京)信息科技有限公司 Order information processing method and device, electronic equipment and processor
CN113225767A (en) * 2021-04-19 2021-08-06 深圳市安全守护科技有限公司 Monitoring management method, device, equipment and computer readable storage medium
CN116760708A (en) * 2023-06-26 2023-09-15 广州易尊网络科技股份有限公司 Device flow control method, system and storage medium based on WeChat applet

Similar Documents

Publication Publication Date Title
CN107707369A (en) The method and apparatus of flow order management, computer equipment, readable storage medium storing program for executing
CN107770746B (en) Data processing method and device, computer equipment and computer readable storage medium
CN104901991B (en) Virtual resource transfer method, device and system
CN107562835A (en) File search method, device, mobile terminal and computer-readable recording medium
CN107508883A (en) Information-pushing method, device, storage medium and mobile terminal
CN107484154A (en) Data switching method and apparatus, terminal, computer-readable recording medium
CN103475392B (en) Information getting method, device and terminal
CN107708084A (en) Data processing method and device, computer equipment, computer-readable recording medium
CN107682851A (en) Information processing method, device, mobile terminal and computer-readable recording medium
CN107734495A (en) Information processing method, device, storage medium and terminal
CN107690131A (en) Information processing method, device, mobile terminal and computer-readable recording medium
CN107682910A (en) Floating resources sharing method, device, mobile terminal and storage medium
CN109164477A (en) A kind of method and mobile terminal of application positioning
CN104616143A (en) Virtual bill transfer method and device in social application
CN107067239A (en) Apps server and its information processing method and device
CN104424211A (en) Microblog-based service data release method, device and system
CN107623612A (en) Flow methods of exhibiting and device, computer equipment, computer-readable recording medium
CN107484201A (en) Flow statistical method and device, terminal, computer-readable recording medium
CN106407771A (en) Message management method and device
CN107566398B (en) Flow control methods and device, computer equipment, computer readable storage medium
CN107708092B (en) Flow information update method and device, terminal, computer readable storage medium
CN107682832A (en) Data processing method and device, computer equipment, computer-readable recording medium
CN107682552A (en) Information processing method, device, mobile terminal and computer-readable recording medium
CN107743303B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107743080A (en) Flow statistical method and device, computer equipment, computer-readable recording medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216

RJ01 Rejection of invention patent application after publication