WO2018082182A1 - Terminal device, and method for restoring data service by terminal device - Google Patents

Terminal device, and method for restoring data service by terminal device Download PDF

Info

Publication number
WO2018082182A1
WO2018082182A1 PCT/CN2016/113172 CN2016113172W WO2018082182A1 WO 2018082182 A1 WO2018082182 A1 WO 2018082182A1 CN 2016113172 W CN2016113172 W CN 2016113172W WO 2018082182 A1 WO2018082182 A1 WO 2018082182A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
modem
user
recharge
arrears
Prior art date
Application number
PCT/CN2016/113172
Other languages
French (fr)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680090507.8A priority Critical patent/CN109891942A/en
Publication of WO2018082182A1 publication Critical patent/WO2018082182A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/30Network data restoration; Network data reliability; Network data fault tolerance

Definitions

  • the terminal device performs the consumption that causes the arrears to include: the terminal device performs a long-term call for payment; the terminal device performs a large-flow downloading behavior; and the terminal device performs the consumption by using the call charge. behavior.
  • the arrears can be found in time, and the SMS delay of the operator is avoided, so that the user does not know that the arrears have been down.
  • FIG. 5 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
  • FIG. 2 is a block diagram showing a part of the structure of the mobile phone 100 related to the embodiment of the present invention.
  • the mobile phone 100 includes RF (Radio Frequency)
  • the circuit 110, the memory 120, other input devices 130, the display screen 140, the sensor 150, the audio circuit 160, the I/O subsystem 170, the processor 180, and the power supply 190 are components.
  • the structure of the mobile phone shown in FIG. 2 does not constitute a limitation to the mobile phone, and may include more or less components than those illustrated, or combine some components, or split some components, or Different parts are arranged.
  • display 140 is a User Interface (UI) and that handset 100 may include a user interface that is smaller than shown or less.
  • UI User Interface
  • processor 180 is based on the type of touch event
  • the display panel provides a corresponding visual output on display panel 141 via I/O subsystem 170 in accordance with user input.
  • the touch panel 142 and the display panel 141 are two separate components to implement the input and input functions of the mobile phone 100, in some embodiments, the touch panel 142 may be integrated with the display panel 141. The input and output functions of the mobile phone 100 are implemented.
  • the terminal device 100 may also parse the received short message by using a short message module of the application layer, but may also determine that the terminal device 100 has been backed up.
  • the terminal device 100 can directly determine that the terminal device 100 has been in arrears before the recharge according to the recharge amount.
  • Modem also known as baseband (baseband)
  • baseband mainly handles mobile communication protocol stack related functions (such as voice, data, SMS, MMS, etc.), and is responsible for signaling or data interaction with the network side.
  • the various judgment conditions in the embodiments of the present invention may be unique conditions, or combined, or have different weights as auxiliary conditions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for restoring a data service, comprising: a terminal device determining that a phone service has been reconnected, and the terminal device restarting a modem. In this embodiment, the terminal device determines whether the unavailability of a data service has been caused by the disconnection of the phone service due to insufficient funds, and restarts the modem when the phone service has been reconnected, ensuring that the terminal device can use the data service normally, improving user experience.

Description

终端设备恢复数据业务的方法和终端设备Method and terminal device for terminal device to recover data service 技术领域Technical field
本发明实施例涉及通信领域,尤其涉及具有数据业务的终端设备。The embodiments of the present invention relate to the field of communications, and in particular, to a terminal device having a data service.
背景技术Background technique
在当前协议规定及实现下,如果用户卡欠费,核心网会在终端PS域attach时以特定原因值拒绝,CS域仍然OK;而终端收到拒绝消息后会将SIM卡状态置为PS域无效,从而无法进行数据业务,但是可以进行电话业务。对用户来说,这带来了不好的体验。Under the current agreement and implementation, if the user card is in arrears, the core network will reject it with a specific reason value when the terminal PS domain attaches, and the CS domain is still OK; and the terminal will set the SIM card state to the PS domain after receiving the reject message. Invalid, so data services cannot be performed, but telephone services can be performed. For the user, this brings a bad experience.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种数据业务恢复方法及终端设备,能够在用户欠费停机后重新充值复机的情况下,自动或提示用户恢复终端设备的数据业务,提供给用户良好的体验。In view of this, the embodiment of the present invention provides a data service recovery method and a terminal device, which can automatically or prompt the user to recover the data service of the terminal device and provide the user with good information when the user recharges the re-service after the user owes a fee. Experience.
一方面,本发明实施例提供了一种数据业务恢复方法,包括:终端设备确定已复机,终端设备重启调制解调器(modem)。在这一实施方式中,终端设备判断是否因为欠费停机导致的数据业务不可用,及在已复机的情况下重启调制解调器,保障了终端设备正常使用数据业务,具有良好的用户体验。In one aspect, an embodiment of the present invention provides a data service recovery method, including: determining, by a terminal device, that a device has been restarted, and the terminal device restarts a modem. In this embodiment, the terminal device determines whether the data service is unavailable due to the arrears of the down payment, and restarts the modem in the case of the duplicated machine, thereby ensuring that the terminal device normally uses the data service and has a good user experience.
在一种可能的实施方式中,终端设备通过以下一个或多个条件来确定已复机:终端设备处于电话业务可用,而数据业务不可用的状态;或者,终端设备收到了运营商的短信,告知充值成功或者已复机;或者,支付APP显示充值成功或充值支付成功;或者,接收到用户操作开关数据业务或飞行模式。通过多种条件的择一或组合判断,可以丰富使用场景。In a possible implementation manner, the terminal device determines that the terminal device is in a state in which the terminal device is in a state where the telephone service is available and the data service is unavailable; or the terminal device receives the short message from the operator, by using one or more of the following conditions: Informing that the recharge is successful or has been re-opened; or, the payment APP indicates that the recharge is successful or the recharge payment is successful; or that the user operates the switch data service or flight mode. The use of scenes can be enriched by judging one or a combination of various conditions.
在一种可能的实施方式中,终端设备通过重启终端设备来重启调制解调器。在本实施方式中,重启调制解调器不需要对终端设备的设计做额外改动。In a possible implementation, the terminal device restarts the modem by restarting the terminal device. In the present embodiment, restarting the modem does not require additional modifications to the design of the terminal device.
在一种可能的实施方式中,方法进一步包括:终端设备提示用户重启调制解调器,并接收用户的指令来重启调制解调器。在本实施方式中,重启在用户的确认下进行,不妨碍用户的正常使用。 In a possible implementation, the method further includes: the terminal device prompting the user to restart the modem, and receiving the user's instruction to restart the modem. In the present embodiment, the restart is performed under the confirmation of the user, and does not hinder the normal use of the user.
在一种可能的实施方式中,方法进一步包括:在终端设备确定已复机之前,终端设备确定已停机。在本实施方式中,结合了停机的判断之后,可以使得判断复机更准确。尤其是根据收到充值短信来判断复机时,结合之前发生过停机,可以更准确地判断出当前已复机。In a possible implementation, the method further includes: determining, by the terminal device, that the device has been down before the terminal device determines that the device has been re-established. In the present embodiment, after the judgment of the shutdown is combined, it is possible to make the judgment of the duplicate machine more accurate. In particular, when the re-checking is received based on the receipt of the recharged short message, the combination of the previous occurrence of the downtime can more accurately determine that the current re-opening is performed.
在一种可能的实施方式中,在终端设备确定已充值之后,终端设备确定余额为正。在本实施方式中,避免了充值金额不足导致误判断已复机。In a possible implementation manner, after the terminal device determines that the terminal has been recharged, the terminal device determines that the balance is positive. In the present embodiment, it is avoided that the recharge amount is insufficient due to insufficient recharge amount.
在一种可能的实施方式中,终端设备在判断出充值成功后,过了预设的一段时间,才确定终端设备已复机。本实施方式考虑了充值到复机可能会存在的延时,避免误判断。In a possible implementation manner, after determining that the recharging is successful, the terminal device determines that the terminal device has been re-established after a predetermined period of time has elapsed. This embodiment considers the delay that may be present when recharging to the re-machine, and avoids misjudgment.
在一种可能的实施方式中,预设的时间可以为10s,1min,或5min等。In a possible implementation manner, the preset time may be 10 s, 1 min, or 5 min, and the like.
在一种可能的实施方式中,终端设备通过以下一个或多个条件来确定已停机:调制解调器上报收到GPRS services not allowed信令;或者,SIM卡上报PS域状态为无效;或者,短信模块收到运营商短信告知已停机;或者,终端设备激活数据业务失败;或者,根据终端设备的套餐和余额,终端设备进行了导致欠费的消费。通过多种条件的择一或组合判断,可以丰富使用场景。In a possible implementation manner, the terminal device determines that the shutdown has been performed by one or more of the following conditions: the modem reports that the GPRS services not allowed signaling is received; or the SIM card reports that the PS domain status is invalid; or, the short message module The operator receives a short message to inform that the computer has been down; or the terminal device fails to activate the data service; or, according to the package and balance of the terminal device, the terminal device performs the consumption that causes the arrears. The use of scenes can be enriched by judging one or a combination of various conditions.
在一种可能的实施方式中,终端设备进行了导致欠费的消费包括:终端设备进行了一个付费的长时间通话;终端设备进行了大流量的下载行为;终端设备进行了使用话费进行消费的行为。在本实施方式中可以及时发现欠费,而避免了运营商的短信延迟,导致用户不知道已欠费停机。In a possible implementation manner, the terminal device performs the consumption that causes the arrears to include: the terminal device performs a long-term call for payment; the terminal device performs a large-flow downloading behavior; and the terminal device performs the consumption by using the call charge. behavior. In the present embodiment, the arrears can be found in time, and the SMS delay of the operator is avoided, so that the user does not know that the arrears have been down.
在一种可能的实施方式中,方法进一步包括:当终端设备确定已经欠费或停机时,将提醒消息发送给终端设备自带的UI,或者发送给其它APP,来提醒用户终端设备已经欠费或停机,或者提醒用户充值。In a possible implementation, the method further includes: when the terminal device determines that the terminal has been in arrears or stops, sending the reminder message to the UI that is provided by the terminal device, or sending the message to the other APP, to remind the user that the terminal device has been in arrears Or stop, or remind the user to recharge.
在一种可能的实施方式中,终端设备在运行需要联网的APP时,提示用户终端设备已欠费或已停机。在本实施方式中,用户的体验比较自然。 In a possible implementation manner, when the terminal device runs an APP that requires networking, the terminal device prompts the user that the terminal device has been in arrears or has been down. In the present embodiment, the user's experience is relatively natural.
在一种可能的实施方式中,支付APP在接受了用户的充值操作后,通过电话方式,自动拨出充值热线号码来进行充值。本实施方式避免了当前数据业务不可用而无法充值的弊端。In a possible implementation manner, after the user accepts the recharge operation of the user, the payment APP automatically dials the recharge hotline number to perform recharging. This embodiment avoids the drawback that the current data service is unavailable and cannot be recharged.
在一种可能的实施方式中,终端设备在触发调制解调器重新启动之前,先判断调制解调器是否处于空闲状态,如果调制解调器处于空闲状态,则终端设备直接触发调制解调器重新启动;如果调制解调器处于工作状态,则终端设备在调制解调器从工作状态进入空闲状态时,触发调制解调器重新启动。在本实施方式中,重启不影响用户的正常使用。In a possible implementation manner, the terminal device determines whether the modem is in an idle state before triggering the modem to restart, and if the modem is in an idle state, the terminal device directly triggers the modem to restart; if the modem is in the working state, the terminal device The modem is restarted when the modem enters the idle state from the working state. In this embodiment, the restart does not affect the normal use of the user.
在一种可能的实施方式中,终端设备通过截图或文本解析的方式,获取短信或APP界面的内容来确定终端设备已停机或已复机。在本实施方式中,可以获取多种场景下的信息。In a possible implementation manner, the terminal device acquires the content of the short message or the APP interface by means of screenshots or text parsing to determine that the terminal device has been down or has been re-established. In this embodiment, information in multiple scenarios can be obtained.
在一种可能的实施方式中,终端设备通过调制解调器来解析收到的短信,来确定终端设备已停机或已复机。在本实施方式中,不涉及应用层的授权,具有更高的安全性。In a possible implementation manner, the terminal device parses the received short message by using a modem to determine that the terminal device has been down or has been re-established. In this embodiment, the authorization of the application layer is not involved, and the security is higher.
另一方面,本发明实施例提供了一种数据业务恢复方法,包括:终端设备确定欠费,终端设备确定已充值,终端设备自动重启调制解调器(调制解调器)。在这一实施方式中,终端设备自动判断是否因为欠费导致的数据业务不可用,并在已充值的情况下自动重启调制解调器,不需要用户的手动干预,具有良好的用户体验。On the other hand, the embodiment of the present invention provides a data service recovery method, including: the terminal device determines the arrears, the terminal device determines that the device has been recharged, and the terminal device automatically restarts the modem (modem). In this embodiment, the terminal device automatically determines whether the data service is unavailable due to the arrears, and automatically restarts the modem when the account is recharged, without manual intervention by the user, and has a good user experience.
又一方面,本发明实施例提供了一种数据业务恢复方法,包括:终端设备确定欠费,终端设备确定已充值,终端设备提示用户重启调制解调器。在这一实施方式中,终端设备自动判断是否因为欠费导致的数据业务不可用,并在已充值的情况下提示用户重启调制解调器,避免了用户的困扰,具有良好的用户体验。In another aspect, an embodiment of the present invention provides a data service recovery method, including: determining, by a terminal device, arrears, the terminal device determines that the device has been recharged, and the terminal device prompts the user to restart the modem. In this embodiment, the terminal device automatically determines whether the data service is unavailable due to the arrears, and prompts the user to restart the modem when the account is recharged, thereby avoiding the user's trouble and having a good user experience.
又一方面,本发明实施例提供了一种终端设备,用于执行以上数据业务恢复方法。因此,终端设备自动判断是否因为欠费导致的数据业务不可用,并 在已充值的情况下自动或提示用户重启调制解调器或终端设备,具有良好的用户体验。In another aspect, an embodiment of the present invention provides a terminal device, configured to perform the foregoing data service recovery method. Therefore, the terminal device automatically determines whether the data service due to the arrears is not available, and Automatically or prompt the user to restart the modem or terminal device in the case of recharge, with a good user experience.
又一方面,本发明实施例提供了一种终端设备,包括:欠费确定模块,充值确定模块,调制解调器重启模块。在这一实施方式中,欠费确定模块判断是否因为欠费导致的数据业务不可用,充值确定模块确定已充值,调制解调器重启模块自动重启调制解调器,不需要用户的手动干预,具有良好的用户体验。In another aspect, an embodiment of the present invention provides a terminal device, including: an arrears determination module, a recharge determination module, and a modem restart module. In this embodiment, the arrears determination module determines whether the data service is unavailable due to the arrears, the refill determination module determines that the recharge has been made, the modem restart module automatically restarts the modem, does not require manual intervention by the user, and has a good user experience.
又一方面,本发明实施例提供了一种终端设备,包括:处理器和存储介质。存储介质存储有程序,使得终端设备执行以上的方法。In another aspect, an embodiment of the present invention provides a terminal device, including: a processor and a storage medium. The storage medium stores a program such that the terminal device performs the above method.
值得一提的是,本发明的实施例可以任意组合来达成不同的技术效果。It is worth mentioning that the embodiments of the present invention can be combined in any combination to achieve different technical effects.
通过上述方案,本发明的实施例能够在欠费复机后,自动恢复终端设备的数据业务,具有良好的用户体验。Through the above solution, the embodiment of the present invention can automatically restore the data service of the terminal device after the debt recovery, and has a good user experience.
附图说明DRAWINGS
图1为根据本发明一种可能的实施方式提供的终端设备的示意图。FIG. 1 is a schematic diagram of a terminal device provided according to a possible embodiment of the present invention.
图2示出的是本发明一种可能的实施方式提供的终端设备的部分结构的框图。2 is a block diagram showing a partial structure of a terminal device provided by a possible embodiment of the present invention.
图3为根据本发明一种可能的实施方式提供的终端设备的用户界面。FIG. 3 is a user interface of a terminal device provided according to a possible embodiment of the present invention.
图4为根据本发明另一种可能的实施方式提供的终端设备的用户界面。4 is a user interface of a terminal device provided according to another possible embodiment of the present invention.
图5为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 5 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图6为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 6 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图7为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 7 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图8为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 8 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图9为根据本发明又一种可能的实施方式提供的终端设备的用户界面。9 is a user interface of a terminal device provided in accordance with still another possible implementation of the present invention.
图10为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 10 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图11为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 11 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图12为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 12 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图13为根据本发明又一种可能的实施方式提供的终端设备的用户界面。 FIG. 13 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图14为根据本发明又一种可能的实施方式提供的终端设备的用户界面。FIG. 14 is a user interface of a terminal device provided according to still another possible embodiment of the present invention.
图15为根据本发明又一种可能的实施方式提供的终端设备的用户界面。Figure 15 is a user interface of a terminal device provided in accordance with yet another possible embodiment of the present invention.
图16为根据本发明又一种可能的实施方式提供的终端设备的用户界面。16 is a user interface of a terminal device provided in accordance with still another possible implementation of the present invention.
图17为根据本发明一种可能的实施方式提供的终端设备恢复数据业务的流程图。FIG. 17 is a flowchart of a terminal device recovering data service according to a possible implementation manner of the present invention.
图18为根据本发明一种可能的实施方式提供的终端设备确定欠费的流程图。FIG. 18 is a flowchart of determining arrears by a terminal device according to a possible implementation manner of the present invention.
图19为根据本发明另一种可能的实施方式提供的终端设备确定欠费的流程图。FIG. 19 is a flowchart of determining arrears by a terminal device according to another possible embodiment of the present invention.
图20为根据本发明一种可能的实施方式提供的终端设备提醒欠费的流程图。FIG. 20 is a flowchart of a terminal device reminding arrears according to a possible implementation manner of the present invention.
图21为根据本发明一种可能的实施方式提供的终端设备确定充值成功的流程图。FIG. 21 is a flowchart of determining, by a terminal device, a successful refill according to a possible embodiment of the present invention.
图22为根据本发明另一种可能的实施方式提供的终端设备恢复数据业务的流程图。FIG. 22 is a flowchart of recovering data services of a terminal device according to another possible embodiment of the present invention.
图23为根据本发明又一种可能的实施方式提供的终端设备恢复数据业务的流程图。FIG. 23 is a flowchart of recovering data services of a terminal device according to another possible implementation manner of the present invention.
图24为根据本发明一种可能的实施方式提供的终端设备的调制解调器部分结构的框架图。Figure 24 is a block diagram showing the structure of a modem portion of a terminal device according to a possible embodiment of the present invention.
具体实施方式detailed description
图1为根据本发明一种可能的实施方式提供的终端设备的示意图。FIG. 1 is a schematic diagram of a terminal device provided according to a possible embodiment of the present invention.
本发明实施例涉及的终端设备100可以包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等。The terminal device 100 according to the embodiment of the present invention may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the like.
以终端设备100为手机为例,图2示出的是与本发明实施例相关的手机100的部分结构的框图。参考图2,手机100包括、RF(Radio Frequency,射频)电 路110、存储器120、其他输入设备130、显示屏140、传感器150、音频电路160、I/O子系统170、处理器180、以及电源190等部件。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。本领领域技术人员可以理解显示屏140属于用户界面(UI,User Interface),且手机100可以包括比图示或者更少的用户界面。Taking the terminal device 100 as a mobile phone as an example, FIG. 2 is a block diagram showing a part of the structure of the mobile phone 100 related to the embodiment of the present invention. Referring to FIG. 2, the mobile phone 100 includes RF (Radio Frequency) The circuit 110, the memory 120, other input devices 130, the display screen 140, the sensor 150, the audio circuit 160, the I/O subsystem 170, the processor 180, and the power supply 190 are components. It will be understood by those skilled in the art that the structure of the mobile phone shown in FIG. 2 does not constitute a limitation to the mobile phone, and may include more or less components than those illustrated, or combine some components, or split some components, or Different parts are arranged. Those skilled in the art will appreciate that display 140 is a User Interface (UI) and that handset 100 may include a user interface that is smaller than shown or less.
下面结合图2对手机100的各个构成部件进行具体的介绍:The components of the mobile phone 100 will be specifically described below with reference to FIG. 2:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器180处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting the signal. Specifically, after receiving the downlink information of the base station, the processor 180 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, RF circuitry 110 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行手机100的各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。 The memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone 100 by running software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored. Data created according to the use of the mobile phone 100 (such as audio data, phone book, etc.). Moreover, memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
其他输入设备130可用于接收输入的数字或字符信息,以及产生与手机100的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备130可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等中的一种或多种。其他输入设备130与I/O子系统170的其他输入设备控制器171相连接,在其他设备输入控制器171的控制下与处理器180进行信号交互。 Other input devices 130 can be used to receive input numeric or character information, as well as generate key signal inputs related to user settings and function controls of the handset 100. Specifically, other input devices 130 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output). One or more of a surface, or an extension of a touch sensitive surface formed by a touch screen. Other input devices 130 are coupled to other input device controllers 171 of I/O subsystem 170 for signal interaction with processor 180 under the control of other device input controllers 171.
显示屏140可用于显示由用户输入的信息或提供给用户的信息以及手机100的各种菜单,还可以接受用户输入。具体的显示屏140可包括显示面板141,以及触控面板142。其中显示面板141可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。触控面板142,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板142上或在触控面板142附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型。),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板142可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板142,也可以采用未来发展的任何技术实现触控面板142。进一步的,触控面板142可覆盖显示面板141,用户可以根据显示面板141显示的内容(该显示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板141上覆盖的当触控面板142上或者附近进行操作,触控面板142检测到在其上或附近的触摸操作后,通过I/O子系统170传送给处理器180以确定触摸事件的类型以确定用户输入,随后处理器180根据触摸事件的类型在 显示面板根据用户输入通过I/O子系统170在显示面板141上提供相应的视觉输出。虽然在图2中,触控面板142与显示面板141是作为两个独立的部件来实现手机100的输入和输入功能,但是在某些实施例中,可以将触控面板142与显示面板141集成而实现手机100的输入和输出功能。The display screen 140 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone 100, and can also accept user input. The specific display screen 140 may include a display panel 141 and a touch panel 142. The display panel 141 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. The touch panel 142, also referred to as a touch screen, a touch sensitive screen, etc., can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 142. Or the operation in the vicinity of the touch panel 142 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and drives the corresponding connection device according to a preset program. Optionally, the touch panel 142 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the signal into a processor. The processed information is sent to the processor 180 and can receive commands from the processor 180 and execute them. In addition, the touch panel 142 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 142 can be implemented by any technology developed in the future. Further, the touch panel 142 can cover the display panel 141, and the user can display the content according to the display panel 141 (the display content includes, but is not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) on the display panel 141. Covered when operating on or near the touch panel 142, the touch panel 142 detects a touch operation thereon or nearby, and transmits it to the processor 180 through the I/O subsystem 170 to determine the type of touch event to determine the user. Input, then processor 180 is based on the type of touch event The display panel provides a corresponding visual output on display panel 141 via I/O subsystem 170 in accordance with user input. Although in FIG. 2, the touch panel 142 and the display panel 141 are two separate components to implement the input and input functions of the mobile phone 100, in some embodiments, the touch panel 142 may be integrated with the display panel 141. The input and output functions of the mobile phone 100 are implemented.
手机100还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在手机100移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset 100 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the mobile phone 100 moves to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc. As for the mobile phone 100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路160、扬声器161,麦克风162可提供用户与手机100之间的音频接口。音频电路160可将接收到的音频数据转换后的信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,麦克风162将收集的声音信号转换为信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路108以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the handset 100. The audio circuit 160 can transmit the converted audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into a signal, which is received by the audio circuit 160. The audio data is converted to audio data, which is then output to the RF circuit 108 for transmission to, for example, another mobile phone, or the audio data is output to the memory 120 for further processing.
I/O子系统170用来控制输入输出的外部设备,可以包括其他设备输入控制器171、传感器控制器172、显示控制器173。可选的,一个或多个其他输入控制设备控制器171从其他输入设备130接收信号和/或者向其他输入设备130发送信号,其他输入设备130可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是,其他输入控制设备控制器171可以与任一个或者多个上述设备连接。所述I/O子系统170中的显示控制器173从显示屏140接收信号和/或者向显示屏140发送信号。显示屏140检 测到用户输入后,显示控制器173将检测到的用户输入转换为与显示在显示屏140上的用户界面对象的交互,即实现人机交互。传感器控制器172可以从一个或者多个传感器150接收信号和/或者向一个或者多个传感器150发送信号。The I/O subsystem 170 is used to control external devices for input and output, and may include other device input controllers 171, sensor controllers 172, and display controllers 173. Optionally, one or more other input control device controllers 171 receive signals from other input devices 130 and/or send signals to other input devices 130. Other input devices 130 may include physical buttons (press buttons, rocker buttons, etc.) , dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that other input control device controllers 171 can be connected to any one or more of the above devices. Display controller 173 in I/O subsystem 170 receives signals from display 140 and/or transmits signals to display 140. Display 140 check Upon detecting the user input, the display controller 173 converts the detected user input into an interaction with the user interface object displayed on the display screen 140, ie, implements human-computer interaction. Sensor controller 172 can receive signals from one or more sensors 150 and/or send signals to one or more sensors 150.
处理器180是手机100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理单元;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the handset 100, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the mobile phone 100 are executed to perform overall monitoring of the mobile phone. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
手机100还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The handset 100 also includes a power source 190 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 180 via a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
尽管未示出,手机100还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
因为在用户欠费停机后,SIM卡PS域无效,所以用户重新充值后,重启手机才会重新恢复PS域为正常,从而可以再次使用数据业务。否则,即使充值成功也会无法使用数据业务。用户充值后发现电话业务正常而数据业务不通时,经常会去反复手动开关数据业务,或开关飞行模式,但却仍然无法恢复数据业务。这给用户带来了困扰,甚至会认为终端存在问题。Because the SIM card PS domain is invalid after the user owes a fee, after the user recharges, restarting the mobile phone will restore the PS domain to normal, so that the data service can be used again. Otherwise, the data service cannot be used even if the recharge is successful. After the user recharges and finds that the telephone service is normal and the data service is unreachable, the data service is often manually switched, or the flight mode is switched, but the data service cannot be recovered. This has caused problems for the user, and even thinks that there is a problem with the terminal.
图3为根据本发明一种可能的实施方式提供的终端设备的用户界面。如图所示,以手机为例,当终端设备100因为欠费停机时,终端设备100会收到运营商发送的提示短信,并显示在用户界面的短信模块中。这时终端设备100可以通过截图或者文本分析等方式来识别短信的内容,从而确定终端设备100当前已被停机。运营商发送的短信内容来自官方,比较权威,根据短信来判断结果较为准确。 FIG. 3 is a user interface of a terminal device provided according to a possible embodiment of the present invention. As shown in the figure, taking the mobile phone as an example, when the terminal device 100 is down due to arrears, the terminal device 100 receives the prompt message sent by the operator and displays it in the short message module of the user interface. At this time, the terminal device 100 can identify the content of the short message by means of screenshots or text analysis, etc., thereby determining that the terminal device 100 is currently down. The content of the SMS sent by the operator comes from the official, more authoritative, and the result is more accurate according to the short message.
可替代的,根据本发明的一种可能的实施方式,终端设备100也可以不通过应用层的短信模块,而是通过调制解调器来解析收到的短信,也可以确定终端设备100已被停机。由于不涉及应用层的授权,成功率更高,也可以有效保护用户的隐私,防止应用层的授权被滥用。Alternatively, according to a possible implementation manner of the present invention, the terminal device 100 may also parse the received short message through the short message module of the application layer, but through the modem, and may also determine that the terminal device 100 has been shut down. Since the authorization of the application layer is not involved, the success rate is higher, and the privacy of the user can be effectively protected, and the authorization of the application layer is prevented from being abused.
图4为根据本发明另一种可能的实施方式提供的终端设备的用户界面。如图所示,当终端设备100欠费后充值,已经恢复了电话业务时,SIM卡仍被置于无效状态,数据业务并没有恢复。此时终端设备100运行需要联网的APP,如浏览器,浏览器会提示用户不能正常使用数据业务。这时终端设备100可以通过截图或者文本分析等方式来识别APP中提示的内容,从而确定终端设备100当前已被停机。在本实施方式中,用户的体验比较自然,在需要联网时才得到提示。4 is a user interface of a terminal device provided according to another possible embodiment of the present invention. As shown in the figure, when the terminal device 100 recharges after arrears and the telephone service has been restored, the SIM card is still placed in an invalid state, and the data service is not restored. At this time, the terminal device 100 runs an APP that requires networking, such as a browser, and the browser prompts the user that the data service cannot be used normally. At this time, the terminal device 100 can identify the content prompted in the APP by means of screenshots or text analysis, etc., thereby determining that the terminal device 100 is currently down. In the present embodiment, the user's experience is relatively natural, and the prompt is obtained when the network is required.
值得一提的是,在本发明实施例中,需要联网的APP可以为支付宝、微信、Facebook、Amazon等。It is worth mentioning that in the embodiment of the present invention, the APP that needs to be networked may be Alipay, WeChat, Facebook, Amazon, and the like.
图5为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,终端设备100可以根据终端设备100的套餐情况和余额,自动判断用户当前的行为是否会导致欠费。例如当终端设备100余额不多时,进行了一个付费的长时间通话,则终端设备100可以判断出终端设备100当前已欠费,将被停机。因为运营商的短信提醒有可能并不及时,因此终端设备100的智能判断可以避免用户因错失短信而不知道已欠费,从而导致通信中断。FIG. 5 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, the terminal device 100 can automatically determine whether the current behavior of the user causes arrears according to the package status and balance of the terminal device 100. For example, when the terminal device 100 has a small balance and a long-time call is made, the terminal device 100 can determine that the terminal device 100 is currently in arrears and will be shut down. Because the SMS reminder of the operator may not be timely, the intelligent judgment of the terminal device 100 can prevent the user from being missed due to missing the short message, thereby causing communication interruption.
可替代的,根据本发明的一种可能的实施方式,终端设备100也可以是检测到终端设备100刚进行了大流量的下载行为,或者使用话费进行消费的行为,从而判断出终端设备100当前已欠费。Alternatively, according to a possible implementation manner of the present invention, the terminal device 100 may also detect that the terminal device 100 has just performed a downloading behavior of a large amount of traffic, or uses a call charge to perform the consumption, thereby determining that the terminal device 100 is currently Arrears have been made.
图6为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,当终端设备100判断出终端设备100当前余额不足时,可以在UI界面上给用户显示出一个提示信息,提示用户余额不足,需要充值。本实施方式不需要第三方软件支持,可靠性高。 FIG. 6 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, when the terminal device 100 determines that the current balance of the terminal device 100 is insufficient, the user may display a prompt message on the UI interface, prompting the user that the balance is insufficient and needs to be recharged. This embodiment does not require third-party software support and has high reliability.
图7为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,当终端设备100判断出当前余额不足时,可以不直接通过系统发出提示,而是在终端设备100打开一个需要联网的APP,如浏览器时,在APP内提示用户余额不足,需要充值。本实施方式体验自然,在用户需要联网时才显示提示。FIG. 7 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, when the terminal device 100 determines that the current balance is insufficient, the terminal device 100 may not directly send a prompt through the system, but when the terminal device 100 opens an APP that needs to be connected to the network, such as a browser, the user is insufficient to indicate the balance in the APP. Need to recharge. This embodiment experiences nature and displays a prompt when the user needs to be connected to the network.
图8为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,在终端设备100欠费,完成充值后,终端设备100根据收到的运营商发送的短信,通过截图或文本解析的方式,可以判断出此时已复机。因此,当前终端设备100的状态为电话业务可用,而数据业务不可用。在本实施方式中,来自运营商的短信内容较为权威,可以使得判断更准确。FIG. 8 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, after the terminal device 100 is in arrears, after completing the recharging, the terminal device 100 can determine that the device has been re-established at this time according to the received short message sent by the operator through screenshot or text analysis. Therefore, the current state of the terminal device 100 is that the telephone service is available, and the data service is not available. In the present embodiment, the content of the short message from the operator is more authoritative, which can make the judgment more accurate.
可替代的,根据本发明的一种可能的实施方式,终端设备100也可以不通过应用层的短信模块,而是通过调制解调器来解析收到的短信,也可以确定终端设备100已复机。Alternatively, according to a possible implementation manner of the present invention, the terminal device 100 may also parse the received short message by using a short message module of the application layer, but may also determine that the terminal device 100 has been backed up.
图9为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,有的时候,当终端设备100欠费后已充值,收到的短信并不会直接显示复机字样,而是只显示余额。终端设备100根据收到的短信,通过截图或文本解析的方式,确定当前余额为正,可以判断出此时已复机。在本实施方式中可以应对运营商短信内容的多样化,提供准确的判断。9 is a user interface of a terminal device provided in accordance with still another possible implementation of the present invention. As shown in the figure, sometimes, when the terminal device 100 has recharged after the arrears, the received short message does not directly display the duplicate text, but only the balance. The terminal device 100 determines that the current balance is positive according to the received short message by means of screenshot or text analysis, and can determine that the device has been re-established at this time. In the present embodiment, it is possible to respond to the diversification of the SMS content of the operator and provide an accurate judgment.
根据本发明一种可能的实施方式,终端设备100根据充值金额大于充值后的余额,可以直接判断出用终端设备100在充值前已欠费停机。According to a possible implementation manner of the present invention, the terminal device 100 can directly determine that the terminal device 100 has been in arrears before the recharge according to the recharge amount.
图10为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,有的时候,当终端设备100欠费后已充值,收到的短信并不会直接显示复机字样,而是只显示余额。且终端设备100充值的金额不够,导致充值后仍然余额不足。终端设备100根据收到的短信,通过截图或文本解析的方式,确定当前余额为负,可以判断出此时仍在停机状态。用户有可能不清楚欠费的实际金额,从而充值的金额不够,因此终端设备100根据实际余额来判断是否已复机更为准确。 FIG. 10 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, sometimes, when the terminal device 100 has recharged after the arrears, the received short message does not directly display the duplicate text, but only the balance. Moreover, the amount of the recharge of the terminal device 100 is insufficient, and the balance is still insufficient after the recharge. The terminal device 100 determines that the current balance is negative according to the received short message by means of screenshot or text analysis, and can determine that the current state is still in the shutdown state. The user may not be aware of the actual amount of the arrears, and thus the amount of recharging is insufficient, so the terminal device 100 determines whether the re-registration is more accurate based on the actual balance.
图11为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,终端设备100也可以不是通过短信来判断是否已充值,而是可以通过支付APP来判断。例如,用户使用支付宝来充值,终端设备100可以通过截屏、文本解析、或授权访问APP内容等方式,获取用户当前的充值行为,包括充值金额和充值号码,判断出用户当前已为终端设备100充值。当终端设备100之前判断出已欠费时,通过此时的充值行为可以判断出终端设备100已复机,并进一步判断出电话业务可用,而数据业务不可用。因为来自运营商的短信有可能发生延迟,本实施例通过获取支付APP的内容,可以判断出终端设备100已复机。FIG. 11 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, the terminal device 100 may not judge whether it has been recharged by using a short message, but may determine it by using a payment APP. For example, if the user uses Alipay to recharge, the terminal device 100 can obtain the user's current recharge behavior, including the recharge amount and the recharge number, by means of screen capture, text parsing, or authorized access to the APP content, and determine that the user has currently recharged the terminal device 100. . When the terminal device 100 previously determines that the charge has been owed, it can be determined that the terminal device 100 has been re-established by the recharge behavior at this time, and further determines that the telephone service is available, and the data service is unavailable. Because the short message from the operator may be delayed, in this embodiment, by obtaining the content of the payment APP, it can be determined that the terminal device 100 has been re-established.
可替代的,根据本发明的一种可能的实施方式,当用户使用电话来为终端设备100充值时,终端设备100可以获取拨打的号码是否为充值热线,和/或通话中的语音提示,来判断是否已充值成功,从而判断出终端设备100已复机。Alternatively, according to a possible implementation manner of the present invention, when the user uses the phone to recharge the terminal device 100, the terminal device 100 can obtain whether the dialed number is a recharge hotline, and/or a voice prompt during the call. It is judged whether the recharge has succeeded, thereby judging that the terminal device 100 has been re-established.
根据本发明的一种可能的实施方式,从充值到复机可能会存在延时,终端设备100也可以在判断出充值成功后,过了预设的一段时间,才确定终端设备100已复机。预设的时间可以为10s,1min,或5min等。According to a possible implementation manner of the present invention, there may be a delay from recharging to re-delivery, and the terminal device 100 may also determine that the terminal device 100 has been re-established after a predetermined period of time has elapsed after determining that the recharging is successful. . The preset time can be 10s, 1min, or 5min.
根据本发明的一种可能的实施方式,当终端设备100判断出已欠费时,也可以直接弹出系统自带的或者第三方支付APP的充值界面,提醒用户充值。可替代的,因为终端设备100欠费时,数据业务不可用,电话业务则除运营商以外的号码都不可进行,支付APP也可以在接受了用户的充值操作后,通过电话方式,自动拨出充值热线号码来进行充值。例如,支付APP可以将用户授权支付的款项兑换成运营商的充值卡,然后通过电话方式进行充值。According to a possible implementation manner of the present invention, when the terminal device 100 determines that the device has owed a fee, the recharge interface of the system or the third party payment APP may be directly popped up to remind the user to recharge. Alternatively, because the terminal device 100 owes time, the data service is unavailable, and the telephone service cannot be carried out except for the operator. The payment APP can also automatically dial out after receiving the user's recharge operation by telephone. Recharge the hotline number to recharge. For example, the payment APP can convert the amount authorized by the user to the operator's prepaid card, and then recharge by telephone.
图12为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,终端设备100也可以根据用户当前的行为判断终端设备100已欠费,或者欠费后已充值,而数据业务不可用。例如,当用户不能正常使用需要联网的APP时,用户可能会频繁地去点击数据开关或者飞行模式开关。这时,终端设备100可以单独判断,或者结合本发明实施例中其它条件判断出终端设备100已欠费,或者欠费后已充值。当判断出终端设备100已欠费时,可以提示用户充值。 当终端设备100之前判断出终端设备100已欠费,则终端设备100可以判断出此时用户的行为代表很可能已为终端设备100充值。FIG. 12 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, the terminal device 100 can also judge that the terminal device 100 has owed a fee according to the current behavior of the user, or has recharged after the arrears, and the data service is unavailable. For example, when a user cannot properly use an APP that requires networking, the user may frequently click on a data switch or an airplane mode switch. At this time, the terminal device 100 may judge separately or combine with other conditions in the embodiment of the present invention to determine that the terminal device 100 has owed a fee, or has recharged after arrears. When it is determined that the terminal device 100 has owed a fee, the user may be prompted to recharge. When the terminal device 100 previously determines that the terminal device 100 has owed a fee, the terminal device 100 can determine that the behavior representative of the user at this time is likely to have recharged the terminal device 100.
图13为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,当终端设备100之前判断出终端设备100已欠费,而此时用户进行了一个非运营商号码的付费通话,则终端设备100可以判断出用户已为终端设备100充值。此时电话业务可用,而数据业务不可用。FIG. 13 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, when the terminal device 100 determines that the terminal device 100 has owed a fee, and the user performs a paying call with a non-operator number, the terminal device 100 can determine that the user has recharged the terminal device 100. At this point the phone service is available and the data service is not available.
图14为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,当终端设备100判断出当前欠费后已充值,数据业务不可用时,可以在UI界面上弹出提示,提示用户重启手机。从而避免了用户不停地操作数据开关和飞行模式开关,却无法使用数据业务而带来的不好的体验。FIG. 14 is a user interface of a terminal device provided according to still another possible embodiment of the present invention. As shown in the figure, when the terminal device 100 determines that the current arrears have been recharged and the data service is unavailable, a prompt may pop up on the UI interface to prompt the user to restart the mobile phone. This avoids the user's incessant operation of the data switch and flight mode switch, but can not use the data service to bring a bad experience.
图15为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,与图14所示实施例不同的是,终端设备100提示用户是否要重启调制解调器。重启调制解调器不影响用户使用终端设备100的其它功能,如拍照等,具有良好的使用体验。Figure 15 is a user interface of a terminal device provided in accordance with yet another possible embodiment of the present invention. As shown, unlike the embodiment shown in Fig. 14, the terminal device 100 prompts the user whether or not to restart the modem. Restarting the modem does not affect the user's use of other functions of the terminal device 100, such as taking pictures, etc., and has a good user experience.
图16为根据本发明又一种可能的实施方式提供的终端设备的用户界面。如图所示,终端设备100也可以不提示用户选择,而是在判断出复机后直接重启调制解调器,使得终端设备100能够更快地使用数据业务。16 is a user interface of a terminal device provided in accordance with still another possible implementation of the present invention. As shown in the figure, the terminal device 100 may also not prompt the user to select, but directly restart the modem after determining that the duplex device is enabled, so that the terminal device 100 can use the data service more quickly.
图17为根据本发明一种可能的实施方式提供的终端设备恢复数据业务的流程图。如图所示,终端设备100先检测用户是否已欠费,如是,则可以提示用户充值或者弹出充值APP,在用户充值后,检测充值是否成功。当确定终端设备100欠费后充值成功时,可以弹出窗口,提示用户重启手机或者调制解调器,或者自动重启手机或者调制解调器。FIG. 17 is a flowchart of a terminal device recovering data service according to a possible implementation manner of the present invention. As shown in the figure, the terminal device 100 first detects whether the user has owed a fee. If yes, the user may be prompted to recharge or pop up the refill APP, and after the user recharges, it is detected whether the recharge is successful. When it is determined that the terminal device 100 is successfully recharged after the fee is arrear, a window may pop up, prompting the user to restart the mobile phone or the modem, or automatically restarting the mobile phone or the modem.
图18为根据本发明一种可能的实施方式提供的终端设备确定欠费的流程图。如图所示,当调制解调器上报收到在3gpp 24008(3G&2G)、或24301(4G)标准中定义的#7拒绝信令,即GPRS services not allowed时,终端设备100可以确定已欠费。当SIM卡上报状态为无效时,终端设备100可以确定已欠费。根据短信 模块收到的运营商短信,终端设备100可以确定已欠费。或者当终端设备100试图激活数据业务失败时,终端设备100可以确定已欠费。FIG. 18 is a flowchart of determining arrears by a terminal device according to a possible implementation manner of the present invention. As shown, when the modem reports that #7 reject signaling defined in the 3gpp 24008 (3G & 2G), or 24301 (4G) standard is received, that is, GPRS services not allowed, the terminal device 100 can determine that the arrears have been owed. When the status of the SIM card reporting is invalid, the terminal device 100 may determine that the arrears have been owed. According to SMS The operator receives the SMS message from the module, and the terminal device 100 can determine that the arrears have been owed. Or when the terminal device 100 attempts to activate the data service failure, the terminal device 100 may determine that the data has been owed.
值得一提的是,在本发明实施例的描述中,欠费也用来指代停机。It is worth mentioning that in the description of the embodiments of the present invention, the arrears are also used to refer to the shutdown.
根据本发明一种可能的实施方式,上述这些判断条件可以单独采用,或者组合采用。According to a possible implementation manner of the present invention, the above judgment conditions may be adopted alone or in combination.
图19为根据本发明另一种可能的实施方式提供的终端设备确定欠费的流程图。如图所示,当终端设备100的数据业务无法使用时,终端设备100先判断网络是否发出拒绝信令,即在3gpp 24008(3G&2G)、或24301(4G)标准中定义的#7拒绝信令,GPRS services not allowed。若否,终端设备100判断SIM卡的PS域是否处于无效状态。若否,终端设备100判断有欠费短信。若否,终端设备100确定原因为当前数据业务激活失败,并非欠费,则终端设备100可以尝试再次激活数据业务,如果终端设备100的数据业务仍然无法使用,可以再次检测其它条件。FIG. 19 is a flowchart of determining arrears by a terminal device according to another possible embodiment of the present invention. As shown in the figure, when the data service of the terminal device 100 cannot be used, the terminal device 100 first determines whether the network sends a reject signaling, that is, #7 reject signaling defined in the 3gpp 24008 (3G & 2G), or 24301 (4G) standard. , GPRS services not allowed. If not, the terminal device 100 determines whether the PS domain of the SIM card is in an invalid state. If not, the terminal device 100 determines that there is a short message. If not, the terminal device 100 determines that the current data service activation failure is not arrears, and the terminal device 100 may attempt to activate the data service again. If the data service of the terminal device 100 is still unavailable, other conditions may be detected again.
图20为根据本发明一种可能的实施方式提供的终端设备提醒欠费的流程图。如图所示,当终端设备100确定已经欠费时,则可以将提醒消息发送给系统自带的UI,或者发送给其它APP,来提醒用户终端设备100已经欠费。可替代的,提醒消息也可以不限于用UI的方式提供,还可以用振动、声音、灯光等方式呈现。FIG. 20 is a flowchart of a terminal device reminding arrears according to a possible implementation manner of the present invention. As shown in the figure, when the terminal device 100 determines that the payment has been owed, the reminder message may be sent to the UI that is included in the system, or sent to other APPs to remind the user that the terminal device 100 has owed money. Alternatively, the reminder message may not be limited to being provided by the UI, but may also be presented by vibration, sound, lighting, or the like.
图21为根据本发明一种可能的实施方式提供的终端设备确定充值成功的流程图。如图所示,当终端设备100欠费后,如果发生以下一个或多个事件,则可以确定充值成功,即已复机,当前终端设备100处于电话业务可用,而数据业务不可用的状态。例如,终端设备100进入了非运营商的主叫通话状态,而这一通话在停机状态下是不可用的,则确定充值成功。或者,终端设备100收到了运营商的短信,告知充值成功或者已复机。或者,其它支付APP,如支付宝、PayPal等,显示充值成功或充值支付成功。或者,欠费的信息之前已提示用户后,接收到用户此时操作开关数据业务或飞行模式,则确定充值成功。 FIG. 21 is a flowchart of determining, by a terminal device, a successful refill according to a possible embodiment of the present invention. As shown in the figure, after the terminal device 100 owes a fee, if one or more of the following events occur, it can be determined that the recharge is successful, that is, the device has been re-established, and the current terminal device 100 is in a state in which the telephone service is available and the data service is unavailable. For example, if the terminal device 100 enters the caller state of the non-operator and the call is unavailable in the stop state, it is determined that the recharge is successful. Alternatively, the terminal device 100 receives a short message from the operator, indicating that the recharge is successful or has been re-established. Or, other payment apps, such as Alipay, PayPal, etc., indicate that the recharge is successful or the recharge payment is successful. Alternatively, after the information of the arrears has been prompted to the user, the user receives the switch data service or the flight mode at this time, and determines that the recharge is successful.
图22为根据本发明另一种可能的实施方式提供的终端设备恢复数据业务的流程图。如图所示,当终端设备100确定充值成功后,可以用UI方式提醒用户重启终端设备100或调制解调器。如果用户未重启,或者从UI收到了用户重启的指示,可以判断此时是否有业务正在使用调制解调器,是否可以重启终端设备100。判断是否有业务正在使用调制解调器时,可以检测其它的主要应用,如通话应用的使用状态,来确定此时重启是否会影响用户对终端设备100的使用。确定可重启后,可以发送消息给调制解调器控制模块,重启调制解调器。FIG. 22 is a flowchart of recovering data services of a terminal device according to another possible embodiment of the present invention. As shown in the figure, after the terminal device 100 determines that the recharge is successful, the user may be prompted to restart the terminal device 100 or the modem by using the UI. If the user does not restart, or receives an indication that the user restarts from the UI, it can be determined whether there is a service using the modem at this time, and whether the terminal device 100 can be restarted. When judging whether a service is using a modem, it is possible to detect other major applications, such as the usage status of the call application, to determine whether the restart at this time affects the user's use of the terminal device 100. After confirming that it can be restarted, you can send a message to the modem control module to restart the modem.
进一步的,终端设备100在触发调制解调器重新启动之前,可以先判断一下调制解调器是否处于空闲状态,如果调制解调器处于空闲状态,则终端设备100可以直接触发调制解调器重新启动,如果调制解调器处于工作状态,则终端设备100可以在调制解调器从工作状态进入空闲状态时,触发调制解调器重新启动。其中,调制解调器的状态可以通过状态接口函数值表示,例如,当函数值为0时,表示调制解调器处于空闲状态,当函数值为1时,表示调制解调器处于工作状态;因此,终端设备100在判断调制解调器是否处于空闲状态时,可以调用状态接口函数获得函数值,如果函数值为0,则确定调制解调器处于空闲状态,如果函数值为1,则确定调制解调器处于工作状态,当调制解调器处于工作状态时,终端设备100可以按照预设周期(例如,终端设备1000毫秒)调用状态接口函数获得函数值,以判断调制解调器是否从工作状态进入空闲状态。Further, the terminal device 100 may first determine whether the modem is in an idle state before triggering the modem to restart. If the modem is in an idle state, the terminal device 100 may directly trigger the modem to restart. If the modem is in the working state, the terminal device 100 The modem restart can be triggered when the modem enters the idle state from the working state. The state of the modem can be represented by a state interface function value. For example, when the function value is 0, it indicates that the modem is in an idle state, and when the function value is 1, it indicates that the modem is in an active state; therefore, the terminal device 100 determines whether the modem is in the working state. When in the idle state, the state interface function can be called to obtain the function value. If the function value is 0, it is determined that the modem is in an idle state. If the function value is 1, the modem is determined to be in the working state, and when the modem is in the working state, the terminal device 100 is in the idle state. The function interface value can be obtained by calling a state interface function according to a preset period (for example, the terminal device 1000 milliseconds) to determine whether the modem enters the idle state from the working state.
可替代的,根据本发明一种可能的实施方式,当用户选择了手动重启时,终端设备100也可以判断调制解调器是否处于空闲状态,来决定立即重启或延时重启。Alternatively, according to a possible implementation manner of the present invention, when the user selects a manual restart, the terminal device 100 may also determine whether the modem is in an idle state to decide to restart immediately or delay the restart.
图23为根据本发明又一种可能的实施方式提供的终端设备恢复数据业务的流程图。如图所示,终端设备100在确定充值成功以后,可以向UI发消息提醒用户重启。如用户执行了重启终端设备100或调制解调器,则检测数据业务是否恢复。 FIG. 23 is a flowchart of recovering data services of a terminal device according to another possible implementation manner of the present invention. As shown in the figure, after determining that the recharge is successful, the terminal device 100 may send a message to the UI to remind the user to restart. If the user performs a restart of the terminal device 100 or the modem, it is detected whether the data service is restored.
如用户没有执行手动重启,则终端设备100确定当前是否有电话或短信业务在处理。如果是,则说明调制解调器被占用,此时重启会影响用户的体验,则可以稍后或周期性地继续检测调制解调器是否仍在被占用。If the user does not perform a manual restart, the terminal device 100 determines whether there is currently a call or short message service being processed. If so, the modem is occupied and the reboot will affect the user's experience, and it can be continued later or periodically to detect if the modem is still being used.
如果当前没有电话或短信业务在处理,则终端设备100发RESTART消息给RIL(Radio Interface Layer),RIL重启modem(调制解调器)。If no telephone or short message service is currently being processed, the terminal device 100 sends a RESTART message to the RIL (Radio Interface Layer), and the RIL restarts the modem (modem).
在modem重启完成后,终端设备100检测数据业务是否恢复;如果modem重启没有完成,则再次执行重启modem的步骤。After the modem restart is completed, the terminal device 100 detects whether the data service is restored; if the modem restart is not completed, the step of restarting the modem is performed again.
以Android为例,RIL(Radio Interface Layer)为无线接口层,负责Android上层同modem间的通信适配。Android的RIL层主要分成两个部分:RIL Daemon和Vendor RIL。Taking Android as an example, RIL (Radio Interface Layer) is a wireless interface layer, which is responsible for communication adaptation between the upper layer of Android and the modem. Android's RIL layer is divided into two parts: RIL Daemon and Vendor RIL.
RIL Daemon由C/C++写成,负责透过socket承接来自于Java框架的请求,并且将请求找到对应的函数后转往Vendor RIL。另外也负责将来自Vendor RIL的回应回报给Java框架。RIL Daemon is written in C/C++ and is responsible for taking requests from the Java framework through the socket and requesting the corresponding function to be transferred to Vendor RIL. It is also responsible for returning the response from Vendor RIL to the Java framework.
Vendor RIL为各数据芯片的供应商所提供,RIL Daemon和Vendor RIL有一个统一的函式接口,定义于RIL Daemon,如此可以使Android系统轻松抽换底层的硬件。Vendor RIL负责承接来自于RIL Daemon的指令,将之转换成调制解调器可以接受的海斯命令集指令后,传递到数据芯片所对应到专属的频道。另外,也会负责监听各数据频道以获得调制解调器回应的指令,并将之做简单的解析后传回到RIL Daemon。Vendor RIL is available to vendors of data chips. RIL Daemon and Vendor RIL have a unified interface defined by RIL Daemon, which allows the Android system to easily swap the underlying hardware. Vendor RIL is responsible for taking instructions from the RIL Daemon, converting it to a Hayes command set command acceptable to the modem, and passing it to the dedicated channel of the data chip. In addition, it will also be responsible for listening to each data channel to get the modem's response, and then simply parsing it back to the RIL Daemon.
图24为根据本发明一种可能的实施方式提供的终端设备的调制解调器部分结构的框架图。Modem(调制解调器),也称为baseband(基带),主要处理移动通信协议栈相关功能(如语音、数据、短信、彩信等),负责同网络侧进行信令或数据交互。Figure 24 is a block diagram showing the structure of a modem portion of a terminal device according to a possible embodiment of the present invention. Modem (modem), also known as baseband (baseband), mainly handles mobile communication protocol stack related functions (such as voice, data, SMS, MMS, etc.), and is responsible for signaling or data interaction with the network side.
本发明实施方式中的各种判断条件可以为唯一条件,或者组合起来,或者具有不同权重来作为辅助条件。The various judgment conditions in the embodiments of the present invention may be unique conditions, or combined, or have different weights as auxiliary conditions.
本发明的各实施方式可以任意进行组合,以实现不同的技术效果。 Embodiments of the present invention can be arbitrarily combined to achieve different technical effects.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. By way of example and not limitation, computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure. The desired program code and any other medium that can be accessed by the computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated media. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的实施例而已,并非用于限定本发明的保护范围。凡在本发明的揭露之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc., made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims (24)

  1. 一种数据业务恢复方法,包括:A data service recovery method includes:
    终端设备确定已复机;及The terminal device determines that the device has been re-opened; and
    所述终端设备重启调制解调器,以恢复所述终端设备的数据业务。The terminal device restarts the modem to recover data services of the terminal device.
  2. 如权利要求1所述的方法,其中,所述终端设备通过以下一个或多个条件来确定已复机:所述终端设备处于电话业务可用,而数据业务不可用的状态;或者,所述终端设备收到了运营商的短信,告知充值成功或者已复机;或者,支付APP显示充值成功或充值支付成功;或者,接收到用户操作开关数据业务或飞行模式。The method of claim 1, wherein the terminal device determines that the device has been re-established by one or more of the following conditions: the terminal device is in a state in which the telephone service is available, and the data service is unavailable; or the terminal The device receives a short message from the operator to inform that the recharge is successful or has been re-opened; or, the payment APP indicates that the recharge is successful or the recharge payment is successful; or, the user operates the switch data service or the flight mode.
  3. 如权利要求1-2任一项所述的方法,其中,所述终端设备通过重启所述终端设备来重启所述调制解调器。The method of any of claims 1-2, wherein the terminal device restarts the modem by restarting the terminal device.
  4. 如权利要求1-3任一项所述的方法,进一步包括:所述终端设备提示用户重启所述调制解调器,并接收所述用户的指令来重启所述调制解调器。A method according to any of claims 1-3, further comprising the terminal device prompting the user to restart the modem and receiving an instruction from the user to restart the modem.
  5. 如权利要求1-4任一项所述的方法,进一步包括:在所述终端设备确定已复机之前,所述终端设备确定已停机。A method according to any one of claims 1 to 4, further comprising the terminal device determining that the machine has been stopped before the terminal device determines that the device has been re-established.
  6. 如权利要求2-5任一项所述的方法,其中,所述终端设备在判断出充值成功后,过了预设的一段时间,才确定所述终端设备已复机。The method according to any one of claims 2 to 5, wherein the terminal device determines that the terminal device has been re-established after a predetermined period of time has elapsed after determining that the recharging is successful.
  7. 如权利要求5-6任一项所述的方法,其中,所述终端设备通过以下一个或多个条件来确定已停机:所述调制解调器上报收到GPRS services not allowed信令;或者,SIM卡上报PS域状态为无效;或者,短信模块收到运营商短信告知已停机;或者,所述终端设备激活数据业务失败;或者,根据所述终端设备的套餐和余额,所述终端设备进行了导致欠费的消费。The method of any of claims 5-6, wherein the terminal device determines that the shutdown has occurred by one or more of the following conditions: the modem reports receipt of GPRS services not allowed signaling; or, a SIM card The status of the reported PS domain is invalid; or the short message module receives the short message from the operator to inform that the data has been stopped; or the terminal device fails to activate the data service; or, according to the package and balance of the terminal device, the terminal device performs Arrears of consumption.
  8. 如权利要求7所述的方法,其中,所述终端设备进行了导致欠费的消费包括:所述终端设备进行了一个付费的长时间通话;所述终端设备进行了大流量的下载;所述终端设备使用话费进行消费。 The method of claim 7, wherein the terminal device performs the consumption that causes the arrears to include: the terminal device performs a long-term call for payment; the terminal device performs a download of a large amount of traffic; The terminal device uses the credit for consumption.
  9. 如权利要求5-8任一项所述的方法,进一步包括:当所述终端设备确定已经欠费或停机时,将提醒消息发送给所述终端设备自带的UI,或者发送给其它APP,来提醒用户所述终端设备已经欠费或停机,或者提醒用户充值。The method according to any one of claims 5-8, further comprising: when the terminal device determines that the terminal has been in arrears or is down, sending a reminder message to the UI that is provided by the terminal device, or sending the message to another APP. To remind the user that the terminal device has been in arrears or downtime, or to remind the user to recharge.
  10. 如权利要求9所述的方法,其中,所述终端设备在运行需要联网的APP时,提示用户所述终端设备已欠费或已停机。The method according to claim 9, wherein the terminal device prompts the user that the terminal device has been in arrears or has been down when running an APP that requires networking.
  11. 如权利要求2-10任一项所述的方法,其中,所述支付APP在接受了用户的充值操作后,通过电话方式,自动拨出充值热线号码来进行充值。The method according to any one of claims 2 to 10, wherein the payment APP automatically dials the recharge hotline number to perform refilling after receiving the recharge operation of the user.
  12. 如权利要求1-11任一项所述的方法,其中,所述终端设备在触发所述调制解调器重新启动之前,先判断所述调制解调器是否处于空闲状态,如果所述调制解调器处于空闲状态,则所述终端设备直接触发所述调制解调器重新启动;如果所述调制解调器处于工作状态,则所述终端设备在所述调制解调器从工作状态进入空闲状态时,触发所述调制解调器重新启动。The method according to any one of claims 1 to 11, wherein the terminal device determines whether the modem is in an idle state before triggering the modem to restart, and if the modem is in an idle state, The terminal device directly triggers the modem to restart; if the modem is in an active state, the terminal device triggers the modem to restart when the modem enters an idle state from an active state.
  13. 一种终端设备,包括:A terminal device comprising:
    处理器;及Processor; and
    存储介质,其中,所述存储介质存储有程序,所述程序使得所述终端设备执行以下步骤:a storage medium, wherein the storage medium stores a program, the program causing the terminal device to perform the following steps:
    所述终端设备确定已复机;及The terminal device determines that the device has been re-opened;
    所述终端设备重启调制解调器,以恢复所述终端设备的数据业务。The terminal device restarts the modem to recover data services of the terminal device.
  14. 如权利要求13所述的终端设备,其中,所述终端设备通过以下一个或多个条件来确定已复机:所述终端设备处于电话业务可用,而数据业务不可用的状态;或者,所述终端设备收到了运营商的短信,告知充值成功或者已复机;或者,支付APP显示充值成功或充值支付成功;或者,接收到用户操作开关数据业务或飞行模式。The terminal device according to claim 13, wherein the terminal device determines that the device has been re-established by one or more of the following conditions: the terminal device is in a state in which the telephone service is available, and the data service is unavailable; or The terminal device receives the short message from the operator to inform that the recharge is successful or has been re-opened; or, the payment APP indicates that the recharge is successful or the recharge payment is successful; or the user operates the switch data service or the flight mode.
  15. 如权利要求13-14任一项所述的终端设备,其中,所述终端设备通过重启所述终端设备来重启所述调制解调器。 The terminal device according to any one of claims 13 to 14, wherein the terminal device restarts the modem by restarting the terminal device.
  16. 如权利要求13-15任一项所述的终端设备,所述程序进一步包括:所述终端设备提示用户重启所述调制解调器,并接收所述用户的指令来重启所述调制解调器。The terminal device according to any one of claims 13 to 15, the program further comprising: the terminal device prompting a user to restart the modem, and receiving an instruction of the user to restart the modem.
  17. 如权利要求13-16任一项所述的终端设备,所述程序进一步包括:在所述终端设备确定已复机之前,所述终端设备确定已停机。The terminal device according to any one of claims 13 to 16, the program further comprising: before the terminal device determines that the device has been re-established, the terminal device determines that the device has been down.
  18. 如权利要求14-17任一项所述的终端设备,其中,所述终端设备在判断出充值成功后,过了预设的一段时间,才确定所述终端设备已复机。The terminal device according to any one of claims 14-17, wherein the terminal device determines that the terminal device has been re-established after a predetermined period of time has elapsed after determining that the recharging is successful.
  19. 如权利要求17-18任一项所述的终端设备,其中,所述终端设备通过以下一个或多个条件来确定已停机:所述调制解调器上报收到GPRS services not allowed信令;或者,SIM卡上报PS域状态为无效;或者,短信模块收到运营商短信告知已停机;或者,所述终端设备激活数据业务失败;或者,根据所述终端设备的套餐和余额,所述终端设备进行了导致欠费的消费。The terminal device according to any one of claims 17 to 18, wherein the terminal device determines that the shutdown has occurred by one or more of the following conditions: the modem reports receipt of GPRS services not allowed signaling; or, SIM The status of the PS domain reported by the card is invalid; or the short message module receives the short message from the operator to inform that the data has been stopped; or the terminal device fails to activate the data service; or, according to the package and balance of the terminal device, the terminal device performs Lead to arrears of consumption.
  20. 如权利要求19所述的终端设备,其中,所述终端设备进行了导致欠费的消费包括:所述终端设备进行了一个付费的长时间通话;所述终端设备进行了大流量的下载;所述终端设备使用话费进行消费。The terminal device according to claim 19, wherein the terminal device performs the consumption that causes the arrears to include: the terminal device performs a long-term call for payment; the terminal device performs a download of a large amount of traffic; The terminal device uses the credit for consumption.
  21. 如权利要求17-20任一项所述的终端设备,进一步包括:当所述终端设备确定已经欠费或停机时,将提醒消息发送给所述终端设备自带的UI,或者发送给其它APP,来提醒用户所述终端设备已经欠费或停机,或者提醒用户充值。The terminal device according to any one of claims 17 to 20, further comprising: when the terminal device determines that the terminal device has been in arrears or stops, sending a reminder message to the UI that is provided by the terminal device, or sending the message to another APP. To remind the user that the terminal device has been in arrears or downtime, or to remind the user to recharge.
  22. 如权利要求21所述的终端设备,其中,所述终端设备在运行需要联网的APP时,提示用户所述终端设备已欠费或已停机。The terminal device according to claim 21, wherein the terminal device prompts the user that the terminal device has been in arrears or has been down when running an APP that requires networking.
  23. 如权利要求14-22任一项所述的终端设备,其中,所述支付APP在接受了用户的充值操作后,通过电话方式,自动拨出充值热线号码来进行充值。The terminal device according to any one of claims 14 to 22, wherein the payment APP automatically dials the recharge hotline number to perform recharge after receiving the recharge operation of the user.
  24. 如权利要求13-23任一项所述的终端设备,其中,所述终端设备在触发所述调制解调器重新启动之前,先判断所述调制解调器是否处于空闲状态,如果所述调制解调器处于空闲状态,则所述终端设备直接触发所述调制解调器 重新启动;如果所述调制解调器处于工作状态,则所述终端设备在所述调制解调器从工作状态进入空闲状态时,触发所述调制解调器重新启动。 The terminal device according to any one of claims 13 to 23, wherein the terminal device determines whether the modem is in an idle state before triggering the modem to restart, and if the modem is in an idle state, The terminal device directly triggers the modem Restarting; if the modem is in an active state, the terminal device triggers the modem to restart when the modem enters an idle state from an active state.
PCT/CN2016/113172 2016-11-03 2016-12-29 Terminal device, and method for restoring data service by terminal device WO2018082182A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201680090507.8A CN109891942A (en) 2016-11-03 2016-12-29 The method and terminal device of terminal device recovery data service

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610959084 2016-11-03
CN201610959084.0 2016-11-03

Publications (1)

Publication Number Publication Date
WO2018082182A1 true WO2018082182A1 (en) 2018-05-11

Family

ID=62075604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113172 WO2018082182A1 (en) 2016-11-03 2016-12-29 Terminal device, and method for restoring data service by terminal device

Country Status (2)

Country Link
CN (1) CN109891942A (en)
WO (1) WO2018082182A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116506977A (en) * 2023-06-25 2023-07-28 荣耀终端有限公司 Communication method, terminal and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973295B (en) * 2020-07-24 2023-03-24 华为技术有限公司 Network access control method, related device, equipment and computer storage medium
CN114157999B (en) * 2021-11-29 2023-03-21 中国联合网络通信集团有限公司 Processing method, system, equipment and medium for user to recover internet surfing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959170A (en) * 2009-07-20 2011-01-26 中国移动通信集团江苏有限公司 User assisting method and device for general packet radio service (GPRS)
US20130329638A1 (en) * 2012-06-12 2013-12-12 Qualcomm Incorporated Avoiding premature e-utran disabling
CN103596246A (en) * 2013-11-11 2014-02-19 华为终端有限公司 Method and terminal for recovering data service
CN105391706A (en) * 2015-10-30 2016-03-09 宁波萨瑞通讯有限公司 Arrearage Internet access limiting method, system and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898718A (en) * 2015-12-30 2016-08-24 乐视移动智能信息技术(北京)有限公司 Mobile phone arrearage reminding method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101959170A (en) * 2009-07-20 2011-01-26 中国移动通信集团江苏有限公司 User assisting method and device for general packet radio service (GPRS)
US20130329638A1 (en) * 2012-06-12 2013-12-12 Qualcomm Incorporated Avoiding premature e-utran disabling
CN103596246A (en) * 2013-11-11 2014-02-19 华为终端有限公司 Method and terminal for recovering data service
CN105391706A (en) * 2015-10-30 2016-03-09 宁波萨瑞通讯有限公司 Arrearage Internet access limiting method, system and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116506977A (en) * 2023-06-25 2023-07-28 荣耀终端有限公司 Communication method, terminal and system
CN116506977B (en) * 2023-06-25 2023-10-20 荣耀终端有限公司 Communication method, terminal and system

Also Published As

Publication number Publication date
CN109891942A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
US20210409536A1 (en) Notification Processing Method and Electronic Device
EP3764253B1 (en) Method for quickly opening application or application function, and terminal
WO2016150331A1 (en) Method and device for operating game client
WO2019218124A1 (en) Method for automatically switching sim cards, and electronic apparatus
WO2018049887A1 (en) Data transmission processing method and terminal device
CN107465841B (en) Fault information reporting method and terminal
WO2018049897A1 (en) Data backup method and device
WO2014206143A1 (en) Method, apparatus and device for displaying number of unread messages
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
JP6616896B2 (en) Fingerprint recognition method and electronic device
WO2018049893A1 (en) Data transmission method and terminal device
CN105930049A (en) Method for avoiding incorrect operation, and terminal
KR20190049801A (en) Data sharing methods and terminals
WO2018049894A1 (en) Data transmission method and device
WO2015010466A1 (en) Information display method and apparatus, and mobile terminal
WO2015024372A1 (en) Communication initiation method, apparatus, and mobile terminal
US10430174B2 (en) Terminal device and charge control method
WO2018082182A1 (en) Terminal device, and method for restoring data service by terminal device
CN103744574A (en) Method and device for turning off alarm clock of mobile terminal and mobile terminal
WO2016127286A1 (en) Call forwarding method, terminal and portable electronic device
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
CN108449806B (en) Information processing method, terminal and readable storage medium
JP6974620B2 (en) Notification message processing method and terminal
WO2015024393A1 (en) Method, apparatus, and terminal for sending sms message

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16920818

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16920818

Country of ref document: EP

Kind code of ref document: A1