CN105163290A - Roaming prompting method and apparatus - Google Patents

Roaming prompting method and apparatus Download PDF

Info

Publication number
CN105163290A
CN105163290A CN201510451142.4A CN201510451142A CN105163290A CN 105163290 A CN105163290 A CN 105163290A CN 201510451142 A CN201510451142 A CN 201510451142A CN 105163290 A CN105163290 A CN 105163290A
Authority
CN
China
Prior art keywords
roaming
setting
application program
instruction
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510451142.4A
Other languages
Chinese (zh)
Other versions
CN105163290B (en
Inventor
张卫东
王乐
刘鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510451142.4A priority Critical patent/CN105163290B/en
Publication of CN105163290A publication Critical patent/CN105163290A/en
Application granted granted Critical
Publication of CN105163290B publication Critical patent/CN105163290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Landscapes

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

Abstract

The invention relates to a roaming prompting method and apparatus, and belongs to the technical field of a mobile terminal. The method comprises the following steps: monitoring whether a mobile terminal is at a roaming state; and if the mobile terminal is at the roaming state, outputting roaming prompting information. According to the invention, through monitoring whether the mobile terminal is at the roaming state, when the mobile terminal is at the roaming state, the roaming prompting information is output, such that a user can be prompted timely, and high cost caused by random application of the mobile terminal due to unawareness of the user about the roaming state is avoided.

Description

Roaming prompting method and device
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a roaming prompting method and a roaming prompting device.
Background
The mobile terminal is an indispensable part in modern life and is mainly used for information interaction with the outside. When a user goes on a business trip or travels, the mobile terminal is in a roaming state, and in the roaming state, if the user uses some functions of the mobile terminal to be networked, high cost is generated, and loss is brought to the user.
Disclosure of Invention
In order to overcome the problems in the related art, the invention provides a roaming prompting method and a roaming prompting device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present invention, there is provided a roaming prompting method, including:
monitoring whether the mobile terminal is in a roaming state;
and if the mobile terminal is in the roaming state, outputting roaming prompt information.
In a possible implementation manner of the first aspect, the outputting roaming notification information if the mobile terminal is in a roaming state includes:
and outputting the roaming prompt information in a form of notification.
Preferably, the method further comprises:
receiving a first setting instruction input by a user according to the roaming prompt information;
and opening a roaming setting interface according to the first setting instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
In another possible implementation manner of the first aspect, the method further includes:
if the mobile terminal is in a roaming state, when an application program starting instruction input by a user is received, judging whether an application program corresponding to the application program starting instruction is allowed to use a data network in the roaming state;
if the application program corresponding to the application program opening instruction is allowed to use the data network in a roaming state, allowing the application program corresponding to the application program opening instruction to run;
and if the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state, the application program corresponding to the application program opening instruction is not allowed to run.
Preferably, the method further comprises:
and if the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state, outputting a setting prompt, wherein the setting prompt is used for prompting a user that the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state.
Preferably, the outputting the setting prompt includes:
and outputting the setting prompt in a dialog box form, wherein the setting prompt comprises an option control, the option control is used for a user to input a second setting instruction, and the second setting instruction is used for indicating whether the application program corresponding to the application program starting instruction is set to be allowed to use the data network in a roaming state.
In yet another possible implementation manner of the first aspect, the method further includes:
receiving a roaming setting interface opening instruction input by a user;
and opening a roaming setting interface according to the roaming setting interface opening instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
In yet another possible implementation manner of the first aspect, the method further includes: and receiving a third setting instruction input by the user, wherein the third setting instruction is used for indicating whether the application program is allowed to use the data network in the roaming state.
According to a second aspect of the embodiments of the present invention, there is provided a roaming prompting device, including:
the monitoring module is used for monitoring whether the mobile terminal is in a roaming state;
and the first output module is used for outputting roaming prompt information when the monitoring module monitors that the mobile terminal is in a roaming state.
In a possible implementation manner of the second aspect, the first output module is configured to output the roaming prompting information in the form of a notification.
Preferably, the apparatus further comprises:
the first receiving module is used for receiving a first setting instruction input by a user according to the roaming prompt information;
and the first opening module is used for opening a roaming setting interface according to the first setting instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
In yet another possible implementation manner of the second aspect, the apparatus further includes:
the judging module is used for judging whether the application program corresponding to the application program starting instruction is allowed to use the data network in the roaming state or not when the mobile terminal is in the roaming state and the application program starting instruction input by the user is received;
the execution module is used for allowing the application program corresponding to the application program opening instruction to run if the application program corresponding to the application program opening instruction is allowed to use the data network in a roaming state; and if the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state, the application program corresponding to the application program opening instruction is not allowed to run.
In another possible implementation manner of the second aspect, the apparatus further includes:
and the second output module is used for outputting a setting prompt when the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state, wherein the setting prompt is used for prompting a user that the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state.
Preferably, the second output module is configured to output the setting prompt in a form of a dialog box, where the setting prompt includes an option control, the option control is configured to be used by a user to input a second setting instruction, and the second setting instruction is configured to indicate whether an application corresponding to the application starting instruction is set to allow the data network to be used in a roaming state.
In yet another possible implementation manner of the second aspect, the apparatus further includes:
the second receiving module is used for receiving a roaming setting interface opening instruction input by a user;
and the second opening module is used for opening a roaming setting interface according to the roaming setting interface opening instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
In yet another possible implementation manner of the second aspect, the apparatus further includes:
and the third receiving module is used for receiving a third setting instruction input by the user through the roaming setting interface, wherein the third setting instruction is used for indicating whether the application program is allowed to use the data network in the roaming state.
According to a third aspect of the embodiments of the present invention, there is provided a roaming prompting device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether the mobile terminal is in a roaming state;
and if the mobile terminal is in the roaming state, outputting roaming prompt information.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
by monitoring whether the mobile terminal is in the roaming state or not, when the mobile terminal is in the roaming state, the roaming prompt message is output, so that the user can be reminded in time, and the high cost caused by the fact that the user does not know that the mobile terminal is in the roaming state and can use the mobile terminal at will is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of roaming alert in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another method of roaming alert in accordance with an illustrative embodiment;
FIG. 3 is a block diagram illustrating a roaming alert device in accordance with one illustrative embodiment;
FIG. 4 is a block diagram illustrating another roaming alert device in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a roaming alert device according to one exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a roaming alert method according to an exemplary embodiment, which is applied to a mobile terminal, as shown in fig. 1, and includes the following steps.
In step S11, it is monitored whether the mobile terminal is in a roaming state.
In the embodiment of the present invention, the roaming state mainly refers to an international roaming state, and since a high cost is usually incurred by using a data network in the international roaming state, the embodiment of the present invention mainly aims at the international roaming state. It is to be understood that the roaming state in this step may also include a national roaming state if higher charges are incurred for using the data network in the national roaming state.
In step S12, when the mobile terminal is in the roaming state, the roaming notification information is output.
If the mobile terminal is not in the roaming state, the process continues to step S11.
In an implementation manner of this embodiment, the step S12 may include:
and outputting the roaming prompt information in the form of notification.
It should be noted that, in other implementation manners of this embodiment, the roaming prompt may also be output in the form of a short message, a dialog box, and the like, which is not limited in the present invention.
The embodiment outputs the roaming prompt information by monitoring whether the mobile terminal is in the roaming state or not, so that the user can be reminded in time, and the high cost caused by the fact that the user does not know that the mobile terminal is in the roaming state and is used at will is avoided.
Fig. 2 is a flowchart illustrating a roaming alert method according to an exemplary embodiment, which is applied to a mobile terminal, as shown in fig. 2, and includes the following steps.
In step S21, it is monitored whether the mobile terminal is in a roaming state.
In an implementation manner of this embodiment, the step S21 may include:
when the mobile terminal is started, detecting whether the mobile terminal is in a roaming state; or,
and detecting whether the mobile terminal is in a roaming state or not in the normal work of the mobile terminal.
Further, taking the android system as an example, when the mobile terminal is powered on, whether the mobile terminal is in a roaming state is detected, and the following method may be adopted:
when a Sim (subscriber identity module) card is in the mobile terminal and the network is connected, an isNetworkRoaming () interface in a TelephonManager class is called to determine whether the mobile terminal is in a roaming state.
When the mobile terminal works normally, whether the mobile terminal is in a roaming state is detected, and the following modes can be adopted: and monitoring whether the mobile terminal is in a roaming state or not by adopting a mobile phone state monitor PhoneStateListener.
Further, a phone state listener phonestatemeratriener may be registered in the background service, when the state of the mobile terminal changes, the phone state listener returns the current state to the background service by a callback function onservicestatechange (servicestate), and the background service calls a state.
In step S22, when the mobile terminal is in the roaming state, the roaming notification information is output.
In this embodiment, the roaming prompting information is used for the user to input a first setting instruction, and the first setting instruction is used for instructing to open a roaming setting interface. When the method is implemented, the roaming prompt information is used for providing an interface for opening a roaming setting interface, and when the fact that the user clicks the roaming prompt information (namely, a first setting instruction) is detected, the roaming setting interface is opened, so that the user can directly enter the roaming setting interface through the roaming prompt information, operation steps of the user are few, and operation time of the user can be reduced.
In an implementation manner of this embodiment, the step S22 may include:
and outputting the roaming prompt information in the form of notification. In the implementation mode, the roaming prompt is output in a notification mode, the normal use of the mobile terminal by a user at present cannot be influenced, the default control of the system can be directly called for implementation, and the implementation is simple.
When the method is realized, when the mobile terminal is in a roaming state, a floating notice (namely roaming prompt information) is popped up at the top of the mobile terminal, if the notice is detected to be clicked by a user, a roaming setting interface is opened, and if the notice is not detected to be clicked by the user, the notice is stored in a notice column so as to be conveniently operated when the user needs.
In another implementation manner of this embodiment, the step S22 may include:
when the mobile terminal is in a screen locking state, outputting roaming prompt information in a dialog box mode;
and when the mobile terminal is in the unlocked state, outputting the roaming prompt information in a form of notification.
In the implementation mode, in the screen locking state, the roaming prompt information is output in a dialog box mode, so that the user can be more easily noticed; and the roaming prompt information is output in a notification mode in the unlocking state, so that the normal use of the mobile terminal by the user at present is not influenced. The two forms can call the default control of the system to realize, and the realization is simple.
Accordingly, the method further comprises the steps of:
in step S23, receiving a first setting instruction input by the user according to the roaming prompting information;
in step S24, the roaming setting interface is opened according to the first setting instruction.
The roaming setting interface may include a plurality of applications (e.g., application names, icons, etc.) and setting options corresponding to the applications one to one, the setting options being used for a user to set whether to allow the corresponding application to use the data network in the roaming state. The setting options may be selection boxes, switch controls, and the like. By setting a setting option for each application, a user can easily and quickly select an application that can use the data network in a roaming state.
Accordingly, the method may further comprise:
in step S25, a third setting instruction input by the user according to the roaming setting interface is received, the third setting instruction being used to indicate whether the application is allowed to use the data network in the roaming state. The third setting instruction is input by checking the selection frame and opening the switch control.
In the embodiment of the present invention, the method may further include: and generating an application program white list according to the third setting instruction, wherein the application program white list comprises the application programs which are allowed to use the data network in the roaming state. After the application white list is generated, it may be determined whether the application is allowed to use the data network in the roaming state by looking up the application in the application white list. It should be noted that, in the embodiment of the present invention, a white list of an application is taken as an example for description, but in other implementation manners of the embodiment of the present invention, a black list of the application (including an application that is not allowed to use a data network in a roaming state) may also be set, or an identification bit is set for the application, and whether the application is allowed to use the data network in the roaming state is marked by the identification bit of the application.
The method of the embodiment of the invention can also comprise the following steps:
in step S26, if the mobile terminal is in the roaming state, when an application start command input by the user is received, it is determined whether the application corresponding to the application start command is allowed to use the data network in the roaming state.
If the application program is started and executed and the corresponding application program is allowed to use the data network in the roaming state, step S27 is executed; if the application corresponding to the application start command is not allowed to use the data network in the roaming state, steps S28 and S29 are performed.
When implemented, this step S26 may be implemented as follows: and judging whether the application program corresponding to the application program opening instruction exists in an application program white list or not. If the application program corresponding to the application program opening instruction exists in the application program white list, indicating that the application program corresponding to the application program opening instruction is allowed to use the data network in the roaming state; if the application program corresponding to the application program opening instruction does not exist in the application program white list, the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state.
In step S27, the application corresponding to the application start instruction is allowed to run.
In step S28, the application corresponding to the application start instruction is not permitted to run.
According to the embodiment of the invention, before the application program corresponding to the application program opening instruction is operated, whether the application program corresponding to the application program opening instruction is allowed to use the data network in the roaming state is judged, and if the application program is allowed to use the data network in the roaming state, the operation of the application program is forbidden, so that the application program can be further ensured not to consume the flow under the condition of not being allowed.
The method of the embodiment of the invention can also comprise the following steps:
in step S29, a setting prompt for prompting the user that the application corresponding to the application start instruction is not allowed to use the data network in the roaming state is output.
The embodiment of the invention informs the user of the reason of the non-running of the application program by outputting the setting prompt so as to facilitate the user to carry out subsequent operation.
Preferably, the step S29 may include:
and outputting a setting prompt in a dialog box form, wherein the setting prompt comprises an option control, the option control is used for a user to input a second setting instruction, and the second setting instruction is used for indicating whether the application program corresponding to the application program starting instruction is set to be allowed to use the data network in the roaming state. The embodiment of the invention provides the option control in the setting prompt, so that the user can directly adopt the option control to modify the roaming setting of the application program, and the operation steps of the user are saved under the condition that the user determines to use the application program.
In one implementation of this step S29, the setting prompt may be in a manner that outputs a text message "add application to application whitelist? And the dialog box comprises two option controls of 'yes' and 'no', if the user clicks 'yes', the application program is added into the application program white list, and if the user clicks 'no', the application program is not added into the application program white list.
In another implementation of this step S29, the setting prompt may be in such a way that a text message "are allowed to use the data network in roaming status? And the dialog box comprises two option controls of 'yes' and 'no', if the user clicks 'yes', the application program is set to allow the data network to be used in the roaming state, and if the user clicks 'no', no action is executed.
Correspondingly, the method of the embodiment of the invention further comprises the following steps:
in step S30, a second setting instruction input by the user using the setting prompt is received, and the second setting instruction is executed.
Optionally, the method of the present invention may further comprise:
receiving a roaming setting interface opening instruction input by a user;
and opening the roaming setting interface according to the roaming setting interface opening instruction.
The roaming setting interface may have the same form as the roaming setting interface in step S22, and a detailed description thereof is omitted. The roaming setting interface opening instruction is input through a 'setup' menu of the mobile terminal. According to the embodiment of the invention, the roaming setting interface is opened according to the roaming setting interface opening instruction input by the user, so that the user can enter the roaming setting interface to set at any time when needing.
Accordingly, the method may further include receiving a third setting instruction input by the user through the roaming setting interface, the third setting instruction indicating whether the application is allowed to use the data network in the roaming state.
It should be noted that, the step of receiving the roaming setting interface opening instruction input by the user and opening the roaming setting interface according to the roaming setting interface opening instruction may be executed when the user needs it, and there is no sequence between the step S23 and the step S30.
The embodiment outputs the roaming prompt information by monitoring whether the mobile terminal is in the roaming state or not, so that the user can be reminded in time, and the high cost caused by the fact that the user does not know that the mobile terminal is in the roaming state and is used at will is avoided. And, the user can set an application program allowing access to the data network through the roaming setting interface, so that it is possible to prevent unnecessary application from using the data network in a roaming state to generate additional costs.
FIG. 3 is a block diagram illustrating a roaming alert device according to one exemplary embodiment. Referring to fig. 3, the apparatus includes a monitoring module 301 and a first output module 302.
The monitoring module 301 is configured to monitor whether the mobile terminal is in a roaming state.
The first output module 302 is configured to output the roaming prompting message when the monitoring module 301 monitors that the mobile terminal is in the roaming state.
The embodiment outputs the roaming prompt information by monitoring whether the mobile terminal is in the roaming state or not, so that the user can be reminded in time, and the high cost caused by the fact that the user does not know that the mobile terminal is in the roaming state and is used at will is avoided.
FIG. 4 is a block diagram illustrating a roaming alert device according to one exemplary embodiment. Referring to fig. 4, the apparatus includes a monitoring module 401 and a first output module 402.
The monitoring module 401 is configured to monitor whether the mobile terminal is in a roaming state.
The first output module 402 is configured to output the roaming prompting information when the monitoring module 401 monitors that the mobile terminal is in the roaming state.
In one implementation manner of the present embodiment, the first output module 402 is configured to output the roaming prompting information in the form of a notification.
In this embodiment, the roaming prompting information is used for the user to input a first setting instruction, and the first setting instruction is used for instructing to open a roaming setting interface. When the method is implemented, the roaming prompt information is used for providing an interface for opening a roaming setting interface, and when the fact that the user clicks the roaming prompt information (namely, a first setting instruction) is detected, the roaming setting interface is opened. In this embodiment, the apparatus may further include:
a first receiving module 403 and a first opening module 404, wherein the first receiving module 403 is configured to receive a first setting instruction input by a user according to the roaming prompt information; the generating module 404 is configured to open a roaming setting interface according to the first setting instruction received by the first receiving module 403, where the roaming setting interface includes a plurality of applications and setting options corresponding to the applications one to one, and the setting options are used for a user to set whether to allow the corresponding applications to use the data network in the roaming state.
In the embodiment of the present invention, the apparatus may further include:
a judging module 405 and an executing module 406, wherein the judging module is configured to judge whether an application corresponding to an application starting instruction is allowed to use the data network in a roaming state when the mobile terminal is in the roaming state and the application starting instruction input by a user is received; the execution module 406 is configured to allow the application program corresponding to the application program opening instruction to run if the application program corresponding to the application program opening instruction is allowed to use the data network in the roaming state; and if the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state, the application program corresponding to the application program opening instruction is not allowed to run.
Preferably, the apparatus further comprises:
a second output module 407, where the second output module 407 is configured to output a setting prompt when the application corresponding to the application start instruction is not allowed to use the data network in the roaming state, and the setting prompt is used to prompt the user that the application corresponding to the application start instruction is not allowed to use the data network in the roaming state.
Preferably, the second output module 407 is configured to output the setting prompt in the form of a dialog box, where the setting prompt includes an option control, and the option control is used for the user to input a second setting instruction, and the second setting instruction is used to indicate whether to set the application corresponding to the application starting instruction to allow the data network to be used in the roaming state.
Optionally, the apparatus further comprises: a second receiving module 408 and a second opening module 409, wherein the second receiving module 408 is configured to receive a roaming setting interface opening instruction input by a user; the opening module 409 is configured to open the roaming setting interface according to the roaming setting interface opening instruction.
Optionally, the apparatus further comprises: a third receiving module 410, wherein the third receiving module 410 is configured to receive a third setting instruction input by the user, and the third setting instruction is used for indicating whether the application program is allowed to use the data network in the roaming state.
The embodiment outputs the roaming prompt information by monitoring whether the mobile terminal is in the roaming state or not, so that the user can be reminded in time, and the high cost caused by the fact that the user does not know that the mobile terminal is in the roaming state and is used at will is avoided. And, the user can set an application program allowing access to the data network through the roaming setting interface, so that it is possible to prevent unnecessary application from using the data network in a roaming state to generate additional costs.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an exemplary embodiment, there is also provided a roaming prompting apparatus, which may include:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether the mobile terminal is in a roaming state;
and if the mobile terminal is in the roaming state, outputting roaming prompt information.
Fig. 5 is a block diagram illustrating a roaming alert device 800 according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, Input/Output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as a Static Random Access Memory (SRAM), an electrically erasable programmable Read-only memory (EEPROM), an erasable programmable Read-only memory (EPROM), a programmable Read-only memory (PROM), a Read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. The sensor assembly 814 includes a plurality of self-contained sensors disposed at left and right edges of the touch screen. The sensor assembly 814 may also detect the open/closed state of the device 800, the relative positioning of the components, such as the display and keypad of the apparatus 800, the change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, the orientation or acceleration/deceleration of the apparatus 800, and the change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The apparatus 800 may access a wireless network based on a communication standard, such as wireless fidelity (WiFi), second generation mobile communication technology (2G), or third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, BlueTooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a roaming alert method, the method comprising:
monitoring whether the mobile terminal is in a roaming state;
and if the mobile terminal is in the roaming state, outputting roaming prompt information.
In an implementation manner of the embodiment of the present invention, the outputting the roaming notification information if the mobile terminal is in the roaming state includes:
and outputting the roaming prompt information in a form of notification.
Optionally, the method further comprises:
receiving a first setting instruction input by a user according to the roaming prompt information;
and opening a roaming setting interface according to the first setting instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
In another implementation of the invention, the method further comprises:
if the mobile terminal is in a roaming state, when an application program starting instruction input by a user is received, judging whether an application program corresponding to the application program starting instruction is allowed to use a data network in the roaming state;
if the application program corresponding to the application program opening instruction is allowed to use the data network in a roaming state, allowing the application program corresponding to the application program opening instruction to run;
and if the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state, the application program corresponding to the application program opening instruction is not allowed to run.
Further, the method may further include:
and if the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state, outputting a setting prompt, wherein the setting prompt is used for prompting a user that the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state.
Still further, the outputting the setting prompt includes:
and outputting the setting prompt in a dialog box form, wherein the setting prompt comprises an option control, the option control is used for a user to input a second setting instruction, and the second setting instruction is used for indicating whether the application program corresponding to the application program starting instruction is set to be allowed to use the data network in a roaming state.
In another implementation manner of the embodiment of the present invention, the method further includes:
receiving a roaming setting interface opening instruction input by a user;
and opening a roaming setting interface according to the roaming setting interface opening instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
Optionally, the method further comprises:
and receiving a third setting instruction input by the user through the roaming setting interface, wherein the third setting instruction is used for indicating whether the application program is allowed to use the data network in the roaming state.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (17)

1. A roaming prompting method, characterized in that the method comprises:
monitoring whether the mobile terminal is in a roaming state;
and if the mobile terminal is in the roaming state, outputting roaming prompt information.
2. The method of claim 1, wherein outputting the roaming alert message if the mobile terminal is in the roaming state comprises:
and outputting the roaming prompt information in a form of notification.
3. The method of claim 2, further comprising:
receiving a first setting instruction input by a user according to the roaming prompt information;
and opening a roaming setting interface according to the first setting instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
4. The method of claim 3, further comprising:
if the mobile terminal is in a roaming state, when an application program starting instruction input by a user is received, judging whether an application program corresponding to the application program starting instruction is allowed to use a data network in the roaming state;
if the application program corresponding to the application program opening instruction is allowed to use the data network in a roaming state, allowing the application program corresponding to the application program opening instruction to run;
and if the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state, the application program corresponding to the application program opening instruction is not allowed to run.
5. The method of claim 4, further comprising:
and if the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state, outputting a setting prompt, wherein the setting prompt is used for prompting a user that the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state.
6. The method of claim 5, wherein outputting the setting prompt comprises:
and outputting the setting prompt in a dialog box form, wherein the setting prompt comprises an option control, the option control is used for a user to input a second setting instruction, and the second setting instruction is used for indicating whether the application program corresponding to the application program starting instruction is set to be allowed to use the data network in a roaming state.
7. The method of claim 1, further comprising:
receiving a roaming setting interface opening instruction input by a user;
and opening a roaming setting interface according to the roaming setting interface opening instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
8. The method according to claim 2 or 7, characterized in that the method further comprises:
and receiving a third setting instruction input by the user through the roaming setting interface, wherein the third setting instruction is used for indicating whether the application program is allowed to use the data network in the roaming state.
9. A roaming alert device, the device comprising:
the monitoring module is used for monitoring whether the mobile terminal is in a roaming state;
and the first output module is used for outputting roaming prompt information when the monitoring module monitors that the mobile terminal is in a roaming state.
10. The apparatus of claim 9, wherein the first output module is configured to output the roaming alert information in the form of a notification.
11. The apparatus of claim 10, further comprising:
the first receiving module is used for receiving a first setting instruction input by a user according to the roaming prompt information;
and the first opening module is used for opening a roaming setting interface according to the first setting instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
12. The apparatus of claim 11, further comprising:
the judging module is used for judging whether the application program corresponding to the application program starting instruction is allowed to use the data network in the roaming state or not when the mobile terminal is in the roaming state and the application program starting instruction input by the user is received;
the execution module is used for allowing the application program corresponding to the application program opening instruction to run if the application program corresponding to the application program opening instruction is allowed to use the data network in a roaming state; and if the application program corresponding to the application program opening instruction is not allowed to use the data network in the roaming state, the application program corresponding to the application program opening instruction is not allowed to run.
13. The apparatus of claim 12, further comprising:
and the second output module is used for outputting a setting prompt when the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state, wherein the setting prompt is used for prompting a user that the application program corresponding to the application program starting instruction is not allowed to use the data network in the roaming state.
14. The apparatus of claim 13, wherein the second output module is configured to output the setting prompt in a form of a dialog box, and the setting prompt includes an option control, and the option control is configured to allow a user to input a second setting instruction, and the second setting instruction is configured to indicate whether an application corresponding to the application starting instruction is set to allow the data network to be used in a roaming state.
15. The apparatus of claim 12, further comprising:
the second receiving module is used for receiving a roaming setting interface opening instruction input by a user;
and the second opening module is used for opening a roaming setting interface according to the roaming setting interface opening instruction, wherein the roaming setting interface comprises a plurality of application programs and setting options which are in one-to-one correspondence with the application programs, and the setting options are used for setting whether the corresponding application programs are allowed to use the data network in a roaming state by a user.
16. The apparatus of claim 11 or 15, further comprising:
and the third receiving module is used for receiving a third setting instruction input by the user through the roaming setting interface, wherein the third setting instruction is used for indicating whether the application program is allowed to use the data network in the roaming state.
17. A roaming alert device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether the mobile terminal is in a roaming state;
and if the mobile terminal is in the roaming state, outputting roaming prompt information.
CN201510451142.4A 2015-07-28 2015-07-28 roaming prompting method and device Active CN105163290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510451142.4A CN105163290B (en) 2015-07-28 2015-07-28 roaming prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510451142.4A CN105163290B (en) 2015-07-28 2015-07-28 roaming prompting method and device

Publications (2)

Publication Number Publication Date
CN105163290A true CN105163290A (en) 2015-12-16
CN105163290B CN105163290B (en) 2019-12-13

Family

ID=54804025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510451142.4A Active CN105163290B (en) 2015-07-28 2015-07-28 roaming prompting method and device

Country Status (1)

Country Link
CN (1) CN105163290B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722053A (en) * 2016-02-18 2016-06-29 北京小米移动软件有限公司 Reminding method and device
CN105933885A (en) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 Method and device for judging mobile terminal roaming state
CN106412329A (en) * 2016-11-09 2017-02-15 捷开通讯(深圳)有限公司 Roaming reminding method for mobile terminal and mobile terminal
CN107302782A (en) * 2016-04-15 2017-10-27 集怡嘉数码科技(深圳)有限公司 A kind of data flow control method and terminal
CN107659707A (en) * 2016-07-26 2018-02-02 中兴通讯股份有限公司 A kind of data connection management method of mobile terminal, device and mobile terminal
CN110830981A (en) * 2018-08-14 2020-02-21 展讯通信(上海)有限公司 Automatic attempt method and device for forbidden network and mobile terminal

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1937800A (en) * 2006-09-30 2007-03-28 华为技术有限公司 Method, device and system for transmitting prompting information for roaming mobile terminal
US20080139202A1 (en) * 2005-08-15 2008-06-12 Huawei Technologies Co., Ltd. Method and system for prompting roaming state of called user
CN101291542A (en) * 2008-06-05 2008-10-22 深圳华为通信技术有限公司 Method, mobile terminal and system for realizing intelligent communication of mobile terminal
CN101309486A (en) * 2008-06-17 2008-11-19 中兴通讯股份有限公司 Incoming call answering process apparatus and method
CN101540949A (en) * 2009-04-16 2009-09-23 中国移动通信集团北京有限公司 Method for prompting user of current roaming position, system, mobile terminal and intelligent card
CN101578892A (en) * 2005-03-15 2009-11-11 万平有限公司 Wireless data exchange
CN102223612A (en) * 2011-06-10 2011-10-19 中兴通讯股份有限公司 International roaming prompting method and device
CN102244857A (en) * 2010-05-14 2011-11-16 中国移动通信集团公司 Wireless local area network roaming subscriber control method, device and network system
CN102256238A (en) * 2011-07-05 2011-11-23 中兴通讯股份有限公司 Method and device for displaying roam indicator of mobile terminal
CN102480578A (en) * 2010-11-25 2012-05-30 中国移动通信集团四川有限公司 Method, system and device for reminding data traffic
CN102761859A (en) * 2012-06-29 2012-10-31 惠州Tcl移动通信有限公司 Method for regulating and controlling network traffic of mobile phone
CN102811420A (en) * 2012-08-28 2012-12-05 深圳市金立通信设备有限公司 System and method for automatically closing data connection by judging mobile phone roaming state through global positioning system (GPS)
CN103221943A (en) * 2010-09-28 2013-07-24 海德沃特合作I有限公司 Enterprise access control and accounting allocation for access networks
CN103259767A (en) * 2012-02-17 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Method for preventing mobile terminal from being attack source of DDOS and mobile terminal
CN103491515A (en) * 2012-06-12 2014-01-01 腾讯科技(深圳)有限公司 Method and device for reminding users of closing international roaming service and mobile terminal
CN104125552A (en) * 2014-06-30 2014-10-29 北京得实达康系统集成有限公司 Network transmission principle based number transmission achieving method and system
CN104484259A (en) * 2014-11-25 2015-04-01 北京奇虎科技有限公司 Application program traffic monitoring method and device, and mobile terminal

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101578892A (en) * 2005-03-15 2009-11-11 万平有限公司 Wireless data exchange
US20080139202A1 (en) * 2005-08-15 2008-06-12 Huawei Technologies Co., Ltd. Method and system for prompting roaming state of called user
CN1937800A (en) * 2006-09-30 2007-03-28 华为技术有限公司 Method, device and system for transmitting prompting information for roaming mobile terminal
CN101291542A (en) * 2008-06-05 2008-10-22 深圳华为通信技术有限公司 Method, mobile terminal and system for realizing intelligent communication of mobile terminal
CN101309486A (en) * 2008-06-17 2008-11-19 中兴通讯股份有限公司 Incoming call answering process apparatus and method
CN101540949A (en) * 2009-04-16 2009-09-23 中国移动通信集团北京有限公司 Method for prompting user of current roaming position, system, mobile terminal and intelligent card
CN102244857A (en) * 2010-05-14 2011-11-16 中国移动通信集团公司 Wireless local area network roaming subscriber control method, device and network system
CN103221943A (en) * 2010-09-28 2013-07-24 海德沃特合作I有限公司 Enterprise access control and accounting allocation for access networks
CN102480578A (en) * 2010-11-25 2012-05-30 中国移动通信集团四川有限公司 Method, system and device for reminding data traffic
CN102223612A (en) * 2011-06-10 2011-10-19 中兴通讯股份有限公司 International roaming prompting method and device
CN102256238A (en) * 2011-07-05 2011-11-23 中兴通讯股份有限公司 Method and device for displaying roam indicator of mobile terminal
CN103259767A (en) * 2012-02-17 2013-08-21 宇龙计算机通信科技(深圳)有限公司 Method for preventing mobile terminal from being attack source of DDOS and mobile terminal
CN103491515A (en) * 2012-06-12 2014-01-01 腾讯科技(深圳)有限公司 Method and device for reminding users of closing international roaming service and mobile terminal
CN102761859A (en) * 2012-06-29 2012-10-31 惠州Tcl移动通信有限公司 Method for regulating and controlling network traffic of mobile phone
CN102811420A (en) * 2012-08-28 2012-12-05 深圳市金立通信设备有限公司 System and method for automatically closing data connection by judging mobile phone roaming state through global positioning system (GPS)
CN104125552A (en) * 2014-06-30 2014-10-29 北京得实达康系统集成有限公司 Network transmission principle based number transmission achieving method and system
CN104484259A (en) * 2014-11-25 2015-04-01 北京奇虎科技有限公司 Application program traffic monitoring method and device, and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722053A (en) * 2016-02-18 2016-06-29 北京小米移动软件有限公司 Reminding method and device
CN105933885A (en) * 2016-04-01 2016-09-07 乐视控股(北京)有限公司 Method and device for judging mobile terminal roaming state
CN107302782A (en) * 2016-04-15 2017-10-27 集怡嘉数码科技(深圳)有限公司 A kind of data flow control method and terminal
CN107659707A (en) * 2016-07-26 2018-02-02 中兴通讯股份有限公司 A kind of data connection management method of mobile terminal, device and mobile terminal
CN106412329A (en) * 2016-11-09 2017-02-15 捷开通讯(深圳)有限公司 Roaming reminding method for mobile terminal and mobile terminal
CN110830981A (en) * 2018-08-14 2020-02-21 展讯通信(上海)有限公司 Automatic attempt method and device for forbidden network and mobile terminal

Also Published As

Publication number Publication date
CN105163290B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
EP3188066B1 (en) A method and an apparatus for managing an application
CN105163290B (en) roaming prompting method and device
CN104506410B (en) The method and apparatus of instant messaging
EP3151117B1 (en) Method and device for delaying information broadcasting
US9800666B2 (en) Method and client terminal for remote assistance
EP3188520A1 (en) Method and device for enabling virtual subscriber identity module card
EP3076745B1 (en) Methods and apparatuses for controlling wireless access point
CN106792937B (en) Method and device for processing call request
US20180091328A1 (en) Prompting method, prompting device and prompting system
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN106412481B (en) Reminding method, device and terminal based on VoLTE video calling
US10263925B2 (en) Method, device and medium for sending message
CN105227426B (en) Application interface switching method and device and terminal equipment
CN104780256A (en) Address book management method and device and intelligent terminal
CN105657676B (en) Information reminding method and device
EP3128722A1 (en) File transmission method and apparatus, computer program and recording medium
CN109922203B (en) Terminal, screen off method and device
CN107039054B (en) The way of recording and device
CN105227891A (en) A kind of video call method and device
CN106648392B (en) The method and device of pasting data
CN105072245A (en) Network service providing method and device
CN106060104B (en) Application management method and device
CN105100135A (en) Network sharing setting method and device
CN106462680A (en) Method and device for abnormal information prompting

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant