CN106888442A - Traffic alignment method and terminal - Google Patents
Traffic alignment method and terminal Download PDFInfo
- Publication number
- CN106888442A CN106888442A CN201710026259.7A CN201710026259A CN106888442A CN 106888442 A CN106888442 A CN 106888442A CN 201710026259 A CN201710026259 A CN 201710026259A CN 106888442 A CN106888442 A CN 106888442A
- Authority
- CN
- China
- Prior art keywords
- sim
- information
- flow
- data
- traffic
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
A kind of traffic alignment method and terminal are announced herein, and the method includes:SIM card information is set;According to the SIM card information, the flow information of SIM is obtained;According to the flow information of the SIM, the amendment of traffic data.The application can obtain more accurately data on flows, be easy to user more rationally, more effectively to carry out assignment of traffic and the control of corresponding SIM, it is to avoid user produces the situation of great number telephone expenses to occur because of flow beyond quota, so as to greatly improve Consumer's Experience.
Description
Technical field
The application is related to field of terminal technology, espespecially a kind of traffic alignment method and terminal.
Background technology
With science and technology it is growing, mobile terminal have become user use temperature highest electronic equipment, it is right
The Consumer's Experience requirement more and more higher of mobile terminal various functions, the wherein related function of network is user's frequency of use highest
One of Core Feature.
Because mobile network is according to flow charging, if user uses mobile network in the case of outside flow package
Network, it will produce expense higher.Therefore, the calibration of traffic statistics result is extremely important for user.
Therefore, how not only to have taken into account the degree of accuracy but also taken into account power consumption, performance etc. and carry out traffic alignment, and it is timely when necessary
User is notified, is problem demanding prompt solution.
The content of the invention
In order to solve the above-mentioned technical problem, a kind of traffic alignment method and terminal be the embodiment of the invention provides.In view of
This, the embodiment of the invention provides a kind of traffic alignment method, including:
SIM card information is set;
According to the SIM card information, the flow information of SIM is obtained;
According to the flow information of the SIM, the amendment of traffic data.
Alternatively, the setting SIM card information, including:
Traffic alignment interface is provided;
Receive the SIM card information that user is input on the traffic alignment interface.
Alternatively, it is described according to the SIM card information, the flow information of SIM is obtained, including:
According to the SIM card information, the flow information of the SIM is directly obtained to corresponding carrier server.
Alternatively, it is described according to the SIM card information, the flow information of SIM is obtained, including:
SIM flow information short message enquiry is sent to corresponding carrier server according to the SIM card information;
The flow short message that the carrier server is returned is intercepted, the SIM is included in the flow short message
Flow information.
Alternatively, the flow information according to the SIM, the amendment of traffic data, including:
One of following or any multinomial combination is updated according to the SIM flow information:
SIM set meal data;
The current data on flows for having used;
Residual flow data;
Beyond the data on flows of the SIM set meal limit.
The embodiment of the present invention additionally provides a kind of terminal, including:
Traffic alignment module, for setting SIM card information, and obtains the flow letter of SIM according to the SIM card information
Breath;And, according to the flow information of the SIM, the amendment of traffic data.
Alternatively, the traffic alignment module is used to obtain the SIM flow information in the following way:
According to the SIM card information, the flow information of the SIM is directly obtained to corresponding carrier server.
Alternatively, also include:Information module;
The traffic alignment module, is additionally operable to send calibration command to described information module, and receive described information module
The flow short message of return;
Described information module, for the calibration command sent according to the traffic alignment module, to accordingly to corresponding
Carrier server sends SIM flow information short message enquiry, intercepts the flow short message of the carrier server return simultaneously
Return to the traffic alignment module.
Wherein, the flow information comprising the SIM in the flow short message.
Alternatively, the traffic alignment module, specifically for according to the SIM flow information to one of following or any
Multinomial combination is updated:
SIM set meal data;
The current data on flows for having used;
Residual flow data;
Beyond the data on flows of the SIM set meal limit.
The embodiment of the present invention additionally provides a kind of terminal, including:Processor and memory, the memory storage have calculating
Machine executable instruction, realizes following method when the computer executable instructions are by the computing device:
SIM card information is set;
According to the SIM card information, the flow information of SIM is obtained;
According to the flow information of the SIM, the amendment of traffic data.
A kind of traffic alignment method and terminal are the embodiment of the invention provides, is carried out by the data on flows to mobile terminal
Calibration so that the data on flows of the actual calculating of data on flows and operator that terminal is counted on is consistent, and can obtain more accurate
True data on flows, is easy to user more rationally, more effectively to carry out assignment of traffic and the control of corresponding SIM, it is to avoid Yong Huyin
Flow produces the situation of great number telephone expenses to occur beyond quota, so as to greatly improve Consumer's Experience.
Additionally, the embodiment of the present invention can also regularly update the related flow package configuration information of SIM, so as to more accurate
Synchronous terminal in set SIM set meal reference information so that the SIM flow service condition that mobile terminal is obtained is more accurate
Really, it is more efficient to avoid user from producing the situation of great number telephone expenses to occur beyond quota because of flow, so as to greatly improve user
Experience.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this
The embodiment of application for explaining technical scheme, does not constitute the limitation to technical solution of the present invention together.
Fig. 1 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of embodiment of the present invention traffic alignment method;
Fig. 4 implements schematic flow sheet for embodiment of the present invention traffic alignment method;
Fig. 5 is the composition structural representation of embodiment of the present invention terminal.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use
For represent element such as " module ", " part " or " unit " suffix only for being conducive to explanation of the invention, itself
Not specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP
The mobile terminal of (portable media player), guider etc. and such as numeral TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for movement
Outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, A/V (audio/video) input block 120, user input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..
Fig. 1 shows the mobile terminal 1 00 with various assemblies, it should be understood that being not required for implementing all showing
The component for going out.More or less component can alternatively be implemented.The element of mobile terminal 1 00 will be discussed in more detail below.
Wireless communication unit 110 can generally include one or more assemblies, and it allows mobile terminal 1 00 and radio communication
Radio communication between system or network.For example, wireless communication unit 110 can include that broadcasting reception module 111, movement are logical
At least one of letter module 112, wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB)
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@)
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice
Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module
115 typical case is GPS (global positioning system).According to current technology, GPS calculate from three or more satellites away from
Information application triangulation from information and correct time information and for calculating, so as to according to longitude, latitude and height
Degree calculates three-dimensional current location information exactly.Currently, three satellites are used simultaneously for calculating the method for position and temporal information
And the error of the position and temporal information for calculating is corrected by using an other satellite.Additionally, GPS can be by real-time
Ground Continuous plus current location information carrys out calculating speed information.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121
Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus
Or the view data of video is processed.Picture frame after treatment may be displayed on display unit 151.Processed through camera 121
Picture frame afterwards can be stored in memory 160 (or other storage mediums) or sent out via wireless communication unit 110
Send, two or more cameras 121 can be provided according to the construction of mobile terminal 1 00.Microphone 122 can be in telephone relation mould
In formula, logging mode, speech recognition mode etc. operational mode sound (voice data), and energy are received via microphone 122
Enough is voice data by such acoustic processing.Audio (voice) data after treatment can be in the case of telephone calling model
The form that being converted to can be sent to mobile communication base station via mobile communication module 112 is exported.Microphone 122 can be implemented various
The noise of type eliminates (or suppression) algorithm and is being received and making an uproar of producing during sending audio signal with eliminating (or suppression)
Sound or interference.
User input unit 130 can generate key input data to control mobile terminal 1 00 according to the order of user input
Various operations.User input unit 130 allow the various types of information of user input, and can include keyboard, metal dome,
Touch pad (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, shake
Bar etc..Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape
State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal
The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed
The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can include proximity transducer 141.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from
The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00
One or more elements can be used for transmitting data between mobile terminal 1 00 and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity
Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it
It is transferred to the path of mobile terminal 1 00.Can serve as recognizing mobile terminal 1 00 from the various command signals or electric power of base input
Whether signal base on is accurately fitted within.Output unit 150 is configured to be provided with vision, audio and/or tactile manner
Output signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include aobvious
Show unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit
151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving
Dynamic terminal 100 can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect
Touch input pressure and touch input position and touch input area.
Dio Output Modules 152 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
It is that wireless communication unit 110 is received or in memory when under the isotypes such as formula, speech recognition mode, broadcast reception mode
In 160 store voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide with
The audio output of the specific function correlation that mobile terminal 1 00 is performed is (for example, call signal receives sound, message sink sound etc.
Deng).Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit
153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating
Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm list
Unit 153 can provide tactile output (that is, vibrating) to notify to user.Exported by providing such tactile, even if
When in pocket of the mobile phone of user in user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data
Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control
Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180.
For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language
Implement, software code can be stored in memory 160 and performed by controller 180.
So far, oneself according to its function through describing mobile terminal 1 00.In addition, the mobile terminal 1 00 in the embodiment of the present invention
Can be such as folded form, board-type, oscillating-type, sliding-type and other various types of mobile terminals, not do herein specifically
Limit.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system are operated.
The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple intelligent terminals 100, multiple base station (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC 280 is also structured to be formed with the BSC 275 that can be couple to base station 270 via back haul link and connects
Mouthful.If any one in the interface that back haul link can be known according to Ganji is constructed, the interface can include such as Europe mark
Quasi- high power capacity digital circuit/Unite States Standard high power capacity digital circuit (E1/T1), asynchronous transfer mode (ATM), procotol
(IP), point-to-point protocol (PPP), frame relay, high-bit-rate digital subscriber line road (HDSL), Asymmetrical Digital Subscriber Line (ADSL)
Or all kinds digital subscriber line (xDSL).It will be appreciated that system can include multiple BSC 275 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion of line covering is radially away from BS 270.Or, each subregion can by two for diversity reception or more
Multiple antennas are covered.Each BS 270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency
Spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single BSC
275 and at least one BS 270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS 270 can be claimed
It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT 295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals
At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful
Location information.Location information module 115 as shown in Figure 1 is (such as:GPS) it is generally configured to coordinate to obtain with satellite 300
The location information that must be wanted.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track mobile whole
Other technologies of the position at end.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb biography
It is defeated.
Used as a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminal 1s 00
Road signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of certain base station reception is anti-
Processed in specific BS 270 to link signal.The data of acquisition are forwarded to the BSC 275 of correlation.BSC provides logical
Words resource allocation and the mobile management function of the coordination including the soft switching process between BS 270.BSC 275 will also be received
Data be routed to MSC 280, its provide for PSTN 290 formed interface extra route service.Similarly, PSTN
290 form interface with MSC 280, and MSC 280 and BSC 275 form interface, and BSC 275 correspondingly control BS 270 with by
Forward link signals are sent to mobile terminal 1 00.
Embodiment one
As shown in figure 3, this application provides a kind of traffic alignment method, mobile terminal is applied to, including:
Step 301, sets SIM card information;
Step 302, according to the SIM card information, obtains the flow information of SIM;
Step 303, according to the flow information of the SIM, the amendment of traffic data.
In the present embodiment, calibrated by the data on flows to mobile terminal so that the data on flows that terminal is counted on
The data on flows of calculating actual with operator is consistent, and can obtain more accurately data on flows, is easy to user more rationally, more
Effectively carry out assignment of traffic and the control of corresponding SIM, it is to avoid user produces the feelings of great number telephone expenses beyond quota because of flow
Condition occurs, so as to greatly improve Consumer's Experience.
Additionally, the present embodiment can also regularly update the related flow package configuration information of SIM, so as to more accurately same
The SIM set meal reference information set in step terminal so that the SIM flow service condition that mobile terminal is obtained is more accurate, more
Plus user is prevented effectively from because flow produces the situation of great number telephone expenses to occur beyond quota, so as to greatly improve Consumer's Experience.
In some implementations, SIM card information is set in step 301, can includes:Traffic alignment interface is provided;Connect
Receive the SIM card information that user is input on the traffic alignment interface.In this way, realizing traffic alignment by the form of user interface
Related user's operation, it is more convenient, it is also more humane, more preferably Consumer's Experience can be obtained.
In practical application, when obtaining the flow information of SIM according to the SIM card information in step 302, can be by two
The mode of kind is realized:One kind is directly to obtain SIM flow information to carrier server, and another kind is by the form of short message
SIM flow information is inquired about to carrier server.Wherein, " direct " can refer to carrier server timing actively to movement
Terminal pushes SIM flow information, it is also possible to be directed to the request of carrier server transmission acquisition SIM flow information (such as
HTTP request or other kinds of request, start at traffic alignment interface, and the request will be automatic after SIM card information is set successfully
Send to corresponding carrier server) and receive the SIM flow information that the carrier server is returned.Which is specifically used
The mode of kind, depends on whether to support the mode of " direct " acquisition, if supported, can be with direct access, and can if not supporting
SIM flow information is obtained in the form of by short message.
In some implementations, it is described that the flow information of SIM is obtained according to the SIM card information, can include:
According to the SIM card information, the flow information of the SIM is directly obtained to corresponding carrier server.
In some implementations, it is described that the flow information of SIM is obtained according to the SIM card information, can include:
SIM flow information short message enquiry is sent to corresponding carrier server according to the SIM card information;Intercept the operator
The flow short message that server is returned, the flow information comprising the SIM in the flow short message.
In practical application, according to the flow information of the SIM in step 303, the amendment of traffic data can be wrapped
Include:One of following or any multinomial combination is updated according to the SIM flow information:1) SIM set meal data;2)
The current data on flows for having used;3) residual flow data;4) beyond the data on flows of the SIM set meal limit.
In the present embodiment, traffic alignment is realized based on calibration assemblies, in order to ensure that calibration assemblies do not influence mobile terminal stream
Measure monitoring stability, correcting travel in single process, accordingly even when calibration assemblies because it is unpredictable the reason for collapse
Fall, also do not interfere with the other functions of mobile terminal, influence can be preferably minimized.
During calibration, the SIM card information set according to user is inquired about to the data base calibration server of mobile terminal, traffic alignment module
Can be handled as follows:
Situation 1:The flow information of the SIM can be directly obtained from operator according to SIM card information, to the SIM
Card flow information is parsed, and performs corresponding treatment according to the result of the parsing, including:To SIM package information, when
The preceding data on flows for having used, residual flow data or the data on flows beyond set meal etc. are updated amendment.
Situation 2:
1) need to send message search, the corresponding calibration command of SIM is returned to information module by traffic alignment module;
2) information module sends SIM flow short message enquiry to corresponding carrier server, intercepts operator's clothes
The flow short message of business device return is simultaneously sent to traffic alignment module.
3) traffic alignment module receives the flow short message, and parsing obtains SIM flow information;
4) traffic alignment module is parsed to the SIM flow information, and right according to the execution of the result of the parsing
The treatment answered, including:To SIM set meal data, the current data on flows for having used, residual flow data, beyond the SIM
Data on flows of set meal limit etc. is updated.
The handling process of information module can include:
1) calibration command from traffic alignment module is received.
Here, SIM card information is included in the calibration command, what is given tacit consent in the SIM card information can be from column with number
What module both sides appointed in advance.It is sender number for dynamic combineds such as different operators, SIM classification and types of service
Code.
2) information module carries out the solution of number and content according to preset rules to the SIM flow information short message enquiry
Analysis;
3) information module is sent for inquiring about the short of SIM flow information according to the number and content for parsing and obtaining
Message is to corresponding carrier server;
4) information module intercepts the flow short message that the carrier server of the SIM is returned.
5) information module is by the flow short message to the traffic alignment module.
In practical application, the traffic alignment flow of the present embodiment can be in the following way realized:
1. pre-configured calibration sets interface, it is necessary to can be by the manually operated entrance of user during traffic alignment on mobile terminals
The calibration sets interface, and is input into SIM card information on the calibration setting interface;
2. acquisition for mobile terminal user sets the SIM card information set on interface in the calibration;
3. calibration service is started.
4. initialization of calibration component:Predominantly start double-card mobile phone traffic alignment module, traffic alignment monitor etc. is set.
5. start to perform calibration, if flow information directly can be obtained from operator, directly can be set according to user
The SIM card information put obtains the flow information of the SIM to corresponding carrier server;
6. if necessary to send message search flow information, then traffic alignment module sends the corresponding calibration command of SIM
To information module;
7. information module is sent for inquiring about specified number according to the calibration command to the carrier server of the SIM
The short message of code flow information, intercepts the short message of the carrier server return and is sent to traffic alignment module.
8. traffic alignment module parses the flow letter of the SIM from the short message from the carrier server
Breath.
9. traffic alignment module performs corresponding calibration actions according to the flow information of the SIM, and calibration actions can be with
Including:Flow information according to the SIM updates local SIM flow package (moon set meal, idle set meal etc.), has made the moon
With flow, moon residual flow, beyond information such as flows.
As shown in figure 4, the present embodiment traffic alignment method be able to can be included by following idiographic flow:
Step 401, traffic alignment starts;
Step 402, mobile terminal enters traffic alignment interface, and user sets SIM card information at the traffic alignment interface;
Here, the SIM card information can include:The corresponding operator of SIM and the SMS query number of operator
Deng.
Step 403, traffic alignment module judges whether to support from operator's direct access flow according to the SIM card information
Information, if it is, continuing step 404, otherwise continues step 405;
Step 404, traffic alignment module directly obtains the flow information of the SIM from corresponding carrier server,
And jump to step 411;
Step 405, traffic alignment module sends calibration command to information module;
Here, the SIM card information can be included in the calibration command.
Step 406, information module receives the calibration command;
Step 407, information module parses the calibration command, and sending SIM flow to corresponding carrier server believes
Breath short message enquiry;
Step 408, information module intercepts the flow short message that the carrier server is returned;
Step 409, information module sends to the traffic alignment module flow short message;
Step 410, traffic alignment module parses the flow short message, obtains the flow information of the SIM;
Step 411, traffic alignment module performs treatment according to the flow information of the SIM, including:To SIM set meal
Information, current data on flows, residual flow data or data on flows beyond set meal for having used etc. are updated amendment.
Step 412, flow terminates.
Traffic alignment method in the present embodiment, can effectively lift the degree of accuracy of data on flows on mobile terminal, Jin Erti
Rise Consumer's Experience.
Embodiment two
As shown in figure 5, the present embodiment provides a kind of terminal, including:
Traffic alignment module 51, for setting SIM card information, and obtains the flow letter of SIM according to the SIM card information
Breath;And, according to the flow information of the SIM, the amendment of traffic data.
In some implementations, the traffic alignment module 51 is used to set SIM card information in the following way:Obtain and carry
For traffic alignment interface;Receive the SIM card information that user is input on the traffic alignment interface.
In some implementations, the traffic alignment module 51 can be used to obtain the SIM stream in the following way
Amount information:According to the SIM card information, the flow information of the SIM is directly obtained to corresponding carrier server.
In some implementations, above-mentioned terminal also includes:Information module 52;
The traffic alignment module 51 can be used to obtain the SIM flow information in the following way:To described information
Module 52 sends calibration command, and receives the flow short message of the return of described information module 52;
Described information module 52, for the calibration command sent according to the traffic alignment module 51, to accordingly to phase
The carrier server answered sends SIM flow information short message enquiry, and the flow that the interception carrier server is returned is short to disappear
Cease and return to the traffic alignment module 51.
Wherein, the flow information comprising the SIM in the flow short message.
In some implementations, the traffic alignment module 51, specifically for according to the SIM flow information to such as
One of lower or any multinomial combination is updated:
SIM set meal data;
The current data on flows for having used;
Residual flow data;
Beyond the data on flows of the SIM set meal limit.
Terminal can realize the methods described of embodiment one in the present embodiment, and it is identical that it implements details, repeats no more.
Above-mentioned terminal in the present embodiment, is calibrated so that terminal is counted on by the data on flows to mobile terminal
The data on flows of the actual calculating of data on flows and operator be consistent, more accurately data on flows can be obtained, be easy to use
Family more rationally, more effectively carries out assignment of traffic and the control of corresponding SIM, it is to avoid user produces height because of flow beyond quota
The situation of volume telephone expenses occurs, so as to greatly improve Consumer's Experience.
Additionally, the above-mentioned terminal of the present embodiment can also regularly update the related flow package configuration information of SIM, so as to
The SIM set meal reference information for more accurately being set in synchronous terminal so that the SIM flow service condition that mobile terminal is obtained
It is more accurate, it is more efficient to avoid user from producing the situation of great number telephone expenses to occur beyond quota because of flow, so as to greatly improve
Consumer's Experience.
Terminal can be mobile terminal in the present embodiment.In some implementations, the above-mentioned terminal of the present embodiment can be with
In being the mobile terminal shown in Fig. 1.It should be noted that traffic alignment module 51 and letter in the above-mentioned terminal of the application offer
Breath module 52 can be set in controller 180 in Fig. 1.
Embodiment three
In the present embodiment, there is provided a kind of terminal, including:Processor and memory, the memory storage have computer
Executable instruction, realizes following method when the computer executable instructions are by the computing device:
SIM card information is set;
According to the SIM card information, the flow information of SIM is obtained;
According to the flow information of the SIM, the amendment of traffic data.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method
Executable following operation:Traffic alignment interface is provided;Receive the SIM card information that user is input on the traffic alignment interface.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method
Executable following operation:According to the SIM card information, the flow of the SIM is directly obtained to corresponding carrier server
Information.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method
Executable following operation:SIM flow information is sent to corresponding carrier server according to the SIM card information and inquires about short
Letter;The flow short message that the carrier server is returned is intercepted, the flow comprising the SIM is believed in the flow short message
Breath.
In some implementations, when the computer executable instructions are by the computing device when realizing the above method
Executable following operation:One of following or any multinomial combination is updated according to the SIM flow information:
SIM set meal data;
The current data on flows for having used;
Residual flow data;
Beyond the data on flows of the SIM set meal limit.
Terminal can realize the methods described of embodiment one in the present embodiment, and it is identical that it implements details, repeats no more.
Above-mentioned terminal in the present embodiment, is calibrated so that terminal is counted on by the data on flows to mobile terminal
The data on flows of the actual calculating of data on flows and operator be consistent, more accurately data on flows can be obtained, be easy to use
Family more rationally, more effectively carries out assignment of traffic and the control of corresponding SIM, it is to avoid user produces height because of flow beyond quota
The situation of volume telephone expenses occurs, so as to greatly improve Consumer's Experience.
Additionally, the above-mentioned terminal of the present embodiment can also regularly update the related flow package configuration information of SIM, so as to
The SIM set meal reference information for more accurately being set in synchronous terminal so that the SIM flow service condition that mobile terminal is obtained
It is more accurate, it is more efficient to avoid user from producing the situation of great number telephone expenses to occur beyond quota because of flow, so as to greatly improve
Consumer's Experience.
In some implementations, terminal can be mobile terminal as shown in Figure 1 in the present embodiment.
Example IV
The present embodiment provides a kind of computer-readable recording medium, and be stored with computer executable instructions, the computer
Following methods are realized when executable instruction is performed:
SIM card information is set;
According to the SIM card information, the flow information of SIM is obtained;
According to the flow information of the SIM, the amendment of traffic data.
Computer-readable recording medium in the present embodiment can be applied in mobile terminal, by the flow to mobile terminal
Data are calibrated so that the data on flows of the actual calculating of data on flows and operator that terminal is counted on is consistent, can
More accurately data on flows is obtained, is easy to user more rationally, more effectively to carry out assignment of traffic and the control of corresponding SIM, kept away
Exempt from user because flow produces the situation of great number telephone expenses to occur beyond quota, so as to greatly improve Consumer's Experience.
Additionally, the present embodiment can also regularly update the related flow package configuration information of SIM, so as to more accurately same
The SIM set meal reference information set in step terminal so that the SIM flow service condition that mobile terminal is obtained is more accurate, more
Plus user is prevented effectively from because flow produces the situation of great number telephone expenses to occur beyond quota, so as to greatly improve Consumer's Experience.
Alternatively, in the present embodiment, above-mentioned storage medium can be included but is not limited to:USB flash disk, read-only storage (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
CD etc. is various can be with the medium of store program codes.
Alternatively, in the present embodiment, processor performs above-mentioned implementation according to the program code stored in storage medium
The method and step of example.
Alternatively, the specific example in the present embodiment may be referred to the description in above-described embodiment, and the present embodiment is herein not
Repeat again.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes
Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of traffic alignment method, it is characterised in that including:
SIM card information is set;
According to the SIM card information, the flow information of SIM is obtained;
According to the flow information of the SIM, the amendment of traffic data.
2. traffic alignment method according to claim 1, it is characterised in that the setting SIM card information, including:
Traffic alignment interface is provided;
Receive the SIM card information that user is input on the traffic alignment interface.
3. traffic alignment method according to claim 1, it is characterised in that described according to the SIM card information, obtains
The flow information of SIM, including:
According to the SIM card information, the flow information of the SIM is directly obtained to corresponding carrier server.
4. traffic alignment method according to claim 1, it is characterised in that described according to the SIM card information, obtains
The flow information of SIM, including:
SIM flow information short message enquiry is sent to corresponding carrier server according to the SIM card information;
The flow short message that the carrier server is returned is intercepted, the flow comprising the SIM in the flow short message
Information.
5. traffic alignment method according to claim 1, it is characterised in that the flow information according to the SIM,
The amendment of traffic data, including:
One of following or any multinomial combination is updated according to the SIM flow information:
SIM set meal data;
The current data on flows for having used;
Residual flow data;
Beyond the data on flows of the SIM set meal limit.
6. a kind of terminal, it is characterised in that including:
Traffic alignment module, for setting SIM card information, and obtains the flow information of SIM according to the SIM card information;With
And, according to the flow information of the SIM, the amendment of traffic data.
7. terminal according to claim 6, it is characterised in that the traffic alignment module is used to obtain in the following way
The SIM flow information:
According to the SIM card information, the flow information of the SIM is directly obtained to corresponding carrier server.
8. terminal according to claim 6, it is characterised in that
Also include:Information module;
The traffic alignment module, is additionally operable to send calibration command to described information module, and receive the return of described information module
Flow short message;
Described information module, for the calibration command sent according to the traffic alignment module, to accordingly to corresponding operation
Business's server sends SIM flow information short message enquiry, intercepts the flow short message of the carrier server return and returns
To the traffic alignment module.
Wherein, the flow information comprising the SIM in the flow short message.
9. terminal according to claim 6, it is characterised in that the traffic alignment module, specifically for according to the SIM
Card flow information is updated to one of following or any multinomial combination:
SIM set meal data;
The current data on flows for having used;
Residual flow data;
Beyond the data on flows of the SIM set meal limit.
10. a kind of terminal, including:Processor and memory, it is characterised in that the memory storage has the executable finger of computer
Order, realizes following method when the computer executable instructions are by the computing device:
SIM card information is set;
According to the SIM card information, the flow information of SIM is obtained;
According to the flow information of the SIM, the amendment of traffic data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710026259.7A CN106888442A (en) | 2017-01-13 | 2017-01-13 | Traffic alignment method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710026259.7A CN106888442A (en) | 2017-01-13 | 2017-01-13 | Traffic alignment method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106888442A true CN106888442A (en) | 2017-06-23 |
Family
ID=59176396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710026259.7A Pending CN106888442A (en) | 2017-01-13 | 2017-01-13 | Traffic alignment method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106888442A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188647A (en) * | 2011-12-29 | 2013-07-03 | 北京网秦天下科技有限公司 | Method and system for statistically analyzing and warning Internet surfing flow of mobile terminal |
CN104159209A (en) * | 2014-08-01 | 2014-11-19 | 北京奇虎科技有限公司 | Data traffic calibration method and device for mobile terminal |
CN104410962A (en) * | 2014-11-10 | 2015-03-11 | 华为软件技术有限公司 | A terminal user network traffic monitoring method and device |
CN105337799A (en) * | 2015-10-22 | 2016-02-17 | 深圳市金立通信设备有限公司 | Method and terminal for receiving flow information |
CN105515906A (en) * | 2015-12-10 | 2016-04-20 | 小米科技有限责任公司 | Traffic information calibration method, device and terminal |
CN105578512A (en) * | 2016-03-24 | 2016-05-11 | 北京奇虎科技有限公司 | Mobile terminal flow calibration method and apparatus thereof, and flow server |
CN106162591A (en) * | 2015-03-23 | 2016-11-23 | 腾讯科技(深圳)有限公司 | Method, device, equipment and the system of flow package information are set |
-
2017
- 2017-01-13 CN CN201710026259.7A patent/CN106888442A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103188647A (en) * | 2011-12-29 | 2013-07-03 | 北京网秦天下科技有限公司 | Method and system for statistically analyzing and warning Internet surfing flow of mobile terminal |
CN104159209A (en) * | 2014-08-01 | 2014-11-19 | 北京奇虎科技有限公司 | Data traffic calibration method and device for mobile terminal |
CN104410962A (en) * | 2014-11-10 | 2015-03-11 | 华为软件技术有限公司 | A terminal user network traffic monitoring method and device |
CN106162591A (en) * | 2015-03-23 | 2016-11-23 | 腾讯科技(深圳)有限公司 | Method, device, equipment and the system of flow package information are set |
CN105337799A (en) * | 2015-10-22 | 2016-02-17 | 深圳市金立通信设备有限公司 | Method and terminal for receiving flow information |
CN105515906A (en) * | 2015-12-10 | 2016-04-20 | 小米科技有限责任公司 | Traffic information calibration method, device and terminal |
CN105578512A (en) * | 2016-03-24 | 2016-05-11 | 北京奇虎科技有限公司 | Mobile terminal flow calibration method and apparatus thereof, and flow server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104731512B (en) | The method, apparatus and terminal that picture is shared | |
CN105098895B (en) | The device and method of charge control | |
CN106792584A (en) | The method and mobile terminal of a kind of information reminding | |
CN106453382A (en) | Message pushing method and device | |
CN106413013A (en) | Network switching method and device, and mobile terminal | |
CN106550128A (en) | A kind of EMS memory management process and terminal | |
CN107104970A (en) | A kind of regular and synchronized processing method, system, rule server and gray scale server | |
CN106775372A (en) | A kind of display adjusting method of suspension procedure disk, device and terminal | |
CN104951229B (en) | Screenshot method and device | |
CN105682150A (en) | Multilink intelligent shunting method and mobile terminal | |
CN106302824A (en) | wireless WiFi control method, device and mobile terminal | |
CN106569678A (en) | Display adjusting method and device of suspending operation board and terminal | |
CN104636043A (en) | Virtual key display method and virtual key display device | |
CN107135546A (en) | A kind of system of selection of wireless network operation channel and device | |
CN107360214A (en) | A kind of message push processing method, message sink processing method and processing device | |
CN106598538A (en) | Method and system for updating instruction set | |
CN106657643A (en) | Mobile terminal and communication session display method | |
CN106791149A (en) | A kind of method of mobile terminal and control screen | |
CN106888317A (en) | A kind of interaction processing method, device and terminal | |
CN106876892A (en) | A kind of antenna and mobile terminal | |
CN104639761B (en) | The method and mobile terminal of one-handed performance | |
CN106776845A (en) | A kind of information flow adaptive management method and terminal | |
CN104636044B (en) | The method and mobile terminal of one-handed performance | |
CN107071161A (en) | The aggregation display method and mobile terminal of icon in a kind of status bar | |
CN106911486A (en) | A kind of message push processing method, apparatus and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170623 |