CN103428725A - Method and system for controlling data traffic on mobile device - Google Patents

Method and system for controlling data traffic on mobile device Download PDF

Info

Publication number
CN103428725A
CN103428725A CN2013103429866A CN201310342986A CN103428725A CN 103428725 A CN103428725 A CN 103428725A CN 2013103429866 A CN2013103429866 A CN 2013103429866A CN 201310342986 A CN201310342986 A CN 201310342986A CN 103428725 A CN103428725 A CN 103428725A
Authority
CN
China
Prior art keywords
data traffic
external equipment
data
identification information
mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103429866A
Other languages
Chinese (zh)
Inventor
林涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN2013103429866A priority Critical patent/CN103428725A/en
Publication of CN103428725A publication Critical patent/CN103428725A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and a system for controlling data traffic on a mobile device. The method includes linking mobile communication data, and setting a wireless fidelity (WIFI) chip as a software enabled access point (soft AP) work mode; subjecting an external device to device identification when the external device is linked, and detecting whether an identification result is successful; stopping treating the external device if the identification of the external device fails, otherwise, sharing the mobile communication data with the external device, and acquiring identification information of the external information; and counting data traffic interacted with the external device, adding the data traffic and prestored data traffic to obtain and record total data traffic if information of the prestored data traffic originally exists, and otherwise, restarting recording the prestored data traffic. According to the method and system for controlling the data traffic on the mobile device, controlling of the data traffic is achieved, and the problem of difficulties of controlling the data traffic on existing mobile devices is solved.

Description

Method and system thereof that on a kind of mobile device, data traffic is controlled
Technical field
The present invention relates to moving communicating field, relate in particular to method and system thereof that on a kind of mobile device, data traffic is controlled.
Background technology
The current mobile device product is standard configuration base band module and WIFI module basically, and the base band module, for being connected with mobile data (as the TD-SCDMA communication data), has produced the application of Soft AP thus.The function of Soft AP is to utilize WIFI module and base band module, and the mobile data after mobile data is connected is broadcasted away by the WIFI module, uses to the WIFI of other equipment.Now, the mobile device of enabling Soft AP is equivalent to the wireless router of a software simulation.Existing SoftAP framework there is no the flow control system, and the data traffic expense of mobile communications network is more expensive, the network data that Soft AP is shared is all finally the network data that is converted into mobile communication, so we are necessary each user in Soft AP network is carried out the measure of some flow controls.
Soft AP: it is a kind of mode of operation of WIFI chip, and Soft means it is software simulation, and hardware components is to use common WIFI chip, but it makes it that functions such as the signal converting the same with AP, route are provided by driver.In current external equipment, generally be used for the wireless signal of 3G or 4G is broadcasted away, the user who is shared with other external equipments uses, so, at other external equipments, the mobile device of opening Soft AP function is just the same with an AP (router).
The abbreviation of MAC:Media Access Control; MAC Address, namely physical address, be that each network interface card (wired, wireless) has a unique physical address, is used for identifying network interface card.
Summary of the invention
The technical problem to be solved in the present invention, be to provide method and system thereof that on a kind of mobile device, data traffic is controlled, solves the problem that on existing mobile device, data traffic is controlled.
The present invention is achieved in that
A kind of method that on mobile device, data traffic is controlled, comprise the steps:
Step 10, connection mobile data, it is Soft AP mode of operation that the WIFI chip is set;
Whether step 20, detection WIFI chip have the connection of external equipment;
Step 30, after having external equipment to connect, external equipment is carried out to device authentication, detect whether success of authentication result;
If the authentication of step 40 external equipment is unsuccessful, do not share mobile data to this outside equipment and no longer this outside equipment processed, if external equipment authentication success, shared mobile data is given this outside equipment and is obtained the identification information of this outside equipment, detects and whether has had described identification information;
If step 50 has had described identification information, add up external equipment therewith and carry out mutual data traffic, and obtain total data traffic record with the data traffic addition prestored, if there is not described identification information, record described identification information, add up external equipment therewith and carry out mutual data traffic record;
Wherein, described and external equipment carry out mutual data traffic and comprise that the data traffic that sends to external equipment is or/and the data traffic received from external equipment.
Further, this method also comprises the steps:
Step 60: whether the data traffic that detects the external equipment record is greater than default value, no longer shares mobile data to this outside equipment when being greater than default value.
Further, the communication data that described mobile data is WCDMA, TD-SCDMA, CDMA2000, TD-LTE or FDD-LTE.
Further, described device authentication is user name or user name cipher authentication, and described identification information is user name.
Further, described device authentication is 802.11 wireless authentications, and described identification information is MAC Address.
And the present invention's system of also providing data traffic on a kind of mobile device to control, it is characterized in that: comprising:
The connection data sharing module: for connecting mobile data, it is Soft AP mode of operation that the WIFI chip is set;
External equipment detection module: whether the connection of external equipment is arranged for detection of the WIFI chip;
External equipment authentication module: for after having external equipment to connect, external equipment is carried out to device authentication, whether successfully detect authentication result;
Identifier acquisition module: when externally device authentication is unsuccessful, does not share mobile data to this outside equipment and no longer this outside equipment processed; When externally device authentication is successful, shared mobile data is given this outside equipment and is obtained the identification information of this outside equipment, detects and whether has had described identification information;
Data flux statistics module: if when having described identification information, add up external equipment therewith and carry out mutual data traffic, and obtain total data traffic record with the data traffic addition prestored, if while not having described identification information, record described identification information, add up external equipment therewith and carry out mutual data traffic record;
Wherein, described and external equipment carry out mutual data traffic and comprise that the data traffic that sends to external equipment is or/and the data traffic received from external equipment.
Further, native system also comprises:
The traffic management module: whether the data traffic that detects the external equipment record is greater than default value, no longer shares mobile data to this outside equipment when being greater than default value.
Further, the communication data that described mobile data is WCDMA, TD-SCDMA, CDMA2000, TD-LTE or FDD-LTE.
Further, described device authentication is user name or user name cipher authentication, and described identification information is user name.
Further, described device authentication is 802.11 wireless authentications, and described identification information is MAC Address.
The present invention has following advantage: the present invention has realized the control to the Commitment, Accounting and Management of Unit Supply of data traffic on mobile device.
The accompanying drawing explanation
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
The structural representation that Fig. 1 is the preferred embodiment of the present invention.
The method flowchart that Fig. 2 is the preferred embodiment of the present invention.
Embodiment
As Fig. 1, to as shown in Fig. 2, below will be elaborated to embodiments of the invention.
As shown in Figure 1, the present invention comprises a mobile device 1 and several external equipments when application, and external equipment 20, external equipment 21 and external equipment 22 are arranged, and mobile device 1 comprises a WIFI chip 10.
As shown in Figure 2, the present invention, when carrying out data traffic control, at first connects mobile data at step S101 mobile device 1, WIFI chip 10 is set for Soft AP mode of operation.Mobile data can be in the communication data of WCDMA, TD-SCDMA, CDMA2000, TD-LTE or FDD-LTE a kind of.Wherein WCDMA, TD-SCDMA, CDMA2000 are the 3G standard, and TD-LTE, FDD-LTE are the 4G standard.Then mobile device 1 detects at S102 the connection whether WIFI chip 10 has external equipment.
After having external equipment 20 to connect, mobile device 1 carries out device authentication at step S103 to external equipment 20, whether successfully detects authentication result.Device authentication can adopt user name or user name cipher authentication, the i.e. authentication of application layer: during the user name authentication, external equipment 20 sends user name to mobile device 1, and whether mobile device 1 detects legal, legal in authentication success, otherwise authentification failure; During the user name cipher authentication, external equipment 20 sends username and password to mobile device 1, and whether mobile device 1 detection mates, and coupling is with regard to authentication success, otherwise authentification failure.User name or user name cipher authentication can be realized the multiple management to external equipment, but implement relative complex.This preferred embodiment adopts 802.11 wireless authentications.802.11 wireless authentication is that the WIFI chip is encrypted, when outside WIFI will be when the WIFI chip be connected, will input correct password could just be connected after authentication success.
When external equipment does not have authentication success, mobile device 1 enters the shared mobile data of step S105 to this outside equipment and no longer this outside equipment is processed.After external equipment 20 authentication successs, mobile device 1 enters step S104 and shares mobile data to external equipment 20 and obtain the identification information of external equipment, detects and whether has had described identification information.Owing to being 802.11 wireless authentications, sign is MAC Address.If the authentication of user name or user name password, identification information is user name.
After getting identification information, mobile device 1 detects whether there has been described MAC Address at step S106.MAC Address (as a simple record sheet) in any way directly exists in memory, preferably, can use 11 pairs of charging centers MAC Address to manage, charging center 11 is data-storage systems of a software, has recorded the MAC Address of each external equipment and corresponding data traffic situation with it.In charging center, whether 11 detections have the MAC Address of getting to mobile device 1, if this MAC Address has been arranged, mobile device 1 is added up external equipment therewith at step S107 and is carried out mutual data traffic, and obtain total data traffic record with the data traffic addition prestored, if there is not this MAC Address, mobile device 1 records this MAC Address at step S108, adds up external equipment therewith and carries out mutual data traffic record.On mobile device 1, the data traffic of record has just comprised all data traffics that external equipment starts used till now from First Contact Connections like this.The data flow quantitative statistics can be added up the length of the packet mutual with external equipment.Carry out mutual data traffic with external equipment and comprise that the data traffic that sends to external equipment is or/and the data traffic received from external equipment.The charge overwhelming majority of data traffic is that the data traffic of downloading according to the user is charged now, and external equipment 1 can only be added up the data traffic that sends to external equipment.
Whether the data traffic that mobile device 1 detects the external equipment record at step S109 is greater than default value, when being greater than default value, entering step S110 and no longer shares mobile data to this outside equipment.A value can be set as 1GB, when certain external device data flow amount accumulative total uses 1GB, not share mobile data to this external equipment, avoid flow by unconfined use.
In sum, the present invention, by the statistics to the data flow, has realized the Real-time Obtaining to the data flow information, can realize management and control to the data flow, has avoided the unrestricted use of data traffic.Measure that in addition also can be based on this flow control, increase billing function on the basis of charging center, and when sharing the mobile communications network signal, band is served income.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (10)

1. the method that on a mobile device, data traffic is controlled, is characterized in that: comprise the steps:
Step 10, connection mobile data, it is Soft AP mode of operation that the WIFI chip is set;
Whether step 20, detection WIFI chip have the connection of external equipment;
Step 30, after having external equipment to connect, external equipment is carried out to device authentication, detect whether success of authentication result;
If the authentication of step 40 external equipment is unsuccessful, do not share mobile data to this outside equipment and no longer this outside equipment processed, if external equipment authentication success, shared mobile data is given this outside equipment and is obtained the identification information of this outside equipment, detects and whether has had described identification information;
If step 50 has had described identification information, add up external equipment therewith and carry out mutual data traffic, and obtain total data traffic record with the data traffic addition prestored, if there is not described identification information, record described identification information, add up external equipment therewith and carry out mutual data traffic record;
Wherein, described and external equipment carry out mutual data traffic and comprise that the data traffic that sends to external equipment is or/and the data traffic received from external equipment.
2. a kind of method that data traffic is controlled on mobile device according to claim 1, is characterized in that: also comprise the steps:
Step 60: whether the data traffic that detects the external equipment record is greater than default value, no longer shares mobile data to this outside equipment when being greater than default value.
3. a kind of method that data traffic is controlled on mobile device according to claim 1, is characterized in that: the communication data that described mobile data is WCDMA, TD-SCDMA, CDMA2000, TD-LTE or FDD-LTE.
4. a kind of method that data traffic is controlled on mobile device according to claim 1, it is characterized in that: described device authentication is user name or user name cipher authentication, and described identification information is user name.
5. a kind of method that data traffic is controlled on mobile device according to claim 1, it is characterized in that: described device authentication is 802.11 wireless authentications, described identification information is MAC Address.
6. the system that on a mobile device, data traffic is controlled is characterized in that: comprising:
The connection data sharing module: for connecting mobile data, it is Soft AP mode of operation that the WIFI chip is set;
External equipment detection module: whether the connection of external equipment is arranged for detection of the WIFI chip;
External equipment authentication module: for after having external equipment to connect, external equipment is carried out to device authentication, whether successfully detect authentication result;
Identifier acquisition module: when externally device authentication is unsuccessful, does not share mobile data to this outside equipment and no longer this outside equipment processed; When externally device authentication is successful, shared mobile data is given this outside equipment and is obtained the identification information of this outside equipment, detects and whether has had described identification information;
Data flux statistics module: if when having described identification information, add up external equipment therewith and carry out mutual data traffic, and obtain total data traffic record with the data traffic addition prestored, if while not having described identification information, record described identification information, add up external equipment therewith and carry out mutual data traffic record;
Wherein, described and external equipment carry out mutual data traffic and comprise that the data traffic that sends to external equipment is or/and the data traffic received from external equipment.
7. the system that data traffic is controlled on a kind of mobile device according to claim 6 is characterized in that: also comprise:
The traffic management module: whether the data traffic that detects the external equipment record is greater than default value, no longer shares mobile data to this outside equipment when being greater than default value.
8. the system that data traffic is controlled on a kind of mobile device according to claim 6, is characterized in that: the communication data that described mobile data is WCDMA, TD-SCDMA, CDMA2000, TD-LTE or FDD-LTE.
9. the system that data traffic is controlled on a kind of mobile device according to claim 6, it is characterized in that: described device authentication is user name or user name cipher authentication, and described identification information is user name.
10. the system that data traffic is controlled on a kind of mobile device according to claim 6, it is characterized in that: described device authentication is 802.11 wireless authentications, described identification information is MAC Address.
CN2013103429866A 2013-08-08 2013-08-08 Method and system for controlling data traffic on mobile device Pending CN103428725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103429866A CN103428725A (en) 2013-08-08 2013-08-08 Method and system for controlling data traffic on mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103429866A CN103428725A (en) 2013-08-08 2013-08-08 Method and system for controlling data traffic on mobile device

Publications (1)

Publication Number Publication Date
CN103428725A true CN103428725A (en) 2013-12-04

Family

ID=49652739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103429866A Pending CN103428725A (en) 2013-08-08 2013-08-08 Method and system for controlling data traffic on mobile device

Country Status (1)

Country Link
CN (1) CN103428725A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906026A (en) * 2014-03-27 2014-07-02 华为技术有限公司 Method, device and system for billing
CN105005291A (en) * 2015-08-17 2015-10-28 黄可斌 Smart home control method, smart home control device and smart home control system
CN105228150A (en) * 2015-09-30 2016-01-06 青岛海信移动通信技术股份有限公司 A kind of mobile device carries out the method and apparatus of relaying
CN107547444A (en) * 2017-07-31 2018-01-05 新华三技术有限公司 A kind of flow statistical method and switching equipment
CN109803454A (en) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 Data transfer control method and Related product
CN109981400A (en) * 2019-02-28 2019-07-05 深圳市伟文无线通讯技术有限公司 A kind of the WiFi customer flow statistics and method for limiting of mobile router lightweight

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271388A (en) * 2011-08-01 2011-12-07 中兴通讯股份有限公司 Wireless mobile device and power saving method
WO2012034702A1 (en) * 2010-09-16 2012-03-22 Telefonica, S.A. Method and radio station for fair aggregation of internet backhaul throughput using multiple access points
CN102625310A (en) * 2012-03-13 2012-08-01 中国联合网络通信集团有限公司 Wireless network access method and authentication method and device
CN102970732A (en) * 2012-11-26 2013-03-13 中兴通讯股份有限公司 Method, system and equipment for wireless local area network (WLAN) sharing authentication
CN103200618A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Wireless local area network (WLAN) hotspot function control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012034702A1 (en) * 2010-09-16 2012-03-22 Telefonica, S.A. Method and radio station for fair aggregation of internet backhaul throughput using multiple access points
CN102271388A (en) * 2011-08-01 2011-12-07 中兴通讯股份有限公司 Wireless mobile device and power saving method
CN103200618A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Wireless local area network (WLAN) hotspot function control method and device
CN102625310A (en) * 2012-03-13 2012-08-01 中国联合网络通信集团有限公司 Wireless network access method and authentication method and device
CN102970732A (en) * 2012-11-26 2013-03-13 中兴通讯股份有限公司 Method, system and equipment for wireless local area network (WLAN) sharing authentication

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103906026A (en) * 2014-03-27 2014-07-02 华为技术有限公司 Method, device and system for billing
CN105005291A (en) * 2015-08-17 2015-10-28 黄可斌 Smart home control method, smart home control device and smart home control system
CN105228150A (en) * 2015-09-30 2016-01-06 青岛海信移动通信技术股份有限公司 A kind of mobile device carries out the method and apparatus of relaying
CN107547444A (en) * 2017-07-31 2018-01-05 新华三技术有限公司 A kind of flow statistical method and switching equipment
CN107547444B (en) * 2017-07-31 2021-11-26 新华三技术有限公司 Traffic statistical method and switching equipment
CN109803454A (en) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 Data transfer control method and Related product
CN109803454B (en) * 2019-02-12 2021-09-21 Oppo广东移动通信有限公司 Data transmission control method and related product
CN109981400A (en) * 2019-02-28 2019-07-05 深圳市伟文无线通讯技术有限公司 A kind of the WiFi customer flow statistics and method for limiting of mobile router lightweight

Similar Documents

Publication Publication Date Title
US20200412706A1 (en) Connecting imsi-less devices to the epc
US10484477B2 (en) Internet of things (IoT) device activation and management
CN103428725A (en) Method and system for controlling data traffic on mobile device
CN102893669B (en) The method of access to mobile network, Apparatus and system
EP2744250B1 (en) Method and apparatus for binding universal integrated circuit card and machine type communication device
WO2011116713A2 (en) Method, device and system for machine type communication (mtc) terminal communicating with network through gateway
CN102469455A (en) Method and system for managing machine type communication (MTC) equipment based on generic bootstrapping architecture (GBA) in grouping manner
WO2012075814A1 (en) Method and system for application key management for mtc group devices
CN103428800A (en) Route selection method and functional network element
US20230096402A1 (en) Service obtaining method and apparatus, and communication device and readable storage medium
WO2018076922A1 (en) System and method for enabling mobile terminal of single imsi multiple msisdn to be concurrently online
WO2012151941A1 (en) Method and system for selecting mobility management entity of terminal group
WO2017101211A1 (en) Method and apparatus for accessing wireless communication system, and terminal
CN111132129B (en) SIM card information acquisition device and communication terminal device
CN107257573A (en) A kind of equipment accesses the system and method for wireless network
CN103826217A (en) WLAN user service access method and device
WO2013110224A1 (en) Method, device, and system for triggering mtc device
WO2019136925A1 (en) Data transmission method and apparatus, and computer storage medium
GB2519340A (en) Virtual gateway for machine to machine capillary network
US20130273842A1 (en) Methods for exchanging information between electronic devices, and electronic devices
KR101803972B1 (en) Apparatus having Universal Integrated Circuit card and File registration Method and Peer-to-Peer Transmission Method using the same
CN109560942B (en) Network validation parameter query method, equipment and computer readable storage medium
CN102870485B (en) Control method, the Apparatus and system of subscriber equipment access network
WO2019140650A1 (en) Method and device for terminal to report information, and computer storage medium
WO2021062686A1 (en) Method, apparatus, and system for obtaining position information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20131204

RJ01 Rejection of invention patent application after publication