CN105049219B - Flow booking method and system, mobile terminal and server - Google Patents

Flow booking method and system, mobile terminal and server Download PDF

Info

Publication number
CN105049219B
CN105049219B CN201510462979.9A CN201510462979A CN105049219B CN 105049219 B CN105049219 B CN 105049219B CN 201510462979 A CN201510462979 A CN 201510462979A CN 105049219 B CN105049219 B CN 105049219B
Authority
CN
China
Prior art keywords
flow
user
server
mobile terminal
order
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.)
Active
Application number
CN201510462979.9A
Other languages
Chinese (zh)
Other versions
CN105049219A (en
Inventor
周鹏
张亮
伍亮雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510462979.9A priority Critical patent/CN105049219B/en
Publication of CN105049219A publication Critical patent/CN105049219A/en
Application granted granted Critical
Publication of CN105049219B publication Critical patent/CN105049219B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1453Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
    • H04L12/1467Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network involving prepayment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The disclosure is directed to a kind of flow booking method and system, mobile terminal and server, it is related to field of communication technology.The described method includes:The flow ordering information of acquisition for mobile terminal user, flow ordering information include the mark of user and order set meal type;Judge whether mobile terminal is in networking state;When mobile terminal is not presently within networking state, flow is generated according to flow ordering information and orders short message, and short message is ordered to server transmitted traffic, server is used to order flow according to flow order short message for user.The disclosure is by obtaining the flow ordering information of user, judge whether mobile terminal networks again, if mobile terminal is not networked, flow is then generated according to flow ordering information and orders short message, and short message is ordered to server transmitted traffic, server can help user to order flow after receiving flow and ordering short message, the mode that this flow is ordered can also realize that flow is ordered independent of network in the case of no network.

Description

Flow booking method and system, mobile terminal and server
Technical field
This disclosure relates to field of communication technology, more particularly to a kind of flow booking method and system, mobile terminal and service Device.
Background technology
With the development of mobile terminal technology, daily life is difficult to leave wireless network, but due to China 3G, 4G Campus network is generally somewhat expensive, and flow is fewer, is easily finished.User is after flow is finished, it is necessary to carry out flow order.
Existing flow purchase can realize that third-party application provides the boundary for ordering flow to the user by third-party application Face, user complete user's by the button at the interface to third-party server transmitted traffic subscription request, third-party server Flow is ordered.
But the mode ordered of this flow depend on network, and user need usually all be when progress flow order There is no network, therefore the demand that user orders flow can not be solved in major part.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of flow booking method and system, mobile terminal And server.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of flow booking method, the described method includes:
The flow ordering information of acquisition for mobile terminal user, the flow ordering information include the mark of user and order set Meal type;
Judge whether the mobile terminal is in networking state;
When the mobile terminal is not presently within networking state, it is short that flow order is generated according to the flow ordering information Letter, and short message is ordered to server transmitted traffic, it is that the user orders that the server, which is used to order short message according to the flow, Purchase flow;
It is described to be ordered according to the flow when the server is used to order flow from carrier server for the user Purchase information generation flow and order short message, including:
The flow that generation includes the flow ordering information orders short message, and the server is used to obtain the flow order Flow ordering information in short message;User characteristics is determined according to the mark of the user, the user characteristics includes the user Ownership place and operator;According to the interface of the corresponding carrier server of default different user feature in the server, The order set meal type is changed using the user characteristics corresponding coding rule, the interface includes user characteristics The corresponding carrier server of corresponding coding rule and user characteristics;Generation includes the mark of the user and transformed institute State the flow order order for ordering set meal type;Flow order order is sent to the corresponding operator of the user characteristics Server;
Alternatively,
It is described short according to flow ordering information generation flow order when the server is carrier server Letter, including:
User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operation of the user Business;
According to the interface of the corresponding carrier server of default different user feature in the mobile terminal, using described The corresponding coding rule of user characteristics changes the order set meal type, and the interface includes the corresponding volume of user characteristics Code rule carrier server corresponding with user characteristics;
Generation includes the mark of the user and the transformed flow for ordering set meal type orders short message.
According to a kind of implementation of disclosure first aspect, the method further includes:
When the mobile terminal is currently at networking state, flow order is generated according to the flow ordering information and is disappeared Breath, and message is ordered to the server transmitted traffic by internet, the server, which is used to be ordered according to the flow, to disappear Cease and order flow for the user.
According to another implementation of disclosure first aspect, the acquisition for mobile terminal customer flow ordering information, Including:
A flow ordering interface is provided, the flow ordering interface is used to input the flow ordering information for user;
Obtain the flow ordering information that the user is inputted by the flow ordering interface.
It is described to judge the mobile terminal currently whether in connection according to another implementation of disclosure first aspect Net state, including:
Test post is sent to the server, the test post is used to test whether the mobile terminal is currently in Networking state;
When receiving the response message that the server is sent, determine that the mobile terminal is currently at networking state; When not receiving the response message that the server is sent, determine that the mobile terminal is not presently within networking state;
Judge whether the mobile terminal is currently in networking state alternatively, described, including:
Network information interface in the mobile terminal is called to judge whether the mobile terminal is currently in networking state.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of flow booking method, the described method includes:
Server receives the flow that mobile terminal is sent and orders short message, and it is according to flow esteemed favor that the flow, which orders short message, Breath generation, the flow ordering information includes the mark of user and orders set meal type;
Short message is ordered according to the flow and orders flow from carrier server for the user;
It is described that flow is ordered for the user from carrier server according to flow order short message, including:
Obtain the flow ordering information in the flow order short message;
Flow is ordered for the user according to the flow ordering information;
It is described that flow is ordered for the user according to the flow ordering information, including:
User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operation of the user Business;
According to the interface of the corresponding carrier server of default different user feature in the server, using the use Feature corresponding coding rule in family changes the order set meal type, and the interface includes the corresponding coding of user characteristics Rule carrier server corresponding with user characteristics;
Generation includes the mark of the user and the transformed flow for ordering set meal type orders order;
Flow order order is sent to the corresponding carrier server of the user characteristics.
According to a kind of implementation of disclosure second aspect, the method further includes:
Receive the flow that mobile terminal is sent by internet and order message, it is according to the stream that the flow, which orders message, Measure ordering information generation;
Message is ordered according to the flow and orders flow from carrier server for the user.
According to another implementation of disclosure second aspect, the method further includes:
The test post that the mobile terminal is sent is received, the test post is currently for testing the mobile terminal It is no to be in networking state;
Response message is sent to the mobile terminal.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of mobile terminal, the mobile terminal include:
Acquisition module, for obtaining the flow ordering information of user, the flow ordering information include user mark and Order set meal type;
Judgment module, for judging whether the mobile terminal is in networking state;
Processing module, for when the mobile terminal is not presently within networking state, according to the flow ordering information Generate flow and order short message, and short message is ordered to server transmitted traffic, the server is used to be ordered according to the flow short Believe and order flow for the user;
When the server is used to order flow from carrier server for the user, the processing module, specifically For:
The flow that generation includes the flow ordering information orders short message, and the server is used to obtain the flow order Flow ordering information in short message;User characteristics is determined according to the mark of the user, the user characteristics includes the user Ownership place and operator;According to the interface of the corresponding carrier server of default different user feature in the server, The order set meal type is changed using the user characteristics corresponding coding rule, the interface includes user characteristics The corresponding carrier server of corresponding coding rule and user characteristics;Generation includes the mark of the user and transformed institute State the flow order order for ordering set meal type;Flow order order is sent to the corresponding operator of the user characteristics Server;
Alternatively,
When the server is carrier server, the processing module, is specifically used for:
User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operation of the user Business;
According to the interface of the corresponding carrier server of default different user feature in the mobile terminal, using described The corresponding coding rule of user characteristics changes the order set meal type, and the interface includes the corresponding volume of user characteristics Code rule carrier server corresponding with user characteristics;
Generation includes the mark of the user and the transformed flow for ordering set meal type orders short message.
According to a kind of implementation of the disclosure third aspect, the processing module is additionally operable to:
When the mobile terminal is currently at networking state, flow order is generated according to the flow ordering information and is disappeared Breath, and message is ordered to the server transmitted traffic by internet, the server, which is used to be ordered according to the flow, to disappear Cease and order flow for the user.
According to another implementation of the disclosure third aspect, the acquisition module, including:
Submodule is provided, for providing a flow ordering interface, the flow ordering interface is used for for described in user's input Flow ordering information;
Acquisition submodule, the flow ordering information inputted for obtaining the user by the flow ordering interface.
According to another implementation of the disclosure third aspect, the judgment module, is specifically used for:
Test post is sent to the server, the test post is used to test whether the mobile terminal is currently in Networking state;
When receiving the response message that the server is sent, determine that the mobile terminal is currently at networking state; When not receiving the response message that the server is sent, determine that the mobile terminal is not presently within networking state;
Alternatively, the judgment module, is specifically used for:
Network information interface in the mobile terminal is called to judge whether the mobile terminal is currently in networking state.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of server, the server include:
Receiving module, the flow for receiving mobile terminal transmission order short message, and it is according to stream that the flow, which orders short message, Ordering information generation is measured, the flow ordering information includes the mark of user and orders set meal type;
Processing module, flow is ordered for ordering short message according to the flow from carrier server for the user;
The processing module, including:
Acquisition submodule, for obtaining the flow ordering information in the flow order short message;
Submodule is handled, for ordering flow according to the flow ordering information for the user;
The processing submodule, is specifically used for:
User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operation of the user Business;
According to the interface of the corresponding carrier server of default different user feature in the server, using the use Feature corresponding coding rule in family changes the order set meal type, and the interface includes the corresponding coding of user characteristics Rule carrier server corresponding with user characteristics;
Generation includes the mark of the user and the transformed flow for ordering set meal type orders order;
Flow order order is sent to the corresponding carrier server of the user characteristics.
According to a kind of implementation of disclosure fourth aspect, the processing module, is additionally operable to:
Receive the flow that mobile terminal is sent by internet and order message, it is according to the stream that the flow, which orders message, Measure ordering information generation;
Message is ordered according to the flow and orders flow from carrier server for the user.
According to another implementation of disclosure fourth aspect, the receiving module, is additionally operable to:
The test post that the mobile terminal is sent is received, the test post is currently for testing the mobile terminal It is no to be in networking state;
The server further includes:Sending module, for sending response message to the mobile terminal.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a kind of mobile terminal, the mobile terminal include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
The flow ordering information of user is obtained, the flow ordering information includes the mark of user and orders set meal type;
Judge whether the mobile terminal is in networking state;
When the mobile terminal is not presently within networking state, it is short that flow order is generated according to the flow ordering information Letter, and short message is ordered to server transmitted traffic, it is that the user orders that the server, which is used to order short message according to the flow, Purchase flow;
It is described to be ordered according to the flow when the server is used to order flow from carrier server for the user Purchase information generation flow and order short message, including:
The flow that generation includes the flow ordering information orders short message, and the server is used to obtain the flow order Flow ordering information in short message;User characteristics is determined according to the mark of the user, the user characteristics includes the user Ownership place and operator;According to the interface of the corresponding carrier server of default different user feature in the server, The order set meal type is changed using the user characteristics corresponding coding rule, the interface includes user characteristics The corresponding carrier server of corresponding coding rule and user characteristics;Generation includes the mark of the user and transformed institute State the flow order order for ordering set meal type;Flow order order is sent to the corresponding operator of the user characteristics Server;
Alternatively,
It is described short according to flow ordering information generation flow order when the server is carrier server Letter, including:
User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operation of the user Business;
According to the interface of the corresponding carrier server of default different user feature in the mobile terminal, using described The corresponding coding rule of user characteristics changes the order set meal type, and the interface includes the corresponding volume of user characteristics Code rule carrier server corresponding with user characteristics;
Generation includes the mark of the user and the transformed flow for ordering set meal type orders short message.
According to the 6th of the embodiment of the present disclosure the aspect, there is provided a kind of server, the server include:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive the flow that mobile terminal is sent and order short message, the flow, which orders short message, to be generated according to flow ordering information , the flow ordering information includes the mark of user and orders set meal type;
Short message is ordered according to the flow and orders flow from carrier server for the user;
It is described that flow is ordered for the user from carrier server according to flow order short message, including:
Obtain the flow ordering information in the flow order short message;
Flow is ordered for the user according to the flow ordering information;
It is described that flow is ordered for the user according to the flow ordering information, including:
User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operation of the user Business;
According to the interface of the corresponding carrier server of default different user feature in the server, using the use Feature corresponding coding rule in family changes the order set meal type, and the interface includes the corresponding coding of user characteristics Rule carrier server corresponding with user characteristics;
Generation includes the mark of the user and the transformed flow for ordering set meal type orders order;
Flow order order is sent to the corresponding carrier server of the user characteristics.
According to the 7th of the embodiment of the present disclosure the aspect, there is provided a kind of flow order system, the system comprises such as preceding any Mobile terminal and such as preceding any one of them server described in.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and for explaining the principle of the present invention together with specification.
Figure 1A is the application scenario diagram according to an exemplary embodiment.
Figure 1B is the application scenario diagram according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of flow booking method according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of flow booking method according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of flow booking method according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of flow booking method according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of mobile terminal according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of mobile terminal according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of server according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of server according to an exemplary embodiment.
Figure 10 is a kind of block diagram of device according to an exemplary embodiment.
Figure 11 is a kind of block diagram of device according to an exemplary embodiment.
Figure 12 is a kind of block diagram of flow order system according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
For the ease of the description of embodiment, below first simply introduce two kinds of application scenarios of embodiment in the disclosure:
The first application scenarios, referring to Figure 1A, which includes mobile terminal 1 (such as smart mobile phone), server 2 and fortune Seek business's server 3.Mobile terminal 1 orders message to 2 transmitted traffic of server or flow order is short when needing to order flow Letter;Server 2 orders message according to flow or flow orders short message, to 3 transmitted traffic subscription request of carrier server, so that Complete to order flow for user.Wherein, the carrier server 3 of multiple operators, server 2 can be included in this application scene It is connected respectively with each carrier server 3.
Second of application scenarios, referring to Figure 1B, which includes mobile terminal 1 (such as smart mobile phone) and carrier service Device 3.Mobile terminal 1 orders message to 3 transmitted traffic of carrier server or flow orders short message when needing to order flow, So as to complete to order flow for user.
It should be noted that the apparatus described above species is only for example, the disclosure is not restricted this.
Fig. 2 is a kind of flow chart of flow booking method according to an exemplary embodiment, as shown in Fig. 2, the stream Amount booking method is suitable for mobile terminal, comprises the following steps:
In step s 11, the flow ordering information of acquisition for mobile terminal user, flow ordering information include the mark of user With order set meal type.
Wherein, the mark of user is usually the phone number of user;Set meal type is ordered to be provided generally according to operator Set meal determine that each the set meal flow for ordering set meal type or rate are different.
In step s 12, judge whether mobile terminal is in networking state.
Step S12 is specifically to judge whether mobile terminal connects internet.
In step s 13, when mobile terminal is not presently within networking state, flow is generated according to flow ordering information and is ordered Short message is purchased, and short message is ordered to server transmitted traffic, it is that user orders flow that server, which is used to order short message according to flow,.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 3 is a kind of flow chart of flow booking method according to an exemplary embodiment, as shown in figure 3, the stream Amount booking method is suitable for mobile terminal, comprises the following steps:
In the step s 21, there is provided a flow ordering interface, flow ordering interface are used to supply user input flow amount esteemed favor Breath.
When user needs to order flow, the icon of the application for ordering flow can be clicked on, is ordered hence into flow Purchase interface.The flow ordering interface can be made of components such as input frame and check boxes, and user can pass through flow ordering interface Set meal type is ordered in input or selection.
Wherein, the mark of user is usually the phone number of user;Set meal type is ordered to be provided generally according to operator Set meal determine that each the set meal flow for ordering set meal type or rate are different.
In step S22, the flow ordering information that user is inputted by flow ordering interface, flow ordering information bag are obtained Include the mark of user and order set meal type.
In step S23, judge whether mobile terminal is currently in networking state, when mobile terminal is currently at networking shape During state, step S24 is performed, when mobile terminal is not presently within networking state, performs step S25.
Step S23 is specifically to judge whether mobile terminal connects internet.In the embodiments of the present disclosure, mobile terminal is judged Currently whether networking state is in, following manner can be used to realize:
Test post is sent to server, test post is used to test whether mobile terminal is currently in networking state;
When receiving the response message of server transmission, determine that mobile terminal is currently at networking state;When not receiving To server send response message when, determine that mobile terminal is not presently within networking state.
In the embodiments of the present disclosure, judge whether mobile terminal is currently in networking state, following manner can also be used Realize:
Network information interface in mobile terminal is called to judge whether mobile terminal is currently in networking state.
Mobile terminal calls getActiveNetworkInfo () in ConnectivityManager classes to obtain NetworkInfo, judges whether network connects according to isConnected () method of NetworkInfo.
What deserves to be explained is step S23 can also be performed before abovementioned steps S21, the disclosure is without limitation.
In step s 24, flow is generated according to flow ordering information and orders message, and sent by internet to server Flow orders message, and server is used to order message according to flow as user's order flow.
In this step, since mobile terminal is currently at networking state, it is possible to ordered by network transmitted traffic Message, to realize that flow is ordered.
In this step, server is either (right for the server for ordering flow for user from carrier server Answer application scenarios shown in Figure 1A) or carrier server (application scenarios shown in corresponding diagram 1B).
In step s 25, flow is generated according to flow ordering information and orders short message, and it is short to server transmitted traffic order Letter, server are used to order short message according to flow as user's order flow.
In this step, since mobile terminal is not presently within networking state, so can only be ordered by transmitted traffic short Letter, to realize that flow is ordered.
When server is used to order flow from carrier server for user (application scenarios shown in corresponding diagram 1A), step Flow is generated according to flow ordering information in S25 and orders short message, including:
The flow that generation includes flow ordering information orders short message.Flow orders short message either including flow esteemed favor In itself or the information after being encoded including flow ordering information, coding mode only needs in server and mobile terminal breath Between arranged.
When server is carrier server (application scenarios shown in corresponding diagram 1B), ordered in step S25 according to flow Information generation flow orders short message, including:
Step 1:User characteristics is determined according to the mark of user, user characteristics includes ownership place and the operator of user.
The mark of user is usually phone number, and the mode for determining user characteristics according to phone number is usually:According to hand Former positions of machine number determine ownership place and the operator of the user.And since in this step, mobile terminal is not presently within Networking state, so needing in advance former positions of memory mobile phone number and the ownership place of user and operator on mobile terminals The rule of correspondence, when performing step 1, first obtains the rule of correspondence, then can determine user characteristics according to the rule of correspondence.
Step 2:Changed using the corresponding coding rule of user characteristics to ordering set meal type.
Wherein, coding rule may be different used by different ownership place and operator, using the corresponding volume of user characteristics Code rule is changed to ordering set meal type.For example, it is 100M to order set meal type, be converted to using coding rule GPRS100。
Step 3:The flow of mark and transformed order set meal type that generation includes user orders short message.
The interface of the corresponding carrier server of different user feature is preset with mobile terminal, each interface includes user The corresponding coding rule of feature and the corresponding carrier server of user characteristics.After generation flow orders short message, flow is ordered Purchase short message sending gives user characteristics corresponding carrier server.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 4 is a kind of flow chart of flow booking method according to an exemplary embodiment, as shown in figure 4, the stream Amount booking method is suitable for server, comprises the following steps:
In step S31, server receives the flow that mobile terminal is sent and orders short message, and it is according to stream that flow, which orders short message, Ordering information generation is measured, flow ordering information includes the mark of user and orders set meal type.
Wherein, it is then that mobile terminal is sent under unconnected state that flow, which orders short message,.The mark of user is usually to use The phone number at family;Order set meal type to determine generally according to the set meal that operator is provided, each set for ordering set meal type Meal flow or rate are different.
In step s 32, short message is ordered according to flow and orders flow from carrier server for user.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 5 is a kind of flow chart of flow booking method according to an exemplary embodiment, as shown in figure 5, the stream Amount booking method is suitable for server, comprises the following steps:
In step S41, server receives the flow that mobile terminal is sent and orders short message, and it is according to stream that flow, which orders short message, Ordering information generation is measured, flow ordering information includes the mark of user and orders set meal type
Wherein, it is that mobile terminal is sent under networking state that flow, which orders message,.The mark of user is usually user's Phone number;Order set meal type to determine generally according to the set meal that operator is provided, each set meal stream for ordering set meal type Amount or rate are different.
In step S42, the flow ordering information in flow order short message is obtained.
Flow orders short message either including flow ordering information in itself or including flow ordering information coding Information afterwards, coding mode only need to be arranged between server and mobile terminal.
Correspondingly, the flow ordering information in flow order short message is obtained:Then only need to directly acquire the flow in short message Ordering information, or obtain the information after flow ordering information coding and then accordingly decoded.
In step S43, flow is ordered for user according to flow ordering information.
In the present embodiment, flow is ordered for user according to flow ordering information, including:
Step 1:User characteristics is determined according to the mark of user, user characteristics includes ownership place and the operator of user.
The mark of user is usually phone number, and the mode for determining user characteristics according to phone number is usually:According to hand Former positions of machine number determine ownership place and the operator of the user.And since in this step, mobile terminal is not presently within Networking state, so needing in advance former positions of memory mobile phone number and the ownership place of user and operator on mobile terminals The rule of correspondence, when performing step 1, first obtains the rule of correspondence, then can determine user characteristics according to the rule of correspondence.
Step 2:Changed using the corresponding coding rule of user characteristics to ordering set meal type.
Wherein, coding rule may be different used by different ownership place and operator, using the corresponding volume of user characteristics Code rule is changed to ordering set meal type.For example, it is 100M to order set meal type, be converted to using coding rule GPRS100。
Step 3:The flow of mark and transformed order set meal type that generation includes user orders order.
Wherein, flow orders order either short message or the message sent by internet.
Step 4:Flow order order is sent to the corresponding carrier server of user characteristics.
The interface of the corresponding carrier server of different user feature is preset with server, it is special that each interface includes user Levy the corresponding carrier server of corresponding coding rule and user characteristics.After generation flow orders order, flow is ordered Order is sent to the corresponding carrier server of user characteristics.
Further, this method further includes:
Receive the flow that mobile terminal is sent by internet and order message, it is according to flow esteemed favor that flow, which orders message, Breath generation;Message is ordered according to flow and orders flow from carrier server for user.
Ordering message here according to flow can phase with step S43 for the method for user's order flow from carrier server Together, do not repeat.
Further, this method further includes:
The test post that mobile terminal is sent is received, whether test post is used to test mobile terminal currently in networking shape State;Response message is sent to mobile terminal, response message instruction mobile terminal is currently at networking state.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 6 is a kind of block diagram of mobile terminal according to an exemplary embodiment, as shown in fig. 6, the mobile terminal Including:
Acquisition module 501, for obtaining the flow ordering information of user, flow ordering information includes the mark of user and orders Purchase set meal type.
Wherein, the mark of user is usually the phone number of user;Set meal type is ordered to be provided generally according to operator Set meal determine that each the set meal flow for ordering set meal type or rate are different.
Judgment module 502, for judging whether mobile terminal is in networking state, specifically judges whether mobile terminal connects Connect internet.
Processing module 503, for when mobile terminal is not presently within networking state, being generated and being flowed according to flow ordering information Amount orders short message, and orders short message to server transmitted traffic, and server is used to order stream according to flow order short message for user Amount.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 7 is a kind of block diagram of mobile terminal according to an exemplary embodiment, as shown in fig. 7, the mobile terminal Including:
Acquisition module 601, for obtaining the flow ordering information of user, flow ordering information includes the mark of user and orders Purchase set meal type.
Wherein, the mark of user is usually the phone number of user;Set meal type is ordered to be provided generally according to operator Set meal determine that each the set meal flow for ordering set meal type or rate are different.
Judgment module 602, for judging whether mobile terminal is in networking state, specifically judges whether mobile terminal connects Connect internet.
Processing module 603, for when mobile terminal is not presently within networking state, being generated and being flowed according to flow ordering information Amount orders short message, and orders short message to server transmitted traffic, and server is used to order stream according to flow order short message for user Amount.
Further, processing module 603 is additionally operable to:
When mobile terminal is currently at networking state, flow is generated according to flow ordering information and orders message, and is passed through Message is ordered in internet to server transmitted traffic, and server is used to order message according to flow as user's order flow.
In the embodiments of the present disclosure, acquisition module 601, including:
Submodule 6011 is provided, for providing a flow ordering interface, flow ordering interface is used to supply user input flow amount Ordering information;
Acquisition submodule 6012, the flow ordering information inputted for obtaining user by flow ordering interface.
In the embodiments of the present disclosure, judgment module 602, judge whether mobile terminal is currently in networking state, can adopt Realized with following manner:
Test post is sent to server, test post is used to test whether mobile terminal is currently in networking state;
When receiving the response message of server transmission, determine that mobile terminal is currently at networking state;When not receiving To server send response message when, determine that mobile terminal is not presently within networking state;
In the embodiments of the present disclosure, judgment module 602, judge whether mobile terminal is currently in networking state, can be with Realized using following manner:
Network information interface in mobile terminal is called to judge whether mobile terminal is currently in networking state.
Mobile terminal calls getActiveNetworkInfo () in ConnectivityManager classes to obtain NetworkInfo, judges whether network connects according to isConnected () method of NetworkInfo.
Server is either for the server from carrier server for user's order flow or operator Server.
In the embodiments of the present disclosure, when server is used to order flow from carrier server for user, processing module 603, it is specifically used for:
The flow that generation includes flow ordering information orders short message.Flow orders short message either including flow esteemed favor In itself or the information after being encoded including flow ordering information, coding mode only needs in server and mobile terminal breath Between arranged.
When server is carrier server, processing module 603, is specifically used for:
User characteristics is determined according to the mark of user, user characteristics includes ownership place and the operator of user;Using user The corresponding coding rule of feature is changed to ordering set meal type;Generation includes the mark of user and transformed order set meal The flow of type orders short message.
The mark of user is usually phone number, and the mode for determining user characteristics according to phone number is usually:According to hand Former positions of machine number determine ownership place and the operator of the user.And since in this step, mobile terminal is not presently within Networking state, so needing in advance former positions of memory mobile phone number and the ownership place of user and operator on mobile terminals The rule of correspondence.Processing module 603 can first obtain the rule of correspondence, then can determine user characteristics according to the rule of correspondence.
Wherein, coding rule may be different used by different ownership place and operator, using the corresponding volume of user characteristics Code rule is changed to ordering set meal type.For example, it is 100M to order set meal type, be converted to using coding rule GPRS100。
The interface of the corresponding carrier server of different user feature is preset with mobile terminal, each interface includes user The corresponding coding rule of feature and the corresponding carrier server of user characteristics.After generation flow orders short message, flow is ordered Purchase short message sending gives user characteristics corresponding carrier server.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 8 is a kind of block diagram of server according to an exemplary embodiment, as shown in figure 8, the server includes:
Receiving module 701, the flow for receiving mobile terminal transmission order short message, and it is according to flow that flow, which orders short message, Ordering information generation, flow ordering information includes the mark of user and orders set meal type.
Wherein, it is then that mobile terminal is sent under unconnected state that flow, which orders short message,.The mark of user is usually to use The phone number at family;Order set meal type to determine generally according to the set meal that operator is provided, each set for ordering set meal type Meal flow or rate are different.
Processing module 702, flow is ordered for ordering short message according to flow from carrier server for user.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
Fig. 9 is a kind of block diagram of server according to an exemplary embodiment, as shown in figure 9, the server includes:
Receiving module 801, the flow for receiving mobile terminal transmission order short message, and it is according to flow that flow, which orders short message, Ordering information generation, flow ordering information includes the mark of user and orders set meal type.
Wherein, it is then that mobile terminal is sent under unconnected state that flow, which orders short message,.The mark of user is usually to use The phone number at family;Order set meal type to determine generally according to the set meal that operator is provided, each set for ordering set meal type Meal flow or rate are different.
Processing module 802, flow is ordered for ordering short message according to flow from carrier server for user.
Further, processing module 802, are additionally operable to:
Receive the flow that mobile terminal is sent by internet and order message, it is according to flow esteemed favor that flow, which orders message, Breath generation;Message is ordered according to flow and orders flow from carrier server for user.
In the embodiments of the present disclosure, processing module 802, including:
Acquisition submodule 8021, for obtaining the flow ordering information in flow order short message.
Flow orders short message either including flow ordering information in itself or including flow ordering information coding Information afterwards, coding mode only need to be arranged between server and mobile terminal.
Correspondingly, the flow ordering information in flow order short message is obtained:Then only need to directly acquire the flow in short message Ordering information, or obtain the information after flow ordering information coding and then accordingly decoded.
Submodule 8022 is handled, for ordering flow according to flow ordering information for user.
Further, submodule 8022 is handled, is used for:
User characteristics is determined according to the mark of user, user characteristics includes ownership place and the operator of user;Using user The corresponding coding rule of feature is changed to ordering set meal type;Generation includes the mark of user and transformed order set meal The flow of type orders order;Flow order order is sent to the corresponding carrier server of user characteristics.
The mark of user is usually phone number, and the mode for determining user characteristics according to phone number is usually:According to hand Former positions of machine number determine ownership place and the operator of the user.And since in this step, mobile terminal is not presently within Networking state, so needing in advance former positions of memory mobile phone number and the ownership place of user and operator on mobile terminals The rule of correspondence, processing submodule 8022 first obtain the rule of correspondence, then can determine user characteristics according to the rule of correspondence.
Wherein, coding rule may be different used by different ownership place and operator, using the corresponding volume of user characteristics Code rule is changed to ordering set meal type.For example, it is 100M to order set meal type, be converted to using coding rule GPRS100。
The interface of the corresponding carrier server of different user feature is preset with server, it is special that each interface includes user Levy the corresponding carrier server of corresponding coding rule and user characteristics.After generation flow orders order, flow is ordered Order is sent to the corresponding carrier server of user characteristics.
In the embodiments of the present disclosure, receiving module 801, are additionally operable to:
The test post that mobile terminal is sent is received, whether test post is used to test mobile terminal currently in networking shape State;
Server further includes:Sending module 803, for sending response message, response message instruction movement to mobile terminal Terminal is currently at networking state.
The disclosure is by obtaining the flow ordering information of user, then judges whether mobile terminal networks, if mobile terminal Do not network, then generating flow according to flow ordering information orders short message, and orders short message, server to server transmitted traffic After receiving flow and ordering short message, user can be helped to order flow, the mode that this flow is ordered is independent of network, i.e., Make also realize that flow is ordered in the case of no network.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 10 is a kind of block diagram of device 900 ordered for flow according to an exemplary embodiment.For example, dress It can be mobile terminal to put 900.
With reference to Figure 10, device 900 can include following one or more assemblies:Processing component 902, memory 904, electric power Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor component 914, and Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as with display, call, data communication, phase The operation that machine operates and record operation is associated.Processing component 902 can refer to including one or more processors 920 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing component 902 can include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application program or method for being operated on device 900, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 906 provides electric power for the various assemblies of device 900.Electric power assembly 906 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 900.
Multimedia component 908 is included in the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In certain embodiments, audio component 910 further includes a loudspeaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor component 914 can detect opening/closed mode of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor component 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor component 914 can include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor component 914 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 904 of instruction, above-metioned instruction can be performed to complete the above method by the processor 920 of device 900.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of device During row so that device enough performs a kind of flow booking method, the described method includes:
The flow ordering information of user is obtained, the flow ordering information includes the mark of user and orders set meal type;
Judge whether the mobile terminal is in networking state;
When the mobile terminal is not presently within networking state, it is short that flow order is generated according to the flow ordering information Letter, and short message is ordered to server transmitted traffic, it is that the user orders that the server, which is used to order short message according to the flow, Purchase flow.
Figure 11 is a kind of block diagram of device 1900 ordered for flow according to an exemplary embodiment.For example, Device 1900 may be provided as a server.With reference to Figure 11, device 1900 includes processing component 1922, it further comprises one A or multiple processors, and as the memory resource representated by memory 1932, can be by processing component 1922 for storing The instruction of execution, such as application program.The application program stored in memory 1932 can include one or more every One module for corresponding to one group of instruction.In addition, processing component 1922 is configured as execute instruction, to perform above method flow Booking method.
Device 1900 can also include a power supply module 1926 and be configured as the power management of executive device 1900, one Wired or wireless network interface 1950 is configured as device 1900 being connected to network, and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Figure 12 is a kind of flow order system according to an exemplary embodiment, and as shown in figure 12, which includes Mobile terminal 1100 as described in Fig. 6 or 7 corresponds to embodiment and the server 1200 as described in Fig. 8 or 9 corresponds to embodiment.
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by appended claim.

Claims (17)

  1. A kind of 1. flow booking method, it is characterised in that the described method includes:
    The flow ordering information of acquisition for mobile terminal user, the flow ordering information include the mark of user and order set meal class Type;
    Judge whether the mobile terminal is in networking state;
    When the mobile terminal is not presently within networking state, flow is generated according to the flow ordering information and orders short message, And short message is ordered to server transmitted traffic, the server is used to order short message according to the flow as user order stream Amount;
    It is described according to the flow esteemed favor when the server is used to order flow from carrier server for the user Breath generation flow orders short message, including:
    The flow that generation includes the flow ordering information orders short message, and the server is used to obtain the flow order short message In flow ordering information;User characteristics is determined according to the mark of the user, the user characteristics includes returning for the user Possession and operator;According to the interface of the corresponding carrier server of default different user feature in the server, use The corresponding coding rule of the user characteristics changes the order set meal type, and the interface includes user characteristics correspondence Coding rule and the corresponding carrier server of user characteristics;Generation includes the mark of the user and transformed described orders The flow for purchasing set meal type orders order;Flow order order is sent to the corresponding carrier service of the user characteristics Device;
    Alternatively,
    It is described that flow order short message, bag are generated according to the flow ordering information when the server is carrier server Include:
    User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operator of the user;
    According to the interface of the corresponding carrier server of default different user feature in the mobile terminal, using the user The corresponding coding rule of feature changes the order set meal type, and the interface includes the corresponding coding rule of user characteristics The then corresponding carrier server with user characteristics;
    Generation includes the mark of the user and the transformed flow for ordering set meal type orders short message.
  2. 2. according to the method described in claim 1, it is characterized in that, the method further includes:
    When the mobile terminal is currently at networking state, flow is generated according to the flow ordering information and orders message, and Message is ordered to the server transmitted traffic by internet, it is institute that the server, which is used to order message according to the flow, State user and order flow.
  3. 3. method according to claim 1 or 2, it is characterised in that the acquisition for mobile terminal customer flow ordering information, Including:
    A flow ordering interface is provided, the flow ordering interface is used to input the flow ordering information for user;
    Obtain the flow ordering information that the user is inputted by the flow ordering interface.
  4. 4. method according to claim 1 or 2, it is characterised in that described to judge whether the mobile terminal is currently in Networking state, including:
    Test post is sent to the server, whether the test post is used to test the mobile terminal currently in networking State;
    When receiving the response message that the server is sent, determine that the mobile terminal is currently at networking state;When not When receiving the response message that the server is sent, determine that the mobile terminal is not presently within networking state;
    Judge whether the mobile terminal is currently in networking state alternatively, described, including:
    Network information interface in the mobile terminal is called to judge whether the mobile terminal is currently in networking state.
  5. A kind of 5. flow booking method, it is characterised in that the described method includes:
    Server receives the flow that mobile terminal is sent and orders short message, and the flow, which orders short message, is given birth to according to flow ordering information Into, the flow ordering information includes the mark of user and orders set meal type;
    Short message is ordered according to the flow and orders flow from carrier server for the user;
    It is described that flow is ordered for the user from carrier server according to flow order short message, including:
    Obtain the flow ordering information in the flow order short message;
    Flow is ordered for the user according to the flow ordering information;
    It is described that flow is ordered for the user according to the flow ordering information, including:
    User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operator of the user;
    It is special using the user according to the interface of the corresponding carrier server of default different user feature in the server Levy corresponding coding rule to change the order set meal type, the interface includes the corresponding coding rule of user characteristics Carrier server corresponding with user characteristics;
    Generation includes the mark of the user and the transformed flow for ordering set meal type orders order;
    Flow order order is sent to the corresponding carrier server of the user characteristics.
  6. 6. according to the method described in claim 5, it is characterized in that, the method further includes:
    Receive the flow that mobile terminal is sent by internet and order message, the flow, which orders message, to be ordered according to the flow Purchase information generation;
    Message is ordered according to the flow and orders flow from carrier server for the user.
  7. 7. the method according to claim 5 or 6, it is characterised in that the method further includes:
    The test post that the mobile terminal is sent is received, the test post is used to test whether the mobile terminal is currently located In networking state;
    Response message is sent to the mobile terminal.
  8. 8. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Acquisition module, for obtaining the flow ordering information of user, the flow ordering information includes the mark and order of user Set meal type;
    Judgment module, for judging whether the mobile terminal is in networking state;
    Processing module, for when the mobile terminal is not presently within networking state, being generated according to the flow ordering information Flow orders short message, and orders short message to server transmitted traffic, and the server is for ordering short message according to the flow The user orders flow;
    When the server is used to order flow from carrier server for the user, the processing module, is specifically used for:
    The flow that generation includes the flow ordering information orders short message, and the server is used to obtain the flow order short message In flow ordering information;User characteristics is determined according to the mark of the user, the user characteristics includes returning for the user Possession and operator;According to the interface of the corresponding carrier server of default different user feature in the server, use The corresponding coding rule of the user characteristics changes the order set meal type, and the interface includes user characteristics correspondence Coding rule and the corresponding carrier server of user characteristics;Generation includes the mark of the user and transformed described orders The flow for purchasing set meal type orders order;Flow order order is sent to the corresponding carrier service of the user characteristics Device;
    Alternatively,
    When the server is carrier server, the processing module, is specifically used for:
    User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operator of the user;
    According to the interface of the corresponding carrier server of default different user feature in the mobile terminal, using the user The corresponding coding rule of feature changes the order set meal type, and the interface includes the corresponding coding rule of user characteristics The then corresponding carrier server with user characteristics;
    Generation includes the mark of the user and the transformed flow for ordering set meal type orders short message.
  9. 9. mobile terminal according to claim 8, it is characterised in that the processing module is additionally operable to:
    When the mobile terminal is currently at networking state, flow is generated according to the flow ordering information and orders message, and Message is ordered to the server transmitted traffic by internet, it is institute that the server, which is used to order message according to the flow, State user and order flow.
  10. 10. mobile terminal according to claim 8, it is characterised in that the acquisition module, including:
    Submodule is provided, for providing a flow ordering interface, the flow ordering interface is used to input the flow for user Ordering information;
    Acquisition submodule, the flow ordering information inputted for obtaining the user by the flow ordering interface.
  11. 11. mobile terminal according to claim 8, it is characterised in that the judgment module, is specifically used for:
    Test post is sent to the server, whether the test post is used to test the mobile terminal currently in networking State;
    When receiving the response message that the server is sent, determine that the mobile terminal is currently at networking state;When not When receiving the response message that the server is sent, determine that the mobile terminal is not presently within networking state;
    Alternatively, the judgment module, is specifically used for:
    Network information interface in the mobile terminal is called to judge whether the mobile terminal is currently in networking state.
  12. 12. a kind of server, it is characterised in that the server includes:
    Receiving module, the flow for receiving mobile terminal transmission order short message, and the flow, which orders short message, to be ordered according to flow Information generation is purchased, the flow ordering information includes the mark of user and orders set meal type;
    Processing module, flow is ordered for ordering short message according to the flow from carrier server for the user;
    The processing module, including:
    Acquisition submodule, for obtaining the flow ordering information in the flow order short message;
    Submodule is handled, for ordering flow according to the flow ordering information for the user;
    The processing submodule, is specifically used for:
    User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operator of the user;
    It is special using the user according to the interface of the corresponding carrier server of default different user feature in the server Levy corresponding coding rule to change the order set meal type, the interface includes the corresponding coding rule of user characteristics Carrier server corresponding with user characteristics;
    Generation includes the mark of the user and the transformed flow for ordering set meal type orders order;
    Flow order order is sent to the corresponding carrier server of the user characteristics.
  13. 13. server according to claim 12, it is characterised in that the processing module, is additionally operable to:
    Receive the flow that mobile terminal is sent by internet and order message, the flow, which orders message, to be ordered according to the flow Purchase information generation;
    Message is ordered according to the flow and orders flow from carrier server for the user.
  14. 14. server according to claim 12, it is characterised in that the receiving module, is additionally operable to:
    The test post that the mobile terminal is sent is received, the test post is used to test whether the mobile terminal is currently located In networking state;
    The server further includes:Sending module, for sending response message to the mobile terminal.
  15. 15. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    The flow ordering information of user is obtained, the flow ordering information includes the mark of user and orders set meal type;
    Judge whether the mobile terminal is in networking state;
    When the mobile terminal is not presently within networking state, flow is generated according to the flow ordering information and orders short message, And short message is ordered to server transmitted traffic, the server is used to order short message according to the flow as user order stream Amount;
    It is described according to the flow esteemed favor when the server is used to order flow from carrier server for the user Breath generation flow orders short message, including:
    The flow that generation includes the flow ordering information orders short message, and the server is used to obtain the flow order short message In flow ordering information;User characteristics is determined according to the mark of the user, the user characteristics includes returning for the user Possession and operator;According to the interface of the corresponding carrier server of default different user feature in the server, use The corresponding coding rule of the user characteristics changes the order set meal type, and the interface includes user characteristics correspondence Coding rule and the corresponding carrier server of user characteristics;Generation includes the mark of the user and transformed described orders The flow for purchasing set meal type orders order;Flow order order is sent to the corresponding carrier service of the user characteristics Device;
    Alternatively,
    It is described that flow order short message, bag are generated according to the flow ordering information when the server is carrier server Include:
    User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operator of the user;
    According to the interface of the corresponding carrier server of default different user feature in the mobile terminal, using the user The corresponding coding rule of feature changes the order set meal type, and the interface includes the corresponding coding rule of user characteristics The then corresponding carrier server with user characteristics;
    Generation includes the mark of the user and the transformed flow for ordering set meal type orders short message.
  16. 16. a kind of server, it is characterised in that the server includes:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Receiving the flow that mobile terminal is sent and order short message, the flow, which orders short message, to be generated according to flow ordering information, The flow ordering information includes the mark of user and orders set meal type;
    Short message is ordered according to the flow and orders flow from carrier server for the user;
    It is described that flow is ordered for the user from carrier server according to flow order short message, including:
    Obtain the flow ordering information in the flow order short message;
    Flow is ordered for the user according to the flow ordering information;
    It is described that flow is ordered for the user according to the flow ordering information, including:
    User characteristics is determined according to the mark of the user, the user characteristics includes ownership place and the operator of the user;
    It is special using the user according to the interface of the corresponding carrier server of default different user feature in the server Levy corresponding coding rule to change the order set meal type, the interface includes the corresponding coding rule of user characteristics Carrier server corresponding with user characteristics;
    Generation includes the mark of the user and the transformed flow for ordering set meal type orders order;
    Flow order order is sent to the corresponding carrier server of the user characteristics.
  17. 17. a kind of flow order system, it is characterised in that the system comprises the movement of such as claim 8-11 any one of them Terminal and such as claim 12-14 any one of them servers.
CN201510462979.9A 2015-07-31 2015-07-31 Flow booking method and system, mobile terminal and server Active CN105049219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510462979.9A CN105049219B (en) 2015-07-31 2015-07-31 Flow booking method and system, mobile terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510462979.9A CN105049219B (en) 2015-07-31 2015-07-31 Flow booking method and system, mobile terminal and server

Publications (2)

Publication Number Publication Date
CN105049219A CN105049219A (en) 2015-11-11
CN105049219B true CN105049219B (en) 2018-05-08

Family

ID=54455441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510462979.9A Active CN105049219B (en) 2015-07-31 2015-07-31 Flow booking method and system, mobile terminal and server

Country Status (1)

Country Link
CN (1) CN105049219B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515906A (en) * 2015-12-10 2016-04-20 小米科技有限责任公司 Traffic information calibration method, device and terminal
CN105578512B (en) * 2016-03-24 2019-05-31 北京奇虎科技有限公司 Method, apparatus and traffic server for mobile terminal traffic alignment
US10827078B2 (en) 2016-04-27 2020-11-03 Huawei Technologies Co., Ltd. Traffic package providing method and related device
CN106130743A (en) * 2016-07-01 2016-11-16 江苏省公用信息有限公司 A kind of flow processing method
CN106789120A (en) * 2016-12-12 2017-05-31 中兴通讯股份有限公司 A kind of charge on traffic method, system and control server
CN107548056B (en) * 2017-08-31 2021-01-01 北京博思汇众科技股份有限公司 Roaming data processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008048075A1 (en) * 2006-10-19 2008-04-24 Insprit Co., Ltd. System of providing integrated push service and method therof
CN102196408A (en) * 2011-05-11 2011-09-21 华为软件技术有限公司 Communication service plan subscription method, service using control method, equipment and system
CN102595305A (en) * 2012-02-07 2012-07-18 中国联合网络通信集团有限公司 Processing method and system for customizing teleservice packages

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008048075A1 (en) * 2006-10-19 2008-04-24 Insprit Co., Ltd. System of providing integrated push service and method therof
CN102196408A (en) * 2011-05-11 2011-09-21 华为软件技术有限公司 Communication service plan subscription method, service using control method, equipment and system
CN102595305A (en) * 2012-02-07 2012-07-18 中国联合网络通信集团有限公司 Processing method and system for customizing teleservice packages

Also Published As

Publication number Publication date
CN105049219A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN104318741B (en) Bluetooth equipment control method and device
CN104780155B (en) Apparatus bound method and device
CN104469714B (en) Note transmission method and device
CN104468329B (en) Member adding method and device based on instant messaging
CN105426200B (en) Communication module group firmware and plug-in unit generation method and device
CN104159218B (en) Internetwork connection establishing method and device
CN104506443B (en) Router sets interface display method and device
CN106126420A (en) Application program adjustment method and device
CN109271239A (en) Method, apparatus, system, equipment and the medium of data processing
KR101642019B1 (en) Method, apparatus, program, and recording medium of verifying terminal
CN106792448A (en) Bluetooth connecting method and device, system
CN104580019A (en) Network service supplying method and device
CN106454998A (en) Wireless local area network access method and apparatus, and terminal
CN104601204B (en) trigger condition detection method and device
CN107703348A (en) The detection method and device of smart jack
CN104539497B (en) Method for connecting network and device
CN105207813A (en) Intelligent equipment sorting method and apparatus
CN107562500A (en) Debugging apparatus, method and apparatus
CN105530129A (en) Router reset method and device
CN107734139A (en) The control method and device of terminal device
CN107070707A (en) Router initializes the determination method and apparatus of pattern
CN104994211A (en) Incoming call prompting method, device and system
CN106850556A (en) service access method, device and equipment
CN105512542A (en) Information inputting method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant