CN104936221B - The method and device of data in mobile terminal flow monitoring - Google Patents

The method and device of data in mobile terminal flow monitoring Download PDF

Info

Publication number
CN104936221B
CN104936221B CN201510303436.2A CN201510303436A CN104936221B CN 104936221 B CN104936221 B CN 104936221B CN 201510303436 A CN201510303436 A CN 201510303436A CN 104936221 B CN104936221 B CN 104936221B
Authority
CN
China
Prior art keywords
base station
mobile terminal
data traffic
affiliated area
position information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510303436.2A
Other languages
Chinese (zh)
Other versions
CN104936221A (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 Hongxiang Technical Service 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 CN201510303436.2A priority Critical patent/CN104936221B/en
Publication of CN104936221A publication Critical patent/CN104936221A/en
Application granted granted Critical
Publication of CN104936221B publication Critical patent/CN104936221B/en
Active 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/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the method and device of a kind of data in mobile terminal flow monitoring, method comprises determining that the affiliated area of mobile terminal, downloading the base station position information file that described affiliated area is corresponding, described base station position information file includes the base station IDs in corresponding region;When adding up data traffic used by mobile terminal, the base station position information file downloaded is searched mobile terminal base station therefor ID;When finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;When not finding mobile terminal base station therefor ID, base station therefor ID is sent to server, so that the base station position information file that regional in the server is corresponding to be inquired about base station therefor ID, judge that newly-increased data traffic is other places data traffic or local data flow according to Query Result.The present invention achieves and can distinguish local data flow and other places data traffic, increases the beneficial effect of the accuracy of data traffic monitoring.

Description

The method and device of data in mobile terminal flow monitoring
Technical field
The present invention relates to communication technical field, be specifically related to method and the dress of a kind of data in mobile terminal flow monitoring Put.
Background technology
Along with the development of mobile communication technology, people become increasingly popular to use the data service of mobile terminal to obtain more Many information, the use of these data services all needs consumption data flow, when payment settlement according to data traffic Service condition is settled accounts.User needs to understand currently used data traffic in time.Operator can divide different message areas Territory, such as, by provincial administrative division charging region, user uses data service to carry out rate in one way at this inside the province Clearing, user roams into and uses data service outside the province, carries out payment settlement alternatively.Additionally, the flow package of user Middle this locality also differs with the data traffic amount in other places.But, the data traffic monitoring method of prior art does not all have district The use region of divided data flow, therefore, it is impossible to meet user's requirement to data flow monitoring.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on State method and the device of corresponding data in mobile terminal flow monitoring of the data in mobile terminal flow monitoring of problem.
According to one aspect of the present invention, it is provided that a kind of method of data in mobile terminal flow monitoring, including:
Determine the affiliated area of mobile terminal, download the base station position information file that described affiliated area is corresponding, described base Station location message file includes the base station IDs in corresponding region;
When adding up data traffic used by mobile terminal, the base station position information file downloaded is searched mobile terminal institute Use base station IDs;
When finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;
When not finding mobile terminal base station therefor ID, base station therefor ID is sent to server, with at server The base station position information file that middle regional is corresponding is inquired about base station therefor ID, judges newly-increased data traffic according to Query Result It is other places data traffic or local data flow.
Alternatively, described when not finding mobile terminal base station therefor ID, base station therefor ID is sent to server, So that the base station position information file that regional in the server is corresponding to be inquired about base station therefor ID, specifically include:
When not finding mobile terminal base station therefor ID in the base station position information file downloaded, record is mobile eventually End base station therefor ID and corresponding newly-increased data traffic;
Base station IDs in the preset duration of record is sent to server, with the base station that regional in the server is corresponding Positional information file is inquired about.
Alternatively, described is other places data traffic or local data flow according to the newly-increased data traffic of Query Result judgement Amount, specifically includes:
Affiliated area position when the affiliated area Yu mobile terminal determining mobile terminal base station therefor according to Query Result When same charging region, it is determined that described newly-increased data traffic is local data flow;
Affiliated area position when the affiliated area Yu mobile terminal determining mobile terminal base station therefor according to Query Result When different charge region, it is determined that described newly-increased data traffic is other places data traffic.
Alternatively, the described affiliated area determining mobile terminal, specifically include: true according to telephone number used by mobile terminal Determine the affiliated area of mobile terminal.
Alternatively, the described affiliated area determining mobile terminal, specifically include: move according to when installing traffic statistics application The geographical location information of terminal determines the affiliated area of mobile terminal.
Alternatively, described method also includes: when judging newly-increased data traffic as other places data traffic, outside display roams into The prompting message on ground.
Alternatively, described method also includes:
Flow service condition in flow package is divided into local data flow service condition and other places data traffic makes Use situation;
According to the local data flow used in the mobile terminal that statistics draws and other places data traffic, to local data flow Amount service condition and other places data traffic service condition, calculated flow rate amount uses percentage ratio and/or residual flow amount respectively.
Alternatively, described method also includes:
When the affiliated area of mobile terminal base station therefor is positioned at same charging region with the affiliated area of mobile terminal, aobvious Show that the flow amount of local data flow service condition uses percentage ratio and/or residual flow amount;
When the affiliated area of mobile terminal base station therefor is positioned at different charge region with the affiliated area of mobile terminal, aobvious Show that the flow amount of other places data traffic service condition uses percentage ratio and/or residual flow amount.
According to one aspect of the present invention, it is provided that a kind of method of data in mobile terminal flow monitoring, including:
According to base station affiliated area, is classified in base station, generate the base station position information file corresponding to regional, described Base station position information file includes the base station IDs in corresponding region;
After receiving mobile terminal download request, base station position information file corresponding for region in the request of downloading is sent and is somebody's turn to do Mobile terminal, so that mobile terminal is when statistics data traffic used, searches mobile in the base station position information file downloaded Terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;
After receiving mobile terminal enquiry request, in the base station position information file that regional is corresponding, inquiry inquiry please Seek middle base station IDs, Query Result is sent to mobile terminal, so that mobile terminal judges newly-increased data traffic according to Query Result It is other places data traffic or local data flow.
Alternatively, described according to base station affiliated area by base station classify, generate corresponding to regional base station location believe Breath file, specifically includes:
Base station affiliated area is determined according to base station geographic position information;
Base station IDs in record regional, generates the base station position information file corresponding with region.
Alternatively, described base station geographic position information includes: base station address information and latitude and longitude of base station information, described basis Base station geographic position information determines base station affiliated area, specifically includes:
Base station affiliated area is determined according to base station address information;
When being not determined by base station affiliated area according to base station address information, look in map according to latitude and longitude of base station information Ask described base station, determine base station affiliated area according to Query Result.
According to one aspect of the present invention, it is provided that the device of a kind of data in mobile terminal flow monitoring, including:
Download module, is adapted to determine that the affiliated area of mobile terminal, downloads the base station location letter that described affiliated area is corresponding Breath file, described base station position information file includes the base station IDs in corresponding region;
Search module, be suitable to when adding up data traffic used by mobile terminal, in the base station position information file downloaded Search mobile terminal base station therefor ID;
First determination module, is suitable to when finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics For local data flow;
Second determination module, is suitable to, when not finding mobile terminal base station therefor ID, be sent to by base station therefor ID Server, to inquire about base station therefor ID, according to inquiry knot in the base station position information file that regional in the server is corresponding Fruit judges that newly-increased data traffic is other places data traffic or local data flow.
Alternatively, described second determination module, specifically include:
Record sub module, is suitable to when not finding mobile terminal base station therefor in the base station position information file downloaded During ID, record mobile terminal base station therefor ID and corresponding newly-increased data traffic;
Send submodule, be suitable to the base station IDs in the preset duration of record is sent to server, with the most each The base station position information file that individual region is corresponding is inquired about.
Alternatively, described second determination module, specifically include:
First decision sub-module, is suitable to when affiliated area and the shifting determining mobile terminal base station therefor according to Query Result When the affiliated area of dynamic terminal is positioned at same charging region, it is determined that described newly-increased data traffic is local data flow;
Second decision sub-module, is suitable to when affiliated area and the shifting determining mobile terminal base station therefor according to Query Result When the affiliated area of dynamic terminal is positioned at different charge region, it is determined that described newly-increased data traffic is other places data traffic.
Alternatively, described download module, it is particularly adapted to determine the institute of mobile terminal according to telephone number used by mobile terminal Belong to region.
Alternatively, described download module, it is particularly adapted to according to the geographical position of mobile terminal when installing traffic statistics application Information determines the affiliated area of mobile terminal.
Alternatively, described device also includes: display module, is suitable to when judging that newly-increased data traffic is as other places data traffic Time, display roams into the prompting message in other places.
Alternatively, described device also includes: computing module, is suitable to divide into the flow service condition in flow package Local data flow service condition and other places data traffic service condition;According to this locality used in the mobile terminal that statistics draws Data traffic and other places data traffic, to local data flow service condition and other places data traffic service condition, calculate respectively Flow amount uses percentage ratio and/or residual flow amount.
Alternatively, described device also includes: display module, is suitable to the affiliated area when mobile terminal base station therefor and shifting When the affiliated area of dynamic terminal is positioned at same charging region, the flow amount of display local data flow service condition uses percentage Ratio and/or residual flow amount;When the affiliated area of mobile terminal base station therefor is positioned at different from the affiliated area of mobile terminal During charging region, the flow amount of display other places data traffic service condition uses percentage ratio and/or residual flow amount.
According to one aspect of the present invention, it is provided that the device of a kind of data in mobile terminal flow monitoring, including:
Generation module, is suitable to be classified base station according to base station affiliated area, generates the base station location corresponding to regional Message file, described base station position information file includes the base station IDs in corresponding region;
Transport module, after being suitable to receive mobile terminal download request, by base station location corresponding for region in the request of downloading Message file sends this mobile terminal, so that mobile terminal is when statistics data traffic used, at the base station position information downloaded File is searched mobile terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is Local data flow;
Enquiry module, after being suitable to receive mobile terminal enquiry request, regional corresponding base station position information File is inquired about base station IDs in inquiry request, Query Result is sent to mobile terminal, so that mobile terminal is according to Query Result Judge that newly-increased data traffic is other places data traffic or local data flow.
Alternatively, described generation module, specifically include:
Determine submodule, be suitable to determine base station affiliated area according to base station geographic position information;
Generate submodule, be suitable to record base station IDs in regional, generate the base station position information literary composition corresponding with region Part.
Alternatively, described base station geographic position information includes: base station address information and latitude and longitude of base station information, described really Stator modules, is particularly adapted to determine base station affiliated area according to base station address information;When being not determined by according to base station address information During the affiliated area of base station, in map, inquire about described base station according to latitude and longitude of base station information, determine base station institute according to Query Result Belong to region.
According to technical scheme, it may be determined that the affiliated area of mobile terminal, download the base that affiliated area is corresponding Station location message file, when adding up data traffic used by mobile terminal, searches in the base station position information file downloaded and moves Dynamic terminal base station therefor ID, when finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is local number According to flow, when not finding mobile terminal base station therefor ID, base station therefor ID is sent to server, with in the server The base station position information file that regional is corresponding is inquired about base station therefor ID, judges that newly-increased data traffic is according to Query Result Other places data traffic or local data flow.Thus solve, data traffic monitoring in cannot be distinguished by local data flow and The problem of other places data traffic, achieves and can distinguish local data flow and other places data traffic, increase data traffic monitoring Accuracy, better meet user's demand to data flow monitoring, improve the beneficial effect of user satisfaction.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the method for data in mobile terminal flow monitoring according to an embodiment of the invention;
Fig. 2 shows according to an embodiment of the invention to the flow chart inquiring about base station IDs in server;
Fig. 3 shows and distinguishes other places data traffic and local data according to Query Result according to an embodiment of the invention The flow chart of flow;
Fig. 4 shows and distinguishes other places data traffic and local data flow according to an embodiment of the invention to data stream Amount service condition carries out the flow chart calculated
Fig. 5 shows the flow chart of video data flow service condition according to an embodiment of the invention;
Fig. 6 A shows the interface of the local data flow service condition showing monitoring according to an embodiment of the invention Schematic diagram;
Fig. 6 B shows the interface of the nonlocal data traffic service condition showing monitoring according to an embodiment of the invention Schematic diagram;
Fig. 7 shows the flow chart of the method for data in mobile terminal flow monitoring according to an embodiment of the invention;
Fig. 8 shows the flow chart of the method for data in mobile terminal flow monitoring according to an embodiment of the invention;
Fig. 9 shows the structure chart of the device of data in mobile terminal flow monitoring according to an embodiment of the invention;
Figure 10 shows the structure chart of the device of data in mobile terminal flow monitoring according to an embodiment of the invention; And
Figure 11 shows the structure chart of the device of data in mobile terminal flow monitoring according to an embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 shows the flow chart of the method for data in mobile terminal flow monitoring according to an embodiment of the invention. The method is suitable to various mobile terminal, such as mobile phone, panel computer etc..As it is shown in figure 1, the method comprises the steps S110- S140。
In step s 110, determine the affiliated area of mobile terminal, download the base station position information literary composition that affiliated area is corresponding Part.
Base station position information file includes the base station IDs in corresponding region.
Wherein, the described affiliated area determining mobile terminal comprises the steps that and determines shifting according to telephone number used by mobile terminal The affiliated area of dynamic terminal.
For example, the telephone number used can be inquired about in the number information file of server in mobile terminal, Number information file includes number segment used by regional, determines number segment belonging to telephone number used in mobile terminal After, determine that the telephone number used in mobile terminal belongs to the region that this number segment is corresponding.Such as, in units of administrative district, Number information file includes each administrative district number segment, phone number used by enquiry mobile terminal in number information file Code, determines number segment belonging to this telephone number, and then show that telephone number belongs to the district that this number segment is corresponding.
Wherein, the described affiliated area determining mobile terminal may also comprise: moves end according to when installing traffic statistics application The geographical location information of end determines the affiliated area of mobile terminal.
For example, when user installs traffic statistics application in the terminal, the warp of mobile terminal is obtained by GPS Latitude, searches this longitude and latitude in the map of server, determines the region at mobile terminal place, is defined as in this region mobile The affiliated area of terminal.
Determine that the mode of the affiliated area of mobile terminal is not limited to above two, can adopt and determine that movement is eventually in other ways End affiliated area, such as, when user installation traffic statistics are applied, show input frame, and prompting user inputs mobile terminal affiliated Region, determines mobile terminal affiliated area according to the information of user's input.
In one embodiment, server obtain base station geographic position information, base station geographic position information include base station IDs, Latitude and longitude of base station information and the address information of base station.Server determines base station institute according to address information and the latitude and longitude information of base station Belong to region, base station IDs in record regional, generate the base station position information file corresponding with region.So, in server Storage has the base station position information file that regional is corresponding.Such as, server stores the position, base station having each district corresponding Put message file.Mobile terminal sends, to server, the request of download, and the request of download includes mobile terminal affiliated area.Server After receiving download request, base station position information file corresponding for mobile terminal affiliated area in the request of downloading is sent to mobile Terminal, mobile terminal receives the base station position information file that affiliated area is corresponding.
In the step s 120, when adding up data traffic used by mobile terminal, in the base station position information file downloaded Search mobile terminal base station therefor ID.
For example, when carrying out data traffic monitoring, data traffic used in mobile terminal is polled statistics, phase The difference of the data traffic obtained during adjacent twice poll is the newly-increased data traffic counted.When each poll, by resolving The packet that mobile terminal receives, mobile terminal base station therefor ID when determining poll.In the base station position information file downloaded Search this base station IDs.If found, show that mobile terminal still uses data service in this locality;Without finding, then Need to further determine that mobile terminal is also to have roamed to other places in this locality.
In step s 130, when finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is this Ground data traffic.
For example, if finding mobile terminal base station therefor ID in the base station position information file downloaded, then sentence This newly-increased data traffic being polled to fixed is local data flow.
In step S140, when not finding mobile terminal base station therefor ID, base station therefor ID is sent to service Device, to inquire about base station therefor ID in the base station position information file that regional in the server is corresponding, sentences according to Query Result Disconnected newly-increased data traffic is other places data traffic or local data flow.
For example, if not finding mobile terminal base station therefor ID in the base station position information file downloaded, This is possibly due to mobile terminal and has roamed to other places or mobile terminal base station therefor for newly-increased base station, this locality, in this feelings Under condition, base station therefor ID is sent to server by mobile terminal, and server is at base station position information file corresponding to regional Middle inquiry base station therefor ID, according to Query Result, mobile terminal judges that newly-increased data traffic is other places data traffic or local number According to flow.
In one embodiment, as in figure 2 it is shown, described when not finding mobile terminal base station therefor ID, by base used The ID that stands is sent to server, so that the base station position information file that regional in the server is corresponding to be inquired about base station therefor ID, Specifically include following steps S142 and step S144.
In step S142, when not finding mobile terminal base station therefor ID in the base station position information file downloaded Time, record mobile terminal base station therefor ID and corresponding newly-increased data traffic.
In step S144, the base station IDs in the preset duration of record is sent to server, with in the server each The base station position information file that region is corresponding is inquired about.
Because the packet that mobile terminal sends to server all can have data packet head, by the base station IDs collection in certain time length In be sent to server, and individually send base station IDs to compared with server, it is possible to reduce and send data packet number, and then save and send out Send data traffic used.
In one embodiment, as it is shown on figure 3, described is other places data traffic according to the newly-increased data traffic of Query Result judgement Or local data flow, specifically includes following steps S146 and step S148.
In step S146, when affiliated area and the mobile terminal of determining mobile terminal base station therefor according to Query Result Affiliated area when being positioned at same charging region, it is determined that newly-increased data traffic is local data flow.
In step S148, when affiliated area and the mobile terminal of determining mobile terminal base station therefor according to Query Result Affiliated area when being positioned at different charge region, it is determined that newly-increased data traffic be nonlocal data traffic.
For example, mobile terminal receives Query Result from server, if base used by mobile terminal in Query Result When the affiliated area of the affiliated area stood and mobile terminal is positioned at same charging region, such as, both it is positioned at same province, then Judge that newly-increased data traffic is as local data flow.If the affiliated area of mobile terminal base station therefor and movement in Query Result When the affiliated area of terminal is positioned at different charge region, such as, both it is positioned at different two province, then judges newly-increased data stream Amount is other places data traffic.
In one embodiment, when affiliated area and the mobile terminal determining mobile terminal base station therefor according to Query Result Affiliated area when being positioned at same charging region, base station therefor ID is added to the base station position information file that mobile terminal is local In.
So, the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at same charging region, This base station IDs is added in mobile terminal home base stations positional information file.So, this base is re-used next time when mobile terminal When standing, directly can inquire the base station IDs of this base station from local base station position information file, it is to avoid enter in server Row base station inquiry, saves data traffic used.
In one embodiment, described method also includes: when judging newly-increased data traffic as other places data traffic, display is unrestrained Swim over to the prompting message in other places.When determining the currently used base station IDs of mobile terminal for base station, other places, eject in the user interface Information " is currently at other places roaming state, please determine whether to be continuing with data service ".Further, it is also possible to user circle Face is added data service cut-off push button, after detecting that data service cut-off push button is clicked, by data in mobile terminal industry Business connects disconnection.
So, it is possible, when mobile terminal is in other places roaming state, user to be reminded, it is to avoid user makes unintentionally Use too much roaming data traffic, increase communication cost.
In one embodiment, as shown in Figure 4, described method also includes:
Step S410, divides into local data flow service condition and other places number by the flow service condition in flow package According to flow service condition.
Step S420, according to the local data flow used in mobile terminal and other places data traffic, to local data flow Amount service condition and other places data traffic service condition, calculated flow rate amount uses percentage ratio and/or residual flow amount respectively.
For example, in user's set meal, local data flow amount is the 500M/ month;Other places data traffic amount is 15M/ Month, data traffic monitoring is distinguished the local data flow used in mobile terminal and other places data traffic, such as, mobile terminal The local data flow of middle use is 100M, and the nonlocal data traffic used in mobile terminal is 5M, calculates the most respectively: local Flow amount uses percentage ratio to be 20%, and local residual flow amount is 400M;Other places flow amount uses percentage ratio to be 33%, Other places residual flow amount is 10M.
In one embodiment, as it is shown in figure 5, described method also includes:
Step S510, when the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at same charging During region, the flow amount of display local data flow service condition uses percentage ratio and/or residual flow amount.
As shown in Figure 6A, when mobile terminal uses data service in this locality, the mode of flow ball is used to show monitoring Local data flow service condition.
Step S520, when the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at different charge During region, the flow amount of display other places data traffic service condition uses percentage ratio and/or residual flow amount.
As shown in Figure 6B, when mobile terminal is when roaming into other places and using data service, the mode of flow ball is used to show The nonlocal data traffic service condition of monitoring.
So, the data traffic that mobile terminal uses is associated with the data traffic amount of mobile terminal, facilitates user Determine data traffic service condition.
Fig. 7 shows the flow chart of the method for data in mobile terminal flow monitoring according to an embodiment of the invention. Such as, mobile terminal affiliated area is Chaoyang District Beijing, and mobile terminal uses the data service that operator provides, and in Beijing Local and other places uses mobile terminal.In the present embodiment, method comprises the steps S702-S722.
In step S702, determine the affiliated area of mobile terminal, download the base station position information literary composition that affiliated area is corresponding Part.
Such as, determine that the affiliated area of mobile terminal is Chaoyang District Beijing, download the base station location letter that Chaoyang District is corresponding Breath file, this base station position information file includes base station IDs in Chaoyang District.
In step S704, when adding up data traffic used by mobile terminal, in the base station position information file downloaded Search mobile terminal base station therefor ID.
Such as, when carrying out data flux statistics every time, at the locally stored base station position information corresponding with Chaoyang District The base station IDs that when searching this statistics in file, mobile terminal uses.
In step S706, when finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is this Ground data traffic.
Such as, mobile terminal uses data service in the range of Chaoyang District, then can be in the position, base station of mobile terminal this locality Confidence breath ff is to mobile terminal base station therefor ID.
In step S708, when not finding mobile terminal base station therefor ID in the base station position information file downloaded Time, record mobile terminal base station therefor ID and corresponding newly-increased data traffic.
Such as, mobile terminal still uses data service in the range of Chaoyang District, but the base station used is newly-increased base station, or Person, mobile terminal moves to Haidian District and uses data service, or mobile terminal moves to Shanghai City and uses data service, at this In the case of Xie, all cannot search mobile terminal base station therefor ID in the base station position information file that mobile terminal is local.Now, Mobile terminal base station therefor ID in preset duration and corresponding newly-increased data traffic are carried out record, in order to enter in the server Row inquiry.
In step S710, the base station IDs in the preset duration of record is sent to server, with in the server each The base station position information file that region is corresponding is inquired about.
In step S712, when affiliated area and the mobile terminal of determining mobile terminal base station therefor according to Query Result Affiliated area when being positioned at same charging region, it is determined that newly-increased data traffic is local data flow.
Such as, mobile terminal moves to Haidian District and uses data service, and Query Result indicates mobile terminal base station therefor ID Affiliated area is that Haidian District, Chaoyang District and Haidian District belong to Beijing, is positioned at same charging region, therefore, according to this inquiry It is local data flow that result determines newly-increased data traffic corresponding in record.
In step S714, when affiliated area and the mobile terminal of determining mobile terminal base station therefor according to Query Result Affiliated area when being positioned at different charge region, it is determined that newly-increased data traffic be nonlocal data traffic.
Such as, mobile terminal moves to district of Pudong, Shanghai City and uses data service, and Query Result indicates used by mobile terminal Base station IDs affiliated area is district of Pudong, and Chaoyang District and district of Pudong are belonging respectively to Beijing and Shanghai City, are positioned at different charge region, Therefore, newly-increased data traffic corresponding in record is determined for other places data traffic according to this Query Result.
In step S716, the flow service condition in flow package is divided into local data flow service condition with outer Ground data traffic service condition.
In step S718, according to the local data flow used in mobile terminal and other places data traffic, to local number According to flow service condition and other places data traffic service condition, calculated flow rate amount uses percentage ratio and residual flow volume respectively Degree.
Step S720, when the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at same charging During region, the flow amount of display local data flow service condition uses percentage ratio and residual flow amount.
As shown in Figure 6A, when mobile terminal uses data service in Haidian District, the mode of flow ball is used to show monitoring Local data flow service condition.
Step S722, when the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at different charge During region, the flow amount of display other places data traffic service condition uses percentage ratio and residual flow amount.
As shown in Figure 6B, when mobile terminal is when roaming into district of Pudong, Shanghai City and using data service, flow ball is used Mode shows the nonlocal data traffic service condition of monitoring.
In the present invention, embodiment solves, and cannot be distinguished by local data flow and other places data traffic in data traffic monitoring Problem, achieve can distinguish local data flow and other places data traffic, increase data traffic monitoring accuracy, more preferably Meet user's demand to data flow monitoring, improve the beneficial effect of user satisfaction.
Fig. 8 shows the flow chart of the method for data in mobile terminal flow monitoring according to an embodiment of the invention. The method can be used for various server, comprises the steps S810-S830.
In step S810, according to base station affiliated area, is classified in base station, generate the base station location corresponding to regional Message file.
Wherein, base station position information file includes the base station IDs in corresponding region.
For example, server obtains base station geographic position information, and base station geographic position information includes base station IDs, base station Latitude and longitude information and the address information of base station.Server determines district belonging to base station according to address information and the latitude and longitude information of base station Territory, base station IDs in record regional, generate the base station position information file corresponding with region.So, server stores There is the base station position information file that regional is corresponding.Such as, the base station location that in server, storage has each district corresponding is believed Breath file.
Base station position information is classified by affiliated area, it is possible to the file that after making to classify, regional is corresponding is relatively Little, and then when mobile terminal is downloaded, save data traffic and the memory space of mobile terminal.
In step S820, after receiving mobile terminal download request, by base station location corresponding for region in the request of downloading Message file sends this mobile terminal, so that mobile terminal is when statistics data traffic used, at the base station position information downloaded File is searched mobile terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is Local data flow.
In step S830, after receiving mobile terminal enquiry request, at the base station position information literary composition that regional is corresponding Part is inquired about base station IDs in inquiry request, Query Result is sent to mobile terminal, so that mobile terminal is sentenced according to Query Result Disconnected newly-increased data traffic is other places data traffic or local data flow.
In one embodiment, according to base station affiliated area, is classified in base station, generate the base station location corresponding to regional Message file, specifically includes following steps A812 and step A814.
In step A812, determine base station affiliated area according to base station geographic position information.
In step A814, base station IDs in record regional, generate the base station position information file corresponding with region.
Further, base station geographic position information includes: base station address information and latitude and longitude of base station information, described according to base Geographical location information of standing determines base station affiliated area, specifically includes following steps A8122 and A8124.
In step A8122, determine base station affiliated area according to base station address information.
In step A8124, when being not determined by base station affiliated area according to base station address information, according to latitude and longitude of base station Information inquires about described base station in map, determines base station affiliated area according to Query Result.
In the present invention, embodiment solves, and cannot be distinguished by local data flow and other places data traffic in data traffic monitoring Problem, achieve can distinguish local data flow and other places data traffic, increase data traffic monitoring accuracy, more preferably Meet user's demand to data flow monitoring, improve the beneficial effect of user satisfaction.
Above are only the exemplary explanation of the method for the data in mobile terminal flow monitoring of the present invention, the invention is not restricted to This.Any modification, equivalent substitution and improvement etc. made within all spirit in the present invention or principle, are all contained in the present invention's In protection domain.
Fig. 9 shows the structure chart of the device of data in mobile terminal flow monitoring according to an embodiment of the invention. This device is suitable to various mobile terminal, such as mobile phone, panel computer etc..As it is shown in figure 9, this device includes such as lower module.
Download module 910, is adapted to determine that the affiliated area of mobile terminal, downloads the base station location that described affiliated area is corresponding Message file, described base station position information file includes the base station IDs in corresponding region;
Search module 920, be suitable to when adding up data traffic used by mobile terminal, at the base station position information file downloaded Middle lookup mobile terminal base station therefor ID;
First determination module 930, is suitable to when finding mobile terminal base station therefor ID, it is determined that the newly-increased data stream of statistics Amount is local data flow;
Second determination module 940, is suitable to when not finding mobile terminal base station therefor ID, is sent by base station therefor ID To server, so that the base station position information file that regional in the server is corresponding to be inquired about base station therefor ID, according to inquiry Result judges that newly-increased data traffic is other places data traffic or local data flow.
In one embodiment, as shown in Figure 10, the second determination module 940, specifically include:
Record sub module 942, is suitable to when not finding used by mobile terminal in the base station position information file downloaded During base station IDs, record mobile terminal base station therefor ID and corresponding newly-increased data traffic;
Send submodule 944, be suitable to the base station IDs in the preset duration of record is sent to server, with in the server The base station position information file that regional is corresponding is inquired about.
Because the packet that mobile terminal sends to server all can have data packet head, by the base station IDs collection in certain time length In be sent to server, and individually send base station IDs to compared with server, it is possible to reduce and send data packet number, and then save and send out Send data traffic used.
In one embodiment, as shown in Figure 10, the second determination module 940, specifically include:
First decision sub-module 946, is suitable to when the affiliated area determining mobile terminal base station therefor according to Query Result When being positioned at same charging region with the affiliated area of mobile terminal, it is determined that described newly-increased data traffic is local data flow;
Second decision sub-module 948, is suitable to when the affiliated area determining mobile terminal base station therefor according to Query Result When being positioned at different charge region with the affiliated area of mobile terminal, it is determined that described newly-increased data traffic is other places data traffic.
In one embodiment, download module 910 is particularly adapted to determine mobile terminal according to telephone number used by mobile terminal Affiliated area.
For example, download module 910 can be by the telephone number that uses in mobile terminal at the number information of server Inquiring about in file, number information file includes number segment used by regional, determines telephone number used in mobile terminal After affiliated number segment, determine that the telephone number used in mobile terminal belongs to the region that this number segment is corresponding.Such as, with administrative area County is unit, and number information file includes each administrative district number segment, enquiry mobile terminal institute in number information file Telephone number, determine number segment belonging to this telephone number, and then show that telephone number belongs to the district that this number segment is corresponding.
In one embodiment, download module 910 is particularly adapted to according to the geography of mobile terminal when installing traffic statistics application Positional information determines the affiliated area of mobile terminal.
For example, when user installs traffic statistics application in the terminal, the warp of mobile terminal is obtained by GPS Latitude, searches this longitude and latitude in the map of server, determines the region at mobile terminal place, is defined as in this region mobile The affiliated area of terminal.
Determine that the mode of the affiliated area of mobile terminal is not limited to above two, can adopt and determine that movement is eventually in other ways End affiliated area, such as, when user installation traffic statistics are applied, show input frame, and prompting user inputs mobile terminal affiliated Region, determines mobile terminal affiliated area according to the information of user's input.
In one embodiment, as shown in Figure 10, device also includes: display module 1010, is suitable to when judging newly-increased data stream When amount is for other places data traffic, display roams into the prompting message in other places.
Further, the first decision sub-module 946 is further adapted for when determining mobile terminal base station therefor according to Query Result The affiliated area of affiliated area and mobile terminal when being positioned at same charging region, base station therefor ID is added to mobile terminal this In the base station position information file on ground.
So, the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at same charging region, This base station IDs is added in mobile terminal home base stations positional information file.So, this base is re-used next time when mobile terminal When standing, directly can inquire the base station IDs of this base station from local base station position information file, it is to avoid enter in server Row base station inquiry, saves data traffic used.
In one embodiment, as shown in Figure 10, device also includes: computing module 1020, is suitable to the stream in flow package Amount service condition divides into local data flow service condition and other places data traffic service condition;The movement drawn according to statistics The local data flow used in terminal and other places data traffic, make local data flow service condition and other places data traffic By situation, calculated flow rate amount uses percentage ratio and/or residual flow amount respectively.
In one embodiment, as shown in Figure 10, device also includes: display module 1010, is suitable to when base used by mobile terminal When the affiliated area of the affiliated area stood and mobile terminal is positioned at same charging region, display local data flow service condition Flow amount uses percentage ratio and/or residual flow amount;Affiliated area and mobile terminal when mobile terminal base station therefor When affiliated area is positioned at different charge region, display other places data traffic service condition flow amount use percentage ratio and/or Residual flow amount.
The exemplary illustration of every technical characteristic and every skill in corresponding method technical scheme in said apparatus technical scheme The exemplary explanation of art feature is close, does not repeats them here.
Figure 11 shows the structure chart of the device of data in mobile terminal flow monitoring according to an embodiment of the invention. The method can be used for various server, including such as lower module.
Generation module 1110, is suitable to be classified base station according to base station affiliated area, generates the base station corresponding to regional Positional information file, base station position information file includes the base station IDs in corresponding region;
Transport module 1120, after being suitable to receive mobile terminal download request, by base station corresponding for region in the request of downloading Positional information file sends this mobile terminal, so that mobile terminal is when statistics data traffic used, at the base station location downloaded Message file is searched mobile terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data stream of statistics Amount is local data flow;
Enquiry module 1130, after being suitable to receive mobile terminal enquiry request, regional corresponding base station location Message file is inquired about base station IDs in inquiry request, Query Result is sent to mobile terminal, so that mobile terminal is according to inquiry Result judges that newly-increased data traffic is other places data traffic or local data flow.
In one embodiment, generation module 1110 specifically includes:
Determine submodule, be suitable to determine base station affiliated area according to base station geographic position information;
Generate submodule, be suitable to record base station IDs in regional, generate the base station position information literary composition corresponding with region Part.
In one embodiment, base station geographic position information includes: base station address information and latitude and longitude of base station information, determines son Module, is particularly adapted to determine base station affiliated area according to base station address information;When being not determined by base station according to base station address information During affiliated area, in map, inquire about described base station according to latitude and longitude of base station information, determine district belonging to base station according to Query Result Territory.
The exemplary illustration of every technical characteristic and every skill in corresponding method technical scheme in said apparatus technical scheme The exemplary explanation of art feature is close, does not repeats them here.
The present invention includes following technical scheme:
A1, a kind of method of data in mobile terminal flow monitoring, including:
Determine the affiliated area of mobile terminal, download the base station position information file that described affiliated area is corresponding, described base Station location message file includes the base station IDs in corresponding region;
When adding up data traffic used by mobile terminal, the base station position information file downloaded is searched mobile terminal institute Use base station IDs;
When finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;
When not finding mobile terminal base station therefor ID, base station therefor ID is sent to server, with at server The base station position information file that middle regional is corresponding is inquired about base station therefor ID, judges newly-increased data traffic according to Query Result It is other places data traffic or local data flow.
A2, according to the method described in A1, wherein, described when not finding mobile terminal base station therefor ID, by used Base station IDs is sent to server, to inquire about base station therefor in the base station position information file that regional in the server is corresponding ID, specifically includes:
When not finding mobile terminal base station therefor ID in the base station position information file downloaded, record is mobile eventually End base station therefor ID and corresponding newly-increased data traffic;
Base station IDs in the preset duration of record is sent to server, with the base station that regional in the server is corresponding Positional information file is inquired about.
A3, according to the method described in A1, wherein, described judge that newly-increased data traffic is other places data stream according to Query Result Amount or local data flow, specifically include:
Affiliated area position when the affiliated area Yu mobile terminal determining mobile terminal base station therefor according to Query Result When same charging region, it is determined that described newly-increased data traffic is local data flow;
Affiliated area position when the affiliated area Yu mobile terminal determining mobile terminal base station therefor according to Query Result When different charge region, it is determined that described newly-increased data traffic is other places data traffic.
A4, according to the method described in A1, wherein, the described affiliated area determining mobile terminal, specifically include:
The affiliated area of mobile terminal is determined according to telephone number used by mobile terminal.
A5, according to the method described in A1, wherein, the described affiliated area determining mobile terminal, specifically include:
The affiliated area of mobile terminal is determined according to the geographical location information of mobile terminal when installing traffic statistics application.
A6, according to the method described in A1, wherein, described method also includes:
When judging newly-increased data traffic as other places data traffic, display roams into the prompting message in other places.
A7, according to the method described in A1, wherein, described method also includes:
Flow service condition in flow package is divided into local data flow service condition and other places data traffic makes Use situation;
According to the local data flow used in the mobile terminal that statistics draws and other places data traffic, to local data flow Amount service condition and other places data traffic service condition, calculated flow rate amount uses percentage ratio and/or residual flow amount respectively.
A8, according to the method described in A7, wherein, described method also includes:
When the affiliated area of mobile terminal base station therefor is positioned at same charging region with the affiliated area of mobile terminal, aobvious Show that the flow amount of local data flow service condition uses percentage ratio and/or residual flow amount;
When the affiliated area of mobile terminal base station therefor is positioned at different charge region with the affiliated area of mobile terminal, aobvious Show that the flow amount of other places data traffic service condition uses percentage ratio and/or residual flow amount.
B9, a kind of method of data in mobile terminal flow monitoring, including:
According to base station affiliated area, is classified in base station, generate the base station position information file corresponding to regional, described Base station position information file includes the base station IDs in corresponding region;
After receiving mobile terminal download request, base station position information file corresponding for region in the request of downloading is sent and is somebody's turn to do Mobile terminal, so that mobile terminal is when statistics data traffic used, searches mobile in the base station position information file downloaded Terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;
After receiving mobile terminal enquiry request, in the base station position information file that regional is corresponding, inquiry inquiry please Seek middle base station IDs, Query Result is sent to mobile terminal, so that mobile terminal judges newly-increased data traffic according to Query Result It is other places data traffic or local data flow.
B10, according to the method described in B9, wherein, described according to base station affiliated area by base station classify, generate corresponding to respectively The base station position information file in individual region, specifically includes:
Base station affiliated area is determined according to base station geographic position information;
Base station IDs in record regional, generates the base station position information file corresponding with region.
B11, according to the method described in B10, wherein, described base station geographic position information includes: base station address information and base Stand latitude and longitude information, described determine base station affiliated area according to base station geographic position information, specifically include:
Base station affiliated area is determined according to base station address information;
When being not determined by base station affiliated area according to base station address information, look in map according to latitude and longitude of base station information Ask described base station, determine base station affiliated area according to Query Result.
C12, the device of a kind of data in mobile terminal flow monitoring, including:
Download module, is adapted to determine that the affiliated area of mobile terminal, downloads the base station location letter that described affiliated area is corresponding Breath file, described base station position information file includes the base station IDs in corresponding region;
Search module, be suitable to when adding up data traffic used by mobile terminal, in the base station position information file downloaded Search mobile terminal base station therefor ID;
First determination module, is suitable to when finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics For local data flow;
Second determination module, is suitable to, when not finding mobile terminal base station therefor ID, be sent to by base station therefor ID Server, to inquire about base station therefor ID, according to inquiry knot in the base station position information file that regional in the server is corresponding Fruit judges that newly-increased data traffic is other places data traffic or local data flow.
C13, according to the device described in C12, wherein, described second determination module, specifically include:
Record sub module, is suitable to when not finding mobile terminal base station therefor in the base station position information file downloaded During ID, record mobile terminal base station therefor ID and corresponding newly-increased data traffic;
Send submodule, be suitable to the base station IDs in the preset duration of record is sent to server, with the most each The base station position information file that individual region is corresponding is inquired about.
C14, according to the device described in C12, wherein, described second determination module, specifically include:
First decision sub-module, is suitable to when affiliated area and the shifting determining mobile terminal base station therefor according to Query Result When the affiliated area of dynamic terminal is positioned at same charging region, it is determined that described newly-increased data traffic is local data flow;
Second decision sub-module, is suitable to when affiliated area and the shifting determining mobile terminal base station therefor according to Query Result When the affiliated area of dynamic terminal is positioned at different charge region, it is determined that described newly-increased data traffic is other places data traffic.
C15, according to the device described in C12, wherein, described download module, be particularly adapted to according to phone used by mobile terminal Number determines the affiliated area of mobile terminal.
C16, according to the device described in C12, wherein, described download module, be particularly adapted to according to install traffic statistics application Time mobile terminal geographical location information determine the affiliated area of mobile terminal.
C17, according to the device described in C12, wherein, described device also includes:
Display module, is suitable to when judging newly-increased data traffic as other places data traffic, and display roams into the prompting in other places Information.
C18, according to the device described in C12, wherein, described device also includes:
Computing module, is suitable to the flow service condition in flow package be divided into local data flow service condition with outer Ground data traffic service condition;According to the local data flow used in the mobile terminal that statistics draws and other places data traffic, To local data flow service condition and other places data traffic service condition, respectively calculated flow rate amount use percentage ratio and/or Residual flow amount.
C19, according to the device described in C18, wherein, described device also includes:
Display module, is suitable to when the affiliated area of mobile terminal base station therefor is positioned at same with the affiliated area of mobile terminal During charging region, the flow amount of display local data flow service condition uses percentage ratio and/or residual flow amount;Work as shifting When the dynamic affiliated area of terminal base station therefor is positioned at different charge region with the affiliated area of mobile terminal, display other places data stream The flow amount of amount service condition uses percentage ratio and/or residual flow amount.
D20, the device of a kind of data in mobile terminal flow monitoring, including:
Generation module, is suitable to be classified base station according to base station affiliated area, generates the base station location corresponding to regional Message file, described base station position information file includes the base station IDs in corresponding region;
Transport module, after being suitable to receive mobile terminal download request, by base station location corresponding for region in the request of downloading Message file sends this mobile terminal, so that mobile terminal is when statistics data traffic used, at the base station position information downloaded File is searched mobile terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is Local data flow;
Enquiry module, after being suitable to receive mobile terminal enquiry request, regional corresponding base station position information File is inquired about base station IDs in inquiry request, Query Result is sent to mobile terminal, so that mobile terminal is according to Query Result Judge that newly-increased data traffic is other places data traffic or local data flow.
D21, according to the device described in D20, wherein, described generation module, specifically include:
Determine submodule, be suitable to determine base station affiliated area according to base station geographic position information;
Generate submodule, be suitable to record base station IDs in regional, generate the base station position information literary composition corresponding with region Part.
D22, according to the device described in D21, wherein, described base station geographic position information includes: base station address information and base Stand latitude and longitude information, described determine submodule, be particularly adapted to determine base station affiliated area according to base station address information;When according to base When station address information is not determined by base station affiliated area, in map, inquire about described base station according to latitude and longitude of base station information, according to Query Result determines base station affiliated area.
It should be understood that
Algorithm and display are not intrinsic to any certain computer, virtual bench or miscellaneous equipment relevant provided herein. Various fexible units can also be used together with based on teaching in this.As described above, construct required by this kind of device Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, The claims following detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each claim itself All as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly are combined into a module or unit or assembly, and can put them in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit excludes each other, can use any Combine all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can be carried out generation by providing identical, equivalent or the alternative features of similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint One of meaning can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice Microprocessor or digital signal processor (DSP) realize data in mobile terminal flow monitoring according to embodiments of the present invention Equipment in the some or all functions of some or all parts.The present invention is also implemented as performing institute here Part or all equipment of the method described or device program (such as, computer program and computer program product Product).The program of such present invention of realization can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or to appoint What his form provides.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame Claim.

Claims (20)

1. a method for data in mobile terminal flow monitoring, including:
Determine the affiliated area of mobile terminal, download the base station position information file that described affiliated area is corresponding, position, described base station Put the base station IDs that message file includes in corresponding region;
When adding up data traffic used by mobile terminal, the base station position information file downloaded is searched base used by mobile terminal Stand ID;
When finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;
When not finding mobile terminal base station therefor ID, base station therefor ID is sent to server, with the most each The base station position information file that individual region is corresponding is inquired about base station therefor ID, outside judging that newly-increased data traffic is according to Query Result Ground data traffic or local data flow;
Described is other places data traffic or local data flow according to the newly-increased data traffic of Query Result judgement, specifically includes: When determining that according to Query Result the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at same meter When taking region, it is determined that described newly-increased data traffic is local data flow, and it is local that base station therefor ID adds to mobile terminal Base station position information file in;When affiliated area and the mobile terminal of determining mobile terminal base station therefor according to Query Result Affiliated area when being positioned at different charge region, it is determined that described newly-increased data traffic is other places data traffic.
Method the most according to claim 1, wherein, described when not finding mobile terminal base station therefor ID, by institute It is sent to server, so that the base station position information file that regional in the server is corresponding to be inquired about base station therefor by base station IDs ID, specifically includes:
When not finding mobile terminal base station therefor ID in the base station position information file downloaded, record mobile terminal institute By base station IDs and corresponding newly-increased data traffic;
Base station IDs in the preset duration of record is sent to server, with the base station location that regional in the server is corresponding Message file is inquired about.
Method the most according to claim 1, wherein, the described affiliated area determining mobile terminal, specifically include:
The affiliated area of mobile terminal is determined according to telephone number used by mobile terminal.
Method the most according to claim 1, wherein, the described affiliated area determining mobile terminal, specifically include:
The affiliated area of mobile terminal is determined according to the geographical location information of mobile terminal when installing traffic statistics application.
Method the most according to claim 1, wherein, described method also includes:
When judging newly-increased data traffic as other places data traffic, display roams into the prompting message in other places.
Method the most according to claim 1, wherein, described method also includes:
Flow service condition in flow package is divided into local data flow service condition and other places data traffic uses feelings Condition;
According to the local data flow used in the mobile terminal that statistics draws and other places data traffic, local data flow is made By situation and other places data traffic service condition, calculated flow rate amount uses percentage ratio and/or residual flow amount respectively.
Method the most according to claim 6, wherein, described method also includes:
When the affiliated area of mobile terminal base station therefor is positioned at same charging region with the affiliated area of mobile terminal, display is originally The flow amount of ground data traffic service condition uses percentage ratio and/or residual flow amount;
When the affiliated area of mobile terminal base station therefor is positioned at different charge region with the affiliated area of mobile terminal, outside display The flow amount of ground data traffic service condition uses percentage ratio and/or residual flow amount.
8. a method for data in mobile terminal flow monitoring, including:
According to base station affiliated area, is classified in base station, generate the base station position information file corresponding to regional, described base station Positional information file includes the base station IDs in corresponding region;
After receiving mobile terminal download request, base station position information file corresponding for the region in the request of downloading is sent to this Mobile terminal, so that mobile terminal is when statistics data traffic used, searches mobile in the base station position information file downloaded Terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is local data flow;
After receiving mobile terminal enquiry request, inquire about in inquiry request in the base station position information file that regional is corresponding Base station IDs, is sent to mobile terminal by Query Result, so that according to Query Result, mobile terminal judges that newly-increased data traffic is outside Ground data traffic or local data flow;
Wherein, when the affiliated area position of the affiliated area Yu mobile terminal determining mobile terminal base station therefor according to Query Result When same charging region, it is determined that described newly-increased data traffic is local data flow, and adds base station therefor ID to movement In the base station position information file of terminal local;When determine according to Query Result the affiliated area of mobile terminal base station therefor with When the affiliated area of mobile terminal is positioned at different charge region, it is determined that described newly-increased data traffic is other places data traffic.
Method the most according to claim 8, wherein, described according to base station affiliated area by base station classify, generate corresponding to The base station position information file of regional, specifically includes:
Base station affiliated area is determined according to base station geographic position information;
Base station IDs in record regional, generates the base station position information file corresponding with region.
Method the most according to claim 9, wherein, described base station geographic position information includes: base station address information and base Stand latitude and longitude information, described determine base station affiliated area according to base station geographic position information, specifically include:
Base station affiliated area is determined according to base station address information;
When being not determined by base station affiliated area according to base station address information, in map, inquire about institute according to latitude and longitude of base station information State base station, determine base station affiliated area according to Query Result.
The device of 11. 1 kinds of data in mobile terminal flow monitorings, including:
Download module, is adapted to determine that the affiliated area of mobile terminal, downloads the base station position information literary composition that described affiliated area is corresponding Part, described base station position information file includes the base station IDs in corresponding region;
Search module, be suitable to, when adding up data traffic used by mobile terminal, search in the base station position information file downloaded Mobile terminal base station therefor ID;
First determination module, is suitable to when finding mobile terminal base station therefor ID, it is determined that the newly-increased data traffic of statistics is this Ground data traffic;
Second determination module, is suitable to when not finding mobile terminal base station therefor ID, and base station therefor ID is sent to service Device, to inquire about base station therefor ID in the base station position information file that regional in the server is corresponding, sentences according to Query Result Disconnected newly-increased data traffic is other places data traffic or local data flow;
Described second determination module, specifically includes:
First decision sub-module, is suitable to the affiliated area when determining mobile terminal base station therefor according to Query Result whole with mobile When the affiliated area of end is positioned at same charging region, it is determined that described newly-increased data traffic is local data flow, and by base used The ID that stands adds in the base station position information file that mobile terminal is local;
Second decision sub-module, is suitable to the affiliated area when determining mobile terminal base station therefor according to Query Result whole with mobile When the affiliated area of end is positioned at different charge region, it is determined that described newly-increased data traffic is other places data traffic.
12. devices according to claim 11, wherein, described second determination module, specifically include:
Record sub module, is suitable to when not finding mobile terminal base station therefor ID in the base station position information file downloaded Time, record mobile terminal base station therefor ID and corresponding newly-increased data traffic;
Send submodule, be suitable to the base station IDs in the preset duration of record is sent to server, with each district in the server The base station position information file that territory is corresponding is inquired about.
13. devices according to claim 11, wherein, described download module, it is particularly adapted to according to the electricity consumption of mobile terminal institute Words number determines the affiliated area of mobile terminal.
14. devices according to claim 11, wherein, described download module, being particularly adapted to should according to installation traffic statistics The geographical location information of used time mobile terminal determines the affiliated area of mobile terminal.
15. devices according to claim 11, wherein, described device also includes:
Display module, is suitable to when judging newly-increased data traffic as other places data traffic, and display roams into the prompting message in other places.
16. devices according to claim 11, wherein, described device also includes:
Computing module, is suitable to the flow service condition in flow package is divided into local data flow service condition and other places number According to flow service condition;According to the local data flow used in the mobile terminal that statistics draws and other places data traffic, to this Ground data traffic service condition and other places data traffic service condition, calculated flow rate amount uses percentage ratio and/or residue respectively Flow amount.
17. devices according to claim 16, wherein, described device also includes:
Display module, is suitable to when the affiliated area of mobile terminal base station therefor and the affiliated area of mobile terminal are positioned at same charging During region, the flow amount of display local data flow service condition uses percentage ratio and/or residual flow amount;When mobile whole When the affiliated area of end base station therefor is positioned at different charge region with the affiliated area of mobile terminal, display other places data traffic makes Percentage ratio and/or residual flow amount is used by the flow amount of situation.
The device of 18. 1 kinds of data in mobile terminal flow monitorings, including:
Generation module, is suitable to be classified base station according to base station affiliated area, generates the base station position information corresponding to regional File, described base station position information file includes the base station IDs in corresponding region;
Transport module, after being suitable to receive mobile terminal download request, by base station location letter corresponding for the region in the request of downloading Breath file is sent to this mobile terminal, so that mobile terminal is when statistics data traffic used, at the base station position information downloaded File is searched mobile terminal base station therefor ID, and when finding base station therefor ID, it is determined that the newly-increased data traffic of statistics is Local data flow;
Enquiry module, after being suitable to receive mobile terminal enquiry request, regional corresponding base station position information file Base station IDs in middle inquiry inquiry request, is sent to mobile terminal by Query Result, so that mobile terminal judges according to Query Result Newly-increased data traffic is other places data traffic or local data flow;
Wherein, when the affiliated area position of the affiliated area Yu mobile terminal determining mobile terminal base station therefor according to Query Result When same charging region, it is determined that described newly-increased data traffic is local data flow, and adds base station therefor ID to movement In the base station position information file of terminal local;When determine according to Query Result the affiliated area of mobile terminal base station therefor with When the affiliated area of mobile terminal is positioned at different charge region, it is determined that described newly-increased data traffic is other places data traffic.
19. devices according to claim 18, wherein, described generation module, specifically include:
Determine submodule, be suitable to determine base station affiliated area according to base station geographic position information;
Generate submodule, be suitable to record base station IDs in regional, generate the base station position information file corresponding with region.
20. devices according to claim 19, wherein, described base station geographic position information includes: base station address information and Latitude and longitude of base station information, described determines submodule, is particularly adapted to determine base station affiliated area according to base station address information;Work as basis When base station address information is not determined by base station affiliated area, in map, inquire about described base station, root according to latitude and longitude of base station information Base station affiliated area is determined according to Query Result.
CN201510303436.2A 2015-06-04 2015-06-04 The method and device of data in mobile terminal flow monitoring Active CN104936221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510303436.2A CN104936221B (en) 2015-06-04 2015-06-04 The method and device of data in mobile terminal flow monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510303436.2A CN104936221B (en) 2015-06-04 2015-06-04 The method and device of data in mobile terminal flow monitoring

Publications (2)

Publication Number Publication Date
CN104936221A CN104936221A (en) 2015-09-23
CN104936221B true CN104936221B (en) 2016-11-16

Family

ID=54123122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510303436.2A Active CN104936221B (en) 2015-06-04 2015-06-04 The method and device of data in mobile terminal flow monitoring

Country Status (1)

Country Link
CN (1) CN104936221B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107306382A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 Data traffic reminding method and mobile terminal
CN106789120A (en) * 2016-12-12 2017-05-31 中兴通讯股份有限公司 A kind of charge on traffic method, system and control server
CN107277234B (en) * 2017-06-02 2020-11-13 维沃移动通信有限公司 Flow reminding method, mobile terminal and readable storage medium
CN107484201B (en) * 2017-09-30 2020-08-14 Oppo广东移动通信有限公司 Flow statistical method and device, terminal and computer readable storage medium
CN108366350A (en) * 2018-05-22 2018-08-03 中国联合网络通信集团有限公司 Flow real-time display method, terminal and business support system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247237A (en) * 2007-02-15 2008-08-20 华为技术有限公司 Charging method, system and device for networking across charging area
CN101800966A (en) * 2009-02-09 2010-08-11 中国移动通信集团公司 Service billing system and method and relevant device
CN102196526B (en) * 2010-03-10 2015-11-25 江苏联优信息科技有限公司 A kind of local flow forwarding method of centralized wireless sense network
CN102158837A (en) * 2010-06-07 2011-08-17 华为技术有限公司 Charging method and system and network system
US8560410B2 (en) * 2010-08-13 2013-10-15 T-Mobile Usa, Inc. Mapping a mobile device location to billing regions in internet protocol multimedia subsystems
CN103002466B (en) * 2011-09-13 2015-07-15 腾讯科技(深圳)有限公司 Traffic warning method and traffic warning device
CN102638842B (en) * 2012-04-11 2015-01-07 深圳市中兴移动通信有限公司 Network traffic displaying and prewarning method for mobile terminal
CN103596157A (en) * 2012-08-15 2014-02-19 中兴通讯股份有限公司 Method and device for billing local traffic on wireless side
CN103634774B (en) * 2012-08-21 2018-08-14 中兴通讯股份有限公司 A kind of method and apparatus that charging is carried out to wireless side local flow
CN103686652A (en) * 2012-08-31 2014-03-26 阿尔卡特朗讯 Independent roaming charging method and equipment for roaming user equipment in VPLMN (Visited Public Land Mobile Network)
CN104410962A (en) * 2014-11-10 2015-03-11 华为软件技术有限公司 A terminal user network traffic monitoring method and device
CN104683967A (en) * 2015-02-12 2015-06-03 洛阳市质量技术监督检验测试中心 Mobile network flow measurement system

Also Published As

Publication number Publication date
CN104936221A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104936221B (en) The method and device of data in mobile terminal flow monitoring
CN102819607B (en) A kind of method and apparatus recommending user
CN102713906B (en) Location-based search
US8612437B2 (en) System and method for location-based searches and advertising
US8843160B2 (en) Location based wireless tower caching
CN102640474B (en) Optimizing caching period of location data for network based location services
US20080097966A1 (en) Apparatus and Method for Providing Regional Information Based on Location
CN103945007A (en) Information pushing method and device
JP6375443B2 (en) Position information determination system and method using cell information
US20120150444A1 (en) Apparatuses for managing, determining, and verifying navigation route for mobile terminal, navigation service provision system, and method of managing navigation route for mobile terminal
CN102867031A (en) Method and system for optimizing point of interest (POI) searching results, mobile terminal and server
CN103425655A (en) Method and device for searching venue information for location based service
CN102695118A (en) Method and apparatus of aggregate information presentation of location based service
WO2011072382A1 (en) Coordinated location aware brokering of social networks
CN109084795A (en) The method and device of search service facility based on Map Services
US20080057987A1 (en) Location message coordinator, method of coordinating a location message and a cellular system employing the same
CN106209940A (en) Information-pushing method and information push-delivery apparatus
CN104636457B (en) A kind of method and device of location finding cognition
CN108291817A (en) The methods, devices and systems recommended for destination and selected
CN102238472A (en) Method for updating position information stored in server through current position of mobile device
CN114500428B (en) Navigation sharing method and device, electronic equipment and storage medium
CN104079603A (en) Cell phone travel information inquiry system based on B/S (Browser/Server) structure
CN103685500A (en) Method, device and system for pushing fault service geographic information of mobile terminal
CN102917310A (en) Information push system
CN109168127A (en) Resource recommendation method, device, electronic equipment and computer-readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220802

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group 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
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.

TR01 Transfer of patent right