CN106937004B - Method and device for automatically cleaning time-dependent short messages and mobile terminal - Google Patents

Method and device for automatically cleaning time-dependent short messages and mobile terminal Download PDF

Info

Publication number
CN106937004B
CN106937004B CN201710339972.7A CN201710339972A CN106937004B CN 106937004 B CN106937004 B CN 106937004B CN 201710339972 A CN201710339972 A CN 201710339972A CN 106937004 B CN106937004 B CN 106937004B
Authority
CN
China
Prior art keywords
short message
express
identification information
state
timeliness
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
CN201710339972.7A
Other languages
Chinese (zh)
Other versions
CN106937004A (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.)
Guangdong Teamstar Information Technology Co ltd
Original Assignee
Guangdong Teamstar Information 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 Guangdong Teamstar Information Technology Co ltd filed Critical Guangdong Teamstar Information Technology Co ltd
Priority to CN201710339972.7A priority Critical patent/CN106937004B/en
Publication of CN106937004A publication Critical patent/CN106937004A/en
Application granted granted Critical
Publication of CN106937004B publication Critical patent/CN106937004B/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
    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method and a device for automatically cleaning a time-efficient short message and a mobile terminal. Identifying a timeliness short message, and extracting identification information contained in the timeliness short message; monitoring the state of the event corresponding to the identification information according to a set period; and if the monitored state of the event is matched with the set state, deleting the timeliness short message corresponding to the identification information. The embodiment of the invention solves the problems of low system execution efficiency and poor user experience caused by the fact that the timeliness short message needs to be searched and deleted manually at present, realizes automatic management of the timeliness short message, and meets the requirement of automatic deletion when the timeliness short message becomes useless information.

Description

Method and device for automatically cleaning time-dependent short messages and mobile terminal
Technical Field
The embodiment of the invention relates to a mobile terminal technology, in particular to a method and a device for automatically cleaning a time-efficient short message and a mobile terminal.
Background
In the present society where mobile terminals and internet applications are widespread, information that a mobile terminal user needs to receive has increased by an order of magnitude in both quantity and category. For example, a mobile phone number as a registered account needs short message verification, security verification needs to be performed by means of a short message in a financial transaction process, a user receives an express short message after online shopping, and the user knows that a commodity is sent by the express short message.
In the face of such complicated short message, how to effectively manage short messages becomes a problem to be solved urgently at present. Although the traditional short message management scheme realizes the function of short message classification, for example, short messages sent by the same number are uniformly classified into a sender dialog box. For another example, different types of short messages are identified and summarized. And whether a certain type of short message (such as a short message with a verification code) is in the valid period can be judged, and the short message which is not in the valid period can be automatically deleted.
However, due to the characteristics of complicated senders and various information contents of the express short messages, the traditional short message management scheme is not suitable for the express short messages, so that the express short messages are not managed in an effective mode, a large amount of express information occupies a short message interface, and a user is troubled by searching the short messages. If the user wants to delete the express delivery short messages, the express delivery short messages need to be manually deleted one by one, and the execution efficiency is low. In addition, when short messages are backed up and transferred, a large number of expired express short messages increase the time for backing up and transferring.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a mobile terminal for automatically clearing a time-efficient short message, which can realize automatic management of information with time efficiency and improve the execution efficiency of inquiring and clearing the short message.
In a first aspect, an embodiment of the present invention provides a method for automatically cleaning a time-sensitive short message, including:
identifying a timeliness short message and extracting identification information contained in the timeliness short message;
monitoring the state of the event corresponding to the identification information according to a set period;
and if the monitored state of the event is matched with the set state, deleting the timeliness short message corresponding to the identification information.
In a second aspect, an embodiment of the present invention further provides a device for automatically cleaning a time-sensitive short message, where the device includes:
the information extraction module is used for identifying the timeliness short message and extracting the identification information contained in the timeliness short message;
the order monitoring module is used for monitoring the state of the event corresponding to the identification information according to a set period;
and the short message deleting module is used for deleting the timeliness short message corresponding to the identification information if the condition of the event is monitored to be matched with the set condition.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
identifying a timeliness short message and extracting identification information contained in the timeliness short message;
monitoring the state of the event corresponding to the identification information according to a set period;
and if the monitored state of the event is matched with the set state, deleting the timeliness short message corresponding to the identification information.
The embodiment of the invention extracts the identification information contained in the timeliness short message by identifying the timeliness short message; monitoring the state of the event corresponding to the identification information according to a set period; if the state of the event is monitored to be matched with the set state, the timeliness short message corresponding to the identification information is deleted, automatic management of the timeliness short message is achieved, the requirement of automatic deletion when the timeliness short message becomes useless information is met, and the problems that at present, the execution efficiency of a system is low and the user experience is poor due to the fact that manual searching and deletion of the timeliness short message are needed are solved.
Drawings
Fig. 1 is a flowchart of a method for automatically clearing a time-based short message according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for automatically clearing a time-based short message according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a method for automatically clearing a time-sensitive short message according to a third embodiment of the present invention;
FIG. 4 is a flowchart of a method for automatically clearing a time-based short message according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus for automatically clearing a time-dependent short message according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal in a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a method for automatically clearing a time-dependent short message according to an embodiment of the present invention, where the embodiment is applicable to a case where a time-dependent short message such as an express short message is automatically deleted, and the method may be executed by a device for automatically clearing a time-dependent short message, where the device may be implemented by software and/or hardware, and may be generally integrated in a terminal, especially a mobile terminal. As shown in fig. 1, the method comprises the steps of:
and 110, identifying the timeliness short message and extracting the identification information contained in the timeliness short message.
The time-efficient short message can be an express short message, correspondingly, the identification information can be express identification information, and the express identification information comprises an express bill number, express company information and the like. It can be understood that the time-based short message is not limited to the express short message, and the embodiment is not particularly limited. For example, the timeliness short message may also be a password short message used for unlocking the shared bicycle, and the password short message becomes useless information when the terminal acquires that the riding of the user is finished and the state of the shared bicycle is locked.
When receiving the short message, the terminal firstly judges whether the short message is a time-efficiency short message. Illustratively, the sender number of the currently received short message can be obtained. Inquiring a pre-configured express number set according to the sender number, and determining the short message as an express short message when the sender number belongs to a preset express number set. There are various ways to obtain the express number set, and this embodiment is not particularly limited. For example, a number used by a platform that transmits express delivery information when transmitting information may be collected as an express delivery number, a set of the express delivery numbers may be created, and the set of the express delivery numbers may be arranged in the terminal before the terminal is shipped. The terminal can also be pre-configured with an express number marking function, and when a user receives a short message or receives a call, the user is inquired whether the number is an express number. And if so, uploading the number to a setting server for updating the express number set stored in the setting server. And issuing the express number set to the terminal according to a set period.
Alternatively, the text of the current short message is obtained, and whether the text contains the set keyword is judged. The set keywords comprise characters such as express bill numbers, express mails, packages or express company names. And when the text of the current short message contains the set keyword, determining that the short message is an express short message.
Alternatively, a character string contained in the body of the current short message is obtained, and the character string is composed of numbers and/or letters. And determining the arrangement rule of the character string, judging whether the arrangement rule meets the naming rule of the express bill number, if so, determining that the short message is an express short message, otherwise, determining that the short message is a common short message.
And when the current short message is an express short message, extracting a character string consisting of numbers and/or letters in the text of the express short message, and using the character string as express identification information. In view of the fact that the express delivery information may have character strings consisting of other numbers and letters besides the express delivery order number, further, after extracting the character strings consisting of numbers and/or letters in the express delivery short message, whether the composition and arrangement rules of the character strings meet the naming rules of the express delivery order number is judged. And when the naming rule of the express bill number is met, the character string is used as express identification information.
Optionally, when the express identification information of the express short message is extracted, sender information, receiving time and a short message identification code of the express short message are obtained. And associating the express identification information, the sender information, the receiving time and the short message identification code.
And step 120, monitoring the state of the event corresponding to the identification information according to a set period.
When the timeliness information is express delivery information, the identification information may be recorded as express delivery identification information, and the status of the event may include an order status. The order status includes shipped, confirmed received, signed in or returned, etc. The order status may be obtained from a pre-associated shopping platform. Illustratively, the shopping platform may be a treasure removal, and the terminal accesses the treasure removal network through a communication mode agreed in advance with the treasure removal according to a set period, and finds a corresponding order according to the express identification information, thereby obtaining interface information such as an order number and an order state corresponding to the order.
And after the order state corresponding to the express identification information is acquired, judging whether the order state is matched with a set state. For example, before receiving express delivery, the user can check the short message of the express delivery at any time and acquire the required information from the short message of the express delivery. However, after receiving the commodity, the express delivery information is converted into useless information, and whether the express delivery information is matched with the set order state or not can be judged according to the order state corresponding to the express delivery identification information, so that the type of the express delivery short message is determined. The type of the express delivery short message comprises useful information or useless information.
And step 130, deleting the timeliness short message corresponding to the identification information if the monitored state of the event is matched with the set state.
The set state includes confirmation of receipt, return of goods, or the lapse of a set number of days after the receipt of the goods. If the timeliness short message is an express short message, the state of the event corresponding to the express identification information can be an order state. And when the order state is matched with the set state, determining the express short message corresponding to the express identification information. At the moment, the express short message is considered to meet the characteristics of the useless information, and the express short message is automatically deleted. For example, the express short message corresponding to the express identification information may be determined according to the sender information and the receiving time associated with the express identification information, and the express short message may be deleted.
According to the technical scheme of the embodiment, identification information contained in the timeliness short message is extracted by identifying the timeliness short message; monitoring the state of the event corresponding to the identification information according to a set period; if the monitored state of the event is matched with the set state, deleting the timeliness short message (such as an express short message) corresponding to the identification information, realizing automatic management of timeliness information, meeting the requirement of automatic deletion when the timeliness short message becomes useless information, and solving the problems of low system execution efficiency and poor user experience caused by manually searching and deleting the useless timeliness short message at present.
Example two
Fig. 2 is a flowchart of a method for automatically clearing a time-based short message according to a second embodiment of the present invention. On the basis of the technical scheme, the state step of monitoring the event corresponding to the identification information according to a set period is further limited. Taking express delivery short messages as an example, as shown in fig. 2, the method includes the following steps:
and 210, identifying the express delivery short message, and extracting express delivery identification information contained in the express delivery short message.
After the application software for automatically clearing the express information is installed in the terminal, if the terminal receives the short message, the application software can identify whether the short message is the express short message. And if the express message is the express message, extracting express identification information contained in the express message for storage.
Step 220, accessing a pre-associated shopping platform, and acquiring an order number and an order state corresponding to the express delivery identification information.
The application software for automatically clearing the express delivery information has the function of periodically accessing a pre-associated shopping platform. Specifically, a communication link between the application software and a shopping platform server such as naobao may be established in advance, so that the application software has an authority to acquire interface information set by the shopping platform server. For example, the application software accesses a server of the treasure house according to a set period to acquire interface information such as an order number, an order state, and an express order number corresponding to the order.
Step 230, determining whether the order status matches the set status, if yes, performing step 240, otherwise, performing step 220.
Wherein the set state is a receipt confirmation. After the terminal queries the order state corresponding to the express identification information, it is determined whether the order state is a set state, if so, step 240 is executed, otherwise, step 220 is executed.
And 240, deleting the express short message corresponding to the express identification information.
And deleting the express short message corresponding to the express identification information when the order state corresponding to the express identification information is matched with the set state.
According to the technical scheme of the embodiment, the order state corresponding to the express identification information is monitored according to the set period and optimized to access a pre-associated shopping platform, and the order number and the order state corresponding to the express identification information are obtained; whether the order state is matched with the set state or not is judged, and the order state is directly obtained from the shopping platform, so that the problem that the express messages cannot be found when the user returns goods after signing is avoided, the automatic management of the express messages is realized, the requirement of automatic deletion when the express messages become useless information is met, and the accuracy of deletion operation is further improved.
EXAMPLE III
Fig. 3 is a flowchart of a method for automatically clearing a time-based short message according to a third embodiment of the present invention. Taking express delivery short messages as an example, as shown in fig. 3, the method includes the following steps:
and 310, identifying the express delivery short message, and extracting express delivery identification information contained in the express delivery short message.
And 320, acquiring a short message identification code of the express short message, and associating the short message identification code with the express identification information.
The short message identification code is a unique identification of different short messages in a system short message database, and may be a short message ID, for example.
After recognizing that the currently received short message is an express short message, the application software acquires a short message identification code of the express short message and stores the short message identification code and express identification information in an associated manner.
And 330, monitoring the order state corresponding to the express delivery identification information according to a set period.
For example, an inquiry request including the express delivery identification information is generated, and the inquiry request is sent to a server of a shopping platform according to a set cycle (a second timer is started, a timing cycle of the second timer can be set according to actual conditions, and whether the set cycle is reached is determined by a timing value of the second timer) so as to obtain an order state corresponding to the express delivery identification information. And then, judging whether the order state is the receiving confirmation state or not, and taking the judgment result as a monitoring result to determine whether to execute the short message deleting operation or not according to the monitoring result.
And 340, when the order state is that the delivery is confirmed, searching for a corresponding express short message according to the short message identification code associated with the express identification information, and deleting the express short message.
And when the order state is that the receiving is confirmed, acquiring a short message identification code associated with the order identification information. And inquiring a short message database of the terminal according to the short message identification code to obtain the express short message corresponding to the express identification information. And confirming that the express short message meets the condition of useless information according to a preset condition and deleting the express short message because the order state corresponding to the express short message is the confirmation of receiving goods.
According to the technical scheme of the embodiment, the step of additionally acquiring the short message identification code of the express short message after the express identification information contained in the express short message is extracted and associating the short message identification code with the express identification information is performed, so that the automatic management of the express short message is realized, the requirement of automatic deletion when the express short message becomes useless information is met, the process of determining the express short message corresponding to the express identification information is further simplified, and the system execution efficiency is improved.
Example four
Fig. 4 is a flowchart of a method for automatically clearing a time-based short message according to a fourth embodiment of the present invention. Taking express delivery short messages as an example, as shown in fig. 4, the method includes:
and 410, identifying the express delivery short message, and extracting express delivery identification information contained in the express delivery short message.
And 420, acquiring a short message identification code of the express short message, and associating the short message identification code with the express identification information.
And 430, monitoring the order state corresponding to the express delivery identification information according to a set period.
For example, an inquiry request including the express delivery identification information is generated, and the inquiry request is sent to a server of a shopping platform according to a set cycle (a second timer is started, a timing cycle of the second timer can be set according to actual conditions, and whether the set cycle is reached is determined by a timing value of the second timer) so as to obtain an order state corresponding to the express delivery identification information. Then, whether the order status is signed is judged.
Step 440, starting a first timer when the order status is monitored to be changed from in-transit to signed.
And step 450, reading the value of the first timer according to the set frequency.
The frequency of reading the value of the first timer may be determined according to actual conditions, and may be set to read the value of the first timer every 24 hours, for example.
Step 460, determine whether the first timer is overtime, if yes, go to step 470, otherwise, go to step 450.
Presetting the timing duration of the first timer, and comparing the read value of the first timer with the preset timing duration. If the value is greater than the preset timing duration, determining that the first timer is overtime, executing step 470, and controlling the first timer to be cleared; otherwise, step 450 is performed.
Step 470, searching for a corresponding express short message according to the short message identification code associated with the express identification information, and deleting the express short message.
And if the order state is signed and the first timer is overtime, acquiring a short message identification code associated with the order identification information. And inquiring a short message database of the terminal according to the short message identification code to obtain the express short message corresponding to the express identification information. Because the order corresponding to the express short message is in a state of signing for and the goods return period is expired, at the moment, the user generally cannot return goods, can confirm that the express short message meets the condition of useless information, and deletes the express short message.
According to the technical scheme, the short message identification code of the express short message is additionally acquired after the express identification information contained in the express short message is extracted, the short message identification code and the express identification information are correlated, automatic management of the express information is achieved, the requirement of automatic deletion when the express information becomes useless information is met, meanwhile, the process of determining the express short message corresponding to the express identification information is further simplified, the time is set in a timing mode after the order state becomes signed, the problem that the user cannot find the express short message when returning goods is avoided, and the system execution efficiency and the accuracy of deleting operation are improved.
In addition, for time-efficient short messages such as verification code information, automatic management can be performed by:
and when receiving a short message containing a verification code sent by a set platform, extracting the verification code. Then, acquiring characters corresponding to the control position of the verification code to be input, preferably characters in a text box of the verification code to be input; and judging whether the characters are matched with the verification code, if so, deleting the short message containing the verification code, and otherwise, keeping the short message. The design has the advantages that the existence duration of the verification code information can be greatly reduced, and the condition that a large amount of useless verification code information occupies a short message interface is effectively avoided.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an apparatus for automatically clearing a time-dependent short message according to a fifth embodiment of the present invention. The device is realized by hardware and/or software and is used for executing the method for automatically cleaning the time-based short message in the embodiment. As shown in fig. 5, the apparatus includes: an information extraction module 510, an order monitoring module 520 and a short message deletion module 530.
The information extraction module 510 is configured to identify a timeliness short message and extract identification information included in the timeliness short message;
an order monitoring module 520, configured to monitor a state of an event corresponding to the identification information according to a set period;
a short message deleting module 530, configured to delete the time-dependent short message corresponding to the identification information if it is monitored that the state of the event matches the set state.
The technical scheme of this embodiment provides a device of automatic clearance ageing SMS, realizes the automatic management of ageing information, satisfies the requirement of automatic deletion when ageing SMS becomes useless information, solves to need at present manual seeking, delete ageing SMS and lead to the fact the system execution inefficiency, the not good problem of user experience.
On the basis of the above technical solution, optionally when the time-based short message is an express short message, the information extraction module 510 is specifically configured to perform at least one of the following operations:
acquiring a sender number of a short message, and determining the short message as an express short message when the sender number belongs to a preset express number set;
acquiring a text of a short message, and determining the short message as an express short message when the text contains a set keyword;
the method comprises the steps of obtaining a character string consisting of numbers and/or letters in the text of the short message, and determining the short message as the express short message when the arrangement rule of the character string meets the naming rule of an express bill number.
On the basis of the above technical solution, the optional order monitoring module 520 is specifically configured to:
when the timeliness short message is an express short message, accessing a pre-associated shopping platform to acquire an order number and an order state corresponding to express identification information;
and judging whether the order state is matched with a set state or not, wherein the set state comprises the confirmation of receiving.
On the basis of the above technical solution, the optional apparatus further includes: and the information association module is used for acquiring the short message identification code of the express short message after extracting the identification information contained in the timeliness short message when the timeliness short message is the express short message, and associating the short message identification code with the express identification information.
On the basis of the above technical solution, the optional short message deleting module 530 is specifically configured to:
when the order state is that receiving or returning goods is confirmed, searching for a corresponding express short message according to a short message identification code associated with the express identification information, and deleting the express short message;
or when the order state is monitored to be changed from being in transportation to being signed, starting a first timer to time for a set time length, if the first timer is overtime, searching for a corresponding express short message according to a short message identification code associated with the express identification information, and deleting the express short message.
The device for automatically cleaning the timeliness short message can execute the method for automatically cleaning the timeliness short message provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the method for automatically clearing the time-based short message provided in any embodiment of the present invention.
EXAMPLE six
The embodiment of the invention also provides a mobile terminal, and the mobile terminal is provided with the device for automatically cleaning the timeliness short message provided by the fifth embodiment of the invention. Fig. 6 is a schematic structural diagram of a mobile terminal in a sixth embodiment of the present invention. As shown in fig. 6, the mobile terminal may include: a housing (not shown), a memory 601, a Central Processing Unit (CPU) 602 (also called a processor, hereinafter referred to as CPU), a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the touch screen 612 and the shell; the CPU602 and the memory 601 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory 601 is used for storing a computer program; the CPU602 reads and executes the computer program stored in the memory 601. The CPU602, when executing the computer program, implements the steps of: identifying a timeliness short message and extracting identification information contained in the timeliness short message; monitoring the state of the event corresponding to the identification information according to a set period; and if the monitored state of the event is matched with the set state, deleting the timeliness short message corresponding to the identification information.
The mobile terminal further includes: peripheral interface 603, RF (Radio Frequency) circuitry 605, audio circuitry 606, speakers 611, power management chip 608, input/output (I/O) subsystem 609, other input/control devices 610, and external port 604, which communicate via one or more communication buses or signal lines 607.
It should be understood that the illustrated mobile terminal 600 is merely one example of a mobile terminal and that the mobile terminal 600 may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a mobile terminal configured with an apparatus for automatically clearing time-based short messages according to this embodiment, where the mobile terminal is a mobile phone as an example.
A memory 601, the memory 601 being accessible by the CPU602, the peripheral interface 603, and the like, the memory 601 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 603, said peripheral interface 603 may connect input and output peripherals of the device to the CPU602 and the memory 601.
An I/O subsystem 609, the I/O subsystem 609 may connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610, to the peripheral interface 603. The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610. Where one or more input controllers 6092 receive electrical signals from or transmit electrical signals to other input/control devices 610, the other input/control devices 610 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 6092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 612, which touch screen 612 is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or transmits electrical signals to the touch screen 612. The touch screen 612 detects a contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 612 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, RF circuitry 605 receives and transmits RF signals, also referred to as electromagnetic signals, through which RF circuitry 605 converts electrical signals to or from electromagnetic signals and communicates with a communication network and other devices. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603, convert the audio data into an electric signal, and transmit the electric signal to the speaker 611.
The speaker 611 is used to convert the voice signal received by the handset from the wireless network through the RF circuit 605 into sound and play the sound to the user.
And a power management chip 608 for supplying power and managing power to the hardware connected to the CPU602, the I/O subsystem, and the peripheral interface.
The mobile terminal can execute the method for automatically clearing the timeliness short message provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the method for automatically clearing the time-based short message provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A method for automatically cleaning up a time-dependent short message is characterized by comprising the following steps:
identifying a timeliness short message and extracting identification information contained in the timeliness short message;
monitoring the state of the event corresponding to the identification information according to a set period;
if the monitored state of the event is matched with the set state, deleting the timeliness short message corresponding to the identification information;
when the timeliness short message is an express short message, the identifying timeliness short message comprises at least one of the following operations:
acquiring a sender number of a short message, and determining the short message as an express short message when the sender number belongs to a preset express number set;
acquiring a text of a short message, and determining the short message as an express short message when the text contains a set keyword;
acquiring a character string consisting of numbers and/or letters in the text of the short message, and determining the short message as an express short message when the arrangement rule of the character string meets the naming rule of an express bill number;
the monitoring the state of the event corresponding to the identification information according to the set period includes:
accessing a pre-associated shopping platform, and acquiring an order number and an order state corresponding to the express identification information;
and judging whether the order state is matched with a set state or not, wherein the set state comprises the confirmation of receiving.
2. The method of claim 1, further comprising, after extracting the identification information included in the time-sensitive short message:
and acquiring a short message identification code of the express short message, and associating the short message identification code with express identification information.
3. The method of claim 2, wherein deleting the time-based short message corresponding to the identification information if the monitored state of the event matches the set state comprises:
when the order state is that receiving or returning goods is confirmed, searching for a corresponding express short message according to a short message identification code associated with the express identification information, and deleting the express short message;
or when the order state is monitored to be changed from being in transportation to being signed, starting a first timer to time for a set time length, if the first timer is overtime, searching for a corresponding express short message according to a short message identification code associated with the express identification information, and deleting the express short message.
4. The utility model provides an automatic clear up device of ageing SMS which characterized in that includes:
the information extraction module is used for identifying the timeliness short message and extracting the identification information contained in the timeliness short message;
the order monitoring module is used for monitoring the state of the event corresponding to the identification information according to a set period;
the short message deleting module is used for deleting the timeliness short message corresponding to the identification information if the condition of the event is monitored to be matched with the set condition;
when the timeliness short message is an express short message, the information extraction module is at least used for one of the following operations:
acquiring a sender number of a short message, and determining the short message as an express short message when the sender number belongs to a preset express number set;
acquiring a text of a short message, and determining the short message as an express short message when the text contains a set keyword;
acquiring a character string consisting of numbers and/or letters in the text of the short message, and determining the short message as an express short message when the arrangement rule of the character string meets the naming rule of an express bill number;
the order monitoring module is specifically configured to:
when the timeliness short message is an express short message, accessing a pre-associated shopping platform to acquire an order number and an order state corresponding to express identification information;
and judging whether the order state is matched with a set state or not, wherein the set state comprises the confirmation of receiving.
5. The apparatus of claim 4, further comprising:
and the information association module is used for acquiring the short message identification code of the express short message after extracting the identification information contained in the timeliness short message when the timeliness short message is the express short message, and associating the short message identification code with the express identification information.
6. The apparatus of claim 5, wherein the short message deletion module is specifically configured to:
when the order state is that receiving or returning goods is confirmed, searching for a corresponding express short message according to a short message identification code associated with the express identification information, and deleting the express short message;
or when the order state is monitored to be changed from being in transportation to being signed, starting a first timer to time for a set time length, if the first timer is overtime, searching for a corresponding express short message according to a short message identification code associated with the express identification information, and deleting the express short message.
7. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of:
identifying a timeliness short message and extracting identification information contained in the timeliness short message;
monitoring the state of the event corresponding to the identification information according to a set period;
if the monitored state of the event is matched with the set state, deleting the timeliness short message corresponding to the identification information;
when the timeliness short message is an express short message, the identifying timeliness short message comprises at least one of the following operations:
acquiring a sender number of a short message, and determining the short message as an express short message when the sender number belongs to a preset express number set;
acquiring a text of a short message, and determining the short message as an express short message when the text contains a set keyword;
acquiring a character string consisting of numbers and/or letters in the text of the short message, and determining the short message as an express short message when the arrangement rule of the character string meets the naming rule of an express bill number;
the monitoring the state of the event corresponding to the identification information according to the set period includes:
accessing a pre-associated shopping platform, and acquiring an order number and an order state corresponding to the express identification information;
and judging whether the order state is matched with a set state or not, wherein the set state comprises the confirmation of receiving.
CN201710339972.7A 2017-05-15 2017-05-15 Method and device for automatically cleaning time-dependent short messages and mobile terminal Active CN106937004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710339972.7A CN106937004B (en) 2017-05-15 2017-05-15 Method and device for automatically cleaning time-dependent short messages and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710339972.7A CN106937004B (en) 2017-05-15 2017-05-15 Method and device for automatically cleaning time-dependent short messages and mobile terminal

Publications (2)

Publication Number Publication Date
CN106937004A CN106937004A (en) 2017-07-07
CN106937004B true CN106937004B (en) 2020-04-24

Family

ID=59429570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710339972.7A Active CN106937004B (en) 2017-05-15 2017-05-15 Method and device for automatically cleaning time-dependent short messages and mobile terminal

Country Status (1)

Country Link
CN (1) CN106937004B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682537A (en) * 2017-09-26 2018-02-09 维沃移动通信有限公司 A kind of approaches to IM, mobile terminal
CN108711198A (en) * 2018-05-10 2018-10-26 永春宏达工业设计有限公司 A kind of express delivery exchanges the denial method and system of cabinet
CN112533155B (en) * 2019-08-30 2022-06-07 腾讯科技(深圳)有限公司 Short message cleaning method, device, server and storage medium
CN114520850A (en) * 2020-11-20 2022-05-20 深圳市万普拉斯科技有限公司 Method for clearing short message, mobile terminal and storage medium
CN113037927A (en) * 2021-04-12 2021-06-25 珠海市魅族科技有限公司 Short message management method and device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152705A (en) * 2013-02-04 2013-06-12 贵阳朗玛信息技术股份有限公司 Method, device and system for processing short message
CN104219378A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 Information processing method and device
CN104484349A (en) * 2014-11-28 2015-04-01 小米科技有限责任公司 Progress enquiring method, device and terminal
CN105516944A (en) * 2015-12-21 2016-04-20 小米科技有限责任公司 Short message canceling method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140279452A1 (en) * 2013-03-15 2014-09-18 Bottomline Technologies (De) Inc. Vendor propensity analysis component for an electronic invoice payment system
CN103226764B (en) * 2013-04-25 2016-12-28 四川创物科技有限公司 A kind of express receiving and dispatching system and method
CN106570661A (en) * 2015-10-12 2017-04-19 阿里巴巴集团控股有限公司 Data processing method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152705A (en) * 2013-02-04 2013-06-12 贵阳朗玛信息技术股份有限公司 Method, device and system for processing short message
CN104219378A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 Information processing method and device
CN104484349A (en) * 2014-11-28 2015-04-01 小米科技有限责任公司 Progress enquiring method, device and terminal
CN105516944A (en) * 2015-12-21 2016-04-20 小米科技有限责任公司 Short message canceling method and device

Also Published As

Publication number Publication date
CN106937004A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106937004B (en) Method and device for automatically cleaning time-dependent short messages and mobile terminal
EP3502880B1 (en) Method for preloading application, storage medium, and terminal device
CN107291962B (en) Searching method, searching device, storage medium and electronic equipment
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
CN101155324B (en) Instant communication method and system based on or containing mobile phone book
CN104243275B (en) Social information method for pushing and system
US9807218B2 (en) Method for filtering spam in electronic device and the electronic device
CN109947497A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN104618440A (en) Intelligent equipment control method and device
CN109408465B (en) File attribution information recording method, device, storage medium and terminal
CN102281309B (en) The dissemination method of the network information and the delivery system of the network information and client
CN104301315A (en) Method and device for limiting information access
CN111880887B (en) Message interaction method and device, storage medium and electronic equipment
CN104901805A (en) Identity authentication method and device and system
CN104618223A (en) Information recommendation management method, device and system
CN111125523A (en) Searching method, searching device, terminal equipment and storage medium
CN104219378A (en) Information processing method and device
CN102647291B (en) Intelligent multidevice management method based on account group
CN111625690A (en) Object recommendation method, device, equipment and medium
CN102103606A (en) Technology for realizing advanced search of commodities on mobile phone client
CN111274463B (en) Information display method, device and storage medium based on IM contact person grouping setting
CN105553718A (en) Method and device for displaying guidance information
CN104394258A (en) Method and device for processing contact change of communication object
CN112381516A (en) Schedule reminding method, electronic equipment and computer readable storage medium
US7778660B2 (en) Mobile communications terminal, information transmitting system and information receiving method

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200323

Address after: No.259, Peihua Road, Xixia District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant after: Zhang Wang

Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309

Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200403

Address after: 1, building 20, 528437 square, 1 East Conference East Road, Torch Development Zone, Guangdong, Zhongshan

Applicant after: GUANGDONG TEAMSTAR INFORMATION TECHNOLOGY Co.,Ltd.

Address before: No.259, Peihua Road, Xixia District, Yinchuan City, Ningxia Hui Autonomous Region

Applicant before: Zhang Wang