The present invention relates to the field of Internet technologies, and in particular, to an information reminding method and apparatus, and an electronic terminal.
Currently, manners in which a mobile terminal accesses the Internet are generally classified into a cellular network manner and a WLAN manner, and there is an obvious difference between different access manners in terms of fees. Generally, no payment is required when the WLAN manner is adopted to access the Internet; however, payment is required when the cellular network manner is adopted, and fees significantly increase after traffic consumption of a user exceeds preset package traffic of the user or in a case of international roaming.
In an actual using process, in a process of operating an application program, a case of using excessive traffic in a fee-charging network usually occurs because a user forgets which Internet access manner is being used by the current application program.
Embodiments of the present invention provide an information reminding method and apparatus, and an electronic terminal, which can notify a user of a current network type and historical traffic data so as to remind the user of consumption of network traffic.
To achieve the foregoing objective, the following technical solutions are adopted in the embodiments of the present invention.
According to a first aspect, an embodiment of the present invention provides an information reminding method, including:
when it is monitored that a special event occurs, acquiring a network type currently used by a device;
determining, according to the acquired network type, network historical usage information corresponding to the network type; and
reminding a user according to the network historical usage information, so as to notify the user of the currently used network type and a traffic usage situation.
With reference to the first aspect, in a first possible implementation manner, the special event includes one or more of a to-be-monitored user operation, a handover of the current network type of the device, enabling of a to-be-monitored application program, and a case in which network traffic used by a to-be-monitored application program exceeds a threshold.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the method further includes:
presenting to the user all application programs installed on a system, and setting a to-be-monitored application program according to selection of the user; or
receiving a list of to-be-monitored application programs that is pushed by a server, and setting a to-be-monitored application program according to an application program in the list of to-be-monitored application programs; or
receiving a list of to-be-monitored application programs that is sent by a server in response to a query request of the user equipment, and setting a to-be-monitored application program according to an application program in the list of to-be-monitored application programs, where the query request of the user equipment can be used to represent an application program installed on the user equipment; or
presenting to the user a user operation that can be identified by a system, and setting a to-be-monitored user operation according to selection of the user.
With reference to the first aspect or either of the first two possible implementation manners of the first aspect, in a third possible implementation manner, before the determining, according to the acquired network type, network historical usage information corresponding to the network type, the method further includes:
determining whether the network type currently used by the device is a to-be-monitored network type, where the to-be-monitored network type includes at least a payment-required type; and
the determining, according to the acquired network type, network historical usage information corresponding to the network type includes:
when the network type currently used by the device is the to-be-monitored network type, determining, according to the acquired network type, the network historical usage information corresponding to the network type.
With reference to the first aspect or either of the first two possible implementation manners of the first aspect, in a fourth possible implementation manner, the reminding a user includes:
presenting the currently used network type and the traffic usage situation to the user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio, and stopping the presentation after a preset time elapses.
According to a second aspect, an embodiment of the present invention provides an information reminding apparatus, including:
an event monitoring module, configured to monitor whether a special event currently occurs on a device;
a network monitoring module, configured to: when it is monitored that a special event occurs, acquire a network type currently used by the device; and determine, according to the acquired network type, network historical usage information corresponding to the network type; and
an input and output module, configured to remind a user according to the network historical usage information, so as to notify the user of the currently used network type and a traffic usage situation.
With reference to the second aspect, in a first possible implementation manner, the special event includes one or more of a to-be-monitored user operation, a handover of the current network type of the device, enabling of a to-be-monitored application program, and a case in which network traffic used by a to-be-monitored application program exceeds a threshold.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the input and output module is further configured to present to the user all applications programs installed on a system; or configured to receive a list of to-be-monitored application programs that is pushed by a server; or configured to receive a list of to-be-monitored application programs that is sent by a server in response to a query request of the user equipment, where the query request of the user equipment can be used to represent an application program installed on the user equipment; or configured to present to the user a user operation that can be identified by a system; and
the event monitoring module is further configured to set a to-be-monitored application program according to selection of the user; or configured to set a to-be-monitored application program according to an application program in the list of to-be-monitored application programs; or configured to set a to-be-monitored user operation according to selection of the user.
With reference to the second aspect or either of the first two possible implementation manners of the second aspect, in a third possible implementation manner, the network monitoring module is further configured to: determine whether the network type currently used by the device is a to-be-monitored network type, where the to-be-monitored network type includes at least a payment-required type; and when the network type currently used by the device is the to-be-monitored network type, determine, according to the acquired network type, the network historical usage information corresponding to the network type.
With reference to the second aspect or either of the first two possible implementation manners of the second aspect, in a fourth possible implementation manner, the input and output module is specifically configured to: present the currently used network type and the traffic usage situation to the user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio, and stop the presentation after a preset time elapses.
According to a third aspect, an embodiment of the present invention further provides an electronic terminal, including a processor, a memory, and an input and output module, where the memory stores at least a computer program, and the processor is configured to invoke the program stored in the memory, so as to control the input and output module, and the processor, the memory, and the input and output module communicate with each other by using a bus; where
the processor is configured to determine whether a network type currently used by a device is a to-be-monitored network type;
the memory is configured to store network historical usage information and current network information; and
the input and output module is further configured to remind a user according to the network historical usage information, so as to notify the user of the currently used network type and a traffic usage situation.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the special event includes one or more of a to-be-monitored user operation, a handover of the current network type of the device, enabling of a to-be-monitored application program, and a case in which network traffic used by a to-be-monitored application program exceeds a threshold.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the input and output module is further configured to present to the user all application programs installed on a system; or configured to receive a list of to-be-monitored application programs that is pushed by a server; or configured to present to the user a user operation that can be identified by a system; and
the processor is further configured to set a to-be-monitored application program according to selection of the user; or configured to set a to-be-monitored application program according to an application program in the list of to-be-monitored application programs; or configured to receive a list of to-be-monitored application programs that is sent by the server in response to a query request of the user equipment, where the query request of the user equipment can be used to represent an application program installed on the user equipment; or configured to set a to-be-monitored user operation according to selection of the user.
With reference to the third aspect or either of the first two possible implementation manners of the third aspect, in a third possible implementation manner of the third aspect, the processor is further configured to: determine whether the network type currently used by the device is a to-be-monitored network type, where the to-be-monitored network type includes at least a payment-required type; and when the network type currently used by the device is the to-be-monitored network type, determine, according to the acquired network type, the network historical usage information corresponding to the network type.
With reference to the third aspect or either of the first two possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, the input and output module is specifically configured to: present the currently used network type and the traffic usage situation to the user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio, and stop the presentation after a preset time elapses.
According to the information reminding method and apparatus and the electronic terminal provided in the embodiments of the present invention, a network type used by a user can be automatically monitored, and the user can be reminded, according to an actual situation, of network information and traffic information concerned by the user. In this case, it can be avoided that the user uses excessive traffic in a network in which traffic is charged, so that a benefit of the user is ensured.
To describe the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely some but not all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
The technical solutions provided in the present invention may be applied to an application scenario in which a client device accesses the Internet by using different Internet access manners. In this application scenario, the user equipment generally includes a handheld terminal, a tablet computer, a wearable device, a household computer, a multimedia device that can be connected to the Internet, and the like, and the Internet access manners include a cellular network manner, a WLAN manner, and the like.
Based on the solutions, the present invention provides the following embodiments to resolve a technical problem of how to remind a user of network usage information.
An embodiment of the present invention provides an information reminding method. As shown in
101. When it is monitored that a special event occurs, acquire a network type currently used by a device.
The special event is an event that triggers the terminal to acquire the current network type of the terminal, which may include one or more of a to-be-monitored user operation, a handover of the current network type of the device, enabling of a to-be-monitored application program, and a case in which network traffic used by a to-be-monitored application program exceeds a threshold.
The to-be-monitored user operation refers to a user operation instruction for the device, for example, an operation of touching a physical key to wake up a terminal, or an operation of tapping a virtual icon on a touchscreen to unlock.
The handover of the current network type of the device refers to a handover of the user equipment from one to another network type, such as a cellular network or a WLAN, that can be used by the device, for example, a handover from the cellular network to the WLAN or a handover from the WLAN back to the cellular network. Identification of a handover of the network type may be specifically implemented by determining whether different communications modules have traffic data to send and receive, and this embodiment of the present invention does not set a further limitation thereto.
The enabling of the to-be-monitored application program means that the application program automatically runs or is triggered to run by the user by tapping an icon.
The case in which the network traffic used by the to-be-monitored application program exceeds the threshold means that after the application program is enabled and is connected to the Internet, data received from a network side and data sent to the network side exceed a specific threshold. The threshold herein is set to range from multiple KBs to tens of MBs, and the threshold is specifically set according to a requirement.
The foregoing mentioned network type generally refers to a network type such as a WLAN or a cellular network. After using networks of these types, the user equipment may communicate with the Internet to acquire network information.
In addition, in this embodiment of the present invention, the special event may be set, and a specific setting method is subsequently described in detail.
The foregoing network type generally refers to a network, such as a cellular network or a WLAN, that the user equipment can access when being connected to the Internet.
102. Determine, according to the acquired network type, historical usage information corresponding to the network type.
The network historical usage information includes traffic, usage duration, a type of transmitted content, which may specifically include traffic and duration used within a charging period, a traffic limitation of a traffic package, a type and a size of a transmitted file, and the like. When traffic transmission is being performed between the device and the network side, the foregoing various types of parameters corresponding to different network types are stored as historical usage information. In the technical solution of the present invention, these network historical usage information and the corresponding network types are stored together in a memory of the device, and when a network type used by a current device is acquired by means of identification, the corresponding network historical usage information may be directly extracted from the memory.
103. Remind a user according to the network historical usage information, so as to notify the user of the currently used network type and a traffic usage situation.
For an implementation manner of performing reminding, a detailed description is subsequently provided in the technical solution of the present invention.
In this solution, after the foregoing steps are executed, a network type used by a user can be automatically monitored, and the user can be reminded, according to an actual situation, of network information and traffic information concerned by the user. In this case, it can be avoided that the user uses excessive traffic in a network in which traffic is charged, so that a benefit of the user is ensured.
Further, this embodiment of the present invention further provides the following technical solution, so as to determine the network type used by the user. As shown in
201. Determine whether the network type currently used by the device is a to-be-monitored network type, and if the network type is a to-be-monitored network type, execute step 102, or if the network type is not a to-be-monitored network type, execute step 202.
The to-be-monitored network type includes at least a payment-required network type such as a cellular network. Specifically, a network type that needs to be monitored may be set by the user.
102. Determine, according to the acquired network type, the network historical usage information corresponding to the network type.
202. Properly respond to a user operation, but skip an operation such as traffic reminding.
In this solution, after the foregoing steps are executed, after a special event is triggered on a client, monitoring and determining of a network type can be directly performed. For different network types, charging manners are different; a user needs to be reminded in some charging manners, and the user does not need to be reminded in other charging manners. Reminding information needed by the user is promptly provided, so that favorable experience can be provided for the user.
Further, in order to remind the user, for step 103, this embodiment of the present invention further provides the following specific implementation manner. As shown in
301. Present the currently used network type and the traffic usage situation to the user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio.
For specific displayed content and a specific display manner, reference may be made to a schematic diagram shown in
302. Stop the presentation after a preset time elapses.
The preset time is set by the user or preset by a system.
In this solution, after the foregoing steps are executed, a reminding function may be completed in a short time, and a case does not occur in which a user's proper use of an application program is interfered because of long-time reminding.
For setting of the special event, the present invention specifically provides the following four specific implementation manners.
In the first implementation manner, a user operation that can be identified by the system is presented to the user, and a to-be-monitored user operation is set according to selection of the user. Specifically, a possible presentation effect of the user operation is shown in
The user operation that can be set and is shown in the figure includes functions such as an add action, a delete action, an action order adjustment. If an action of the foregoing actions is selected, the action may be moved up or down to adjust a location or may be deleted.
In the second implementation manner, a list of to-be-monitored application programs that is pushed by a server is received, and a to-be-monitored application program is set according to an application program in the list of to-be-monitored application programs. Specifically, a possible method for displaying the list is shown in Table 1 below.
A list structure shown in the table includes an application program identifier, a version number, and a name of an installation package, and another related parameter may also be displayed in this list. The application program identifier is an attribute for identifying uniqueness of an application program, and may be a name, an ID allocated by the system, a name of an installation package, or the like, and is a mandatory item, and the version number and the like are optional items.
In the third implementation manner, a list of to-be-monitored application programs that is sent by a server in response to a query request of the user equipment is received, and a to-be-monitored application program is set according to an application program in the list of to-be-monitored application programs, where the query request of the user equipment can be used to represent an application program installed on the user equipment.
It should be noted that the second implementation manner and the third implementation manner are relatively similar, and for a display manner of the list of application programs, reference may be made to the content shown in Table 1 above. A difference between the two manners in technical implementation lies in that the server actively performs triggering and the user requests triggering. In a mechanism in which the server actively performs triggering, the server sends, in a form of a list, all summarized application programs that need to be monitored to the user equipment, so that the user equipment selects a to-be-monitored application program by itself. However, in a mechanism in which the user requests triggering, generally, the user sends, in a form of a list, the application program installed on the device to the server, then the server determines whether the installed application program needs to be monitored, and finally, the server feeds back, in a form of a list, a to-be-monitored application program corresponding to the device to the user equipment, so that the user equipment selects a to-be-monitored application program by itself.
In the fourth implementation manner, all application programs installed on the system are presented to the user, and a to-be-monitored application program is set according to selection of the user. For a display method of the application program, reference may be made to the content shown in Table 1 above.
An application program identifier, a version number, a monitoring option, and the like are included. The application program identifier is an attribute for identifying uniqueness of an application program, may be a name, an ID allocated by the system, a name of an installation package, or the like, and is a mandatory item. The version number and the like are optional items, and the monitoring option is used by the user to select an application program that needs to be monitored.
With reference to the foregoing all technical solutions, an embodiment of the present invention further provides a schematic diagram of an overall information reminding procedure. As shown in
400. Start a processing procedure.
401. When it is monitored that a special event occurs, acquire a network type currently used by a device.
402. Determine whether the network type currently used by the device is a to-be-monitored network type, and if the network type is a to-be-monitored network type, execute step 403, or if the network type is not a to-be-monitored network type, properly respond to a user operation, but skip an operation such as traffic reminding.
403. Determine, according to the acquired network type, network historical usage information corresponding to the network type.
404. Present the currently used network type and a traffic usage situation to a user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio.
405. Stop the presentation after a preset time elapses.
406. End the processing procedure.
An embodiment of the present invention provides an information reminding apparatus. As shown in
an event monitoring module 51, configured to monitor whether a special event currently occurs on a device;
a network monitoring module 52, configured to: when it is monitored that a special event occurs, acquire a network type currently used by the device; and determine, according to the acquired network type, network historical usage information corresponding to the network type; and
an input and output module 53, configured to remind a user according to the network historical usage information, so as to notify the user of the currently used network type and a traffic usage situation.
Optionally, the special event includes one or more of a to-be-monitored user operation, a handover of the current network type of the device, enabling of a to-be-monitored application program, and a case in which network traffic used by a to-be-monitored application program exceeds a threshold.
Optionally, the network monitoring module 52 is further configured to: determine whether the network type currently used by the device is a to-be-monitored network type, where the to-be-monitored network type includes at least a payment-required type; and when the network type currently used by the device is the to-be-monitored network type, determine, according to the acquired network type, the network historical usage information corresponding to the network type.
Optionally, the input and output module 53 is specifically configured to: present the currently used network type and the traffic usage situation to the user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio, and stop the presentation after a preset time elapses.
Optionally, the input and output module 53 is further configured to present to the user all application programs installed on a system; or configured to receive a list of to-be-monitored application programs that is pushed by a server; or configured to receive a list of to-be-monitored application programs that is sent by a server in response to a query request of the user equipment, where the query request of the user equipment can be used to represent an application program installed on the user equipment; or configured to present to the user a user operation that can be identified by a system; and use an input operation of the user.
The event monitoring module 51 is further configured to set a to-be-monitored application program according to selection of the user; or configured to set a to-be-monitored application program according to an application program in the list of to-be-monitored application programs; or configured to set a to-be-monitored user operation according to selection of the user.
The information reminding apparatus provided in this embodiment of the present invention can automatically monitor a network type used by a user, and remind, according to an actual situation, the user of network information and traffic information concerned by the user. In this case, it can be avoided that the user uses excessive traffic in a network in which traffic is charged, so that a benefit of the user is ensured.
An embodiment of the present invention further provides an electronic terminal used for information reminding. As shown in
The processor 61 is configured to determine whether a network type currently used by a device is a to-be-monitored network type;
the memory 62 is configured to store network historical usage information and current network information; and
the input and output module 63 is configured to remind a user according to the network historical usage information, so as to notify the user of the currently used network type and a traffic usage situation.
Optionally, the special event includes one or more of a to-be-monitored user operation, a handover of the current network type of the device, enabling of a to-be-monitored application program, and a case in which network traffic used by a to-be-monitored application program exceeds a threshold.
The processor 61 is further configured to: determine whether the network type currently used by the device is a to-be-monitored network type, where the to-be-monitored network type includes at least a payment-required type; and when the network type currently used by the device is the to-be-monitored network type, determine, according to the acquired network type, the network historical usage information corresponding to the network type.
Optionally, the input and output module 63 is specifically configured to: present the currently used network type and the traffic usage situation to the user in one or a combination of multiple manners of four presentation manners of a text, a picture, an animation, and audio, and stop the presentation after a preset time elapses.
Optionally, the input and output module 63 is further configured to present to the user all application programs installed on a system; or configured to receive a list of to-be-monitored application programs that is pushed by a server; or configured to present to the user a user operation that can be identified by a system.
The processor 61 is further configured to set a to-be-monitored application program according to selection of the user; or configured to set a to-be-monitored application program according to an application program in the list of to-be-monitored application programs; or configured to receive a list of to-be-monitored application programs that is sent by the server in response to a query request of the user equipment, where the query request of the user equipment can be used to represent an application program installed on the user equipment; or configured to set a to-be-monitored user operation according to selection of the user.
The electronic terminal provided in this embodiment of the present invention can automatically monitor a network type used by a user, and remind, according to an actual situation, the user of network information and traffic information concerned by the user. In this case, it can be avoided that the user uses excessive traffic in a network in which traffic is charged, so that a benefit of the user is ensured.
Based on the foregoing descriptions of the implementation manners, a person skilled in the art may clearly understand that the present invention may be implemented by software in addition to necessary universal hardware or by hardware only. In most circumstances, the former is a preferred implementation manner. Based on such an understanding, the technical solutions of the present invention essentially or the part contributing to the prior art may be implemented in a form of a software product. The computer software product is stored in a readable memory medium, such as a floppy disk, a hard disk or an optical disc of a computer, and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, or the like) to perform the methods described in the embodiments of the present invention.
The foregoing descriptions are merely specific implementation manners of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2014/075659 | 4/18/2014 | WO | 00 |