CN109451151B - Information generation method, terminal and computer readable storage medium - Google Patents

Information generation method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109451151B
CN109451151B CN201811269137.1A CN201811269137A CN109451151B CN 109451151 B CN109451151 B CN 109451151B CN 201811269137 A CN201811269137 A CN 201811269137A CN 109451151 B CN109451151 B CN 109451151B
Authority
CN
China
Prior art keywords
terminal
reminding
period
preset
time period
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
CN201811269137.1A
Other languages
Chinese (zh)
Other versions
CN109451151A (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 CN201811269137.1A priority Critical patent/CN109451151B/en
Publication of CN109451151A publication Critical patent/CN109451151A/en
Application granted granted Critical
Publication of CN109451151B publication Critical patent/CN109451151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses an information generation method, which is applied to a terminal and comprises the following steps: acquiring collected data in a preset time period, wherein the collected data comprises use data of the terminal and environment data related to the terminal; acquiring a reminding period based on the acquired data; generating and displaying reminding information based on the reminding period; and the reminding information is used for reminding a user of cleaning the terminal. The embodiment of the invention also discloses a terminal and a computer readable storage medium.

Description

Information generation method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to an information generating method, a terminal, and a computer-readable storage medium.
Background
At present, the application of the mobile phone in daily life is very wide, such as making and receiving calls, surfing the internet for chatting, mobile payment and the like. However, investigations have shown that the surface bacteria count of a mobile phone which is not always hygienically cleaned is more than twice or even more than normal. Moreover, some of the bacteria are pathogenic bacteria, which can cause poisoning, pustule growth and even septicemia of users, and especially pose a great threat to the health of the old and children using the mobile phone.
However, an effective solution has not been proposed in the related art against the above-mentioned problems.
Disclosure of Invention
In view of this, embodiments of the present invention provide an information generating method, a terminal, and a computer-readable storage medium, which can flexibly obtain a reminding period according to collected data, and remind a user of sanitation and cleanliness of the terminal in time, so as to prevent bacteria accumulated on a surface of the terminal from causing harm to the health of the user.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
an embodiment of the present invention provides an information generating method, including:
acquiring collected data in a preset time period, wherein the collected data comprises use data of the terminal and environment data related to the terminal;
acquiring a reminding period based on the acquired data;
generating and displaying reminding information based on the reminding period; and the reminding information is used for reminding a user of cleaning the terminal.
Optionally, the acquiring the collected data in the preset time period includes:
acquiring a first number of times that a screen of the terminal is touched within a first preset time period; wherein the preset time period comprises the first preset time period;
correspondingly, acquiring a reminding period based on the acquired data comprises:
if the first time is less than the preset times, prolonging a first preset reminding period to obtain the reminding period;
and if the first time is greater than or equal to the preset times, shortening the first preset reminding period to obtain the reminding period.
Optionally, the acquiring the collected data in the preset time period includes:
acquiring a second number of times that a screen of the terminal is touched within a second preset time period; wherein the preset time period comprises the second preset time period;
acquiring historical use data of the terminal, and generating a third time based on the historical use data of the terminal;
correspondingly, acquiring a reminding period based on the acquired data comprises:
calculating a first ratio of the second number of times to the third number of times;
and if the first ratio is smaller than a first preset threshold value, prolonging a second preset reminding period to obtain the reminding period.
Optionally, the method further includes:
and if the first ratio is greater than or equal to the first preset threshold, shortening the second preset reminding period to obtain the reminding period.
Optionally, the acquiring the collected data in the preset time period includes:
acquiring a first quantity of bacteria on the surface of the terminal within a third preset time period, wherein the third preset time period is a time period before the terminal is cleaned;
acquiring a second quantity of bacteria on the surface of the terminal within a fourth preset time period, wherein the fourth preset time period is a time period after the terminal is cleaned; wherein the preset time period comprises the third preset time period and the fourth preset time period;
correspondingly, acquiring a reminding period based on the acquired data comprises:
calculating a second ratio of the first number and the second number;
and if the second ratio is smaller than a second preset threshold value, prolonging a third preset reminding period to obtain the reminding period.
Optionally, the method further includes:
and if the second ratio is greater than or equal to the second preset threshold, shortening the third preset reminding period to obtain the reminding period.
Optionally, the acquiring the collected data in the preset time period includes:
acquiring a first temperature and a first humidity of the surface of the terminal within a fifth preset time period; wherein the preset time period comprises the fifth preset time period;
acquiring historical temperature data and humidity data of the terminal surface, and generating a second temperature and a second humidity based on the historical temperature data and humidity data of the terminal surface;
correspondingly, acquiring a reminding period based on the acquired data comprises:
calculating a third ratio of the first temperature to the second temperature;
calculating a fourth ratio of the first humidity to the second humidity;
and if the third ratio is smaller than a third preset threshold and/or the fourth ratio is smaller than a fourth preset threshold, prolonging a fourth preset reminding period to obtain the reminding period.
Optionally, the method further includes:
if the third ratio is greater than or equal to the third preset threshold and/or the fourth ratio is greater than or equal to the fourth preset threshold, shortening the fourth preset reminding period to obtain the reminding period.
An embodiment of the present invention further provides a terminal, where the terminal includes: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for acquiring acquired data in a preset time period, wherein the acquired data comprises use data of the terminal and environment data related to the terminal;
acquiring a reminding period based on the acquired data;
generating and displaying reminding information based on the reminding period; and the reminding information is used for reminding a user of cleaning the terminal.
Embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the information generating method described above.
According to the information generation method, the terminal and the computer readable storage medium provided by the embodiment of the invention, the use data and the physical data of the terminal collected in the preset time period are obtained, then, the reminding period is obtained based on the collected data, and the reminding information for reminding the user of cleaning the terminal is generated and displayed; therefore, the reminding period can be flexibly acquired according to the acquired data, and the user is timely reminded to sanitarily clean the terminal, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic structural diagram of a communication system in which a mobile terminal according to an embodiment of the present invention can operate;
fig. 3 is a schematic flowchart of an information generating method according to an embodiment of the present invention;
fig. 4 is an interface schematic diagram of an information generating method according to an embodiment of the present invention;
fig. 5 is a schematic interface diagram of another information generation method according to an embodiment of the present invention;
fig. 6 is a schematic interface diagram of another information generation method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of another information generating method according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of another information generating method according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of another information generating method according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating an information generating method according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
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: a Radio Frequency (RF) unit 101, a Wi-Fi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a 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 Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through a Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi 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 Wi-Fi 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 graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi 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 User Equipment (UE) 201, Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, Evolved Packet Core Network (EPC) 203, and 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 a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, a Serving Gateway (SGW) 2034, a packet data network gateway (PDN Gate Way, PGW)2035, and a Policy and Charging Rules Function (PCRF) 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, IP Multimedia Subsystem (IMS) or other IP services, and the like.
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 system, various embodiments of the present invention are proposed.
An embodiment of the present invention provides an information generating method, which is applied to a terminal, and as shown in fig. 3, the method includes the following steps:
step 301, acquiring acquired data in a preset time period.
Wherein the collected data comprises usage data of the terminal and environment data associated with the terminal.
It should be noted that the usage data of the terminal may include, but is not limited to, a time when the terminal is connected to a network for browsing a webpage and playing a video, a time when a screen of the terminal is on, a number of times when the screen of the terminal is touched and a number of times when a key of the terminal is operated, and the environmental data associated with the terminal may include, but is not limited to, a temperature, a humidity, and a number of bacteria attached to inner and outer surfaces and keys of the terminal.
The preset time period may be a specific time period, such as 9:00-10: 00; the preset time period may also be any time period, such as 30 minutes and 2 hours, which is not limited in the embodiment of the present invention.
Specifically, when a user browses a webpage, chats in a video or purchases on the internet by using the terminal, the time of the user aiming at the screen of the terminal is collected by a camera built in the terminal. For example, when the terminal detects that the screen changes from dark to light, the terminal indicates that the user starts to use the terminal; at the moment, under the condition that the normal use of the terminal service by the user is not influenced, a camera of the terminal is started, and timing is started; and when the terminal detects that the screen is changed from light to dark, the user stops using the terminal, the camera of the terminal is closed at the moment, and the timing is ended. And processing to obtain the timed duration, namely the time for the user to align the terminal screen.
In other embodiments of the present invention, the collected data is obtained by monitoring the total traffic usage of the application program by the terminal background. For example, when the preset time period is 8:00-12:00, the total flow consumption is counted to be 900M, which is the collected data, between 9:30-10: 00. For another example, when the preset time period is 3 hours, the total flow of the application programs of the terminal is counted to consume 1G.
In addition, data in a preset time period can be acquired through various sensors built in the terminal. For example, the number of times that a terminal screen is clicked by a finger of a user is obtained through a touch screen sensor in the terminal, and when the number of times that the terminal screen is clicked exceeds a threshold value, the terminal is in a busy working state at present; and when the number of times of clicking the terminal screen is lower than the threshold value, the terminal is in an idle state.
For another example, when the user uses the terminal to perform a call service, the face of the user may touch the screen of the terminal. Therefore, the frequency of the face of the user touching the terminal can be acquired through the proximity sensor in the terminal, and the use condition of the terminal can be known.
Step 302, acquiring a reminding period based on the collected data.
It should be noted that after the terminal acquires the acquired data, a dialog box for reminding can be sent out on the display interface, and a reminding period is set by the user; or, the terminal may also automatically adjust the reminding period pre-stored in the terminal according to the collected data.
Specifically, after the terminal acquires the collected data, a dialog box may be displayed to the user on a display interface of the terminal. The content in the dialog box may be "the terminal is in a busy state, please shorten the reminding period", at this time, the user may set the reminding period in the input box according to the actual use condition of the terminal, for example, 30 minutes and 1 hour, which is not limited in the embodiment of the present invention.
In other embodiments of the present invention, the terminal determines whether the terminal is currently in a busy state or an idle state according to the collected data, thereby automatically adjusting a reminding period pre-stored in the terminal. For example, the preset time period is 8:00-12:00, and when the reminding period pre-stored in the terminal is 30 minutes, the background of the terminal monitors that the total flow consumption of the terminal is more than 9:30-10:00, which indicates that the terminal is in a busy state at present, and the terminal needs to be cleaned hygienically; at this time, the terminal needs to shorten the alert period, so as to adjust the alert period to 20 minutes.
In addition, when the background of the terminal monitors that the total flow consumption of the terminal between 11:00 and 12:00 is low, the terminal is in an idle state at present, and the terminal does not need to be hygienically cleaned; at this time, the terminal needs to extend the alert period, so as to adjust the alert period to 40 minutes. Therefore, the terminal can adjust the set reminding period in time according to the collected data.
It should be noted that the extension time and the shortening time of the reminding period can be set according to empirical values, for example, 30 minutes and 1 hour, which is not limited in the embodiment of the present invention.
And 303, generating and displaying reminding information based on the reminding period.
The reminding information is used for reminding a user of cleaning the terminal.
It should be noted that the manner of presentation may include, but is not limited to, the use of audio and/or visual means. For example, the sound mode can be vibration, ring tone and combination of vibration and ring tone of the terminal, and the visual mode can be brightness change of the terminal screen, floating display of a reminding message on the screen and flashing of a breathing lamp.
Specifically, when the timing of the reminding period is finished, reminding information for reminding a user of sanitation and cleanness of the terminal is generated and displayed. For example, the reminding period is 1 hour, the time is counted from the time when the reminding period is acquired, and the reminding information is generated at the time when the continuous accumulation reaches 1 hour.
To better understand the technical solution of the embodiment of the present invention, please refer to fig. 4, which is a schematic interface diagram of a user browsing a web page using a terminal. A user opens a switch of the terminal, the screen of the terminal is changed from a dark state to a bright state, and the time of the terminal recording system is 9: 00; the brightness change of the screen can trigger the opening and closing of the camera, and the camera shoots the image of the user terminal; when the screen of the terminal is changed from a bright state to a dark state, the camera is turned off, and the time of the terminal recording system is 9: 30. And the terminal processes the recorded system time to obtain that the time for the user to use the terminal is 30 minutes and is lower than the use time threshold. Therefore, the terminal displays a dialog box to the user on the display interface, and as shown in FIG. 5, the content in the dialog box may be "the terminal is in an idle state, please extend the reminding period! ". And the user inputs a reminding period of 1 hour in the input box according to the actual use condition of the terminal. At this time, the terminal starts to count the reminding period.
When the 1 hour of the reminding period is over, a reminding message is generated, and a dialog box is displayed on a display interface of the terminal in a suspension manner, as shown in fig. 6, the content of the dialog box may be "please clean the mobile phone in time |)! "; meanwhile, the terminal can make a vibrating sound, so that a user is reminded of sanitarily cleaning the terminal.
The information generation method provided by the embodiment of the invention comprises the steps of acquiring the use data and the physical data of the terminal acquired within a preset time period, then acquiring a reminding period based on the acquired data, generating reminding information for reminding a user to clean the terminal and displaying the reminding information; therefore, the reminding period can be flexibly acquired according to the acquired data, and the user is timely reminded to sanitarily clean the terminal, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Based on the foregoing embodiment, another information generating method provided in an embodiment of the present invention is applied to a terminal, and as shown in fig. 7, the method includes the following steps:
step 401, acquiring a first number of times that a screen of a terminal is touched within a first preset time period.
It should be noted that the first preset time period may be set according to actual needs, for example, the first preset time period may be 30 minutes or 1 hour, which is not limited in this embodiment of the present invention.
Specifically, a first number of times that a screen of the terminal is touched within 2 hours is obtained through a touch screen sensor and/or a proximity sensor in the terminal, for example, 50 times.
The touch screen sensor is used for acquiring the times of clicking the terminal screen by the fingers of the user, and the close range sensor is used for acquiring the times of touching the terminal screen by the face of the user.
And 402, if the first time is less than the preset times, prolonging the first preset reminding period to obtain the reminding period.
Specifically, the preset times are any positive number, such as 50 times and 100 times; the first preset reminding period is any time length, such as 30 minutes and 1 hour; the extension time is any time length, such as 10 minutes and 30 minutes.
For example, when the first number is 50 times and the preset number is 200 times, it indicates that the terminal is in an idle state at this time, that is, the number of times that the user uses the terminal in the first preset time period is small, and it is not necessary to clean the terminal hygienically, so the first preset reminding period needs to be prolonged. And when the first preset reminding period is 1 hour and the extension time is 20 minutes, the reminding period is 80 minutes.
In step 403, if the first number is greater than or equal to the preset number, the first preset reminding period is shortened to obtain a reminding period.
For example, when the first number is 50 times and the preset number is 20 times, it indicates that the terminal is in a busy state at this time, that is, the number of times that the user uses the terminal in the first preset time period is large, and the terminal must be hygienically cleaned, so that the first preset reminding period needs to be shortened. And when the first preset reminding period is 1 hour and the shortening time is 20 minutes, the reminding period is 40 minutes.
And step 404, generating and displaying reminding information based on the reminding period.
The reminding information is used for reminding a user of cleaning the terminal.
Specifically, when the timing of the reminding period is finished, reminding information for reminding a user of sanitation and cleanness of the terminal is generated and displayed.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The information generation method provided by the embodiment of the invention comprises the steps of acquiring the use data and the physical data of the terminal acquired within a preset time period, then acquiring a reminding period based on the acquired data, generating reminding information for reminding a user to clean the terminal and displaying the reminding information; therefore, the reminding period can be flexibly acquired according to the acquired data, and the user is timely reminded to sanitarily clean the terminal, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Based on the foregoing embodiment, another information generating method provided by an embodiment of the present invention is applied to a terminal, and as shown in fig. 8, the method includes the following steps:
step 501, acquiring a second number of times that the screen of the terminal is touched within a second preset time period.
It should be noted that the second preset time period may be set according to actual needs, for example, the second preset time period may be 30 minutes or 1 hour, which is not limited in the embodiment of the present invention.
Specifically, a second number of times that the screen of the terminal is touched within 3 hours is obtained through a touch screen sensor and/or a proximity sensor in the terminal, for example, 60 times.
Step 502, obtaining the historical use data of the terminal, and generating a third time based on the historical use data of the terminal.
It should be noted that the historical usage data may be usage data of the terminal in the previous day, and the number of times that the terminal screen is touched is extracted from the usage data as the third number of times. For example, the number of times that the user touches the terminal screen is 300 times in the previous day, and the third time is 300 times.
Step 503, calculate the first ratio of the second number of times and the third number of times.
And step 504, if the first ratio is smaller than the first preset threshold, prolonging a second preset reminding period to obtain a reminding period.
It should be noted that the first preset threshold may be set according to the usage of the terminal, such as 1/2, 1.
For example, when the second number is 60, the third number is 300, and the first preset threshold is 1/2, the first ratio is 1/5. At this time, the first ratio is smaller than the first preset threshold, which indicates that the terminal is in an idle state, that is, the number of times that the user uses the terminal in the second preset time period is small, and the terminal does not need to be hygienically cleaned, so that the second preset reminding period needs to be prolonged.
And 505, if the first ratio is greater than or equal to a first preset threshold, shortening the second preset reminding period to obtain a reminding period.
For example, when the second number is 60, the third number is 300, and the first preset threshold is 1/6, the first ratio is 1/5. At this time, the first ratio is greater than the first preset threshold, which indicates that the terminal is in a busy state, that is, the number of times that the user uses the terminal in the second preset time period is large, and the terminal must be hygienically cleaned, so that the second preset reminding period needs to be shortened.
And step 506, generating and displaying reminding information based on the reminding period.
The reminding information is used for reminding a user of cleaning the terminal.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The information generation method provided by the embodiment of the invention comprises the steps of acquiring the use data and the physical data of the terminal acquired within a preset time period, then acquiring a reminding period based on the acquired data, generating reminding information for reminding a user to clean the terminal and displaying the reminding information; therefore, the reminding period can be flexibly acquired according to the acquired data, and the user is timely reminded to sanitarily clean the terminal, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Based on the foregoing embodiment, another information generating method provided by an embodiment of the present invention is applied to a terminal, and as shown in fig. 9, the method includes the following steps:
step 601, acquiring a first quantity of bacteria on the surface of the terminal in a third preset time period.
Wherein the third preset time period is a time period before the terminal is cleaned.
It is noted that a first number, for example 500, of bacteria on the surface of the terminal is obtained by means of a biosensor in the terminal before the terminal is cleaned. The surface of the terminal comprises a front screen, a back screen and keys of the terminal.
A second quantity of bacteria on the surface of the terminal during a fourth predetermined time period is obtained 602.
Wherein the fourth preset time period is a time period after the terminal is cleaned.
It should be noted that after the terminal is cleaned, a second number of bacteria on the terminal surface is obtained by the biosensor in the terminal, such as 200 bacteria.
Step 603, a second ratio of the first number and the second number is calculated.
In step 604, if the second ratio is smaller than the second preset threshold, the third preset reminding period is prolonged to obtain the reminding period.
It should be noted that the second preset threshold may be set according to an empirical value, such as 1, 5.
For example, when the first number is 500, the second number is 200, and the second preset threshold is 2.6, the second ratio is 2.5. At this time, the second ratio is smaller than the second preset threshold, and the terminal does not need to be hygienically cleaned, so that the second preset reminding period needs to be prolonged.
In addition, when the first number is 500, the second number is 200, and the second preset threshold is 6, the second ratio is 2.5. At this time, the second ratio is much smaller than the second preset threshold, so that the second preset reminding period can be kept unchanged.
Step 605, if the second ratio is greater than or equal to the second preset threshold, the third preset reminding period is shortened to obtain the reminding period.
For example, when the first number is 500, the second number is 200, and the second preset threshold is 1, the second ratio is 2.5. At this time, the second ratio is greater than the second preset threshold, and the terminal must be hygienically cleaned, so that the third preset reminding period needs to be shortened.
In addition, when the first number is 500, the second number is 200, and the second preset threshold is 0.2, the second ratio is 2.5. At this time, the second ratio is much larger than the second preset threshold, so that the third preset reminding period needs to be set to zero.
And 606, generating and displaying reminding information based on the reminding period.
The reminding information is used for reminding a user of cleaning the terminal.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The information generation method provided by the embodiment of the invention comprises the steps of acquiring the use data and the physical data of the terminal acquired within a preset time period, then acquiring a reminding period based on the acquired data, generating reminding information for reminding a user to clean the terminal and displaying the reminding information; therefore, the reminding period can be flexibly acquired according to the acquired data, and the user is timely reminded to sanitarily clean the terminal, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Based on the foregoing embodiment, another embodiment of the present invention provides an information generating method, which is applied in a terminal, and as shown in fig. 10, the method includes the following steps:
step 701, acquiring a first temperature and a first humidity of the surface of the terminal in a fifth preset time period.
It should be noted that the fifth preset time period may be any time period in a day, for example, 12:00 to 13:00, which is not limited in the embodiment of the present invention.
Specifically, a first temperature of the surface of the inner terminal is obtained by a temperature sensor in the terminal between 12:00 and 13:00 and a first humidity of the surface of the inner terminal is obtained by a humidity sensor in the terminal between 12:00 and 13: 00.
Step 702, obtaining historical temperature data and humidity data of the terminal surface, and generating a second temperature and a second humidity based on the historical temperature data and humidity data of the terminal surface.
It should be noted that the historical temperature data and humidity data are temperature data and humidity data of the same time period of the day before the terminal, and are taken as the second temperature and the second humidity. For example, the same time period is 12:00-13: 00.
Step 703, calculating a third ratio of the first temperature to the second temperature.
Step 704, calculating a fourth ratio of the first humidity to the second humidity.
It should be noted that, the step 503 and the step 504 are not executed in sequence.
Step 705, if the third ratio is smaller than the third preset threshold and/or the fourth ratio is smaller than the fourth preset threshold, the fourth preset reminding period is prolonged to obtain the reminding period.
The third preset threshold and the fourth preset threshold may be equal or unequal, which is not limited in the embodiment of the present invention.
It should be noted that the third ratio is smaller than the third preset threshold and/or the fourth ratio is smaller than the fourth preset threshold, which indicates that the temperature and humidity in the fifth preset time period are not suitable for the growth of bacteria, and the terminal does not need to be hygienically cleaned, so that the fourth preset reminding period needs to be prolonged.
Step 706, if the third ratio is greater than or equal to the third preset threshold and/or the fourth ratio is greater than or equal to the fourth preset threshold, the fourth preset reminding period is shortened to obtain the reminding period.
It should be noted that the third ratio is greater than or equal to the third preset threshold and/or the fourth ratio is greater than or equal to the fourth preset threshold, which indicates that the temperature and humidity in the fifth preset time period are suitable for the growth of bacteria, and the terminal must be hygienically cleaned, so that the fourth preset reminding period needs to be shortened.
And step 707, generating and displaying the reminding information based on the reminding period.
The reminding information is used for reminding a user of cleaning the terminal.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The information generation method provided by the embodiment of the invention comprises the steps of acquiring the use data and the physical data of the terminal acquired within a preset time period, then acquiring a reminding period based on the acquired data, generating reminding information for reminding a user to clean the terminal and displaying the reminding information; therefore, the reminding period can be flexibly acquired according to the acquired data, and the user is timely reminded to sanitarily clean the terminal, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Based on the foregoing embodiment, the terminal provided in the embodiment of the present invention may be applied to the information generating method provided in the embodiment corresponding to fig. 3 to 10, and as shown in fig. 11, the terminal 8 includes: a processor 81, a communication bus 82, and a memory 83;
the processor 81 is the same as the processor 110, and the memory 83 is the same as the memory 109.
The communication bus 82 is used for realizing communication connection between the processor 81 and the memory 83;
the processor 81 is configured to execute the program generated by the information in the memory 83 to implement the following steps:
acquiring collected data in a preset time period.
Wherein the collected data comprises usage data of the terminal 8 and environment data associated with said terminal.
The processor 81 is further configured to obtain a reminding period based on the collected data;
and generating and displaying reminding information based on the reminding period.
Wherein the reminding information is used for reminding the user to clean the terminal 8.
In other embodiments of the present invention, the terminal 8 further comprises a touch screen sensor 84 and a proximity sensor 85, wherein:
the communication bus 83 is also used for realizing communication connection among the processor 81, the memory 83, the touch screen sensor 84 and the proximity sensor 85;
the processor 81 is configured to execute the program generated by the information in the memory 83 to implement the following steps:
the first number of times that the screen of the terminal 8 is touched within the first preset time period is acquired through the touch screen sensor 84 and the proximity sensor 85.
The preset time period comprises a first preset time period.
The processor 81 is further configured to, if the first number of times is smaller than the preset number of times, extend the first preset reminding period to obtain a reminding period;
correspondingly, if the first time is greater than or equal to the preset time, the first preset reminding period is shortened to obtain the reminding period.
In other embodiments of the present invention, the processor 81 is configured to acquire, through the touch screen sensor 84 and the proximity sensor 85, a second number of times that the screen of the terminal 8 is touched within a second preset time period.
Wherein the preset time period comprises a second preset time period.
Historical usage data of the terminal 8 is acquired, and a third number is generated based on the historical usage data of the terminal 8.
A processor 81, further configured to calculate a first ratio of the second number and the third number;
if the first ratio is smaller than a first preset threshold value, prolonging a second preset reminding period to obtain a reminding period;
correspondingly, if the first ratio is greater than or equal to the first preset threshold, the second preset reminding period is shortened to obtain the reminding period.
In other embodiments of the invention, the terminal 8 further comprises a biosensor 86, wherein:
the communication bus 82 is also used for realizing communication connection among the processor 81, the memory 83 and the biosensor 86;
the processor 81 is configured to execute the program generated by the information in the memory 83 to implement the following steps:
the first number of bacteria on the surface of the terminal 8 during the third predetermined period of time is acquired by the biosensor 86. Wherein the third preset time period is the time period before the terminal 8 is cleaned.
A second quantity of bacteria on the surface of the terminal 8 is acquired by the biosensor 86 during a fourth predetermined period of time. The fourth preset time period is a time period after the terminal 8 is cleaned, and the preset time period includes a third preset time period and a fourth preset time period.
A processor 81 further configured to calculate a second ratio of the first number and the second number;
if the second ratio is smaller than a second preset threshold, prolonging a third preset reminding period to obtain a reminding period;
correspondingly, if the second ratio is greater than or equal to the second preset threshold, the third preset reminding period is shortened to obtain the reminding period.
In other embodiments of the invention, the terminal 8 further comprises a temperature sensor 87 and a humidity sensor 88, wherein:
the communication bus 82 is also used for realizing communication connection among the processor 81, the memory 83, the temperature sensor 87 and the humidity sensor 88;
in other embodiments of the present invention, the processor 81 is configured to obtain the first temperature and the first humidity of the surface of the terminal 8 within the fifth preset time period through the temperature sensor 87 and the humidity sensor 88.
Wherein the preset time period comprises a fifth preset time period.
Acquiring historical temperature data and humidity data of the surface of the terminal 8, and generating a second temperature and a second humidity based on the historical temperature data and humidity data of the surface of the terminal 8;
processor 81, further configured to calculate a third ratio of the first temperature to the second temperature;
calculating a fourth ratio of the first humidity to the second humidity;
if the third ratio is smaller than a third preset threshold and/or the fourth ratio is smaller than a fourth preset threshold, prolonging a fourth preset reminding period to obtain a reminding period;
correspondingly, if the third ratio is greater than or equal to the third preset threshold and/or the fourth ratio is greater than or equal to the fourth preset threshold, the fourth preset reminding period is shortened to obtain the reminding period.
It should be noted that, for a specific implementation process of the steps executed by the processor in this embodiment, reference may be made to the implementation processes in the information generation method provided in the embodiments corresponding to fig. 3, 7 to 10, and details are not described here again.
The terminal provided by the embodiment of the invention can flexibly acquire the reminding period according to the acquired data and remind the user of sanitation and cleanness of the terminal in time, so that the harm of bacteria accumulated on the surface of the terminal to the body health of the user is avoided.
Based on the foregoing embodiments, embodiments of the invention provide 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:
acquiring collected data in a preset time period;
wherein the collected data comprises usage data of the terminal and environment data associated with the terminal;
acquiring a reminding period based on the acquired data;
generating and displaying reminding information based on the reminding period;
the reminding information is used for reminding a user of cleaning the terminal.
In other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain the collected data for a preset time period to perform the steps of:
acquiring a first number of times that a screen of a terminal is touched within a first preset time period;
the preset time period comprises a first preset time period;
in other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain a reminder period based on the collected data to perform the steps of:
if the first time is less than the preset times, prolonging the first preset reminding period to obtain a reminding period;
correspondingly, if the first time is greater than or equal to the preset time, the first preset reminding period is shortened to obtain the reminding period.
In other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain the collected data for a preset time period to perform the steps of:
acquiring a second number of times that a screen of the terminal is touched within a second preset time period;
the preset time period comprises a second preset time period;
acquiring historical use data of the terminal, and generating a third time based on the historical use data of the terminal;
in other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain a reminder period based on the collected data to perform the steps of:
calculating a first ratio of the second frequency to the third frequency;
if the first ratio is smaller than a first preset threshold value, prolonging a second preset reminding period to obtain a reminding period;
correspondingly, if the first ratio is greater than or equal to the first preset threshold, the second preset reminding period is shortened to obtain the reminding period.
In other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain the collected data for a preset time period to perform the steps of:
acquiring a first quantity of bacteria on the surface of the terminal in a third preset time period, wherein the third preset time period is a time period before the terminal is cleaned;
acquiring a second quantity of bacteria on the surface of the terminal within a fourth preset time period, wherein the fourth preset time period is a time period after the terminal is cleaned;
the preset time period comprises a third preset time period and a fourth preset time period;
in other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain a reminder period based on the collected data to perform the steps of:
calculating a second ratio of the first number to the second number;
if the second ratio is smaller than a second preset threshold, prolonging a third preset reminding period to obtain a reminding period;
correspondingly, if the second ratio is greater than or equal to the second preset threshold, the third preset reminding period is shortened to obtain the reminding period.
In other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain the collected data for a preset time period to perform the steps of:
acquiring a first temperature and a first humidity of the surface of the terminal within a fifth preset time period;
the preset time period comprises a fifth preset time period;
acquiring historical temperature data and humidity data of the surface of the terminal, and generating a second temperature and a second humidity based on the historical temperature data and humidity data of the surface of the terminal;
in other embodiments of the present invention, the one or more programs are executable by the one or more processors to obtain a reminder period based on the collected data to perform the steps of:
calculating a third ratio of the first temperature to the second temperature;
calculating a fourth ratio of the first humidity to the second humidity;
if the third ratio is smaller than a third preset threshold and/or the fourth ratio is smaller than a fourth preset threshold, prolonging a fourth preset reminding period to obtain a reminding period;
correspondingly, if the third ratio is greater than or equal to the third preset threshold and/or the fourth ratio is greater than or equal to the fourth preset threshold, the fourth preset reminding period is shortened to obtain the reminding period.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
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 (10)

1. An information generating method is applied to a terminal, and is characterized in that the method comprises the following steps:
acquiring collected data in a preset time period, wherein the collected data comprises use data of the terminal and environment data related to the terminal; the use data of the terminal comprises one or more of time for browsing a webpage and playing a video by using the terminal to connect a network, time for a screen of the terminal to be on, the number of times for the screen of the terminal to be touched and the number of times for a key of the terminal to be operated; the environment data associated with the terminal includes: the temperature and humidity of the inner and outer surfaces and the keys of the terminal and the number of bacteria attached to the inner and outer surfaces and the keys;
acquiring a reminding period based on the acquired data;
generating and displaying reminding information based on the reminding period; and the reminding information is used for reminding a user of cleaning the terminal.
2. The method of claim 1, wherein the acquiring the collected data within the preset time period comprises:
acquiring a first number of times that a screen of the terminal is touched within a first preset time period; wherein the preset time period comprises the first preset time period;
correspondingly, acquiring a reminding period based on the acquired data comprises:
if the first time is less than the preset times, prolonging a first preset reminding period to obtain the reminding period;
and if the first time is greater than or equal to the preset times, shortening the first preset reminding period to obtain the reminding period.
3. The method of claim 1, wherein the acquiring the collected data within the preset time period comprises:
acquiring a second number of times that a screen of the terminal is touched within a second preset time period; wherein the preset time period comprises the second preset time period;
acquiring historical use data of the terminal, and generating a third time based on the historical use data of the terminal;
correspondingly, acquiring a reminding period based on the acquired data comprises:
calculating a first ratio of the second number of times to the third number of times;
and if the first ratio is smaller than a first preset threshold value, prolonging a second preset reminding period to obtain the reminding period.
4. The method of claim 3, further comprising:
and if the first ratio is greater than or equal to the first preset threshold, shortening the second preset reminding period to obtain the reminding period.
5. The method of claim 1, wherein the acquiring the collected data within the preset time period comprises:
acquiring a first quantity of bacteria on the surface of the terminal within a third preset time period, wherein the third preset time period is a time period before the terminal is cleaned;
acquiring a second quantity of bacteria on the surface of the terminal within a fourth preset time period, wherein the fourth preset time period is a time period after the terminal is cleaned; wherein the preset time period comprises the third preset time period and the fourth preset time period;
correspondingly, acquiring a reminding period based on the acquired data comprises:
calculating a second ratio of the first number and the second number;
and if the second ratio is smaller than a second preset threshold value, prolonging a third preset reminding period to obtain the reminding period.
6. The method of claim 5, further comprising:
and if the second ratio is greater than or equal to the second preset threshold, shortening the third preset reminding period to obtain the reminding period.
7. The method of claim 1, wherein the acquiring the collected data within the preset time period comprises:
acquiring a first temperature and a first humidity of the surface of the terminal within a fifth preset time period; wherein the preset time period comprises the fifth preset time period;
acquiring historical temperature data and humidity data of the terminal surface, and generating a second temperature and a second humidity based on the historical temperature data and humidity data of the terminal surface;
correspondingly, acquiring a reminding period based on the acquired data comprises:
calculating a third ratio of the first temperature to the second temperature;
calculating a fourth ratio of the first humidity to the second humidity;
and if the third ratio is smaller than a third preset threshold and/or the fourth ratio is smaller than a fourth preset threshold, prolonging a fourth preset reminding period to obtain the reminding period.
8. The method of claim 7, further comprising:
if the third ratio is greater than or equal to the third preset threshold and/or the fourth ratio is greater than or equal to the fourth preset threshold, shortening the fourth preset reminding period to obtain the reminding period.
9. A terminal, characterized in that the terminal comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for acquiring acquired data in a preset time period, wherein the acquired data comprises use data of the terminal and environment data related to the terminal; the use data of the terminal comprises one or more of time for browsing a webpage and playing a video by using the terminal to connect a network, time for a screen of the terminal to be on, the number of times for the screen of the terminal to be touched and the number of times for a key of the terminal to be operated; the environment data associated with the terminal includes: the temperature and humidity of the inner and outer surfaces and the keys of the terminal and the number of bacteria attached to the inner and outer surfaces and the keys;
acquiring a reminding period based on the acquired data;
generating and displaying reminding information based on the reminding period; and the reminding information is used for reminding a user of cleaning the terminal.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the information generation method according to any one of claims 1 to 8.
CN201811269137.1A 2018-10-29 2018-10-29 Information generation method, terminal and computer readable storage medium Active CN109451151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811269137.1A CN109451151B (en) 2018-10-29 2018-10-29 Information generation method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811269137.1A CN109451151B (en) 2018-10-29 2018-10-29 Information generation method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109451151A CN109451151A (en) 2019-03-08
CN109451151B true CN109451151B (en) 2021-03-26

Family

ID=65548858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811269137.1A Active CN109451151B (en) 2018-10-29 2018-10-29 Information generation method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109451151B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102861739A (en) * 2012-08-06 2013-01-09 华为终端有限公司 Method for cleaning screen of electronic equipment and electronic equipment
CN103728318A (en) * 2013-12-31 2014-04-16 深圳市金立通信设备有限公司 Method, device and terminal for detecting cleanliness of screen
CN103888613A (en) * 2014-03-25 2014-06-25 上海斐讯数据通信技术有限公司 Cleaning method and mobile terminal
KR101502346B1 (en) * 2013-10-18 2015-03-13 손봉원 Call control method and module of smartphone with dual speaker
CN204480610U (en) * 2014-08-25 2015-07-15 程雄 There is the multi-media advertisement box of screen cleaning mechanism
CN108299663A (en) * 2017-08-23 2018-07-20 张家港康得新光电材料有限公司 A kind of anti-fingerprint antibacterial film and hardening liquid and preparation method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4640221B2 (en) * 2006-03-10 2011-03-02 セイコーエプソン株式会社 Ink cartridge and printer
CN103901050A (en) * 2012-12-25 2014-07-02 遵义市亿易通科技网络有限责任公司 Clothing maintenance management system
US9826876B2 (en) * 2013-09-30 2017-11-28 Kimberly-Clark Worldwide, Inc. Low-moisture cloud-making cleaning article
CN106331238A (en) * 2016-09-20 2017-01-11 努比亚技术有限公司 Screen stain prompt method, screen stain prompt device and mobile terminal
CN107506246A (en) * 2017-08-08 2017-12-22 北京小米移动软件有限公司 Information displaying method, device and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102861739A (en) * 2012-08-06 2013-01-09 华为终端有限公司 Method for cleaning screen of electronic equipment and electronic equipment
KR101502346B1 (en) * 2013-10-18 2015-03-13 손봉원 Call control method and module of smartphone with dual speaker
CN103728318A (en) * 2013-12-31 2014-04-16 深圳市金立通信设备有限公司 Method, device and terminal for detecting cleanliness of screen
CN103888613A (en) * 2014-03-25 2014-06-25 上海斐讯数据通信技术有限公司 Cleaning method and mobile terminal
CN204480610U (en) * 2014-08-25 2015-07-15 程雄 There is the multi-media advertisement box of screen cleaning mechanism
CN108299663A (en) * 2017-08-23 2018-07-20 张家港康得新光电材料有限公司 A kind of anti-fingerprint antibacterial film and hardening liquid and preparation method thereof

Also Published As

Publication number Publication date
CN109451151A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN107635070B (en) Message reminding method, terminal and storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN109660430B (en) Flow monitoring method, terminal and computer readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN107888768B (en) Unlocking control method, terminal and computer readable storage medium
CN107547741B (en) Information processing method and device and computer readable storage medium
CN109521925A (en) Icon arrangement method, mobile terminal and computer readable storage medium
CN107577394A (en) A kind of message treatment method, equipment and computer-readable storage medium
CN109547633B (en) Reminding method, terminal and computer readable storage medium
CN108307030A (en) A kind of SIM card management method, equipment and computer readable storage medium
CN108111986A (en) A kind of conversion method of notification message, terminal and computer readable storage medium
CN108200287B (en) Information processing method, terminal and computer readable storage medium
CN107846725B (en) Notification message processing method, terminal and storage medium
CN109040468A (en) Incoming display method, device and computer readable storage medium
CN110098651B (en) Charging method, charging device, electronic equipment and readable storage medium
CN110058767B (en) Interface operation method, wearable terminal and computer-readable storage medium
CN109117069B (en) Interface operation method, terminal and computer readable storage medium
CN107833077B (en) Advertisement insertion method and mobile terminal
CN107231469B (en) Terminal application management method, terminal and computer readable storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN109308147B (en) Application icon display method and device and computer readable storage medium
CN108134879B (en) Method for adjusting state of mobile terminal according to user habit, mobile terminal and medium
CN108566476B (en) Information processing method, terminal and computer readable storage medium
CN109451151B (en) Information generation method, terminal and computer readable storage medium
CN109062964A (en) A kind of data-erasure method, 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