New! View global litigation for patent families

CN103281687A - Network flow management method and device of double-card terminal - Google Patents

Network flow management method and device of double-card terminal Download PDF

Info

Publication number
CN103281687A
CN103281687A CN 201310210660 CN201310210660A CN103281687A CN 103281687 A CN103281687 A CN 103281687A CN 201310210660 CN201310210660 CN 201310210660 CN 201310210660 A CN201310210660 A CN 201310210660A CN 103281687 A CN103281687 A CN 103281687A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
flow
network
card
method
information
Prior art date
Application number
CN 201310210660
Other languages
Chinese (zh)
Inventor
刘宇翔
万钰臻
王文林
Original Assignee
北京小米科技有限责任公司
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

Links

Abstract

The invention relates to a network flow management method and device of a double-card terminal. The method comprises the steps that the information of network cards currently used is acquired, the information of the flow used by at least two network cards is respectively calculated, and the information of the flow used by the at least two network cards is displayed. The network flow management method and device of the double-card terminal can respectively calculate the information of the flow generated by each network card, and ensure that a user can master the use condition of the flow at any time.

Description

一种双卡终端的网络流量管理方法及装置 Network traffic management method and apparatus for a dual-SIM terminal

技术领域 FIELD

[0001] 本发明是关于移动通信技术领域,尤其是关于移动终端流量管理技术领域,具体来说是关于一种双卡终端的网络流量管理方法及装置。 [0001] The present invention relates to mobile communication technologies, particularly with regard to traffic management Field mobile terminal, specifically, it relates to a dual-SIM terminal network traffic management method and apparatus.

背景技术 Background technique

[0002] 双卡双待手机,是中国市场上常见的一种手机。 [0002] dual card dual standby mobile phone, it is common in the Chinese MARKETS phone. 这种手机的特殊之处在于,同时可以插入两张SIM卡,两张卡可以同时在线。 The phone special is that, while you can insert two SIM cards, two cards can be online simultaneously. 用户可以自由选择用任意一张SIM卡打电话和发短信,对同时呼入的电话和同时发来的短信都可以接收到。 Users can freely choose to use any SIM card phone calls and send text messages, telephone and text messages sent while at the same time can receive incoming calls.

[0003] 不仅如此,双卡双待手机中的两张SM卡还都具备移动上网能力,手机通过每张SM卡都可以连接到移动互联网,并且可以随时切换,这意味着,两张卡都可能产生数据流量。 [0003] Moreover, dual card dual standby mobile phone two SM cards also are equipped with mobile Internet capability, each SM card through the phone can be connected to the mobile Internet, and can switch at any time, which means that two cards are It may result in data traffic. 由于在移动互联网中不存在手机号这样的唯一接入身份标识,所以双卡双待手机通常同时只允许一张SIM卡代表设备来连通网络。 Because of the unique identity of such access phone number does not exist in the mobile Internet, the dual card dual standby mobile phone generally allow only a SIM card on behalf of the network communication device.

[0004]目前在手机移动流量管理领域,有大量的软件应用在提供流量管理服务。 [0004] Currently in the field of mobile phone traffic management, a large number of software applications to provide traffic management services. 这类软件通常会记录从功能开启以来,手机总共消耗了多少移动流量,并且可以在手机流量即将超过警戒值时进行提示,在手机流量超标后强行断开网络。 Such software typically recorded since the feature is turned on, the phone number of the total consumption of mobile traffic, and can indicate when phone traffic is about to exceed the warning value, forcibly disconnected from the network after the mobile phone traffic exceeded.

[0005]目前的流量管理软件,在用于双卡双待手机时,无法区分流量产生于哪一张SM卡,通常会将全部流量都记录在一起,使用户无法获知每张卡所消耗的准确流量。 [0005] The current traffic management software, when used in dual card dual standby mobile phone, which can not be distinguished in a traffic generator SM card, all traffic will usually have records together, so that users can not know each card consumed accurate traffic.

发明内容 SUMMARY

[0006] 为克服相关技术中存在的流量管理软件无法对双卡进行管理的问题,本发明实施例提供一种双卡终端的网络流量管理方法及装置。 [0006] Dual card can not manage to overcome the problems existing in the related art traffic management software, network traffic management embodiments provide a method and apparatus for dual-SIM terminal according to the present invention.

[0007] 本发明实施例提供一种双卡终端的网络流量管理方法,所述的方法包括: [0007] Embodiments of the present invention provides a dual-SIM terminal network traffic management method, said method comprising:

[0008] 获取当前所使用的上网卡信息; [0008] Gets the currently used card information;

[0009] 根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息; [0009] According to the information on the card, calculate the at least two flow information on the card is used;

[0010] 显示所述的至少两张上网卡所使用的流量信息。 [0010] at least two display traffic information on said card used.

[0011] 优选地,所述获取当前所使用的上网卡信息包括: [0011] Preferably, the obtaining information on the card currently being used include:

[0012] 获取当前所使用的上网卡的卡槽位置信息和/或上网卡的身份信息。 [0012] access to information on the identity card currently used slot position information and / or on the card.

[0013] 优选地,所述根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息包括: [0013] Preferably, according to the information on the card, the card calculates the flow rate information is used at least two comprises:

[0014] 记录当前的流量信息; [0014] recording current traffic information;

[0015] 记录上网卡的卡槽位置信息和/或上网卡的身份信息; [0015] slot identity information recording position information and / or on a card on the card;

[0016] 根据所述的上网卡的卡槽位置信息或上网卡的身份信息计算上网卡所使用的流 [0016] calculating the flow according to the identity card used in the card slot position information or the information on the card on the card

量信息。 The amount of information.

[0017] 优选地,所述的方法还包括: [0017] Preferably, the method further comprising:

[0018] 获取与所述上网卡信息相对应的流量阈值; [0018] acquiring the card information corresponding to the traffic threshold;

[0019] 判断当前上网卡所使用的流量信息是否达到与当前上网卡相对应的流量阈值;[0020] 在当前上网卡所使用的流量信息达到与当前上网卡相对应的流量阈值时,关闭当前上网卡的上网功能。 [0019] Analyzing the current traffic information on the card being used has reached the current flow rate corresponding to a threshold value on the card; when [0020] In the current traffic information on the card is used to reach the current on the card corresponding to the flow threshold, to close the current Internet access on the card.

[0021] 优选地,在关闭当前上网卡的上网功能之后,所述的方法还包括: [0021] Preferably, after closing on the current Internet access card, said method further comprising:

[0022] 判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值; [0022] Analyzing the traffic information to another network card used on the card reaches the other threshold value corresponding to the flow rate;

[0023] 在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 When [0023] In another traffic information on the card is used on the card does not reach the other threshold value corresponding to the flow rate, switching to another network card for Internet access.

[0024] 本发明实施例还提供一种双卡终端的网络流量管理装置,所述的装置包括: [0024] Embodiments of the invention further provides a dual network traffic management card terminal apparatus, said apparatus comprising:

[0025] 上网卡信息获取单元,用于获取当前所使用的上网卡信息; [0025] the card information acquisition unit for acquiring information on the card currently being used;

[0026] 流量信息计算单元,用于根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息; [0026] Traffic information calculation means according to the information on the card, calculate the at least two flow information on the card is used;

[0027] 流量信息显示单元,用于显示所述的至少两张上网卡所使用的流量信息。 [0027] Traffic information display unit for displaying traffic information on said at least two network cards used.

[0028] 优选地,所述上网卡信息获取单元用于获取当前所使用的上网卡的卡槽位置信息和/或上网卡的身份信息。 [0028] Preferably, the identification information on the card information acquisition unit configured to acquire the network card currently used slot position information and / or network card.

[0029] 优选地,所述流量信息计算单元包括: Information calculation unit [0029] Preferably, the flow rate comprising:

[0030] 流量记录模块,用于记录当前的流量信息; [0030] Flow recording means for recording the current traffic information;

[0031] 上网卡记录模块,用于记录上网卡的卡槽位置信息和/或上网卡的身份信息; [0031] The recording card module, slot identity information to the location information and / or recorded on a card the card;

[0032] 流量计算模块,用于根据所述的上网卡的卡槽位置信息或上网卡的身份信息计算上网卡所使用的流量信息。 [0032] The flow calculating module, traffic information for identification on the card slot position information or calculated information on the card on the card to be used in accordance with.

[0033] 优选地,所述的装置还包括: [0033] Preferably, said apparatus further comprising:

[0034] 流量阈值获取单元,用于获取与所述上网卡信息相对应的流量阈值; [0034] The flow threshold value acquisition unit, for acquiring the card information corresponding to the traffic threshold;

[0035] 第一流量判断单元,用于判断当前上网卡所使用的流量信息是否达到与当前上网卡相对应的流量阈值; [0035] a first flow rate determining means for determining whether the current traffic information on the card is used on the card has reached the current flow rate corresponding to a threshold value;

[0036] 网络开关单元,用于在当前上网卡所使用的流量信息达到与当前上网卡相对应的流量阈值时,关闭当前上网卡的上网功能。 [0036] The network switching unit, configured to, when the current traffic information on the card used in the current reaches a threshold value corresponding to the flow rate on the card, the card off the current Internet access.

[0037] 优选地,所述的装置还包括: [0037] Preferably, said apparatus further comprising:

[0038] 第二流量判断单元,用于判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值; Flow information [0038] a second flow rate determining means for determining another on the card used on the card reaches the other threshold value corresponding to the flow rate;

[0039] 网络切换单元,用于在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 [0039] The network switching unit for further information on the traffic when the network card used on the card does not reach the other threshold value corresponding to the flow rate, switching to another network card for Internet access.

[0040] 本发明实施例提供的双卡终端的网络流量管理方法及装置可以分别计算统计每张上网卡所产生的流量信息,使用户可以随时掌握自己的流量使用状况。 [0040] The network traffic management method and apparatus of the dual-SIM terminal according to an embodiment of the present invention may be calculated separately for each statistical traffic information generated on the card, allowing users to control their own usage flow rate at any time.

附图说明 BRIEF DESCRIPTION

[0041] 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。 [0041] The drawings described herein are provided for further understanding of the present invention, constitute a part of this application, do not limit the present invention. 在附图中: In the drawings:

[0042] 图1是本发明实施例提供的一种双卡终端的网络流量管理方法流程图; [0042] FIG. 1 is a network traffic management method of dual-SIM terminal according to an embodiment of the present invention, a flow chart;

[0043] 图2是本发明实施例提供的一种双卡终端的网络流量管理方法流程图; [0043] FIG 2 is a network traffic management method of dual-SIM terminal according to an embodiment of the present invention, a flow chart;

[0044] 图3A和图3B是本发明实施例提供的SM卡流量总和信息的显示界面图; [0044] FIGS. 3A and 3B is a flow interface of Figure sum SM card information according to the embodiment of the present invention;

[0045] 图4是本发明实施例提供的SM卡流量总和信息的显示界面图;[0046] 图5所示为用户自行设定每张SIM卡的流量阈值时的显示界面图; [0045] FIG. 4 is a flow interface of Figure sum SM card information according to an embodiment of the present invention; [0046] FIG. 5 shows a display interface for the user to set their own view of the flow rate of each SIM card is a threshold value;

[0047] 图6A和图6B是本发明实施例提供的双卡终端的显示界面图; [0047] FIGS. 6A and FIG. 6B is a view of the dual interface card terminal according to an embodiment of the present invention;

[0048] 图7A和图7B是本发明实施例提供的双卡终端的显示界面图; [0048] FIGS. 7A and 7B is a view of a dual interface card terminal according to an embodiment of the present invention;

[0049] 图8是本发明实施例提供的一种双卡终端的网络流量管理装置框图; [0049] FIG. 8 is a block diagram of apparatus according to the present invention, a dual network traffic management card terminal according to an embodiment;

[0050] 图9是本发明实施例提供的一种双卡终端的网络流量管理装置框图; [0050] FIG. 9 is a block diagram of apparatus according to the present invention, a dual network traffic management card terminal according to an embodiment;

[0051] 图10为本发明实施例所涉及的双卡终端的结构示意图。 [0051] FIG. 10 is a schematic structure of dual-SIM terminal according to an embodiment of the present invention.

具体实施方式 detailed description

[0052] 为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本发明做进一步详细说明。 [0052] To make the objectives, technical solutions, and advantages of the present invention will become apparent from the following description and drawings in conjunction with embodiments of the present invention is described in further detail. 在此,本发明的示意性实施方式及其说明用于解释本发明,但并不作为对本发明的限定。 Here, exemplary embodiments of the present invention are used to explain the present invention but are not intended to limit the present invention.

[0053] 本发明实施例提供一种双卡终端的网络流量管理方法及装置,以下结合附图对本发明进行详细说明。 Example embodiments provide a network traffic management method and apparatus of a dual-SIM terminal [0053] the present invention, the following in conjunction with the accompanying drawings of the present invention will be described in detail.

[0054] 实施例一 [0054] Example a

[0055] 图1是本发明实施例提供的一种双卡终端的网络流量管理方法流程图,如图1所示,所述的方法包括: [0055] FIG. 1 is a flowchart illustrating a dual network traffic management card terminal according to an embodiment of the method of the present invention, shown in Figure 1, said method comprising:

[0056] S101,获取当前所使用的上网卡信息。 [0056] S101, to obtain information on the card currently used.

[0057] 在本发明实施例中,双卡终端可以是一种双卡双待的手机,也可以是具有双卡双待功能的平板电脑等设备。 [0057] In an embodiment of the present invention, the dual-SIM terminal may be a mobile phone of a dual dual standby card also may be a tablet computer, etc. dual card dual standby function. 用户在使用双卡终端的某一SIM卡访问互联网的时候,双卡终端首先获取当前所使用的SIM卡的信息。 Users in the use of a dual-SIM terminal SIM card to access the Internet when the dual-SIM terminal first obtains information on the SIM card currently in use. 当用户通过至少两张SIM卡同时访问网络时,双卡终端相应地会获取至少两张SIM卡的信息。 When the user access to the network at least two SIM cards simultaneously, dual-SIM terminal may acquire information corresponding at least two SIM cards.

[0058] 在本发明实施例中,双卡终端在获取当前所使用的SIM卡的信息时,可以首先检查SM卡的卡槽位置信息和/或SM卡的ID (身份)信息,SIM卡的卡槽位置信息和SM卡的ID信息可以通过终端底层驱动提供的API得到。 [0058] In an embodiment of the present invention, when the dual-SIM terminal acquires information of the SIM card currently used, may first check the card slot position information and SM / SM card or an ID (identification) information, SIM card ID information and SM card slot position information can be obtained through the API provided by the underlying drive terminal.

[0059] S102,根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息。 [0059] S102, according to the information on the card, calculates the flow rate information on the at least two network cards used.

[0060] 在本发明实施例中,双卡终端在获取到当前所使用的SIM卡信息后,便根据当前所使用的SIM卡信息统计上网流量信息。 [0060] In an embodiment of the present invention, the dual-SIM terminal, after obtaining the information to the SIM card currently used, then the statistical information according to the SIM card currently used Internet traffic information. 换言之,在使用每张SIM进行上网时,会将相应的流量信息记录在该SIM卡名下。 In other words, when you use each SIM to access the Internet, it will set the appropriate flow of information recorded in the SIM card name.

[0061] 优选地,当用户使用SM卡上网并产生流量后,双卡终端需要记录当前的流量信息,同时记录当前SIM卡的卡槽位置信息和/或SIM卡的ID信息,双卡终端可以将当前SM卡的卡槽位置信息和/或SIM卡的ID信息记录在当前的流量信息中作为附加标识。 [0061] Preferably, when the user uses the Internet and generate traffic SM card, dual-SIM terminal needs to record the current traffic information, and ID information of the current recording position information of the SIM card slot and / or the SIM card, dual-SIM terminal may ID information SM card slot information of the current position and / or the SIM card identifies the record as an additional current traffic information. 之后双卡终端对附加标识相同的流量信息进行计算,得到对应每个附加标识的流量总和,即每张SIM卡的产生的流量总和信息。 After the same dual-SIM terminal identification of additional traffic information has been calculated, each additional sum corresponding to the identified flow, i.e. the sum of the flow rate generated by each SIM card information.

[0062] S103,显示所述的至少两张上网卡所使用的流量信息。 [0062] S103, the display on the at least two flow information used by the NIC.

[0063] 在本发明实施例中,双卡终端可以实时显示每张SM卡所产生的流量总和信息。 [0063] In an embodiment of the present invention, the dual-SIM terminal may display the sum of the flow information generated by each real-time SM card. 当双卡终端中只使用了一张SIM卡时,双卡终端也可以只显示一张SIM卡的流量信息。 When the dual-SIM terminal uses only one SIM card, dual-SIM terminal may display only the traffic information of a SIM card.

[0064] 本发明实施例提供的双卡终端的网络流量管理方法可以分别计算统计每张上网卡所产生的流量信息,使用户可以随时掌握自己的流量使用状况。 [0064] The traffic management method of the dual-SIM terminal according to an embodiment of the present invention may be calculated separately for each statistical traffic information generated on the card, allowing users to control their own usage flow rate at any time.

[0065] 实施例二[0066] 图2是本发明实施例提供的一种双卡终端的网络流量管理方法流程图,如图2所示,所述的方法包括: [0065] Second Embodiment [0066] FIG 2 is a flowchart of a method for managing network traffic dual-SIM terminal according to an embodiment of the present invention, the method shown in Figure 2 comprises:

[0067] S201,获取当前上网所使用的SM卡的卡槽位置信息和/或ID信息。 [0067] S201, acquires the current position information SM card slot used by the Internet and / or ID information.

[0068] S202,记录当前的流量信息,并将当前的卡槽位置信息和/或ID信息记录在当前的流量信息中作为附加标识。 [0068] S202, the recording current traffic information, and records the current slot position information and / or identification ID information as additional information in the current flow.

[0069] S203,根据附加标识统计计算每张SM卡的流量总和信息并显示。 [0069] S203, the sum of the flow rate in accordance with identification information added for each SM card statistical calculations and displays.

[0070] 图3A和图3B是本发明实施例提供的SIM卡流量总和信息的显示界面图,如图所示,在双卡终端的显示屏上分别显示有每张SIM卡的流量总和信息,对于每张SIM卡,可以拥有一个独立的标签,这个标签可以是运营商的名称,如“中国电信”、“中国联通”等,也可以是用户自己命名的其他名称,用户通过点击触摸屏上的标签,可以切换显示不同的SM卡的流量信息。 [0070] FIGS. 3A and FIG. 3B is a SIM card interface traffic information according to the sum of the embodiment of the present invention, as shown, are displayed on the display screen of the dual-SIM terminal has traffic information sum for each SIM card, for each SIM card, you can have a separate label, the label may be an operator name, such as "China Telecom", "China Unicom", etc., may be another name of the user himself named user by clicking on the touch screen tags, can switch different traffic information SM card. 图4是本发明实施例提供的SIM卡流量总和信息的显示界面图,如图4所示,双卡终端也可以将两张SIM卡的流量总和信息显示在同一屏幕中。 FIG 4 is a flow interface of Figure sum SIM card information according to the embodiment of the present invention, as shown, dual-SIM terminal may be the sum of the flow rate information of two SIM cards on the same display screen 4.

[0071] S204,获取每张SIM卡对应的流量阈值信息。 [0071] S204, the threshold acquiring traffic information corresponding to each SIM card.

[0072] 在本发明实施例中,每张SIM的运营商通常都会提供一个流量套餐,规定用户在一定时间内可以使用的流量,超出套餐限制的部分通常非常贵。 [0072] In an embodiment of the present invention, each SIM operator usually provides a data plan, a predetermined flow rate within a certain time the user can use, beyond the package portion is often very expensive limits. 双卡终端可以通过运营商提供的套餐信息中获取本月的套餐流量信息,作为该SIM卡的流量阈值。 Dual card terminal may obtain information package flow through the course of this month, the information provided by the operator, as the flow threshold of the SIM card. 当然用户也可以根据自身实际情况,自行设定每张SIM卡的流量阈值。 Of course, the user may also according to their actual situation, the threshold value is set for each flow rate of the SIM card itself. 图5所示为用户自行设定每张SIM卡的流量阈值时的显示界面图,如图5所示,在每张SIM卡名称下,都设置有“流量阈值设置”按钮,当用户需要设置某张SIM卡的流量阈值时,可以点击对应的“流量阈值设置”按钮,从而对这张SIM卡的流量阈值进行设定。 Figure 5 shows a display interface for the user to set their own view of the flow rate threshold of each SIM card, as shown in FIG. 5, at each SIM card name, are provided with a "traffic threshold settings" button, when the user needs to set when a traffic threshold SIM cards, you can click on the corresponding "flow threshold settings" button in order for this traffic thresholds SIM card set.

[0073] S205,判断当前SM卡已使用的流量总和是否达到本SM卡对应的流量阈值。 [0073] S205, the sum of the current flow is determined using SM card SM card has reached this threshold value corresponding to the flow rate.

[0074] 在本发明实施例中,如果当前SIM卡已使用的流量总和没有达到本SIM卡对应的流量阈值,则继续使用当前SM卡进行上网;如果当前SM卡已使用的流量总和达到了本SIM卡对应的流量阈值,则进入步骤S206。 [0074] In an embodiment of the present invention, if the current traffic sum SIM card use has not reached the present SIM card corresponding to the flow threshold, continue to use the current SM card to access the Internet; if the flow rate of the sum of the current SM card has been used to achieve this SIM card corresponding to the flow rate threshold, the process proceeds to step S206.

[0075] S206,关闭当前上网卡的上网功能。 [0075] S206, shut down Internet access on the current card.

[0076] 图6A是本发明实施例提供的双卡终端的显示界面图,优选地,在本发明实施例中,如图6A所示,双卡终端在关闭当前上网卡的上网功能时可以弹出提示,提示用户“当前使用的SM卡的流量套餐已经使用完,将自动关闭第一SM卡的上网功能”。 [0076] FIG 6A is a view of the dual interface card terminal according to an embodiment of the present invention, preferably, in the embodiment of the present invention, shown in Figure 6A, when the dual-SIM terminal close the current Internet access can pop up on the card prompt, it prompts the user to "current use of SM card data plan has been used up, it will automatically shut down Internet access first SM card." 图6B是本发明实施例提供的双卡终端的显示界面图,如图6B所示,双卡终端也可以仅弹出提示,提示用户“当前使用的SIM卡的流量套餐已经使用完,是否要关闭第一SIM卡的上网功能”,之后根据用户的选择决定是否关闭第一SM卡的上网功能。 FIG 6B is a view of a dual interface card terminal according to an embodiment of the present invention, shown in Figure 6B, dual-SIM terminal may be prompted only prompt the user to "SIM card currently in use has finished using the data plan, whether to close the first Internet-enabled SIM card ", then decide whether to close the first Internet-enabled SM card in accordance with the user's choice.

[0077] 优选地,在步骤S206之后,网络流量管理方法还可以包括如下步骤: [0077] Preferably, after the step S206, network traffic management method may further comprise the steps of:

[0078] S207,判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值。 [0078] S207, the flow is determined on the other card information is used on the card reaches the other threshold value corresponding to the flow rate.

[0079] 在本发明实施例中,当第一SIM卡所使用的流量达到与之对应的第一流量阈值后,双卡终端会将第一SM卡的上网功能关闭,同时会检测可以上网的第二SM卡已使用的流量总和是否达到与之对应的第二流量阈值,如果第二SM卡已使用的流量总和已经达到与之对应的第二流量阈值,则不作任何操作;如果第二SIM卡已使用的流量总和没有达到与之对应的第二流量阈值,则进行步骤S208。 [0079] In an embodiment of the present invention, after the flow of the first SIM card is used to achieve a first flow rate corresponding threshold value, Internet access dual-SIM terminal SM card will first close, while the Internet can be detected the second card is the sum of flows used SM reaches a second corresponding threshold flow rate, the flow rate if the second sum SM card has been used has reached a second flow rate corresponding threshold value, not performing any operation; if a second SIM the sum of flows used card does not reach a second flow rate corresponding threshold value, it proceeds to step S208. [0080] S208,在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 When the [0080] S208, the flow of information on the card in another is used on the card does not reach the other threshold value corresponding to the flow rate, switching to another network card for Internet access.

[0081] 在本发明实施例中,如果第二SIM卡已使用的流量总和没有达到与之对应的第二流量阈值,说明第二SIM卡的套餐流量还有剩余,则此时双卡终端可以切换至第二SIM卡进行上网。 [0081] In an embodiment of the present invention, if the sum of the flow rate using the second SIM card does not reach the corresponding threshold value of the second flow rate, the flow rate of the second packages described there is a surplus SIM card, dual-SIM terminal may be the case switch to the second SIM card to access the Internet.

[0082] 图7A是本发明实施例提供的双卡终端的显示界面图,优选地,如图7A所示,双卡终端可以直接切换至第二SIM卡进行上网,并弹出相应提示,提示用户此时“已经切换至第二SM卡进行上网”。 [0082] FIG. 7A is a view of the dual interface card terminal according to an embodiment of the present invention, preferably, 7A, the dual-SIM terminal may move directly to the second SIM card to access the Internet, and pop up a prompt to prompt the user In this case "has been switched to the second SM card to access the Internet." 图7B是本发明实施例提供的双卡终端的显示界面图,如图7B所示,双卡终端也可以不直接切换至第二SIM卡进行上网,而首先弹出一提示,提示用户此时“第一SIM卡的套餐流量已经使用完,第二SM卡的流量套餐尚有余量,是否需要切换至第二SM卡进行上网”,之后根据用户的选择,决定是切换至第二SM卡进行上网,还是保持网络断开状态。 FIG 7B is a view of a dual interface card terminal according to an embodiment of the present invention, shown in Figure 7B, dual-SIM terminal may not be switched directly to the second SIM card to access the Internet, the first pop up a prompt to prompt the user at this time. " the first package flow SIM card has been used up, the second SM card data plan allowance there, whether to switch to the second SM card to access the Internet ", then the user's option, the decision is to switch to the second SM card Internet, or remain disconnected from the network state.

[0083] 本发明实施例提供的双卡终端的网络流量管理方法可以分别计算统计每张上网卡所产生的流量信息,使用户可以随时掌握自己的流量使用状况,可以自动判断每张上网卡的套餐流量信息使用状况,在一张上网卡流量耗净后可以自动判断另一张上网卡是否还有套餐流量,并在有套餐流量时自动切换至另一张上网卡进行上网,为用户节省费用并为用户提供不间断的联网体验。 [0083] The traffic management method of the dual-SIM terminal according to an embodiment of the present invention may be calculated separately for each statistical traffic information generated on the card, so that the user can keep track of the use of their traffic conditions on each card can automatically determine the package flow usage information on a card can automatically determine whether there is another package flow on the network card traffic net consumption, and automatically switch to another network cards to access the Internet whenever package flow, cost savings for users and to provide users with uninterrupted network experiences.

[0084] 实施例三 [0084] Example three

[0085] 图8是本发明实施例提供的一种双卡终端的网络流量管理装置框图,如图8所示,网络流量管理装置包括: [0085] FIG. 8 is a block diagram of a network traffic management device a dual-SIM terminal according to an embodiment of the present invention, shown in Figure 8, network traffic management apparatus comprising:

[0086] 上网卡信息获取单元801,用于获取当前所使用的上网卡信息。 [0086] the card information acquisition unit 801 for acquiring information on the card currently used.

[0087] 在本发明实施例中,双卡终端可以是一种双卡双待的手机,也可以是具有双卡双待功能的平板电脑等设备。 [0087] In an embodiment of the present invention, the dual-SIM terminal may be a mobile phone of a dual dual standby card also may be a tablet computer, etc. dual card dual standby function. 用户在使用双卡终端的某一SM卡访问互联网的时候,上网卡信息获取单元801首先获取当前所使用的SM卡的信息。 User uses dual-SIM terminal to access the Internet in a SM card, when the card information acquiring unit 801 first acquires information SM card currently used. 当用户通过至少两张SM卡同时访问网络时,上网卡信息获取单元801相应地会获取至少两张SM卡的信息。 When users access the network via at least two SM card, the card information acquisition unit 801 obtains information corresponding at least two of the SM card.

[0088] 在本发明实施例中,上网卡信息获取单元801在获取当前所使用的SIM卡的信息时,可以首先检查SIM卡的卡槽位置信息和/或SM卡的ID (身份)信息,SIM卡的卡槽位置信息和SM卡的ID信息可以通过终端底层驱动提供的API得到。 [0088] In an embodiment of the present invention, the card information acquisition unit 801 acquires information at the SIM card currently used, may first check the SIM card slot position information and / or SM card ID (identification) information, slot ID information and the position information of the SIM card SM card can be driven by the underlying API provided by the terminal.

[0089] 流量信息计算单元802,用于根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息。 [0089] Traffic information calculation unit 802, according to the information on the card, calculates the flow rate information on the at least two network cards used.

[0090] 在本发明实施例中,上网卡信息获取单元801在获取到当前所使用的SM卡信息后,流量信息计算单元802便根据当前所使用的SIM卡信息统计上网流量信息。 [0090] In an embodiment of the present invention, the card information acquisition unit 801 after obtaining the SM currently used card information, traffic information calculation unit 802 will Internet traffic information according to the statistical information of the SIM card currently used. 换言之,在使用每张SIM进行上网时,流量信息计算单元802会将相应的流量信息记录在该SIM卡名下。 In other words, for each SIM using Internet traffic information calculation unit 802 sets the appropriate flow rate information recorded in the SIM card name.

[0091] 优选地,如图8所示,流量信息计算单元802还可以包括: [0091] Preferably, as shown in FIG. 8, the flow information calculating unit 802 may further comprises:

[0092] 流量记录模块8021,用于记录当前的流量信息。 [0092] Flow Record module 8021, used to record the current traffic information.

[0093] 上网卡记录模块8022,用于记录上网卡的卡槽位置信息和/或上网卡的身份信 [0093] The recording card module 8022, the identity of the channel for slot location information and / or recorded on the card the card

肩、O Shoulder, O

[0094] 流量计算模块8023,用于根据所述的上网卡的卡槽位置信息或上网卡的身份信息计算上网卡所使用的流量信息。 [0094] The flow calculating module 8023, a traffic information based on the identity of the card slot position information or calculated information on the card on the card to be used.

[0095] 当用户使用SIM卡上网并产生流量后,流量记录模块8021需要记录当前的流量信息,同时上网卡记录模块8022记录当前SM卡的卡槽位置信息和/或SM卡的ID信息,上网卡记录模块8022可以将当前SM卡的卡槽位置信息和/或SIM卡的ID信息记录在当前的流量信息中作为附加标识。 [0095] When the user uses the SIM card access and generate traffic, traffic module 8021 needs to record the recording current traffic information, while the recording module 8022 to record the current card ID information SM card slot position information and / or SM cards, Internet card module 8022 may record the ID information SM card slot information of the current position and / or the SIM card identifies the record as an additional current traffic information. 之后流量计算模块8023对附加标识相同的流量信息进行计算,得到对应每个附加标识的流量总和,即每张SIM卡的产生的流量总和信息。 After the flow rate calculating module 8023 pairs of identical additional identification information flow has been calculated, corresponding to the sum of the flow rate, i.e. the sum of the flow rate information generated each SIM card for each additional identified.

[0096] 流量信息显示单元803,用于显示所述的至少两张上网卡所使用的流量信息。 [0096] Traffic information display unit 803, for flow of said at least two information display on the card used.

[0097] 在本发明实施例中,流量信息显示单元803可以实时显示每张SM卡所产生的流量总和信息。 [0097] In an embodiment of the present invention, the flow information display unit 803 may display the sum of the flow information generated by each real-time SM card. 当双卡终端中只使用了一张SIM卡时,流量信息显示单元803也可以只显示一张SIM卡的流量信息。 When the dual-SIM terminal uses only one SIM card, traffic information display unit 803 may display only the traffic information of a SIM card.

[0098] 本发明实施例提供的双卡终端的网络流量管理装置可以分别计算统计每张上网卡所产生的流量信息,使用户可以随时掌握自己的流量使用状况。 [0098] network traffic management apparatus of dual-SIM terminal according to an embodiment of the present invention may be calculated separately for each statistical traffic information generated on the card, allowing users to control their own usage flow rate at any time.

[0099] 实施例四 [0099] Fourth Embodiment

[0100] 图9是本发明实施例提供的一种双卡终端的网络流量管理装置框图,如图9所示,所述的装置包括: [0100] FIG. 9 is a block diagram of a network traffic management device a dual-SIM terminal according to an embodiment of the present invention, shown in Figure 9, the apparatus comprising:

[0101] 上网卡信息获取单元901,用于获取当前上网所使用的SM卡的卡槽位置信息和/或ID信息。 [0101] the card information acquisition unit 901 for acquiring current position information SM card slot used by the Internet and / or ID information.

[0102] 流量信息计算单元902,用于记录当前的流量信息,并将当前的卡槽位置信息和/或ID信息记录在当前的流量信息中作为附加标识。 [0102] Traffic information calculation unit 902, the current traffic information for recording, and record the current slot position information and / or identification ID information as additional information in the current flow.

[0103] 流量信息显示单元903,用于根据附加标识统计计算每张SM卡的流量总和信息并显示。 [0103] Traffic information display unit 903 for calculating the sum of the flow rate information for each card in accordance with an additional identification SM and statistics display.

[0104] 如图3A和图3B所示,流量信息显示单元903在双卡终端的显示屏上分别显示有每张SM卡的流量总和信息,对于每张SM卡,可以拥有一个独立的标签,这个标签可以是运营商的名称,如“中国电信”、“中国联通”等,也可以是用户自己命名的其他名称,用户通过点击触摸屏上的标签,可以切换显示不同的SIM卡的流量信息。 [0104] Figures 3A and 3B, the traffic information display unit 903 are displayed on the display screen of the dual-SIM terminal the sum of a flow of information about each SM cards, SM cards for each, can have a separate label, the label may be an operator name, such as "China Telecom", "China Unicom", etc., may be another name of the user himself named user by clicking on the tab on the touch screen, you can switch the flow of information different display SIM card. 如图4所示,流量信息显示单元903也可以将两张SIM卡的流量总和信息显示在同一屏幕中。 As shown in FIG 4 flow information display unit 903 may be the sum of the flow rate information of two SIM cards on the same display screen.

[0105] 流量阈值获取单元904,用于获取每张SIM卡对应的流量阈值信息。 [0105] flow threshold value obtaining unit 904, configured to obtain traffic threshold information corresponding to each SIM card.

[0106] 在本发明实施例中,每张SM的运营商通常都会提供一个流量套餐,规定用户在一定时间内可以使用的流量,超出套餐限制的部分通常非常贵。 [0106] In an embodiment of the present invention, each SM operators usually provide a data plan, a predetermined flow rate within a certain time the user can use, beyond the package portion is often very expensive limits. 流量阈值获取单元904可以通过运营商提供的套餐信息中获取本月的套餐流量信息,作为该SIM卡的流量阈值。 Traffic threshold acquiring unit 904 may acquire information package flow through the course of this month, the information provided by the operator, as the flow threshold value of the SIM card. 当然用户也可以根据自身实际情况,自行设定每张SIM卡的流量阈值。 Of course, the user may also according to their actual situation, the threshold value is set for each flow rate of the SIM card itself. 如图5所示,在每张SIM卡名称下,都设置有“流量阈值”设置按钮,当用户需要设置某张SIM卡的流量阈值时,可以点击对应的“流量阈值”设置按钮,从而对这张SIM卡的流量阈值进行设定。 5, in each SIM card name, are provided with a "traffic threshold" setting button, when the user needs to set the flow rate threshold of a SIM cards, you can click the corresponding "traffic threshold" setting button, thereby this SIM card traffic threshold value is set.

[0107] 第一流量判断单元905,用于判断当前SM卡已使用的流量总和是否达到本SM卡对应的流量阈值。 [0107] a first flow rate determining unit 905, for determining the flow rate using the sum of the current SM card SM card has reached this threshold value corresponding to the flow rate.

[0108] 在本发明实施例中,如果第一流量判断单元905判断当前SM卡已使用的流量总和没有达到本SM卡对应的流量阈值,则继续使用当前SM卡进行上网;如果第一流量判断单元905判断当前SIM卡已使用的流量总和达到了本SIM卡对应的流量阈值,则网络开关单元906关闭当前上网卡的上网功能。 [0108] In an embodiment of the present invention, the sum of the current flow used SM card, if the first determination unit 905 determines the flow rate does not reach the SM card corresponding to this flow threshold, continue to use the current SM card Internet; if the first flow rate is determined unit 905 determines the sum of the current traffic of the SIM card has been used reaches the SIM card corresponding to this flow threshold, the unit 906 switch off the network access functions on the card the current. [0109] 网络开关单元906,用于关闭当前上网卡的上网功能。 [0109] Network switch unit 906 for switching off the current card on the Internet functions.

[0110] 优选地,在本发明实施例中,如图6A所示,网络开关单元906在关闭当前上网卡的上网功能时可以弹出提示,提示用户“当前使用的SIM卡的流量套餐已经使用完,将自动关闭第一SM卡的上网功能”。 [0110] Preferably, in the embodiment of the present invention, shown in Figure 6A, the network unit 906 switches off the current when the Internet access on the card can be prompted, it prompts the user to "currently used SIM card has been used up flow of packages will automatically close the first SM card Internet access. " 如图6B所示,双卡终端也可以仅弹出提示,提示用户“当前使用的SM卡的流量套餐已经使用完,是否要关闭第一SM卡的上网功能”,之后根据用户的选择决定是否由网络开关单元906关闭第一SM卡的上网功能。 6B, the dual-SIM terminal may eject only a prompt to prompt the user "SM card currently in use has finished using the data plan, whether to close the first Internet function SM card", after the decision according to the selection by the user whether switch off the network access functions of the first unit 906 SM card.

[0111] 优选地,网络流量管理装置还可以包括: [0111] Preferably, the network traffic management apparatus may further comprise:

[0112] 第二流量判断单元907,用于判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值。 [0112] The second flow rate determination unit 907, for determining the flow rate of the other card information is used on the card reaches the other threshold value corresponding to the flow rate.

[0113] 在本发明实施例中,当第一SIM卡所使用的流量达到与之对应的第一流量阈值后,网络开关单元906会将第一SM卡的上网功能关闭,同时第二流量判断单元907会检测可以上网的第二SM卡已使用的流量总和是否达到与之对应的第二流量阈值,如果第二SM卡已使用的流量总和已经达到与之对应的第二流量阈值,则不作任何操作;如果第二SIM卡已使用的流量总和没有达到与之对应的第二流量阈值,则网络切换单元908切换至另一上网卡进行上网。 [0113] In an embodiment of the present invention, after the flow of the first use of the SIM card corresponding thereto reaches a first threshold flow rate, Internet access network of the first switching unit 906 will close the SM card, while the second flow rate is determined the sum of the flow rate detection unit 907 may be the Internet using the second SM card has reached a corresponding threshold value of the second flow rate, the flow rate if the second sum SM card has been used has reached a second flow rate corresponding threshold value, not as any operation; if the sum of the flow rate using the second SIM card does not reach a second flow rate corresponding threshold value, the network switching unit 908 to switch to another network card for Internet access.

[0114] 网络切换单元908,用于在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 [0114] Network switch unit 908, for further information on the traffic when the network card used on the card does not reach the other threshold value corresponding to the flow rate, switching to another network card for Internet access.

[0115] 在本发明实施例中,如果第二SM卡已使用的流量总和没有达到与之对应的第二流量阈值,说明第二SIM卡的套餐流量还有剩余,则此时网络切换单元908可以切换至第二SIM卡进行上网。 [0115] In an embodiment of the present invention, if the sum of the flow rate using the second SM card does not reach the corresponding threshold value of the second flow rate, the flow rate of the second packages described SIM card there is a surplus, at this time, the network switching unit 908 You can switch to the second SIM card to access the Internet.

[0116] 优选地,如图7A所示,网络切换单元908可以直接切换至第二SM卡进行上网,并弹出相应提示,提示用户此时“已经切换至第二SIM卡进行上网”。 [0116] Preferably, as shown in FIG. 7A, the switching unit 908 can switch the network directly to the second SM card to access the Internet, and pop up a prompt to prompt the user at this time "has been switched to the second SIM card to access the Internet." 如图7B所示,网络切换单元908也可以不直接切换至第二SIM卡进行上网,而首先弹出一提示,提示用户“此时第一SIM卡的套餐流量已经使用完,第二SM卡的流量套餐尚有余量,是否需要切换至第二SM卡进行上网”,之后根据用户的选择,决定是由网络切换单元908切换至第二SM卡进行上网,还是保持网络断开状态。 As shown, the network switching unit 908 switches 7B may not be directly to the second SIM card to access the Internet, the first pop up a prompt to prompt the user "At this time the first package flow SIM card has been used up, the second SM card still remaining flow of packages, whether to switch to the second SM card to access the Internet ", then the user's option, the decision unit 908 is switched to the second SM card for access by the network switch, the network or to maintain the off state.

[0117] 本发明实施例提供的双卡终端的网络流量管理装置可以分别计算统计每张上网卡所产生的流量信息,使用户可以随时掌握自己的流量使用状况,可以自动判断每张上网卡的套餐流量信息使用状况,在一张上网卡流量耗净后可以自动判断另一张上网卡是否还有套餐流量,并在有套餐流量时自动切换至另一张上网卡进行上网,为用户节省费用并为用户提供不间断的联网体验。 Network traffic management of the dual-SIM terminal apparatus according to an embodiment of the present invention [0117] This may be calculated separately for each statistical traffic information generated on the card, so that the user can keep track of the use of their traffic conditions on each card can automatically determine the package flow usage information on a card can automatically determine whether there is another package flow on the network card traffic net consumption, and automatically switch to another network cards to access the Internet whenever package flow, cost savings for users and to provide users with uninterrupted network experiences.

[0118] 图10为本发明实施例所涉及的双卡终端的结构示意图,该双卡终端可以用于实施上述实施例中提供的网络流量管理方法。 [0118] FIG. 10 is a schematic structure of dual-SIM terminal according to an embodiment of the present invention, the dual-SIM terminal may be used to implement a network traffic management method provided in the embodiments described above. 具体来讲: Specifically:

[0119] 终端设备1000可以包括两个RF (Radio Frequency,射频)电路1010、包括有一个或一个以上计算机可读存储介质的存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、WiFi (wireless fidelity,无线保真)模块1070、包括有一个或者一个以上处理核心的处理器1080、以及电源1090等部件。 [0119] the terminal device 1000 may include two RF (Radio Frequency, RF) circuit 1010, comprising one or more computer-readable storage medium, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, WiFi (wireless fidelity, wireless fidelity) module 1070, a processor comprises one or more processing cores 1080, 1090 and the like and a power supply member. 本领域技术人员可以理解,图10中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。 Those skilled in the art will be appreciated, the structure of the terminal apparatus in FIG. 10 is not shown to limit the terminal device, may include more or fewer components than shown, or a combination of some of the components, or a different arrangement of components. 其中:[0120] RF电路1010可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器1080处理;另外,将涉及上行的数据发送给基站。 Wherein: [0120] RF circuit 1010 may be used during a call or send and receive information, the receive and transmit signals, in particular, the base station receives the downlink information, referred to the one or more processors 1080 process; Further, the upward directed data to the base station. 通常,RF电路1010包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA (Low Noise Amplifier,低噪声放大器)、双工器等。 Typically, RF circuitry 1010 includes, but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, LNA (Low Noise Amplifier, LNA) a duplexer. 此外,RF电路1010还可以通过无线通信与网络和其他设备通信。 In addition, RF circuitry 1010 also communicates with a wireless communication network and other devices through. 所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global SystemofMobile communication,全球移动通讯系统)、GPRS (General Packet Radio Service,通用分组无线服务)、CDMA (Code Division Multiple Access,码分多址)、WCDMA (WidebandCodeDivision Multiple Access,宽带码分多址)、LTE (Long Term Evolution,长期演进)、电子邮件、SMS (Short Messaging Service,短消息服务)等。 The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global SystemofMobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA (Code Division Multiple Access, Code division Multiple Access), WCDMA (WidebandCodeDivision Multiple Access, wideband Code division Multiple Access), LTE (long Term Evolution, long Term Evolution), e-mail, SMS (short messaging service, short message service) and so on.

[0121] 存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行各种功能应用以及数据处理。 [0121] The memory 1020 may be used to store software programs and modules, a processor 1080, to perform various functions and data processing applications in the memory 1020 by running software programs and modules stored. 存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备1000的使用所创建的数据(比如音频数据、电话本等)等。 The memory 1020 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least a function of the desired application (such as a sound playback function, an image playback function, etc.); data storage area may store data terminal equipment 1000 using the created (such as audio data, telephone book, etc.). 此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 Furthermore, memory 1020 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage devices, flash memory devices, or other volatile solid-state memory device. 相应地,存储器1020还可以包括存储器控制器,以提供处理器1080和输入单元1030对存储器1020的访问。 Accordingly, the memory 1020 may also include a memory controller to provide the processor access to the input unit 1080 and the memory 1020 is 1030 pairs.

[0122] 输入单元1030可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。 [0122] The input unit 1030 is operable to receive an input number or character information, and generate user setting and function control for a keyboard, mouse, joystick, trackball, or the optical input signal. 具体地,输入单元1030可包括触敏表面1031以及其他输入设备1032。 Specifically, the input unit 1030 may include a touch sensitive surface 1031 and other input devices 1032. 触敏表面1031,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面1031上或在触敏表面1031附近的操作),并根据预先设定的程式驱动相应的连接装置。 Touch sensitive surface 1031, also known as a touch screen or a touch panel, the user may collect on or near the touch operation (such as a user finger, a pen or any other suitable object or accessory on the touch sensitive surface 1031 or touch sensitive surface 1031 near the operation), and drive the corresponding connection device in accordance with a preset program. 可选的,触敏表面1031可包括触摸检测装置和触摸控制器两个部分。 Alternatively, the touch-sensitive surface 1031 may comprise a touch detection device and a touch controller. 其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。 The touch detecting means detects a user touch position, and the detection signal caused by the touch operation, the touch signal to the controller; a touch controller receives touch information from the touch detecting device, and converts it into contact coordinates, sending to processor 1080 and command processor 1080 can receive and execute sent. 此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面1031。 Further, using resistive, capacitive, infrared and surface acoustic wave type implementations, and other touch sensitive surface 1031. 除了触敏表面1031,输入单元1030还可以包括其他输入设备1032。 In addition to the touch-sensitive surface 1031, an input unit 1030 may further include other input devices 1032. 具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 In particular, other input devices 1032 may include, but is not limited to physical keyboard, function keys (such as volume control keys, key switches, etc.), a trackball, a mouse, a joystick, one or more.

[0123] 显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及终端设备1000的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。 [0123] The display unit 1040 can display information input by the user or information provided to the user terminal apparatus 1000 various graphical user interfaces, graphical user interface which may be composed of graphics, text, icons, video, and any combination thereof . 显示单元1040可包括显示面板1041,可选的,可以采用IXD(Liquid CrystalDisplay,液晶显示器)、OLED (Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板1041。 The display unit 1040 includes a display panel 1041 may, optionally, be employed IXD (Liquid CrystalDisplay, liquid crystal display), OLED (Organic Light-Emitting Diode, OLED) or the like to form a display panel 1041. 进一步的,触敏表面1031可覆盖显示面板1041,当触敏表面1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。 Further, the touch-sensitive surface 1031 may cover the display panel 1041, touch-sensitive surface 1031 when the detected on or near the touch operation, to the processor 1080 to determine the type of touch event, then the processor 1080 according to a touch event provide a corresponding type of visual output on the display panel 1041. 虽然在图10中,触敏表面1031与显示面板1041是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面1031与显示面板1041集成而实现输入和输出功能。 Although in FIG. 10, the surface of the touch-sensitive panel 1041 and the display 1031 as two separate parts for input and output functions, in some embodiments, touch sensitive surface 1031 may be a display panel 1041 and integrated to implement the input and output functions. [0124] 终端设备1000还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。 [0124] the terminal device 1000 may further include at least one sensor 1050, such as a light sensor, a motion sensor, and other sensors. 具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在终端设备1000移动到耳边时,关闭显示面板1041和/或背光。 Specifically, the optical sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, proximity sensor may ear to the mobile terminal device 1000, close the display panel 1041 and / or a backlight. 作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备1000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。 As a motion sensor, the accelerometer may detect the size of the respective directions (usually three axes) acceleration may be stationary detect the magnitude and direction of gravity, it is used for identifying of a cell phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), related to vibration identification features (such as a pedometer, percussion) and the like; as other sensors 1000 may be a gyroscope, a barometer, hygrometer, a thermometer, an infrared sensor arranged at a terminal device, here No longer.

[0125] 音频电路1060、扬声器1061,传声器1062可提供用户与终端设备1000之间的音频接口。 [0125] The audio circuit 1060, a speaker 1061, a microphone 1062 may provide an audio interface between a user and the terminal device 1000. 音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010以发送给比如另一终端设备,或者将音频数据输出至存储器1020以便进一步处理。 After the audio data into an electric signal audio circuit 1060 may be received, transmitted to a speaker 1061, a speaker 1061 outputs the sound signal is converted into; on the other hand, the microphone 1062 converts sound signals into electrical signals collected by the audio circuit 1060 after receiving the data into audio, then the audio data output process processor 1080, via the RF circuit such as 1010 for transmission to another terminal device, or the audio data is output to the memory 1020 for further processing. 音频电路1060还可能包括耳塞插孔,以提供外设耳机与终端设备1000的通信。 The audio circuitry 1060 may also include an earphone jack for peripheral earphone and the communication terminal apparatus 1000.

[0126] WiFi属于短距离无线传输技术,终端设备1000通过WiFi模块1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。 [0126] WiFi is a short-range wireless transmission technology, the terminal 1070 may help the user device 1000 via the WiFi module send and receive email, web browsing, and access to streaming media, etc., which provides wireless broadband Internet access for the user. 虽然图10示出了WiFi模块1070,但是可以理解的是,其并不属于终端设备1000的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。 Although FIG. 10 shows a WiFi module 1070, it will be appreciated that it is not configured to be part of the terminal device 1000, and can be omitted without changing the essence of the invention in the ranges as needed.

[0127] 处理器1080是终端设备1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行终端设备1000的各种功能和处理数据,从而对手机进行整体监控。 [0127] Processor 1080 is a control center 1000 of the terminal apparatus, using various interfaces and circuits connected to the various parts of the entire mobile phone, by running or executing software programs stored in memory 1020 and / or module, and a call stored in the memory 1020 data in the various data processing functions and performs terminal device 1000, so that overall mobile phone monitoring. 可选的,处理器1080可包括一个或多个处理核心;优选的,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。 Optionally, the processor 1080 may include one or more processing cores; Preferably, the processor 1080 may be integrated application processor and the modem processor, wherein the application processor main processing operating system, user interface and applications , the modem processor mainly processes wireless communication. 可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。 It will be appreciated that the modem processor may not be integrated into the processor 1080.

[0128] 终端设备1000还包括给各个部件供电的电源1090 (比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。 [0128] the terminal device 1000 further includes a power supply to each member 1090 (such as a battery), preferably, the power source through a power management system logically connected to the processor 1080, to manage power management system is achieved by charging, discharging, and power consumption management. 电源1090还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。 Power 1090 may further comprise one or more DC or AC power supply, any recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator and the like.

[0129] 尽管未示出,终端设备1000还可以包括摄像头、蓝牙模块等,在此不再赘述。 [0129] Although not shown, the terminal device 1000 may further include a camera, a Bluetooth module, etc., which are not repeated herein. 具体在本实施例中,终端设备的显示单元是触摸屏显示器,终端设备还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令: In the illustrated embodiment, the display unit of the terminal device is a touch screen display, the terminal device further comprises a memory, and one or more than one program, wherein the one or more programs stored in the memory, and configured to by one or a said one or more processors to execute one or more programs include instructions for performing the following operations:

[0130] 获取当前所使用的上网卡信息; [0130] Gets the currently used card information;

[0131] 根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息; [0131] According to the information on the card, calculate the at least two flow information on the card is used;

[0132] 显示所述的至少两张上网卡所使用的流量信息。 [0132] at least two display traffic information on said card used.

[0133] 优选地,所述获取当前所使用的上网卡信息包括: [0133] Preferably, the obtaining information on the card currently being used include:

[0134] 获取当前所使用的上网卡的卡槽位置信息和/或上网卡的身份信息。 [0134] access to information on the identity card currently used slot position information and / or on the card.

[0135] 优选地,所述根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息包括: [0135] Preferably, according to the information on the card, the card calculates the flow rate information is used at least two comprises:

[0136] 记录当前的流量信息; [0136] recording current traffic information;

[0137] 记录上网卡的卡槽位置信息和/或上网卡的身份信息; [0137] slot identity information recording position information and / or on a card on the card;

[0138] 根据所述的上网卡的卡槽位置信息或上网卡的身份信息计算上网卡所使用的流 [0138] calculating the flow according to the identity card used in the card slot position information or the information on the card on the card

量信息。 The amount of information.

[0139] 优选地,所述的方法还包括: [0139] Preferably, the method further comprising:

[0140] 获取与所述上网卡信息相对应的流量阈值; [0140] acquiring the card information corresponding to the traffic threshold;

[0141] 判断当前上网卡所使用的流量信息是否达到与当前上网卡相对应的流量阈值; [0141] Analyzing the current traffic information on the card is used on the card has reached the current value corresponding to the relative flow threshold;

[0142] 在当前上网卡所使用的流量信息达到与当前上网卡相对应的流量阈值时,关闭当前上网卡的上网功能。 [0142] In the current traffic information on the card is used on the card the current reaches a corresponding threshold flow rate, to close the current Internet access on the card.

[0143] 优选地,在关闭当前上网卡的上网功能之后,所述的方法还包括: [0143] Preferably, after closing on the current Internet access card, said method further comprising:

[0144] 判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值; [0144] Analyzing the traffic information to another network card used on the card reaches the other threshold value corresponding to the flow rate;

[0145] 在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 When [0145] In another traffic information on the card is used on the card does not reach the other threshold value corresponding to the flow rate, switching to another network card for Internet access.

[0146] 本发明实施例提供的双卡终端的网络流量管理装置可以分别计算统计每张上网卡所产生的流量信息,使用户可以随时掌握自己的流量使用状况,可以自动判断每张上网卡的套餐流量信息使用状况,在一张上网卡流量耗净后可以自动判断另一张上网卡是否还有套餐流量,并在有套餐流量时自动切换至另一张上网卡进行上网,为用户节省费用并为用户提供不间断的联网体验。 [0146] network traffic management apparatus of dual-SIM terminal according to an embodiment of the present invention may be calculated separately for each statistical traffic information generated on the card, so that the user can keep track of the use of their traffic conditions on each card can automatically determine the package flow usage information on a card can automatically determine whether there is another package flow on the network card traffic net consumption, and automatically switch to another network cards to access the Internet whenever package flow, cost savings for users and to provide users with uninterrupted network experiences.

[0147] 此外,典型地,本发明所述的移动终端可为各种手持终端设备,例如手机、个人数字助理(PDA)等,因此本发明的保护范围不应限定为某种特定类型的移动终端。 [0147] Further, typically, the mobile terminal according to the present invention can be a variety of handheld devices, such as mobile phones, personal digital assistant (PDA), etc. Therefore, the scope of the present invention should not be limited to a particular type of mobile terminal.

[0148] 此外,根据本发明的方法还可以被实现为由CPU执行的计算机程序。 [0148] Further, according to the method of the present invention may also be implemented as a computer program executed by the CPU. 在该计算机程序被CPU执行时,执行本发明的方法中限定的上述功能。 When the computer program is executed by the CPU, execute the above-described functions of the method according to the present invention defined.

[0149] 此外,上述方法步骤以及系统单元也可以利用控制器以及用于存储使得控制器实现上述步骤或单元功能的计算机程序的计算机可读存储设备实现。 [0149] Further, the above-described method steps and system unit can also use a controller and a computer for storing such a computer program controller means to achieve the above steps or functions implemented readable storage device.

[0150] 此外,应该明白的是,本文所述的计算机可读存储设备(例如,存储器)可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。 [0150] Further, it should be appreciated that the computer readable storage device (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile memory and nonvolatile memory two. 作为例子而非限制性的,非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦写可编程ROM(EEPROM)或快闪存储器。 By way of example and not restrictive, nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. 易失性存储器可以包括随机存取存储器(RAM),该RAM可以充当外部高速缓存存储器。 Volatile memory can include random access memory (RAM), which can act as external cache RAM memory. 作为例子而非限制性的,RAM可以以多种形式获得,比如同步RAM (DRAM)、动态RAM (DRAM)、同步DRAM (SDRAM)、双数据速率SDRAM (DDR SDRAM)、增强SDRAM (ESDRAM)、同步链路DRAM (SLDRAM)以及直接RambusRAM(DRRAM)。 By way of example and not limitation, RAM is available in many forms obtained, such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct RambusRAM (DRRAM). 所公开的方面的存储设备意在包括但不限于这些和其它合适类型的存储器。 The storage device disclosed aspects are intended to include, but not limited to, these and other suitable types of memory.

[0151] 本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。 [0151] Those skilled in the art will also be appreciated that, herein incorporated various illustrative logical blocks described in this disclosure, modules, circuits, and algorithm steps may be implemented as electronic hardware, computer software, or both. 为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。 To clearly illustrate this hardware and software, interchangeability having been generally described, various illustrative components, blocks, modules, circuits, and steps have. 这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。 This functionality is implemented as software or hardware is implemented depending on the application and design constraints imposed on the overall system. 本领域技术人员可以针对每种具体应用以各种方式来实现所述的功能,但是这种实现决定不应被解释为导致脱离本发明的范围。 Those skilled in the art for each particular application can be various ways to implement the described functionality, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

[0152] 结合这里的公开所描述的各种示例性逻辑块、模块和电路可以利用被设计成用于执行这里所述功能的下列部件来实现或执行:通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑、分立的硬件组件或者这些部件的任何组合。 [0152] incorporated herein various illustrative logical blocks described in this disclosure, modules, and circuits may be designed to use the following means for performing the functions described herein are implemented or performed: a general purpose processor, a digital signal processor (DSP ), any combination of application specific integrated circuits (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or these components. 通用处理器可以是微处理器,但是可替换地,处理器可以是任何传统处理器、控制器、微控制器或状态机。 A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. 处理器也可以被实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、一个或多个微处理器结合DSP核、或任何其它这种配置。 A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

[0153] 结合这里的公开所描述的方法或算法的步骤可以直接包含在硬件中、由处理器执行的软件模块中或这两者的组合中。 [0153] The steps of a method disclosed herein in conjunction with the described or algorithm may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. 软件模块可以驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动盘、CD-ROM、或本领域已知的任何其它形式的存储介质中。 A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, CD-ROM, or any other form of storage medium known in the art. 示例性的存储介质被耦合到处理器,使得处理器能够从该存储介质中读取信息或向该存储介质写入信息。 An exemplary storage medium is coupled to the processor such that the processor can read information from the storage medium and write information to, the storage medium. 在一个替换方案中,所述存储介质可以与处理器集成在一起。 In one alternative, the storage medium may be integral to the processor. 处理器和存储介质可以驻留在ASIC中。 The processor and the storage medium may reside in an ASIC. ASIC可以驻留在用户终端中。 The ASIC may reside in a user terminal. 在一个替换方案中,处理器和存储介质可以作为分立组件驻留在用户终端中。 In one alternative, the processor and the storage medium may reside as discrete components in a user terminal.

[0154] 在一个或多个示例性设计中,所述功能可以在硬件、软件、固件或其任意组合中实现。 [0154], the functions may be implemented in hardware, software, firmware, or any combination thereof In one or more exemplary designs. 如果在软件中实现,则可以将所述功能作为一个或多个指令或代码存储在计算机可读介质上或通过计算机可读介质来传送。 If implemented in software, the functions may be on a computer readable medium or transmitted by a computer-readable medium of one or more instructions or code. 计算机可读介质包括计算机存储介质和通信介质,该通信介质包括有助于将计算机程序从一个位置传送到另一个位置的任何介质。 Computer-readable media includes both computer storage media and communication media, communication media includes the help of a computer program from one place to another in any position of the medium. 存储介质可以是能够被通用或专用计算机访问的任何可用介质。 Storage medium may be a general purpose or special purpose computer capable of accessing any available media. 作为例子而非限制性的,该计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其它光盘存储设备、磁盘存储设备或其它磁性存储设备,或者是可以用于携带或存储形式为指令或数据结构的所需程序代码并且能够被通用或专用计算机或者通用或专用处理器访问的任何其它介质。 By way of example and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or can be used to carry or store instruction in the form of desired program code or data structures and that can be a general purpose or special purpose computer or a general-purpose or special-purpose processor of any other medium. 此外,任何连接都可以适当地称为计算机可读介质。 Also, any connection is properly termed a computer-readable medium. 例如,如果使用同轴线缆、光纤线缆、双绞线、数字用户线路(DSL)或诸如红外线、无线电和微波的无线技术来从网站、服务器或其它远程源发送软件,则上述同轴线缆、光纤线缆、双绞线、DSL或诸如红外先、无线电和微波的无线技术均包括在介质的定义。 For example, if using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave from a website, server, or other remote source, the above-described coaxial cable, fiber optic cable, twisted pair, DSL, or to such as infrared, radio, and wireless technologies microwave are included in the definition of medium. 如这里所使用的,磁盘和光盘包括压缩盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘、蓝光盘,其中磁盘通常磁性地再现数据,而光盘利用激光光学地再现数据。 As used herein Disk and disc, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers . 上述内容的组合也应当包括在计算机可读介质的范围内。 Combinations of the above should also be included within the scope of computer-readable media.

[0155] 尽管前面公开的内容示出了本发明的示例性实施例,但是应当注意,在不背离权利要求限定的本发明的范围的前提下,可以进行多种改变和修改。 [0155] While the foregoing disclosure shows an exemplary embodiment of the present invention, it should be noted that, without departing from the scope of the invention defined in the claims, various changes and modifications may be made. 根据这里描述的发明实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。 A method according to an embodiment of the invention described herein required functions, steps and / or actions need not be performed in any particular order. 此外,尽管本发明的元素可以以个体形式描述或要求,但是也可以设想多个,除非明确限制为单数。 Furthermore, although elements of the invention may be described or claimed in the form of an individual, it is also contemplated that a plurality of, unless explicitly restricted to the singular.

[0156] 以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 [0156] The foregoing specific embodiments, objectives, technical solutions, and advantages of the invention will be further described in detail, it should be understood that the above descriptions are merely specific embodiments of the present invention, but not intended to limit the scope of the present invention, all within the spirit and principle of the present invention, any changes made, equivalent substitutions and improvements should be included within the scope of the present invention.

Claims (10)

  1. 1.一种双卡终端的网络流量管理方法,其特征在于,所述的方法包括: 获取当前所使用的上网卡信息; 根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息; 显示所述的至少两张上网卡所使用的流量信息。 A method for network traffic management of the dual-SIM terminal, wherein the method comprises: obtaining information on the card currently in use; according to the information on the card, calculate the at least two network cards used traffic information; displaying said at least two traffic information on the card is used.
  2. 2.根据权利要求1所述的网络流量管理方法,其特征在于,所述获取当前所使用的上网卡信息包括: 获取当前所使用的上网卡的卡槽位置信息和/或上网卡的身份信息。 The network traffic management method according to claim 1, wherein said acquiring information on the card currently in use include: acquiring identification information of the slot position and / or on the card on the card information of the currently used .
  3. 3.根据权利要求2所述的网络流量管理方法,其特征在于,所述根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息包括: 记录当前的流量信息; 记录上网卡的卡槽位置信息和/或上网卡的身份信息; 根据所述的上网卡的卡槽位置信息或上网卡的身份信息计算上网卡所使用的流量信肩、O The network traffic management method according to claim 2, characterized in that, according to the information on the card, calculates the flow rate information on the at least two network cards used comprising: recording current traffic information; recording Internet card slot position information and / or information on the identity card; the flow channel shoulder on the card slot identity information calculating position information on the card or the card to be used, O
  4. 4.根据权利要求1所述的网络流量管理方法,其特征在于,所述的方法还包括: 获取与所述上网卡信息相对应的流量阈值; 判断当前上网卡所使用的流量信息是否达到与当前上网卡相对应的流量阈值; 在当前上网卡所使用的流量信息达到与当前上网卡相对应的流量阈值时,关闭当前上网卡的上网功能。 The network traffic management method according to claim 1, wherein said method further comprises: acquiring the card information corresponding to the flow threshold; Analyzing current traffic information on whether the card is used and the current on the card corresponding to the flow threshold; current traffic information on the card is used with the current reaches a threshold value corresponding to the flow rate on the card, the card close the current Internet access.
  5. 5.根据权利要求4所述的网络流量管理方法,其特征在于,在关闭当前上网卡的上网功能之后,所述的方法还包括: 判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值; 在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 The network traffic management method according to claim 4, characterized in that, after closing on the current Internet access card, said method further comprising: determining a further traffic information on whether the card is used with the other on the card corresponding to the flow threshold; flow rate information on another network card used on the card does not reach the other threshold value corresponding to the flow rate, the switching to another network card for Internet access.
  6. 6.一种双卡终端的网络流量管理装置,其特征在于,所述的装置包括: 上网卡信息获取单元,用于获取当前所使用的上网卡信息; 流量信息计算单元,用于根据所述的上网卡信息,分别计算至少两张上网卡所使用的流量信息; 流量信息显示单元,用于显示所述的至少两张上网卡所使用的流量信息。 A network traffic management system of the dual-SIM terminal, wherein, said apparatus comprising: a card information acquisition unit for acquiring information on the card currently used; flow rate information calculation unit according to the the information on the card, calculates the flow rate of the at least two card information is used; flow rate information display unit for displaying traffic information on said at least two network cards used.
  7. 7.根据权利要求6所述的网络流量管理装置,其特征在于,所述上网卡信息获取单元用于获取当前所使用的上网卡的卡槽位置信息和/或上网卡的身份信息。 7. The network traffic management apparatus according to claim 6, characterized in that the upper card information acquiring unit configured to acquire identification information on the card currently used slot position information and / or network card.
  8. 8.根据权利要求7所述的网络流量管理装置,其特征在于,所述流量信息计算单元包括: 流量记录模块,用于记录当前的流量信息; 上网卡记录模块,用于记录上网卡的卡槽位置信息和/或上网卡的身份信息; 流量计算模块,用于根据所述的上网卡的卡槽位置信息或上网卡的身份信息计算上网卡所使用的流量信息。 8. The network traffic management apparatus according to claim 7, wherein said flow information calculation unit comprises: a flow recording means for recording the current traffic information; on the card recording means for recording on the card the card slot identity information the location information and / or on the card; flow calculating module, according to the traffic information for identification on the card slot position information or calculated information on the card on the card to be used.
  9. 9.根据权利要求6所述的网络流量管理装置,其特征在于,所述的装置还包括: 流量阈值获取单元,用于获取与所述上网卡信息相对应的流量阈值; 第一流量判断单元,用于判断当前上网卡所使用的流量信息是否达到与当前上网卡相对应的流量阈值; 网络开关单元,用于在当前上网卡所使用的流量信息达到与当前上网卡相对应的流量阈值时,关闭当前上网卡的上网功能。 9. The network traffic management apparatus according to claim 6, characterized in that said apparatus further comprising: a flow threshold value acquisition unit, for acquiring the card information corresponding to the flow threshold; a first flow rate determining means when the network switching unit for current traffic information on the card used to achieve flow threshold current on the card corresponds; for determining current traffic information on the card being used has reached the current on the card corresponding to the traffic threshold close the current card on Internet access.
  10. 10.根据权利要求9所述的网络流量管理装置,其特征在于,所述的装置还包括: 第二流量判断单元,用于判断另一上网卡所使用的流量信息是否达到与另一上网卡相对应的流量阈值; 网络切换单元,用于在另一上网卡所使用的流量信息未达到与另一上网卡相对应的流量阈值时,切换至另一上网卡进行上网。 The network traffic management apparatus according to claim 9, characterized in that said apparatus further comprises: a second flow rate determining means for determining whether another card is used on the traffic information has reached the other on the card flow rate corresponding to a threshold value; network switching unit for further information on the traffic when the network card used on the card does not reach the other threshold value corresponding to the flow rate, switching to another network card for Internet access.
CN 201310210660 2013-05-30 2013-05-30 Network flow management method and device of double-card terminal CN103281687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310210660 CN103281687A (en) 2013-05-30 2013-05-30 Network flow management method and device of double-card terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310210660 CN103281687A (en) 2013-05-30 2013-05-30 Network flow management method and device of double-card terminal

Publications (1)

Publication Number Publication Date
CN103281687A true true CN103281687A (en) 2013-09-04

Family

ID=49064101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310210660 CN103281687A (en) 2013-05-30 2013-05-30 Network flow management method and device of double-card terminal

Country Status (1)

Country Link
CN (1) CN103281687A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491587A (en) * 2013-10-12 2014-01-01 上海斐讯数据通信技术有限公司 Data Internet access service switching method and system for mobile terminal
CN103813356A (en) * 2014-02-28 2014-05-21 宇龙计算机通信科技(深圳)有限公司 Flow management device and flow management method thereof
CN104066210A (en) * 2014-06-18 2014-09-24 小米科技有限责任公司 Dual-card dual-standby mobile communication terminal management system and mobile communication terminal
CN104185154A (en) * 2014-08-28 2014-12-03 深圳市中兴移动通信有限公司 Multimedia message transmitting method and mobile terminal
CN104202773A (en) * 2014-09-01 2014-12-10 深圳市中兴移动通信有限公司 Method and device for controlling smart card based on network traffic
CN104219653A (en) * 2014-09-17 2014-12-17 深圳市中兴移动通信有限公司 Method and device for controlling double-card Internet access
CN104349365A (en) * 2014-10-30 2015-02-11 北京奇虎科技有限公司 Data flow monitoring method and system for mobile terminal
WO2015058545A1 (en) * 2013-10-22 2015-04-30 中兴通讯股份有限公司 Method and device for executing data service
CN104780528A (en) * 2014-01-09 2015-07-15 腾讯科技(深圳)有限公司 Network traffic updating method and device
CN105101166A (en) * 2015-07-31 2015-11-25 努比亚技术有限公司 Communication service management system and method
CN105101302A (en) * 2014-04-30 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Flow management method based on use habits of users and system thereof
WO2016070616A1 (en) * 2014-11-07 2016-05-12 中兴通讯股份有限公司 Intelligent terminal and method for managing multi-card data traffic
WO2016206517A1 (en) * 2015-06-24 2016-12-29 中兴通讯股份有限公司 Multi-sim resource management method, device and multi-sim terminal
WO2017008386A1 (en) * 2015-07-10 2017-01-19 中兴通讯股份有限公司 Method and apparatus for automatically switching in-service card of double-card terminal, and storage medium
WO2017115116A1 (en) * 2015-12-31 2017-07-06 Pismo Labs Technology Ltd. Methods and systems for restricting data usage at a network device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008151662A1 (en) * 2007-06-12 2008-12-18 Telefonaktiebolaget L M Ericsson (Publ) Arrangement and method relating to connection of mobile stations
CN102123483A (en) * 2011-02-23 2011-07-13 华为终端有限公司 Method and device for switching communication services of double-module mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008151662A1 (en) * 2007-06-12 2008-12-18 Telefonaktiebolaget L M Ericsson (Publ) Arrangement and method relating to connection of mobile stations
CN102123483A (en) * 2011-02-23 2011-07-13 华为终端有限公司 Method and device for switching communication services of double-module mobile terminal

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491587B (en) * 2013-10-12 2017-10-31 上海斐讯数据通信技术有限公司 Internet data traffic and a system switching method of a mobile terminal
CN103491587A (en) * 2013-10-12 2014-01-01 上海斐讯数据通信技术有限公司 Data Internet access service switching method and system for mobile terminal
WO2015058545A1 (en) * 2013-10-22 2015-04-30 中兴通讯股份有限公司 Method and device for executing data service
CN104780528A (en) * 2014-01-09 2015-07-15 腾讯科技(深圳)有限公司 Network traffic updating method and device
CN103813356A (en) * 2014-02-28 2014-05-21 宇龙计算机通信科技(深圳)有限公司 Flow management device and flow management method thereof
CN105101302A (en) * 2014-04-30 2015-11-25 宇龙计算机通信科技(深圳)有限公司 Flow management method based on use habits of users and system thereof
CN104066210A (en) * 2014-06-18 2014-09-24 小米科技有限责任公司 Dual-card dual-standby mobile communication terminal management system and mobile communication terminal
CN104066210B (en) * 2014-06-18 2018-02-02 小米科技有限责任公司 Dual SIM management system of the mobile communication terminal and a mobile communication terminal
CN104185154A (en) * 2014-08-28 2014-12-03 深圳市中兴移动通信有限公司 Multimedia message transmitting method and mobile terminal
CN104202773A (en) * 2014-09-01 2014-12-10 深圳市中兴移动通信有限公司 Method and device for controlling smart card based on network traffic
CN104219653A (en) * 2014-09-17 2014-12-17 深圳市中兴移动通信有限公司 Method and device for controlling double-card Internet access
CN104349365A (en) * 2014-10-30 2015-02-11 北京奇虎科技有限公司 Data flow monitoring method and system for mobile terminal
WO2016070616A1 (en) * 2014-11-07 2016-05-12 中兴通讯股份有限公司 Intelligent terminal and method for managing multi-card data traffic
WO2016206517A1 (en) * 2015-06-24 2016-12-29 中兴通讯股份有限公司 Multi-sim resource management method, device and multi-sim terminal
WO2017008386A1 (en) * 2015-07-10 2017-01-19 中兴通讯股份有限公司 Method and apparatus for automatically switching in-service card of double-card terminal, and storage medium
CN105101166A (en) * 2015-07-31 2015-11-25 努比亚技术有限公司 Communication service management system and method
WO2017115116A1 (en) * 2015-12-31 2017-07-06 Pismo Labs Technology Ltd. Methods and systems for restricting data usage at a network device

Similar Documents

Publication Publication Date Title
CN103345355A (en) Screen-locking interface display control method, device and terminal device
CN103327102A (en) Application program recommending method and device
CN103616981A (en) Application process method, device and mobile terminal
CN103281687A (en) Network flow management method and device of double-card terminal
CN103442330A (en) Position notification method and device
CN103488392A (en) Editing method and device used for editable content of touch screen, and terminal
US20150043312A1 (en) Sound playing method and device thereof
CN103472993A (en) Rotation displaying method, device and terminal equipment
CN103491245A (en) Method and device for storing short messages and terminal equipment
CN103701988A (en) Message prompt method and device and electronic equipment
CN103312597A (en) Voice message generating method and voice message generating device
CN103473092A (en) Method and device for processing downloaded applications and terminal equipment
CN103701182A (en) Charger, electronic equipment and charging system
CN103473051A (en) Method and device for saving terminal power consumption
CN103476064A (en) Method and device for flow control of terminal device and terminal device
CN103455407A (en) Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal
CN103513769A (en) Method, device and mobile terminal for setting key function
CN103313139A (en) History display method and device and electronic device
CN103389863A (en) Display control method and device
US20140369525A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN103604437A (en) Method and apparatus used for displaying road condition information
CN103543913A (en) Terminal device operation method and device, and terminal device
CN103578474A (en) Method, device and equipment for voice control
CN103294515A (en) Method, device and system for acquiring application programs
CN103702478A (en) Method, device and equipment for controlling breath lamp

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C53 Correction of patent for invention or patent application
C53 Correction of patent for invention or patent application
C12 Rejection of a patent application after its publication