CN105578512A - Mobile terminal flow calibration method and apparatus thereof, and flow server - Google Patents

Mobile terminal flow calibration method and apparatus thereof, and flow server Download PDF

Info

Publication number
CN105578512A
CN105578512A CN201610177162.1A CN201610177162A CN105578512A CN 105578512 A CN105578512 A CN 105578512A CN 201610177162 A CN201610177162 A CN 201610177162A CN 105578512 A CN105578512 A CN 105578512A
Authority
CN
China
Prior art keywords
note
data
calibration command
flows
note calibration
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.)
Granted
Application number
CN201610177162.1A
Other languages
Chinese (zh)
Other versions
CN105578512B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610177162.1A priority Critical patent/CN105578512B/en
Publication of CN105578512A publication Critical patent/CN105578512A/en
Application granted granted Critical
Publication of CN105578512B publication Critical patent/CN105578512B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the invention discloses a mobile terminal flow calibration method and an apparatus thereof, and a flow server. The method comprises the following steps of through a remote interface, receiving a short message calibration instruction modification message sent by a terminal side; determining whether a short message calibration instruction based on new configuration acquires flow data; if the short message calibration instruction acquires the flow data, updating the short message calibration instruction corresponding to an operator short message number into a new set short message calibration instruction; and according to the flow data, generating flow calibration data and sending the flow calibration data to the terminal side. By using the mobile terminal flow calibration method and the apparatus thereof, and the flow server, a user can actively set the new short message calibration instruction and carry out flow calibration so that flow data calibration can be corrected timely and a condition that the flow calibration can not be performed can be avoided; the data flow displayed by a flow monitoring system is accurate and a usage feeling of the user is increased.

Description

For the method for mobile terminal traffic alignment, device and traffic server
Technical field
The present invention relates to traffic monitoring technical field, particularly relate to a kind of method for mobile terminal traffic alignment, device and traffic server.
Background technology
In recent years, intelligent mobile terminal is more and more universal, and as smart mobile phone, palmtop PC etc., along with the development of the communication technology, people use the data service of mobile terminal to carry out obtaining information more and more.The data traffic that operator generally produces when obtaining information according to mobile terminal is collected the charges, and therefore, mobile terminal is avoided producing too much data traffic, and user needs real-time monitoring data flow usually to understand the service condition of data traffic in time.At mobile terminal, flux monitoring system can be installed, in the running background also real-time data traffic monitored mobile terminal and consume of mobile terminal.But flux monitoring system itself may exist leak, the data traffic monitored is inaccurate.When operator charges according to the data traffic of mobile terminal, the data traffic that the data traffic of mobile terminal actual consumption is monitored with operator is as the criterion, therefore need to send to operator the traffic alignment note comprising note calibration command, the data on flows note obtaining operator's feedback carries out traffic alignment.But in use, its note calibration command may be revised by operator, then calibrate short breath according to existing note calibration command to operator's transmitted traffic, then cannot obtain the data on flows note of operator's feedback, thus cannot traffic alignment be carried out.
Summary of the invention
In view of this, the technical problem that the embodiment of the present invention will solve is to provide a kind of method for mobile terminal traffic alignment, device and traffic server.
A kind of method for mobile terminal traffic alignment that the embodiment of the present invention provides, comprise: the note calibration command amendment message being received end side transmission by remote interface, wherein, newly-installed note calibration command, the operator SMS number corresponding with described newly-installed note calibration command is carried in described note calibration command amendment message; Judge whether data on flows can be obtained based on described newly-installed note calibration command, if, then the note calibration command corresponding with described operator SMS number is updated to described newly-installed note calibration command, and generates traffic alignment data according to described data on flows; Described traffic alignment data are sent to described end side, and wherein, described traffic alignment data are used for described end side and carry out data on flows calibration.
According to one embodiment of present invention, further, judge that whether can obtain data on flows based on described newly-installed note calibration command comprises: described end side generates the first short message enquiry comprising described newly-installed note calibration command, and described first short message enquiry is sent to described operator SMS number; First flow information note that described end side interception is sent by described operator SMS number, that feed back for described first short message enquiry; Receive the described first flow information note that described end side sends, whether carry data on flows based on first flow information note described in the rule judgment preset.
According to one embodiment of present invention, further, described in the described rule judgment based on presetting, whether first flow information note carries data on flows and comprises: from described first flow information note, extract short message text information; Described short message text information is carried out canonical with the regular expression being used for capturing data on flows mate; Judge the data on flows that whether can be captured by described regular expression in described short message text information, if so, then determine to carry data on flows, if not, then determine not carry data on flows.
According to one embodiment of present invention, further, describedly the note calibration command corresponding with described operator SMS number being updated to described newly-installed note calibration command and comprising: when determining that described first flow information note carries data on flows, judging whether to be provided with new note calibration command to described operator SMS number; If determine to be provided with new note calibration command, then judge whether data on flows can be obtained based on original note calibration command corresponding with described operator SMS number; If determine can not obtain data on flows based on described original note calibration command, then send mail to operator and be confirmed whether to have modified the note calibration command corresponding with described operator SMS number; If confirm that operator have modified note calibration command based on the mail returned, then described original note calibration command replaced with described newly-installed note calibration command and store.
According to one embodiment of present invention, further, judge that whether can obtain data on flows based on original note calibration command corresponding with described operator SMS number comprises: add up the ratio being directed to flow information note that the short message enquiry that comprises described original note calibration command feeds back, that do not carry data on flows by described operator SMS number; Judge whether described ratio exceedes default proportion threshold value, if so, then determine that described original note calibration command can not obtain data on flows.
According to one embodiment of present invention, further, judge whether that being provided with new note calibration command to described operator SMS number comprises: by described note calibration command amendment message stores in log information; Judge whether to be provided with new note calibration command to described operator SMS number based on described log information.
According to one embodiment of present invention, further, comprising: when determining that described first flow information note does not carry data on flows, then obtain the original note calibration command corresponding with described operator SMS number; Generate the second short message enquiry comprising described original note calibration command, and described second short message enquiry is sent to described operator SMS number; Receive the second flow information note that described operator SMS number sends, that feed back for described second short message enquiry; From described second flow information note, capture outflow data and generate traffic alignment data according to described data on flows; Described traffic alignment data and the incorrect information of newly-installed note calibration command are sent to described end side.
According to one embodiment of present invention, further, comprising: described end side receives described traffic alignment data, the data on flows that the traffic statistics software installed in described end side is shown is calibrated.
A kind of device for mobile terminal traffic alignment that the embodiment of the present invention provides, comprise: modify instruction receiver module, for the note calibration command amendment message sent by remote interface receiving terminal side, wherein, newly-installed note calibration command, the operator SMS number corresponding with described newly-installed note calibration command is carried in described note calibration command amendment message; Flow obtains judge module, for judging whether can obtain data on flows based on described newly-installed note calibration command; Short-message instruction update module, if can obtain data on flows for determining based on described newly-installed note calibration command, is then updated to described newly-installed note calibration command by the note calibration command corresponding with described operator SMS number; Data on flows generation module, for generating traffic alignment data according to described data on flows; Data on flows sending module, for described traffic alignment data are sent to described end side, wherein, described traffic alignment data are used for described end side and carry out data on flows calibration.
A kind of traffic server that the embodiment of the present invention provides, comprising: the device for mobile terminal traffic alignment as above described in any one.
Method for mobile terminal traffic alignment of the present invention, device and traffic server, make user initiatively can set new note calibration command and carry out traffic alignment, the note that can upgrade in time calibration command, data on flows is calibrated can revise in time, the situation cannot carrying out traffic alignment can be avoided to occur, and the data traffic that flux monitoring system is shown is more accurate.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings:
Fig. 1 is the flow chart of an embodiment according to the method for mobile terminal traffic alignment of the present invention;
Fig. 2 is the module diagram of an embodiment according to the device for mobile terminal traffic alignment of the present invention;
Fig. 3 is the module diagram obtaining judge module according to the flow of an embodiment of the device for mobile terminal traffic alignment of the present invention;
Fig. 4 is the module diagram of the short-message instruction update module of an embodiment according to the device for mobile terminal traffic alignment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in specification of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal equipment " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissivities, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can perform the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication equipments, its honeycomb or other communication equipment of having single line display or multi-line display or not having multi-line display; PCS (PersonalCommunicationsService, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (PersonalDigitalAssistant, personal digital assistant), it can comprise radio frequency receiver, beep-pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (GlobalPositioningSystem, global positioning system) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal equipment " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal equipment " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
Those skilled in the art of the present technique are appreciated that used remote network devices here, and it includes but not limited to the cloud that computer, network host, single network server, multiple webserver collection or multiple server are formed.At this, cloud is formed by based on a large amount of computer of cloud computing (CloudComputing) or the webserver, and wherein, cloud computing is the one of Distributed Calculation, the super virtual machine be made up of a group loosely-coupled computer collection.In embodiments of the invention, realize communicating by any communication mode between remote network devices, terminal equipment with WNS server, include but not limited to, the mobile communication based on 3GPP, LTE, WIMAX, the computer network communication based on TCP/IP, udp protocol and the low coverage wireless transmission method based on bluetooth, infrared transmission standard.
Those skilled in the art are to be understood that, " application ", " application program ", " application software " alleged by the present invention and the concept of similar statement, be those skilled in the art known same concept, refer to and be suitable for by the instruction of series of computation machine and the organic structure of related data resource the computer software that electronics runs.Unless specified, this name itself, not by programming language kind, rank, also not limited by the operating system of its operation of relying or platform.In the nature of things, this genus also not limited by any type of terminal.
Fig. 1 is the flow chart of an embodiment according to the method for mobile terminal traffic alignment of the present invention, as shown in Figure 1:
Step 101, receives the note calibration command amendment message of end side transmission by remote interface.Newly-installed note calibration command, the operator SMS number corresponding with newly-installed note calibration command is carried in note calibration command amendment message.Such as, for China Mobile, carry user in note calibration command amendment message on the interface of terminal, arrange new note calibration command CXYL, the operator SMS number corresponding with CXYL is 100086.
Step 102, judges whether can obtain data on flows based on newly-installed note calibration command.
Step 103, if can obtain data on flows, is then updated to newly-installed note calibration command by the note calibration command corresponding with operator SMS number, generates traffic alignment data according to data on flows.Such as, the note calibration command stored at server end is CXYL0, after the data on flows judging can be obtained by note calibration command CXYL China Mobile's transmission, then CXYL0 is replaced with CXYL and stores.
Operator, such as China Mobile, provide multiple communication services set meal to each mobile terminal, such as 10 yuan of 70,000,000 flow package, 20 yuan of 150,000,000 flow package etc.Can be obtained the data on flows of mobile terminal by note calibration command CXYL, such as, residual flow, consumed flow, residue telephone expenses etc., can obtain data more accurately.
Traffic alignment data are sent to end side by step 104, and traffic alignment data are used for end side and carry out data on flows calibration.Such as, the data on flows obtained from operator is carried out format conversion, generate traffic alignment data, traffic alignment data are sent to terminal, the monitoring software operated in terminal carries out traffic alignment based on described traffic alignment data, data on flows will present to user more accurately, such as, set meal content, consumed flow, residual flow etc.
The method for mobile terminal traffic alignment in above-described embodiment, data on flows can be obtained by using the newly-installed traffic alignment instruction of user, the situation cannot carrying out traffic alignment can be avoided to occur, and the data traffic that flux monitoring system is shown is more accurate.
In one embodiment, after the note calibration command amendment message that end side sends, short message enquiry can be sent by end side or server side.Such as, end side generates the first short message enquiry comprising newly-installed note calibration command, and the first short message enquiry is sent to operator SMS number, first flow information note that end side interception is sent by operator SMS number, that feed back for the first short message enquiry.Whether the first flow information note that received server-side sends to end side, carry data on flows based on the rule judgment first flow information note preset.
Such as, new note calibration command CXYL, the operator SMS number corresponding with CXYL is 100086, and after monitoring software on mobile terminals have sent note calibration command amendment message, the monitoring software transmission note calibration command on mobile terminal is that the short message enquiry of CXYL sends to 10086.Monitoring software on mobile terminal monitor have received 10086 return flow information note time, then tackle the short breath of this flow information, and be sent to server end, after received server-side to flow information note, judge whether it carries data on flows.
The mode of the monitoring software interception note on mobile terminal has multiple, such as, according to keyword interception or according to the interception of operator SMS number, such as, tackles the note sent according to operator SMS number 10086.Operator all can configure at least one telecommunication service server for recording the data on flows of each mobile terminal, inquires about by sending the modes such as note, message or notice to telecommunication service server.The first short message enquiry for query flows data can be the note of writing in advance, also can be the note that the information required for query flows generates temporarily.
Whether carrying data on flows based on the rule judgment first flow information note preset has multiple, such as, from the first flow information note of operator's feedback, extract short message text information, short message text information is carried out canonical with the regular expression being used for capturing data on flows and mates.Judge the data on flows that whether can be captured by regular expression in short message text information, if so, then determine to carry data on flows, if not, then determine not carry data on flows.
Such as, after server end selects the note pattern corresponding with first flow information note according to operator SMS number, obtain the canonical formula corresponding with first flow information note and carry out canonical coupling, extract the data on flows in first flow information note.Regular expression, also known as normal representation method, conventional expressing method, regular expression uses single character string to describe, mate a series of character string meeting certain syntactic rule.The regular expression combination of some specific characters and these specific characters defined in advance, forms one " regular character string ", and this " regular character string " is used for expressing a kind of filter logic to character string.Data on flows in the first flow information note using regular expression crawl operator to send.
Such as, the first flow information note that the note number 10086 of China Mobile sends is " residual flow 18,000,000; Use traffic 15,000,000 ".The regular expression corresponding with the note number 10086 of operator is " residual flow (.*); Use traffic (.*), uses this regular expression then can capture outflow data 18,000,000 and 15,000,000 from note.
In one embodiment, when determining that first flow information note carries data on flows, server end judges whether to be provided with new note calibration command to operator SMS number.If determine to be provided with new note calibration command, then judge whether data on flows can be obtained based on original note calibration command corresponding with operator SMS number.
If determine can not obtain data on flows based on original note calibration command, then send mail to operator and be confirmed whether to have modified the note calibration command corresponding with operator SMS number.If confirm that operator have modified note calibration command based on the mail returned, then original note calibration command replaced with newly-installed note calibration command and store.
Such as, the first flow information note " residual flow 18,000,000 that sends from the note number 10086 of operator of server end; Use traffic 15,000,000 " in, use this regular expression to capture outflow data 18,000,000 and 15,000,000, determine that first flow information note carries data on flows, server end then judges whether to be provided with new note calibration command to operator SMS number.
Such as, server end, when receiving note calibration command amendment message, is stored in log information, and note calibration command amendment message comprises: 100086, CXYL and for showing newly-installed identifier 02.When determining that first flow information note carries data on flows, retrieve log information, when judging appearance 100086 and 02, then determines to be provided with new note calibration command to operator SMS number 100086, is CXYL.Note calibration command amendment message also can be stored in internal memory.
If determine to be provided with new note calibration command CXYL, then judge whether data on flows can be obtained based on original note calibration command CXYL0 corresponding with operator SMS number.Such as, add up in during presetting, such as, in 1 day, 2 days, the quantity of flow information note be directed to the note feedback comprising original note calibration command CXYL0 by operator SMS number 100086, that do not carry data on flows accounts for the ratio that operator SMS number 100086 is directed to whole notes of the note feedback comprising original note calibration command CXYL0, judge whether ratio exceedes default proportion threshold value, such as 60%, if so, then determine that original note calibration command CXYL0 can not obtain data on flows.
If determine can not obtain data on flows based on original note calibration command CXYL0, then the mailbox of specifying to China Mobile sends mail, is confirmed whether to have modified the note calibration command CXYL0 corresponding with operator SMS number, is CXYL after its amendment.Mail can have the form of standard, automatically can be read by machine.Receive the mail that China Mobile returns, and resolve Mail Contents and confirm that China Mobile have modified note calibration command, then original note calibration command CXYL0 replaced with newly-installed note calibration command CXYL and store, in order to later for traffic alignment.
When determining that first flow information note does not carry data on flows, then obtain the original note calibration command corresponding with operator SMS number, generate the second short message enquiry comprising original note calibration command, and the second short message enquiry is sent to operator SMS number.Receive the second flow information note that operator SMS number sends, that feed back for the second short message enquiry.From the second flow information note, capture outflow data and generate traffic alignment data according to data on flows, traffic alignment data and the incorrect information of newly-installed note calibration command are sent to end side.
Such as, when received server-side sends first flow information note to terminal, but when not extracting data on flows by regular expression, then illustrate and can not obtain data on flows based on the newly-installed note calibration command CXYL of user.Server end obtains the original note calibration command CXYL0 corresponding with operator SMS number 100086 prestored, generate the second short message enquiry comprising original note calibration command CXYL0, the second short message enquiry is sent to operator SMS number 100086 by server end.
The second flow information note that received server-side operator SMS number 100086 sends, that feed back for the second short message enquiry, from the second flow information note, capture outflow data and generate traffic alignment data according to data on flows, such as, regular expression is adopted to extract data on flows.Traffic alignment data and the incorrect information of newly-installed note calibration command CXYL are sent to end side, the data on flows that the traffic statistics software installed on mobile terminals is shown is calibrated, and shows the incorrect information of newly-installed note calibration command CXYL to user.
By the method for mobile terminal traffic alignment in above-described embodiment, make user initiatively can set new note calibration command and carry out traffic alignment, the note that can upgrade in time calibration command, data on flows is calibrated can revise in time, the situation cannot carrying out traffic alignment can be avoided to occur, and the data traffic that flux monitoring system is shown is more accurate.
As shown in Figure 2, the invention provides a kind of device 2 for mobile terminal traffic alignment.The note calibration command amendment message that modify instruction receiver module 21 is sent by remote interface receiving terminal side, carries newly-installed note calibration command, the operator SMS number corresponding with newly-installed note calibration command in note calibration command amendment message.
Flow obtains judge module 22 and judges whether can obtain data on flows based on newly-installed note calibration command.If can obtain data on flows based on newly-installed note calibration command, then the note calibration command corresponding with operator SMS number is updated to newly-installed note calibration command by short-message instruction update module 23.Data on flows generation module 24 generates traffic alignment data according to data on flows.Traffic alignment data are sent to end side by data on flows sending module 25.
End side generates the first short message enquiry comprising newly-installed note calibration command, and the first short message enquiry is sent to operator SMS number.First flow information note that end side interception is sent by operator SMS number, that feed back for the first short message enquiry.As shown in Figure 3, flow acquisition judge module 22 comprises: note receiving element 221, note judging unit 222 and short message sending unit 223.The first flow information note that note receiving element 221 receiving terminal side sends.Whether note judging unit 222 carries data on flows based on the rule judgment first flow information note preset.
In one embodiment, note judging unit 222 extracts short message text information from first flow information note, short message text information is carried out canonical with the regular expression being used for capturing data on flows and mates.Note judging unit 222 judges the data on flows that whether can be captured by regular expression in short message text information, if so, then determines to carry data on flows, if not, then determines not carry data on flows.
When determining that first flow information note does not carry data on flows, then short message sending unit 223 obtains the original note calibration command corresponding with operator SMS number, generate the second short message enquiry comprising original note calibration command, and the second short message enquiry is sent to operator SMS number.Note receiving element 221 receives the second flow information note that operator SMS number sends, that feed back for the second short message enquiry.Data on flows generation module 24 captures outflow data and generates traffic alignment data according to data on flows from the second flow information note.Traffic alignment data and the incorrect information of newly-installed note calibration command are sent to end side by data on flows sending module 25.
Short-message instruction update module 23 comprises: the first judging unit 231, second judging unit 232, the 3rd judging unit 233 and instruction replacement unit 234.First judging unit 231, when determining that first flow information note carries data on flows, judges whether to be provided with new note calibration command to operator SMS number.If determine to be provided with new note calibration command, then the second judging unit 232 judges whether can obtain data on flows based on original note calibration command corresponding with operator SMS number.
If determine can not obtain data on flows based on original note calibration command, then the 3rd judging unit 233 is confirmed whether to have modified the note calibration command corresponding with operator SMS number to operator's transmission mail.If confirm that operator have modified note calibration command based on the mail returned, then original note calibration command is replaced with newly-installed note calibration command and stores by instruction replacement unit 234.
In one embodiment, the second judging unit 232 adds up the ratio of flow information note that be directed to by operator SMS number the note feedback comprising original note calibration command, that do not carry data on flows; Judge whether ratio exceedes default proportion threshold value, if so, then determine that original note calibration command can not obtain data on flows.
Note calibration command is revised message stores in log information by modify instruction receiver module 21.First judging unit 231 judges whether to be provided with new note calibration command to operator SMS number based on log information.
In one embodiment, the invention provides a kind of traffic server, comprise the device for mobile terminal traffic alignment as above.
The method for mobile terminal traffic alignment that above-described embodiment provides, device and traffic server, make user initiatively can set new note calibration command and carry out traffic alignment, the note that can upgrade in time calibration command, data on flows is calibrated can revise in time, the situation cannot carrying out traffic alignment can be avoided to occur, the data traffic that flux monitoring system is shown is more accurate, and the use sense improving user is subject to.
The embodiment of the present invention provide at least following technical scheme:
1, for a method for mobile terminal traffic alignment, comprising:
Received the note calibration command amendment message of end side transmission by remote interface, wherein, in described note calibration command amendment message, carry newly-installed note calibration command, the operator SMS number corresponding with described newly-installed note calibration command;
Judge whether data on flows can be obtained based on described newly-installed note calibration command, if, then the note calibration command corresponding with described operator SMS number is updated to described newly-installed note calibration command, and generates traffic alignment data according to described data on flows;
Described traffic alignment data are sent to described end side, and wherein, described traffic alignment data are used for described end side and carry out data on flows calibration.
2, the method as described in 1, judges that whether can obtain data on flows based on described newly-installed note calibration command comprises:
Described end side generates the first short message enquiry comprising described newly-installed note calibration command, and described first short message enquiry is sent to described operator SMS number;
First flow information note that described end side interception is sent by described operator SMS number, that feed back for described first short message enquiry;
Receive the described first flow information note that described end side sends, whether carry data on flows based on first flow information note described in the rule judgment preset.
3, the method as described in 2, whether first flow information note described in the described rule judgment based on presetting carries data on flows comprises:
Short message text information is extracted from described first flow information note;
Described short message text information is carried out canonical with the regular expression being used for capturing data on flows mate;
Judge the data on flows that whether can be captured by described regular expression in described short message text information, if so, then determine to carry data on flows, if not, then determine not carry data on flows.
4, the method as described in 3, is describedly updated to described newly-installed note calibration command and comprises by the note calibration command corresponding with described operator SMS number:
When determining that described first flow information note carries data on flows, judge whether to be provided with new note calibration command to described operator SMS number;
If determine to be provided with new note calibration command, then judge whether data on flows can be obtained based on original note calibration command corresponding with described operator SMS number;
If determine can not obtain data on flows based on described original note calibration command, then send mail to operator and be confirmed whether to have modified the note calibration command corresponding with described operator SMS number;
If confirm that operator have modified note calibration command based on the mail returned, then described original note calibration command replaced with described newly-installed note calibration command and store.
5, the method as described in 4, judges that whether can obtain data on flows based on original note calibration command corresponding with described operator SMS number comprises:
Add up the ratio of flow information note that be directed to by described operator SMS number the short message enquiry feedback comprising described original note calibration command, that do not carry data on flows;
Judge whether described ratio exceedes default proportion threshold value, if so, then determine that described original note calibration command can not obtain data on flows.
6, the method as described in 4, judges whether that being provided with new note calibration command to described operator SMS number comprises:
By described note calibration command amendment message stores in log information;
Judge whether to be provided with new note calibration command to described operator SMS number based on described log information.
7, the method as described in 3, comprising:
When determining that described first flow information note does not carry data on flows, then obtain the original note calibration command corresponding with described operator SMS number;
Generate the second short message enquiry comprising described original note calibration command, and described second short message enquiry is sent to described operator SMS number;
Receive the second flow information note that described operator SMS number sends, that feed back for described second short message enquiry;
From described second flow information note, capture outflow data and generate traffic alignment data according to described data on flows;
Described traffic alignment data and the incorrect information of newly-installed note calibration command are sent to described end side.
8, the method as described in 1, comprising:
Described end side receives described traffic alignment data, calibrates the data on flows that the traffic statistics software installed in described end side is shown.
9, for a device for mobile terminal traffic alignment, comprising:
Modify instruction receiver module, for the note calibration command amendment message sent by remote interface receiving terminal side, wherein, newly-installed note calibration command, the operator SMS number corresponding with described newly-installed note calibration command is carried in described note calibration command amendment message;
Flow obtains judge module, for judging whether can obtain data on flows based on described newly-installed note calibration command;
Short-message instruction update module, if can obtain data on flows for determining based on described newly-installed note calibration command, is then updated to described newly-installed note calibration command by the note calibration command corresponding with described operator SMS number;
Data on flows generation module, for generating traffic alignment data according to described data on flows;
Data on flows sending module, for described traffic alignment data are sent to described end side, wherein, described traffic alignment data are used for described end side and carry out data on flows calibration.
10, the device as described in 9,
Described end side generates the first short message enquiry comprising described newly-installed note calibration command, and described first short message enquiry is sent to described operator SMS number; First flow information note that described end side interception is sent by described operator SMS number, that feed back for described first short message enquiry;
Described flow obtains judge module, comprising:
Note receiving element, for receiving the described first flow information note that described end side sends;
Whether note judging unit, carry data on flows for first flow information note described in default rule judgment.
11, the device as described in 10,
Described note judging unit, also for extracting short message text information from described first flow information note, described short message text information is carried out canonical with the regular expression being used for capturing data on flows mate, judge the data on flows that whether can be captured by described regular expression in described short message text information, if, then determine to carry data on flows, if not, then determine not carry data on flows.
12, the device as described in 11,
Described short-message instruction update module, comprising:
First judging unit, for when determining that described first flow information note carries data on flows, judges whether to be provided with new note calibration command to described operator SMS number;
Second judging unit, if be provided with new note calibration command for determining, then judges whether can obtain data on flows based on original note calibration command corresponding with described operator SMS number;
3rd judging unit, if can not obtain data on flows for determining based on described original note calibration command, then sends mail to operator and is confirmed whether to have modified the note calibration command corresponding with described operator SMS number;
Instruction replacement unit, if for confirming that operator have modified note calibration command based on the mail returned, then replace with described newly-installed note calibration command by described original note calibration command and store.
13, the device as described in 12,
Described second judging unit, also for adding up the ratio of flow information note that be directed to by described operator SMS number the short message enquiry feedback comprising described original note calibration command, that do not carry data on flows; Judge whether described ratio exceedes default proportion threshold value, if so, then determine that described original note calibration command can not obtain data on flows.
14, the device as described in 13,
Described modify instruction receiver module, also for described note calibration command is revised message stores in log information;
Described first judging unit, is also provided with new note calibration command for judging whether based on described log information to described operator SMS number.
15, the device as described in 14, comprising:
Described flow obtains judge module, also comprises:
Short message sending unit, for when determining that described first flow information note does not carry data on flows, then obtains the original note calibration command corresponding with described operator SMS number; Generate the second short message enquiry comprising described original note calibration command, and described second short message enquiry is sent to described operator SMS number;
Described note receiving element, for receiving the second flow information note that described operator SMS number sends, that feed back for described second short message enquiry;
Described data on flows generation module, for capturing outflow data and generating traffic alignment data according to described data on flows from described second flow information note;
Described traffic alignment data and the incorrect information of newly-installed note calibration command are sent to described end side by described data on flows sending module.
16, a traffic server, comprising:
The device for mobile terminal traffic alignment as described in 9 to 15 any one.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. for a method for mobile terminal traffic alignment, it is characterized in that, comprising:
Received the note calibration command amendment message of end side transmission by remote interface, wherein, in described note calibration command amendment message, carry newly-installed note calibration command, the operator SMS number corresponding with described newly-installed note calibration command;
Judge whether data on flows can be obtained based on described newly-installed note calibration command, if, then the note calibration command corresponding with described operator SMS number is updated to described newly-installed note calibration command, and generates traffic alignment data according to described data on flows;
Described traffic alignment data are sent to described end side, and wherein, described traffic alignment data are used for described end side and carry out data on flows calibration.
2. the method for claim 1, is characterized in that, judges that whether can obtain data on flows based on described newly-installed note calibration command comprises:
Described end side generates the first short message enquiry comprising described newly-installed note calibration command, and described first short message enquiry is sent to described operator SMS number;
First flow information note that described end side interception is sent by described operator SMS number, that feed back for described first short message enquiry;
Receive the described first flow information note that described end side sends, whether carry data on flows based on first flow information note described in the rule judgment preset.
3. method as claimed in claim 2, is characterized in that, whether first flow information note described in the described rule judgment based on presetting carries data on flows comprises:
Short message text information is extracted from described first flow information note;
Described short message text information is carried out canonical with the regular expression being used for capturing data on flows mate;
Judge the data on flows that whether can be captured by described regular expression in described short message text information, if so, then determine to carry data on flows, if not, then determine not carry data on flows.
4. method as claimed in claim 3, is characterized in that, describedly the note calibration command corresponding with described operator SMS number is updated to described newly-installed note calibration command and comprises:
When determining that described first flow information note carries data on flows, judge whether to be provided with new note calibration command to described operator SMS number;
If determine to be provided with new note calibration command, then judge whether data on flows can be obtained based on original note calibration command corresponding with described operator SMS number;
If determine can not obtain data on flows based on described original note calibration command, then send mail to operator and be confirmed whether to have modified the note calibration command corresponding with described operator SMS number;
If confirm that operator have modified note calibration command based on the mail returned, then described original note calibration command replaced with described newly-installed note calibration command and store.
5. method as claimed in claim 4, is characterized in that, judge that whether can obtain data on flows based on original note calibration command corresponding with described operator SMS number comprises:
Add up the ratio of flow information note that be directed to by described operator SMS number the short message enquiry feedback comprising described original note calibration command, that do not carry data on flows;
Judge whether described ratio exceedes default proportion threshold value, if so, then determine that described original note calibration command can not obtain data on flows.
6. method as claimed in claim 4, is characterized in that, judge whether that being provided with new note calibration command to described operator SMS number comprises:
By described note calibration command amendment message stores in log information;
Judge whether to be provided with new note calibration command to described operator SMS number based on described log information.
7. method as claimed in claim 3, is characterized in that, comprising:
When determining that described first flow information note does not carry data on flows, then obtain the original note calibration command corresponding with described operator SMS number;
Generate the second short message enquiry comprising described original note calibration command, and described second short message enquiry is sent to described operator SMS number;
Receive the second flow information note that described operator SMS number sends, that feed back for described second short message enquiry;
From described second flow information note, capture outflow data and generate traffic alignment data according to described data on flows;
Described traffic alignment data and the incorrect information of newly-installed note calibration command are sent to described end side.
8. the method for claim 1, is characterized in that, comprising:
Described end side receives described traffic alignment data, calibrates the data on flows that the traffic statistics software installed in described end side is shown.
9. for a device for mobile terminal traffic alignment, it is characterized in that, comprising:
Modify instruction receiver module, for the note calibration command amendment message sent by remote interface receiving terminal side, wherein, newly-installed note calibration command, the operator SMS number corresponding with described newly-installed note calibration command is carried in described note calibration command amendment message;
Flow obtains judge module, for judging whether can obtain data on flows based on described newly-installed note calibration command;
Short-message instruction update module, if can obtain data on flows for determining based on described newly-installed note calibration command, is then updated to described newly-installed note calibration command by the note calibration command corresponding with described operator SMS number;
Data on flows generation module, for generating traffic alignment data according to described data on flows;
Data on flows sending module, for described traffic alignment data are sent to described end side, wherein, described traffic alignment data are used for described end side and carry out data on flows calibration.
10. a traffic server, is characterized in that, comprising:
As claimed in claim 9 for the device of mobile terminal traffic alignment.
CN201610177162.1A 2016-03-24 2016-03-24 Method, apparatus and traffic server for mobile terminal traffic alignment Expired - Fee Related CN105578512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610177162.1A CN105578512B (en) 2016-03-24 2016-03-24 Method, apparatus and traffic server for mobile terminal traffic alignment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610177162.1A CN105578512B (en) 2016-03-24 2016-03-24 Method, apparatus and traffic server for mobile terminal traffic alignment

Publications (2)

Publication Number Publication Date
CN105578512A true CN105578512A (en) 2016-05-11
CN105578512B CN105578512B (en) 2019-05-31

Family

ID=55888061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610177162.1A Expired - Fee Related CN105578512B (en) 2016-03-24 2016-03-24 Method, apparatus and traffic server for mobile terminal traffic alignment

Country Status (1)

Country Link
CN (1) CN105578512B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916127A (en) * 2016-06-27 2016-08-31 北京奇虎科技有限公司 Method, device and server for obtaining user traffic information
CN106888442A (en) * 2017-01-13 2017-06-23 努比亚技术有限公司 Traffic alignment method and terminal
CN108012258A (en) * 2017-11-29 2018-05-08 北京小米移动软件有限公司 Data flux management method, device, terminal and the server of virtual SIM card

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159209A (en) * 2014-08-01 2014-11-19 北京奇虎科技有限公司 Data traffic calibration method and device for mobile terminal
CN105049219A (en) * 2015-07-31 2015-11-11 小米科技有限责任公司 Network traffic ordering method and system, mobile terminal and server
US20150341504A1 (en) * 2013-07-29 2015-11-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for monitoring service usage of a mobile terminal
CN105337799A (en) * 2015-10-22 2016-02-17 深圳市金立通信设备有限公司 Method and terminal for receiving flow information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150341504A1 (en) * 2013-07-29 2015-11-26 Tencent Technology (Shenzhen) Company Limited Method and apparatus for monitoring service usage of a mobile terminal
CN104159209A (en) * 2014-08-01 2014-11-19 北京奇虎科技有限公司 Data traffic calibration method and device for mobile terminal
CN105049219A (en) * 2015-07-31 2015-11-11 小米科技有限责任公司 Network traffic ordering method and system, mobile terminal and server
CN105337799A (en) * 2015-10-22 2016-02-17 深圳市金立通信设备有限公司 Method and terminal for receiving flow information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105916127A (en) * 2016-06-27 2016-08-31 北京奇虎科技有限公司 Method, device and server for obtaining user traffic information
CN106888442A (en) * 2017-01-13 2017-06-23 努比亚技术有限公司 Traffic alignment method and terminal
CN108012258A (en) * 2017-11-29 2018-05-08 北京小米移动软件有限公司 Data flux management method, device, terminal and the server of virtual SIM card
CN108012258B (en) * 2017-11-29 2021-02-09 北京小米移动软件有限公司 Data traffic management method and device for virtual SIM card, terminal and server

Also Published As

Publication number Publication date
CN105578512B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN104899768B (en) Winnings information production method, Apparatus and system
CN102082992B (en) Mobile office system and implementation method thereof
CN100401674C (en) Remote-controlling system and method
DE60315272T2 (en) EXCHANGE OF GEOGRAPHICAL LOCATION INFORMATION BETWEEN TERMINALS
CN101355529B (en) Method, system and client terminal for transmitting e-mail to instant communication contact
US8031694B2 (en) System and method for formatting data for a mobile communication device and transmitting the data to the mobile communication device
CN1132464C (en) Radio handset
CN105916127A (en) Method, device and server for obtaining user traffic information
CN105578512A (en) Mobile terminal flow calibration method and apparatus thereof, and flow server
KR20070074447A (en) Information processing method and information processing apparatus
CN105631056A (en) Advertisement flow filtering method and device and server
CN103297322B (en) Information interacting method based on message server and relevant device
CN105404529B (en) Method of ejecting, apparatus and system of the brush machine with operating system pop-up
CN100442792C (en) Big-dipper satellite-signal civil processing system
CN105681167A (en) Children smartwatch and wechat client talkback method
CN101227657B (en) MMS element tracing analysis system and method
CN101924815A (en) 3G MOA phone middleware embedded system
CN101834896A (en) Method for linking whether information by address list of mobile communication terminal and mobile communication terminal
CN109696867A (en) Method, user terminal and the GNSS device management system of user terminal processes GNSS device data
CN103034632A (en) Information transmitting method and a system
CN105515947B (en) A kind of method, server and the system of the heterogeneous terminals message intercommunication based on XMPP
CN102300149A (en) Target recognition mobile phone system based on global positioning system (GPS) and electronic compass
CN107612744A (en) A kind of intelligent transportation equipment operational system based on mobile platform
KR100766567B1 (en) Contents update relay system and method for providing contents update information to mobile equipment
JP2005196493A (en) Schedule management 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
TR01 Transfer of patent right

Effective date of registration: 20220720

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190531

CF01 Termination of patent right due to non-payment of annual fee