CN108449806B - Information processing method, terminal and readable storage medium - Google Patents

Information processing method, terminal and readable storage medium Download PDF

Info

Publication number
CN108449806B
CN108449806B CN201810165951.2A CN201810165951A CN108449806B CN 108449806 B CN108449806 B CN 108449806B CN 201810165951 A CN201810165951 A CN 201810165951A CN 108449806 B CN108449806 B CN 108449806B
Authority
CN
China
Prior art keywords
communication module
terminal
preset
information
restarting
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.)
Active
Application number
CN201810165951.2A
Other languages
Chinese (zh)
Other versions
CN108449806A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810165951.2A priority Critical patent/CN108449806B/en
Publication of CN108449806A publication Critical patent/CN108449806A/en
Application granted granted Critical
Publication of CN108449806B publication Critical patent/CN108449806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses an information processing method, which comprises the following steps: receiving first information sent by a server, wherein the first information at least carries a first preset field; if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field; and if the first numerical value meets a first preset condition, restarting the communication module of the communication module. The embodiment of the invention also provides a terminal and a readable storage medium. By implementing the scheme, the technical problem that the communication function is limited to be used after the terminal owes fees and can be recovered only by restarting the terminal after the fees are paid is solved, and the communication function can be recovered by automatically restarting the communication module after the terminal owes the fees and then pays the fees.

Description

Information processing method, terminal and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information processing method, a terminal, and a readable storage medium.
Background
With the rapid development of communication technology, terminals are developing towards intellectualization, for example, smart phones or tablet computers are also having more and more functions, and the mobile communication terminals are not simply used for meeting the mutual connection of people for a long time and become very important mobile personal entertainment terminals in daily life of people.
In the process of daily use of the intelligent terminal, the phenomenon that communication service is suspended due to the fact that payment is not timely conducted on the intelligent terminal to an operator often occurs, the intelligent terminal is usually turned into defaulting shutdown, the defaulting shutdown is found at a user terminal, the situation that the intelligent terminal cannot use a mobile network often occurs after the payment of telephone charges is conducted, the intelligent terminal needs to be manually restarted, and therefore the intelligent terminal can be normally used after being used for network re-injection. Thus, the method is troublesome and inconvenient to use, and the user experience is poor.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide an information processing method, a terminal, and a readable storage medium, so as to solve the technical problem in the prior art that a communication function is limited to be used after a terminal owes a fee, and the normal use of a mobile network can be recovered only by restarting the terminal after payment of the fee, and the normal use of the mobile network can be recovered by automatically restarting a communication module after the terminal owes the fee and then pays the fee, thereby improving the intelligence of the terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information processing method, where the method includes:
receiving first information sent by a server, wherein the first information at least carries a first preset field; if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field; and if the first numerical value meets a first preset condition, restarting the communication module of the communication module.
In a second aspect, an embodiment of the present invention provides a terminal, where the terminal at least includes: a processor, a memory, a communication bus, and a communication module, wherein:
the communication bus is used for realizing connection communication between the processor and the memory;
the memory is used for storing an information processing program;
the communication module is used for realizing the communication function between the terminal and the base station;
the processor is used for executing the information processing program stored in the memory so as to realize the following steps:
receiving first information sent by a server, wherein the first information at least carries a first preset field;
if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field;
and if the first numerical value meets a first preset condition, restarting the communication module of the communication module.
The present embodiment provides a readable storage medium having stored thereon an information processing program which, when executed by a processor, realizes the steps of the information processing method as described above.
The embodiment of the invention provides an information processing method, a terminal and a readable storage medium, wherein first information sent by a server is received, wherein the first information at least carries a first preset field; if the state of the communication module per se is limited in use, acquiring a first numerical value corresponding to the first preset field; and if the first numerical value meets a first preset condition, restarting the communication module of the communication module. Therefore, normal use of the mobile network can be recovered by automatically restarting the communication module after the terminal arrears and pays the fee, and the intelligence of the terminal is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of an information processing method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of another information processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface for initiating an auto-restart function according to an embodiment of the present invention;
fig. 6 is an interface schematic diagram of a communication module of a terminal automatically restarting itself according to an embodiment of the present invention;
fig. 7 is a schematic interface diagram after the restart of the terminal communication module is completed according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems. Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
An embodiment of the present invention provides an information processing method, and fig. 3 is a schematic diagram illustrating an implementation flow of the information processing method provided in the embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S301, receiving the first information sent by the server.
Here, the step S301 of receiving the first information sent by the server may be implemented by a terminal, and further may be a mobile terminal, for example, a mobile terminal with a wireless communication capability, such as a mobile phone (mobile phone), an iPad, a wearable smart watch, and the like, where the mobile terminal includes at least a communication module for implementing communication between the terminal and a base station.
The communication module described in this embodiment and other embodiments may be considered as a Modem (Modem) in the terminal, and for better understanding of the embodiments of the present invention, a Modem chip (or module) is described herein.
Various problems, such as network outage, poor signal, dropped call, etc., often occur when a user uses a terminal. In many cases, this is not due to the base station problem of the operator, and there may be some terminals that can keep the network clear in the same network environment. The existence of the base station determines whether the intelligent terminal can be normally networked, and the base station is distinguished according to the type of the transmitted signal. The 4G network which is rapidly spreading at present is provided by a 4G base station, so that in a place without the 4G base station, only a 3G network or even a 2G network with a slower speed but more complete base station network can be used.
How should the intelligent terminal identify which signal should be networked since different base stations can transmit different signals, and how can messages intended for relatives and friends be transmitted to the base stations? This is the task of a special chip-Modem on the intelligent terminal. The user uses the intelligent terminal to make a call, surf the internet, send short messages and other networking behaviors, which are processed and executed by the Modem, and the Modem establishes a logic channel between the intelligent terminal and the wireless network, transmits networking data and adjusts a communication mode.
The Modem is a main bridge for keeping all connections between the intelligent terminal and the outside. The intelligent terminal is a mobile communication tool, the most important function is communication, and the Modem is a core component for intelligent communication maintenance.
The server described in this embodiment and other embodiments refers to the server of the operator. The first information is a short message sent by an operator server after payment, and the first information at least carries a first preset field, wherein the first preset field may be used for representing the balance of the user, and for example, the first preset field may be "balance".
Step S302, if the state of the communication module is restricted, obtaining a first value corresponding to the first preset field.
Here, if the state of the communication module of step S302 is restricted, the obtaining of the first value corresponding to the first preset field may be implemented by a terminal. The first numerical value corresponding to the first preset field should be the first numerical value appearing after the first preset field and before the preset character. For example, the first preset field may be "balance", the preset character may be "element", and when the first information is received and "current balance is 10.5 element", the first value is 10.5.
In other embodiments, before the step S302, the method further includes: and judging whether the state of the communication module is the use limit. If the state of the communication module is restricted, the step S302 is entered; and if the state of the communication module per se is not limited to use, ending the flow.
In practical implementation, the limitation of the communication module at least comprises the limitation of the call function, the limitation of the network function and the limitation of the short message. Judging whether the call function is limited to be used or not can be that whether the call function is limited to be used or not is determined according to a failure reason in call failure returned to the terminal by the base station when a user initiates a call; whether the short message is limited to be used or not can be judged according to the failure reason returned to the terminal by the base station when the user sends the short message.
In the process of determining whether the mobile network function of the terminal is restricted from being used, the determination may be made by means of attempting to transmit various data packets to the operator server, attempting to establish various communication connections with the operator server, and the like, and based on information fed back by the operator server. For example: the terminal can be connected with the operator server in an attempt to realize a call function, and if the network service is limited, the operator server can reject the request of the user, so that whether the network is limited to use can be judged according to feedback information of whether the server rejects the request.
In addition, the determination of whether the mobile network function of the terminal is restricted from being used may also be made by the state of a specific application in the terminal. For example: if the operation of a specific application program depends on network connection and keeps a background networking state for a long time, whether the mobile network function is limited can be judged by whether the application program normally operates.
In other embodiments, the determining whether the mobile network function of the terminal is restricted from being used may be implemented by: sending a data attachment request to a server; if the message returned by the server is attachment refusal, the mobile phone network is restricted to use. Further, after the mobile phone is owed, when the mobile phone initiates a data attach request, the network may issue a message for denying the attach, and simultaneously carry a Reject Cause (Reject Cause), in the art, when the value of Reject Cause is 7, it indicates that the network service is not allowed to be used, and at this time, it may be determined that the mobile phone network is restricted to be used. In addition, if the message returned by the server is successful attachment, the mobile phone network is not limited to use.
Step S303, if the first value meets a first preset condition, restarting the communication module of the communication module.
Here, the step S303 may be implemented by the terminal, if the first value satisfies the first preset condition.
In this embodiment, the step S303 may be implemented by the processor of the terminal sending a restart instruction to its own communication module, and the communication module restarting after receiving the restart instruction. The Modem starting process part in the terminal realizes initialization of the Modem and related communication services mainly through interaction of an Attention (AT) command set and the Modem, and comprises PIN code check information initialization, operator network initialization, contact information initialization, STK initialization and the like. The AT command set is sent from a Terminal Equipment (TE) or a Data Terminal Equipment (DTE) to a Terminal Adapter (TA) or a Data Circuit Terminal Equipment (DCE), and the TA and the TE send an AT command to interact with a network service. The user can control and operate the aspects of calling, short message, telephone book, data service, fax and the like through AT instructions.
The embodiment of the invention provides an information processing method, a terminal and a readable storage medium, wherein first information sent by a server is received, wherein the first information at least carries a first preset field; if the state of the communication module per se is limited in use, acquiring a first numerical value corresponding to the first preset field; and if the first numerical value meets a first preset condition, restarting the communication module of the communication module. Therefore, normal use of the mobile network can be recovered by automatically restarting the communication module after the terminal arrears and pays the fee, and the intelligence of the terminal is improved.
Example two
Based on the foregoing embodiment, an embodiment of the present invention further provides an information processing method, which is applied to a terminal, where the terminal at least includes a camera, and fig. 4 is a schematic diagram of an implementation flow of another information processing method provided in the embodiment of the present invention, and as shown in fig. 4, the method includes the following steps:
in step S401, the terminal receives the first information sent by the server.
Here, the first information carries at least a first preset field. In this embodiment, the first information may be a notification message of successful payment sent by the operator server after the user pays the fee. The current payment ways are more. The operator server has multiple options for sending the notification message of successful payment, and correspondingly, the type of the first information also has multiple types, for example, the first information may be a short message, and if the user pays by the public number, the first information may also be the notification message sent by the public number. The content of the first information may be such as "respect user, hello! You successfully pay 100 yuan in 2018, 1 month, 26 months, the balance of the current account is 95 yuan, and the amount of owing is 0 yuan. The first preset field may be a field for indicating an account available amount, and may be, for example, "account balance", "current available amount", "balance", or the like.
The first preset field may be determined by a developer of the information processing method provided in this embodiment according to the content of the first information sent by each operator after the payment is successful.
Step S402, the terminal judges whether the state of the communication module is limited to use.
Here, if the state of the communication module of the terminal itself is restricted, which indicates that the terminal has been arreared and shut down before the payment, then step S403 is performed; if the state of the communication module of the terminal is not limited to use, the terminal is not stopped by arrearage before the payment, and then the process is ended.
Step S403, the terminal starts an automatic restart function.
Here, the automatic restart function is configured to automatically restart the communication module when the first value satisfies a first preset condition. In the implementation process of step S403, a switch with an automatic restart function may be preset, the switch may not be visible to the user, and in order to enable the user to better understand the characteristic function of the terminal, the switch may also be set to be visible to the user and provide a button autonomously set by the user, and the user may select to start or stop the function according to the need of the user.
Fig. 5 is a schematic interface diagram illustrating an automatic restart function according to an embodiment of the present invention, as shown in fig. 5, in a setting interface of a terminal, a user may autonomously set whether to allow starting the automatic restart function through a selection button control 501, and when the user selects to allow starting the automatic restart function, when a first value meets a first preset condition, the communication module is automatically restarted; when the user selects to close the automatic restart function, no operation is performed when the first value satisfies the first preset condition.
Step S404, the terminal obtains a first numerical value corresponding to the first preset field.
Here, the first value corresponding to the first preset field may be a first value after the first preset field, and for example, in step S401, in this embodiment, the first preset field is "account balance", and the first value corresponding to the first preset field is 95 yuan.
Step S405, the terminal judges whether the first numerical value meets a first preset condition.
Here, the step S405 may be implemented by:
step S4051, the terminal acquires a preset first threshold value;
step S4052, the terminal determines whether the first value is greater than or equal to the first threshold.
In step S4051, the first threshold value is set in advance by the developer of the information processing method, and is generally invisible and unchangeable to the user. For example, where the first predetermined field is for indicating an account balance, the first threshold may be 0. If the first value is greater than the first threshold, that is, if the account balance of the user is greater than 0, it indicates that the first value meets a first preset condition, and then step S408 is performed; if the account balance of the user is less than or equal to 0, it indicates that the first value does not satisfy the first preset condition, and then step S406 is entered.
Step S406, the terminal obtains a second preset field in the first information and a third numerical value corresponding to the second preset field.
Here, the second preset field may be an amount of arrears for characterizing a current account of the user, for example, the second preset field may be terms like "arrears", "amount of arrears", and like the first preset field, and the second preset field is also determined by a developer of the information processing method according to contents of the first information sent by the operator after successful payment.
The third value is the first value appearing after the second preset field, and the example of step S401 is taken as a reference, where the third value is 0. To better understand the following steps, another example is shown, for example, the content of the first information received by the terminal is "respected user, you good! You successfully pay 10 yuan in 2018, 1 month, 26 months, and the balance of the current account is 0 yuan, and the arrearage amount is 2 yuan. In the first message, the third value corresponding to the second preset field is 2. That is, the user is still in the arrearage state after paying. But because for some users with higher reputation or higher star rating, the system is not stopped by the operator even though the system is in a defaulting state.
Step S407, the terminal determines whether the third value satisfies a third preset condition.
Here, the terminal determining whether the third value satisfies the third preset condition in step S407 may further include:
step S4071, the terminal sends a request message for acquiring the second threshold value of the user to the server.
Wherein, the request message at least carries the identification information of the user. The second threshold may be an amount owed threshold that is different for different stars or different reputations, for example, 30 dollars for five-star users, 20 dollars for four-star users, 10 dollars for three-star users, and 0 dollars for one-star and two-star users.
It should be noted that the arrearage amount threshold refers to the maximum amount that the user can arrearage before being shut down by the operator, for example, when a user is a five-star user, the arrearage amount threshold is 30 yuan, that is, when the arrearage amount of the user does not exceed 30 yuan, for example, the arrearage amount is 25 yuan, the user is not shut down by the operator due to arrearage.
In this embodiment, after receiving a request message for acquiring a second threshold value of a user, which is sent by a terminal, a server analyzes the request message to acquire identification information of the user, which is carried in the request message; then, acquiring a second threshold corresponding to the identification information according to the identification information of the user; and finally, sending the response message carrying the second threshold value to the terminal.
Step S4072, the terminal receives the response message sent by the server.
Here, the response message carries a second threshold corresponding to the user; and after receiving the response message, the terminal analyzes the response message and acquires a second threshold carried in the response message.
Step S4073, the terminal determines whether the third value is less than or equal to the second threshold.
Here, if the third value is less than or equal to the second threshold, that is, the current arrearage amount of the user is less than or equal to the arrearage amount threshold, it indicates that the third value satisfies the third preset condition, and then step S408 is entered; if the third value is greater than the second threshold, that is, the current arrearage amount of the user is greater than the arrearage amount threshold, it indicates that the third value does not satisfy the third preset condition, and the process is ended.
For example, the user has 35 dollars in arrears before paying, the user is a five-star user, the second threshold is 30 dollars, and the user receives the content "respect user, you are!after paying 10 dollars! And (4) successfully paying 10 yuan for 26 months in 2018 on 1 month, the balance of the current account is 0 yuan, and the arrearage amount is 25 yuan, wherein the third value is 25 yuan, and the third value meets a third preset condition because the third value of 25 yuan is smaller than a second threshold value of 30 yuan, and the step S409 is entered. If the user is in charge before the payment, the arrearage amount is 35 yuan, the user is a four-star user, the second threshold value is 20 yuan, and the user receives the content of' respect user, good!after the payment of 10 yuan! And (3) successfully paying 10 yuan for 26 yuan in 1 month and 2018 by the user, keeping the balance of the current account at 0 yuan, and keeping the first information of the arrearage amount at 25 yuan, wherein the third numerical value is still 25 yuan, but the third numerical value does not meet the third preset condition because the 25 yuan of the third numerical value is more than 20 yuan of the second threshold value, no processing is performed at the moment, and the process is ended.
Step S408, the terminal restarts its own communication module.
Here, for example in the step S401, since the first value is 95, that is, the first value satisfies the first preset condition, the terminal automatically restarts its own communication module, in other embodiments, when the terminal automatically restarts its own communication module, a visual interface may be provided for a user to intuitively know the state of the terminal. Fig. 6 is an interface schematic diagram of a terminal automatically restarting its own communication module according to an embodiment of the present invention, and as shown in fig. 6, when the terminal automatically restarts its own communication module, a prompt message shown in a display 601 is output to prompt a user that a current communication module (Modem) is being restarted. Similarly, a prompt message may also be output after the restart is completed, fig. 7 is an interface schematic diagram of the terminal communication module after the restart is completed according to the embodiment of the present invention, and as shown in fig. 7, after the restart of the terminal communication module is completed, a prompt message shown in a display 701 is output to prompt a user that the restart of the communication module is completed, and the communication function of the terminal is recovered to normal.
In other embodiments, the step S408 further includes:
step S4081, the terminal judges whether the automatic restart function is started;
step S4082, if the automatic restart function is started, the terminal restarts its own communication module.
In the embodiment of steps S4081 to S4082, when the first value meets the first preset condition or the third value meets the third preset condition, it needs to further determine whether the automatic restart function is started, and the communication module of the communication module is restarted only when the automatic restart function is started.
In another embodiment, before the step of obtaining the first value corresponding to the first preset field if the state of the communication module is restricted, the method further includes:
step 51, the terminal judges whether the second information is received.
Here, the second information may be prompt information of the outage due to the arrearage, which is sent by the operator server and received by the terminal after the outage due to the arrearage, where the second information carries at least a first preset field.
For example, the content of the second information may be "respect user, you good! The balance of the current account is 0 yuan, the arrearage amount is 23 yuan, the arrearage shutdown service is transacted for a user, and the user is required to pay the telephone charge in time for ensuring normal use of the user.
And step 52, if the second information is received, acquiring a second numerical value corresponding to the first preset field.
Here, for example, in the receiving step 51, for the first information, the first preset field is "account balance", and the second value corresponding to the first preset field is 0.
And 53, the terminal judges whether the second numerical value meets a second preset condition.
Here, in the implementation process of step 53, it may be determined whether the second value is less than or equal to a third threshold, and if the second value is less than or equal to the third threshold, it indicates that the second value satisfies a second preset condition, and then step 54 is performed.
For example, the third threshold may be 0, that is, when the current account balance of the user is less than or equal to 0, then step 54 is entered.
And step 54, if the second numerical value meets a second preset condition, starting the automatic restarting function by the terminal.
That is, when the user cannot use the network and the call after defaulting, if the terminal receives the defaulting short message and can extract the defaulting short message content, the automatic restart function is automatically activated. After the user successfully pays, the terminal receives payment detail information which comprises payment information and residual telephone charge information, the terminal extracts 'balance' and 'arrearage' fields in operator information, when the balance is a non-zero positive number, the terminal automatically restarts the Modem layer at the background, and when the arrearage field of the terminal is a non-zero positive number, the terminal does not restart the Modem layer (considering that some old users have credit lines which can be overdriven, at this time, data flow can still be used, and excessive charge is prevented).
In the information processing method provided by the embodiment of the invention, firstly, when a terminal receives first information sent by a server, whether the state of a communication module of the terminal is limited to use or not is judged, if the state of the communication module is limited to use, the terminal starts an automatic restart function, then the terminal acquires a first numerical value corresponding to a first preset field, and if the first numerical value meets a first preset condition, the communication module of the terminal is restarted; if the first numerical value does not meet a first preset condition, the terminal acquires a second preset field in the first information and a third numerical value corresponding to the second preset field; and restarting the communication module when the third value meets a third preset condition. Therefore, the operation steps of the terminal can be simplified, the intelligence of the terminal is improved, the terminal does not need to be restarted, only the Modem layer of the terminal needs to be restarted, so that the power consumption can be further saved, in addition, the Modem layer can be restarted again after the charging and the payment of telephone fees according to users of different star grades, the effect of charging and using immediately is achieved, and the user experience is improved.
Fig. 8 is a schematic view of a structure of a terminal according to an embodiment of the present invention, and as shown in fig. 8, the terminal 800 at least includes: a memory 801, a communication bus 802, a communication module 803, and a processor 804, wherein:
the memory 801 is used for storing information processing programs;
the communication bus 802 is used for realizing connection communication between the processor and the memory;
the communication module 803 is configured to implement a communication function between the terminal and a base station;
the processor 804 is configured to execute the information processing program stored in the memory, so as to implement the following steps:
receiving first information sent by a server, wherein the first information at least carries a first preset field;
if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field;
and if the first numerical value meets a first preset condition, restarting the communication module of the communication module.
In another embodiment, before the step of obtaining the first value corresponding to the first preset field if the state of the communication module is restricted, the processor 804 is further configured to execute an information processing program stored in a memory, so as to implement the following steps:
judging whether the state of the communication module is limited to use or not;
and if the state of the communication module is limited to use, starting an automatic restarting function, wherein the automatic restarting function is used for restarting the communication module.
Before the step of obtaining the first numerical value corresponding to the first preset field if the state of the communication module is restricted, the method further includes:
judging whether second information is received or not, wherein the second information at least carries a first preset field;
if the second information is received, acquiring a second numerical value corresponding to the first preset field;
and if the second value meets a second preset condition, starting the automatic restarting function.
In another embodiment, the restarting the own communication module if the first value satisfies the first preset condition includes:
if the first value meets a first preset condition, judging whether the automatic restarting function is started;
and if the automatic restarting function is started, restarting the communication module of the automatic restarting function.
In other embodiments, before the step of restarting the communication module if the first value satisfies the first preset condition, the processor 804 is further configured to execute an information processing program stored in a memory to implement the following steps:
acquiring a preset first threshold value;
and judging whether the first value is greater than or equal to the first threshold, wherein if the first value is greater than or equal to the first threshold, the first value meets a first preset condition.
In other embodiments, the processor 804 is further configured to execute an information processing program stored in the memory to implement the following steps:
if the first numerical value is smaller than the first threshold, acquiring a second preset field in the first information and a third numerical value corresponding to the second preset field;
and if the third numerical value meets a third preset condition, restarting the communication module of the communication module.
In other embodiments, before the step of restarting the communication module if the third value satisfies the third preset condition, the processor 804 is further configured to execute an information processing program stored in a memory to implement the following steps:
sending a request message for acquiring a second threshold value of the user to the server, wherein the request message at least carries identification information of the user;
receiving a response message sent by the server, wherein the response message carries a second threshold corresponding to the user;
and judging whether the third value is smaller than or equal to the second threshold, wherein if the third value is larger than or equal to the second threshold, the third value meets a third preset condition.
It should be noted that the description of the terminal embodiment is similar to the description of the method embodiment, and has similar beneficial effects to the method embodiment, and therefore, the description is not repeated. For technical details not disclosed in the terminal embodiments of the present invention, reference is made to the description of the method embodiments of the present invention for understanding.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of:
receiving first information sent by a server, wherein the first information at least carries a first preset field;
if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field;
and if the first numerical value meets a first preset condition, restarting the communication module of the communication module.
It should be noted that one or more programs in the embodiment of the present invention may be information processing programs used when information processing is performed.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. An information processing method, characterized in that the method comprises:
receiving first information sent by a server, wherein the first information at least carries a first preset field;
if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field;
if the first numerical value meets a first preset condition, restarting a communication module of the communication module; wherein the first numerical value is a first numerical value appearing after the first preset field and before a preset character;
before the step of restarting the own communication module if the first value satisfies the first preset condition, the method further includes:
acquiring a preset first threshold value;
judging whether the first value is greater than or equal to the first threshold, wherein if the first value is greater than or equal to the first threshold, the first value meets a first preset condition;
if the first numerical value is smaller than the first threshold, acquiring a second preset field in the first information and a third numerical value corresponding to the second preset field;
and if the third numerical value meets a third preset condition, restarting the communication module of the communication module.
2. The method according to claim 1, wherein before the step of obtaining the first value corresponding to the first preset field if the state of the communication module is restricted, the method further comprises:
judging whether the state of the communication module is limited to use or not;
and if the state of the communication module per se is limited to use, starting an automatic restarting function, wherein the automatic restarting function is used for restarting the communication module when the first numerical value meets a first preset condition.
3. The method according to claim 2, wherein before the step of obtaining the first value corresponding to the first preset field if the state of the communication module is restricted, the method further comprises:
judging whether second information is received or not, wherein the second information at least carries a first preset field;
if the second information is received, acquiring a second numerical value corresponding to the first preset field;
and if the second value meets a second preset condition, starting the automatic restarting function.
4. The method according to claim 2 or 3, wherein said restarting the own communication module if the first value satisfies a first preset condition comprises:
if the first value meets a first preset condition, judging whether the automatic restarting function is started;
and if the automatic restarting function is started, restarting the communication module of the automatic restarting function.
5. The method according to claim 1, wherein before the step of restarting the own communication module if the third value satisfies a third preset condition, the method further comprises:
sending a request message for acquiring a second threshold value of the user to the server, wherein the request message at least carries identification information of the user;
receiving a response message sent by the server, wherein the response message carries a second threshold corresponding to the user;
and judging whether the third value is smaller than or equal to the second threshold, wherein if the third value is larger than or equal to the second threshold, the third value meets a third preset condition.
6. A terminal, characterized in that the terminal comprises at least: memory, communication bus, communication module and processor, wherein:
the memory is used for storing an information processing program;
the communication bus is used for realizing connection communication between the processor and the memory;
the communication module is used for realizing the communication function between the terminal and the base station;
the processor is used for executing the information processing program stored in the memory so as to realize the following steps:
receiving first information sent by a server, wherein the first information at least carries a first preset field;
if the state of the communication module is limited to use, acquiring a first numerical value corresponding to the first preset field;
if the first numerical value meets a first preset condition, restarting a communication module of the communication module; wherein the first numerical value is a first numerical value appearing after the first preset field and before a preset character;
the processor is further configured to execute the information processing program stored in the memory to implement the following steps:
if the first numerical value is smaller than the first preset condition, acquiring a second preset field in the first information and a third numerical value corresponding to the second preset field;
and if the third numerical value meets a third preset condition, restarting the communication module of the communication module.
7. The terminal of claim 6, wherein before the step of obtaining the first value corresponding to the first preset field if the state of the communication module of the terminal is restricted, the processor is further configured to execute an information processing program stored in a memory to implement the steps of:
judging whether the state of the communication module is limited to use or not;
and if the state of the communication module is limited to use, starting an automatic restarting function, wherein the automatic restarting function is used for restarting the communication module.
8. A readable storage medium, characterized in that an information processing program is stored thereon, which when executed by a processor implements the steps of the information processing method according to any one of claims 1 to 5.
CN201810165951.2A 2018-02-28 2018-02-28 Information processing method, terminal and readable storage medium Active CN108449806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810165951.2A CN108449806B (en) 2018-02-28 2018-02-28 Information processing method, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810165951.2A CN108449806B (en) 2018-02-28 2018-02-28 Information processing method, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN108449806A CN108449806A (en) 2018-08-24
CN108449806B true CN108449806B (en) 2021-12-17

Family

ID=63192699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810165951.2A Active CN108449806B (en) 2018-02-28 2018-02-28 Information processing method, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN108449806B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932240A (en) * 2020-06-17 2020-11-13 北京国基伟业物业管理有限公司 Property charging management service method and device
CN114070721B (en) * 2021-11-16 2023-07-28 中国联合网络通信集团有限公司 Module information determining method, terminal and storage medium
CN114157999B (en) * 2021-11-29 2023-03-21 中国联合网络通信集团有限公司 Processing method, system, equipment and medium for user to recover internet surfing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668060A (en) * 2005-04-06 2005-09-14 海信集团有限公司 An automatic prepaying method for mobile terminal
CN103596246A (en) * 2013-11-11 2014-02-19 华为终端有限公司 Method and terminal for recovering data service
CN106332041A (en) * 2016-08-19 2017-01-11 维沃移动通信有限公司 Data network recovery method and mobile terminal
CN106658754A (en) * 2016-09-29 2017-05-10 北京小米移动软件有限公司 Method and apparatus for resuming network connection

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110001530A1 (en) * 2009-07-01 2011-01-06 Kawasaki Microelectronics Inc. Method and apparatus for receiving burst data without using external detection signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668060A (en) * 2005-04-06 2005-09-14 海信集团有限公司 An automatic prepaying method for mobile terminal
CN103596246A (en) * 2013-11-11 2014-02-19 华为终端有限公司 Method and terminal for recovering data service
CN106332041A (en) * 2016-08-19 2017-01-11 维沃移动通信有限公司 Data network recovery method and mobile terminal
CN106658754A (en) * 2016-09-29 2017-05-10 北京小米移动软件有限公司 Method and apparatus for resuming network connection

Also Published As

Publication number Publication date
CN108449806A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108391025B (en) Network access management method, mobile terminal and computer readable storage medium
CN109587747B (en) SIM card switching control method, terminal and computer storage medium
CN107222613B (en) Display method and terminal
CN112004173B (en) Bluetooth headset switching method, mobile terminal and computer readable storage medium
CN109151169B (en) Camera authority management method, mobile terminal and computer readable storage medium
CN109618316B (en) Network sharing method, mobile terminal and storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN109144705B (en) Application management method, mobile terminal and computer readable storage medium
CN109462696B (en) Information prompting method, mobile terminal and computer readable storage medium
CN108833690B (en) Authority control method, terminal and computer readable storage medium
CN111901211B (en) Control method, apparatus and storage medium
CN112631535A (en) Screen projection reverse control method and device, mobile terminal and storage medium
CN108449806B (en) Information processing method, terminal and readable storage medium
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN112637410A (en) Method, terminal and storage medium for displaying message notification
CN111935849A (en) Information processing method, device and storage medium
CN109862278B (en) Light supplementing method and device for face recognition and computer readable storage medium
CN109286970B (en) Wearable device power consumption optimization method and device, device and readable storage medium
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN107608629B (en) Data migration method, terminal and computer readable storage medium
CN109831577B (en) Network connection method, terminal, and computer-readable storage medium
CN112076466A (en) Game data control method, mobile terminal and computer-readable storage medium
CN112395106A (en) Process management method, mobile terminal, and computer-readable storage medium

Legal Events

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