CN106231575B - Method for processing short messages and device - Google Patents

Method for processing short messages and device Download PDF

Info

Publication number
CN106231575B
CN106231575B CN201610847270.5A CN201610847270A CN106231575B CN 106231575 B CN106231575 B CN 106231575B CN 201610847270 A CN201610847270 A CN 201610847270A CN 106231575 B CN106231575 B CN 106231575B
Authority
CN
China
Prior art keywords
short message
information content
numerical value
specified numerical
field
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
CN201610847270.5A
Other languages
Chinese (zh)
Other versions
CN106231575A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610847270.5A priority Critical patent/CN106231575B/en
Publication of CN106231575A publication Critical patent/CN106231575A/en
Application granted granted Critical
Publication of CN106231575B publication Critical patent/CN106231575B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method for processing short messages and devices, belong to field of communication technology.The described method includes: whether including specified numerical value from being locally stored in middle short message enquiry breath on specific field, specified numerical value, which is used to indicate after preset duration, deletes short message when receiving to short message when checking instruction;If in short message on specific field including specified numerical value, the information content of short message is shown, and when system time distance display initial time reaches preset duration, from middle deletion short message is locally stored.The present invention is for including the short message for specifying numerical value on specific field; when system time reaches preset duration apart from the display initial time; the short message is deleted; realize the burn-after-reading processing to this special short message; since the deletion of this short message is that the behavior of checking based on user carries out; therefore it can be effectively prevented from the propagation of short message, protect the personal secrets of user while realizing the normal reading of short message.

Description

Method for processing short messages and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of method for processing short messages and device.
Background technique
With the development of communication technology, information exchange service is gradually diversified, and short message is handed over as a kind of common information Mutually service has many advantages, such as that easy to operate, sending object is clear and arrival rate is high, and is widely used.User is enjoying short message While ceasing interactive service, increasingly focus on the safety problem of individual privacy, therefore, it is necessary to a kind of method for processing short messages to keep away Exempt from the short message of user's sending by random forwarding, propagation and share, to protect the privacy of user.
Currently, user is when sending short message, can by way of informing in advance or write exactly in the short message content, Other side is set to learn that user is not intended to the short message to be seen by other people, therefore other side is after receiving and checking the short message, it can be with hand It is dynamic to delete the short message, to protect the privacy of user.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
User, there is no real autonomy, needs actively to inform that other side oneself wants protection to the short message oneself issued The wish of privacy decides whether to delete the short message by being manually operated by other side, and this method for processing short messages cannot Enough propagation for effectively avoiding short message, from the privacy for being unable to protection user.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method for processing short messages and devices.Institute It is as follows to state technical solution:
In a first aspect, providing a kind of method for processing short messages, which comprises
When receiving to short message when checking instruction, it is from being locally stored in the middle inquiry short message on specific field No includes specified numerical value, and the specified numerical value, which is used to indicate after preset duration, deletes the short message;
If showing the information content of the short message including the specified numerical value on specific field in the short message, And when system time distance display initial time reaches the preset duration, the middle deletion short message is locally stored from described Breath.
In the first implementation of first aspect, it is described when receive to short message check instruction before, it is described Method further include:
The short message received is detected;
When the information content of the short message received includes designated identification, by the finger of the short message received Determine field to be set as specified numerical value and save into described be locally stored.
In second of implementation of first aspect, it is described when receive to short message check instruction before, it is described Method further include:
The short message received is detected;
When the information content of the short message received includes check field, the value of the check field is determined;
According to the value of the check field, the actual information content length of the short message received described in determination;
According to the check field and the actual information content length, if it is determined that the letter of the short message received When ceasing content comprising the designated identification, specified numerical value is set by the specific field of the short message received and is saved extremely It is described to be locally stored.
In the third implementation of first aspect, the method also includes:
If in the short message on specific field including the specified numerical value, in the information content for showing the short message When, hide duplication option and forwarding option.
In the 4th kind of implementation of first aspect, the method also includes:
If in the short message on specific field including the specified numerical value, in the information content for showing the short message When, if receiving the screenshotss instruction to the display interface of the short message, refuse to respond the screenshotss instruction.
Second aspect, provides a kind of short message processing unit, and described device includes:
Enquiry module, for when receiving to short message when checking instruction, from the middle inquiry short message is locally stored It whether include specified numerical value on middle specific field, the specified numerical value, which is used to indicate after preset duration, deletes the short message;
Display module shows the short message if including the specified numerical value on specific field in the short message The information content of breath;
Removing module, for when system time distance display initial time reach the preset duration when, from the local The short message is deleted in storage.
In the first implementation of second aspect, described device further include:
Detection module, for being detected to the short message received;
Setup module, for when the information content of the short message received include designated identification when, by the reception To the specific field of short message be set as specified numerical value and save into described be locally stored.
In second of implementation of second aspect, described device further include:
The detection module, for being detected to the short message received;
First determining module, for determining institute when the information content of the short message received includes check field State the value of check field;
Second determining module, for the value according to the check field, the reality of the short message received described in determination Information content length;
The setup module is also used to second determining module according to the check field and the actual information content Length, if it is determined that the information content of the short message received include the designated identification when, by it is described receive it is short The specific field of information is set as specified numerical value and saves into described be locally stored.
In the third implementation of second aspect, if the display module is also used to designated word in the short message Include the specified numerical value in section, when showing the information content of the short message, hides duplication option and forwarding option.
In the 4th kind of implementation of second aspect, described device further include:
Refuse module, it is described short showing if on specific field in the short message including the specified numerical value When the information content of information, if receiving the screenshotss instruction to the display interface of the short message, the screenshotss are refused to respond Instruction.
Technical solution provided in an embodiment of the present invention has the benefit that
Method provided in an embodiment of the present invention works as system time for including the short message of specified numerical value on specific field When reaching preset duration apart from the display initial time, which is deleted, realizes readding to this special short message Processing is burnt afterwards, since the deletion of this short message is that the behavior of checking based on user carries out, can realize short message While the normal reading of breath, it is effectively prevented from the propagation of short message, protects the personal secrets of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow chart of method for processing short messages provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of method for processing short messages provided in an embodiment of the present invention;
Fig. 3 is a kind of concrete form of the information content of burn-after-reading short message of the invention;
Fig. 4 is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is a kind of flow chart of method for processing short messages provided in an embodiment of the present invention.Referring to Fig. 1, this method comprises:
101, when receiving to short message when checking instruction, from being locally stored in middle inquiry short message on specific field It whether include specified numerical value, which, which is used to indicate after preset duration, deletes the short message.
If including 102, the specified numerical value on specific field in the short message, the information content of the short message is shown, and When system time distance display initial time reaches the preset duration, from middle deletion short message is locally stored.
Method provided in an embodiment of the present invention works as system time for including the short message of specified numerical value on specific field When reaching preset duration apart from the display initial time, which is deleted, realizes readding to this special short message Processing is burnt afterwards, since the deletion of this short message is that the behavior of checking based on user carries out, can realize short message While the normal reading of breath, it is effectively prevented from the propagation of short message, protects the personal secrets of user.
Optionally, when receive to short message check instruction before, this method further include:
The short message received is detected;
When the information content of the short message received includes designated identification, by the designated word of the short message received During section is set as specified numerical value and saves to this and be locally stored.
Optionally, when receive to short message check instruction before, this method further include:
The short message received is detected;
When the information content of the short message received includes check field, the value of the check field is determined;
According to the value of the check field, the actual information content length of the short message received is determined;
According to the check field and the actual information content length, if it is determined that the information content of the short message received When comprising the designated identification, specified numerical value is set by the specific field of the short message received and is saved to being locally stored In.
Optionally, this method further include:
It is hidden when showing the information content of the short message if in the short message on specific field including the specified numerical value Hiding duplication option and forwarding option.
Optionally, this method further include:
If in the short message on specific field including the specified numerical value, when showing the information content of the short message, such as Fruit receives the screenshotss instruction to the display interface of the short message, refuses to respond screenshotss instruction.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 2 is a kind of flow chart of method for processing short messages provided in an embodiment of the present invention.This method is applied to terminal, ginseng See Fig. 2, this method comprises:
201, the short message received is detected.
It, can be by being detected to the short message, to judge the type of the short message when terminal receives short message. The type of short message include normal short message breath and special short message breath, wherein normal short message breath refer to do not need to carry out it is special The short message of processing;Special short message breath refers to the short message for needing that specially treated is carried out to it, for example, burn-after-reading short message, The short message is checked as start time using terminal user, the short message that can be deleted after preset duration.
For the transmission terminal of short message, specified function choosing-item can be provided in the editing interface of short message, function choosing Item is burn-after-reading short message for short message to be arranged.User can manually select the function choosing-item, and terminal detects the selection After operation, receive user by click send button issue for short message transmission instruct when, according to the short message With short message communication agreement, burn-after-reading short message is generated, and sends the burn-after-reading short message to target terminal.
202, when the information content of the short message received includes check field, the value of the check field is determined.
According to short message communication agreement, terminal may determine that whether the information content of the short message received includes check word Section, the short message communication agreement are the transmission terminal of the short message and the agreement that reception terminal is appointed in advance, the check field Concrete form follow the setting in the communication protocol to the check field.For example, the check field can use 16 system tables Show, be used to indicate the actual information content length of short message, indicated using 16 systems, only take up 3 bytes, can but indicate compared with The length value of (0-4095) on a large scale, strong applicability.
It is located at the information of short message to set check field in short message communication agreement as 16 binary values and check field For first 3 of content, judge whether the information content of the short message received includes that the method for check field can be with are as follows: extract First 3 of the information content of the short message, detect whether this first 3 meet 16 scale coding modes, if it is, determining that this is short The information content of information includes check field.For example, for the short message received, the information content for the short message extracted First 3 be 064, the coding modes of 16 systems is determined for compliance with through detecting, then the information content packet of the short message can be determined Containing check field, and the check field is 064.
It in the present embodiment, is to be illustrated so that the information content of short message includes check field as an example, in another reality It applies in example, if it is determined that the information content of the short message does not include check field, then the short message is determined as normal short message breath, Without executing subsequent step.
203, according to the value of the check field, the actual information content length of the short message received is determined.
Comprising making for expressing the message text of the physical meaning of the short message, playing mark in the information content of short message The message text can be then known as the actual information content of short message by character such as check field etc., i.e., aobvious in terminal The information content shown, the part without playing mark action in the information content including the short message, such as check field.
Such as the citing in step 202, which is 064 (16 system), by between 16 systems and 10 binary values Conversion, it is 100 that 16 binary values 064, which are converted to 10 binary values, therefore the actual information content of the available short message is long Degree is 100 bytes.
204, according to the check field and the actual information content length, if it is determined that the information of the short message received When content includes designated identification, step 205 is executed.
The check field that the information content of the short message received includes is determined according to step 202 to step 203, and should After the actual information content length of short message, may further determine that whether the information content of the short message includes specified mark Know, similarly with check field, the concrete form of the designated identification similarly follows in short message communication agreement to the designated identification Setting.
It is a kind of concrete form of the information content of burn-after-reading short message of the invention referring to Fig. 3, Fig. 3, including verification Field, actual information content and designated identification.It is 064 (16 binary value), actual information content length for 100 with check field For byte, designated identification are specific character " * ", determine that the information content of the short message includes that the method for designated identification can be with Are as follows: it at first 3 of the information content for determining the short message is 064, after actual information content length is 100, if by the short message The information content since the 3rd byte (4 in i.e. 064), backward deviate 100 bytes position on include " * ", it is determined that The short message is burn-after-reading short message.
Step 201 to step 204 be by check field and designated identification double verification, come determine short message be read after i.e. Burn a kind of implementation of short message, high reliablity.In order to save memory, designated identification in this case be can be set as individually Character, for example, both can be some common characters or character combination, such as " a ", " b ", it is of course also possible to be some specific Character or specific character combination, such as " * " " # ", it is, of course, also possible to be common character and the combination of specific character etc., this hair Bright embodiment does not limit this.
It in another implementation, whether can also include designated identification come really by detecting the information content of short message Determining short message is burn-after-reading short message.I.e. above-mentioned steps 201 to step 204 can also be following procedure: short to what is received Information is detected;When the information content of the short message received includes designated identification, step 205 is executed.
In order to improve this reliability by way of the single verifying of designated identification, the phase which should set To more more complicated, for example, designated identification can be set as specific character string, these specific character strings send common in user It is seldom used during short message, such as " * #D#* ";Alternatively, designated identification can be set as to specific character, and this is specific Character is located in the specific bit of the information content of the short message, for example, the head end or tail end of the information content of the short message.
It in the present embodiment, is to be illustrated so that the information content of short message includes designated identification as an example, in another reality It applies in example, if it is determined that the information content of the short message does not include designated identification, then the short message is determined as normal short message breath, Without executing subsequent step.
205, specified numerical value being set by the specific field of the short message received and being saved into being locally stored, this refers to Fixed number value, which is used to indicate after preset duration, deletes the short message.
Short message actually includes many contents, for example, the information content, sending time and read state etc..In order to just In reading and the operation such as display to short message, terminal is when receiving short message, the content that can be specifically included according to short message It is stored.The storage can be the form of table, be a kind of specific storage form of short message as shown in table 1.Wherein, word The content that Duan Mingwei short message includes, each field have corresponding description, for illustrating meaning representated by the field contents. For example, what field seen represented is that the short message checks state, it can be indicated not check and checked with 0 and 1 respectively.
Table 1
It as shown in table 1, may include specific field is_burn in the short message, it is to connect which, which can be terminal, The newer field of the short message addition received, the null field for being also possible to include by the short message itself are set as specific field. The specific field is used to identify the information type of the short message, and the specific field of burn-after-reading short message can be using specified number The specific field of value, normal short message breath can be using the numerical value other than specified value.For example, the specified numerical value can be 1, after readding The value for burning the specific field of short message is 1, and the value of the specific field of normal short message breath is 0.
Correspondingly, for the above-mentioned definition to specific field and to specified numerical value, when receiving short message, if should Short message is burn-after-reading short message, specified numerical value is set by the specific field of the short message, such as be set as 1, if should Short message is normal short message breath, sets the numerical value other than specified numerical value for the specific field of the short message, such as be set as 0.
Step 201 to step 205 is the short message that receives of end-on from the process for detecting storage.It needs to illustrate Be: it by the information content of short message that detection receives includes check field and designated identification that the present invention, which is with terminal, and true The fixed short message is short message after setting specific field to specified numerical value after burn-after-reading short message, preservation to local It is illustrated in storage.And in fact, can be examined for terminal to each received short message It surveys, to judge whether the short message received is burn-after-reading short message, if the information content of the short message received is not wrapped Containing check field or designated identification, then normal short message breath is determined it as, the specific field which ceases is set as referring to After numerical value other than fixed number value, save into being locally stored.
206, when receiving to short message when checking instruction, from being locally stored in middle inquiry short message on specific field It whether include specified numerical value, if so, executing step 207.
If user wants to check certain short message, it can be issued at the terminal by manual operation and check instruction, example Such as, user can find the short message in inbox, by clicked manually in the short message with to terminal issue for The short message checks instruction.It, can be from middle inquiry be locally stored when terminal is received for the short message when checking instruction Whether including specified numerical value on specific field in the short message, to judge whether the short message is burn-after-reading short message, such as Fruit is then to execute subsequent step.For example, terminal can be inquired from database the specific field of the short message value whether be 1, if it is 1, execute subsequent step.
It in the present embodiment, is to be illustrated for including specified numerical value on specific field in short message, another In embodiment, if in short message on specific field not including specified numerical value, which is determined as normal short message breath, eventually End can still respond the instruction of checking of user in a manner of the information content for showing the short message, but not execute step 208.
It should be understood that not necessarily checked when terminal receives short message, therefore for being specified in short message at once Whether the judgement including specified numerical value is to receive triggering when checking instruction to the short message in terminal in field.
If including 207, the specified numerical value on specific field in the short message, the information content of the short message is shown.
If in the short message on specific field including the specified numerical value, illustrating that user wants the short message checked is to read Short message is burnt afterwards, then for terminal in a manner of the information content for showing the short message, respond user checks instruction.
In the related technology, terminal is when showing the information content of the short message, if detecting the long-pressing to the short message When operation, meeting displaying duplication and forwarding option, to facilitate processing of the user to the short message.In the embodiment of the present invention, for readding Short message is burnt afterwards, in order to avoid the short message is replicated before deletion, forwards, the short message is caused arbitrarily to be propagated, and Violate the short message and send original intention protect to the short message of user, terminal can in the information content of the display short message, Hide duplication option and forwarding option;In fact, more than duplication forward both modes information privacy can be impacted or It propagates, such as terminal user can also be operated by screenshotss to replicate the information content of the short message, therefore, in order to further keep away Exempt from the influence to information privacy and the propagation to short message, if terminal receives the screenshotss to the display interface of the short message Instruction refuses to respond screenshotss instruction.
208, when system time distance display initial time reaches preset duration, from middle deletion short message is locally stored Breath.
It include specified numerical value on the specific field of the short message for burn-after-reading short message, which not only uses It is burn-after-reading short message in identifying the short message, is also used to indicate to delete the short message after preset duration.The preset duration It can be configured by the service provider of offer burn-after-reading short message, for example, a short message can be read by estimation user The required time, to determine the specific value of the preset duration.
Instruction is checked to the short message when terminal responds, when showing the information content of the short message, will record at this time Time, i.e. the display initial time of the information content of the short message.When showing for the information content of the system time apart from the short message When showing that initial time reaches preset duration, by the short message from middle deletion is locally stored.For example, terminal can show the short message When the information content of breath, a timer is opened, the initial time of the timer is preset duration, when the timer countdown knot Shu Shi deletes the short message.
If the numerical value of preset duration setting is bigger than normal, for possible user after finishing watching the short message, system time distance should The display initial time of the information content of short message is also not up to preset duration, even when user closes the short message after finishing watching Display interface then can once the display initial time of the information content of the system time apart from the short message reaches preset duration From middle deletion short message is locally stored.
Method provided in an embodiment of the present invention works as system time for including the short message of specified numerical value on specific field When reaching preset duration apart from the display initial time, which is deleted, realizes readding to this special short message Processing is burnt afterwards, since the deletion of this short message is that the behavior of checking based on user carries out, can realize short message While the normal reading of breath, it is effectively prevented from the propagation of short message, protects the personal secrets of user.
Fig. 4 is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention.Referring to Fig. 4, the device Include:
Enquiry module 401, for when receiving to short message when checking instruction, from middle inquiry short message is locally stored It whether include specified numerical value on middle specific field, which, which is used to indicate after preset duration, deletes the short message;
Display module 402 shows the short message if including the specified numerical value on specific field in the short message The information content;
Removing module 403, for being deposited from the local when system time distance display initial time reaches the preset duration The short message is deleted in storage.
It optionally, is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention referring to Fig. 5, Fig. 5, The device further include:
Detection module 404, for being detected to the short message received;
Setup module 405, for when the information content of the short message received includes designated identification, this to be received The specific field of short message be set as specified numerical value and save to this and be locally stored.
It optionally, is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention referring to Fig. 6, Fig. 6, The device further include:
The detection module 404, for being detected to the short message received;
First determining module 406, for when the information content of the short message received includes check field, determining should The value of check field;
Second determining module 407 determines the practical letter of the short message received for the value according to the check field Cease content-length;
It is long according to the check field and the actual information content to be also used to second determining module 407 for the setup module 405 Degree, if it is determined that when the information content of the short message received includes the designated identification, by the finger of the short message received Determine during field is set as specified numerical value and saves to this and be locally stored.
Optionally, if the display module 402 is also used in the short message on specific field include the specified numerical value, aobvious When showing the information content of the short message, duplication option and forwarding option are hidden.
It optionally, is a kind of structural schematic diagram of short message processing unit provided in an embodiment of the present invention referring to Fig. 7, Fig. 7, The device further include:
Refuse module 408, if including the specified numerical value on specific field in the short message, shows the short message The information content when, if received to the instruction of the screenshotss of the display interface of the short message, refuse to respond screenshotss instruction.
It should be understood that short message processing unit provided by the above embodiment is in short message processing, only with above-mentioned each The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function Energy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portion Divide function.In addition, short message processing unit provided by the above embodiment and method for processing short messages embodiment belong to same design, Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
The embodiment of the invention provides a kind of terminal, the terminal can be used for executing provided in above-mentioned each embodiment it is short Information processing method.Referring to Fig. 8, which includes:
Terminal 800 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 8 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can be used Any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, the whole world Mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 800 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 800 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although in fig. 8, touch sensitive surface 131 and display panel 141 are conducts Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 800 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 800 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 800 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 800.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 800.
WiFi belongs to short range wireless transmission technology, and terminal 800 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 8 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 800, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 800, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 800, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 800 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 800 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal is touch-screen display, and terminal further includes having memory and one or more than one Program, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of them Device executes.This or more than one program include to operate for executing terminal side in above-mentioned Fig. 1 or Fig. 2 institute embodiment Instruction.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, which can store in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely a prefered embodiment of the invention, is not intended to limit the invention, all in the spirit and principles in the present invention Within, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of method for processing short messages, which is characterized in that the described method includes:
The short message received is detected;
When the information content of the short message received includes check field, the value of the check field is determined;
According to the value of the check field, the actual information content length of the short message received described in determination;
According to the check field and the actual information content length, the information content packet of the short message received described in determination Containing designated identification;
When the information content of the short message received includes the designated identification, by the finger of the short message received Determine field to be set as specified numerical value and save into being locally stored;
When receiving to short message when checking instruction, whether wrapped from being locally stored in the middle inquiry short message on specific field Specified numerical value is included, the specified numerical value, which is used to indicate after preset duration, deletes the short message;
If on specific field including the specified numerical value in the short message, the information content of the short message is shown, and When system time distance display initial time reaches the preset duration, the middle deletion short message is locally stored from described.
2. the method according to claim 1, wherein the method also includes:
If in the short message on specific field including the specified numerical value, when showing the information content of the short message, Hide duplication option and forwarding option.
3. the method according to claim 1, wherein the method also includes:
If in the short message on specific field including the specified numerical value, when showing the information content of the short message, If receiving the screenshotss instruction to the display interface of the short message, the screenshotss instruction is refused to respond.
4. a kind of short message processing unit, which is characterized in that described device includes:
Detection module, for being detected to the short message received;
First determining module, for determining the school when the information content of the short message received includes check field Test the value of field;
Second determining module, for the value according to the check field, the actual information of the short message received described in determination Content-length;
Second determining module is also used to determine the reception according to the check field and the actual information content length The information content of the short message arrived includes designated identification;
Setup module, for when the information content of the short message received include the designated identification when, by the reception To the specific field of short message be set as specified numerical value and save into being locally stored;
Enquiry module, for when receiving to short message when checking instruction, from the middle inquiry short message middle finger is locally stored Determine in field whether to include specified numerical value, the specified numerical value, which is used to indicate after preset duration, deletes the short message;
Display module shows the short message if including the specified numerical value on specific field in the short message The information content;
Removing module, for being locally stored from described when system time distance display initial time reaches the preset duration It is middle to delete the short message.
5. device according to claim 4, which is characterized in that if the display module is also used to the short message middle finger Determine to include the specified numerical value in field, when showing the information content of the short message, hides duplication option and forwarding option.
6. device according to claim 4, which is characterized in that described device further include:
Refuse module, if on specific field in the short message including the specified numerical value, shows the short message The information content when, if received to the instruction of the screenshotss of the display interface of the short message, refuse to respond the screenshotss instruction.
CN201610847270.5A 2016-09-23 2016-09-23 Method for processing short messages and device Active CN106231575B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610847270.5A CN106231575B (en) 2016-09-23 2016-09-23 Method for processing short messages and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610847270.5A CN106231575B (en) 2016-09-23 2016-09-23 Method for processing short messages and device

Publications (2)

Publication Number Publication Date
CN106231575A CN106231575A (en) 2016-12-14
CN106231575B true CN106231575B (en) 2019-09-20

Family

ID=58076779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610847270.5A Active CN106231575B (en) 2016-09-23 2016-09-23 Method for processing short messages and device

Country Status (1)

Country Link
CN (1) CN106231575B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428970B (en) * 2017-08-29 2021-07-02 阿里巴巴集团控股有限公司 Message sending method and processing equipment
CN107749846A (en) * 2017-10-23 2018-03-02 深圳市比量科技传媒有限公司 The processing method and system that partial information is encrypted in a kind of common channel
CN107958380B (en) * 2017-11-29 2021-06-15 努比亚技术有限公司 Payment certificate processing method, terminal and computer readable storage medium
CN110008656A (en) * 2019-04-16 2019-07-12 重庆菜鸽途讯科技有限公司 A kind of information security method, terminal and computer readable storage medium
CN110730270B (en) * 2019-09-09 2021-09-14 上海斑马来拉物流科技有限公司 Short message grouping method and device, computer storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867891A (en) * 2010-06-23 2010-10-20 中兴通讯股份有限公司 Realizing method, device and system for deleting short messages (SMS) automatically
CN103634754A (en) * 2012-08-20 2014-03-12 中国电信股份有限公司 Short message receiving method and realization method, and terminal
CN105636024A (en) * 2014-10-28 2016-06-01 西安景行数创信息科技有限公司 Method and device for protecting privacy

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867891A (en) * 2010-06-23 2010-10-20 中兴通讯股份有限公司 Realizing method, device and system for deleting short messages (SMS) automatically
CN103634754A (en) * 2012-08-20 2014-03-12 中国电信股份有限公司 Short message receiving method and realization method, and terminal
CN105636024A (en) * 2014-10-28 2016-06-01 西安景行数创信息科技有限公司 Method and device for protecting privacy

Also Published As

Publication number Publication date
CN106231575A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN106453053B (en) Group message display methods and device
CN105320598B (en) Method for testing software and device
CN104518875B (en) A kind of method that authentication and account obtain, mobile terminal
CN106231575B (en) Method for processing short messages and device
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104902531B (en) Connect method, application authorization server, terminal and the router of network
CN104850406B (en) A kind of method and apparatus for switching the page
CN104915091B (en) A kind of method and apparatus for the prompt information that Shows Status Bar
CN104618223B (en) A kind of management method of information recommendation, device and system
CN104159140B (en) A kind of methods, devices and systems of Video processing
CN105955597B (en) Information display method and device
CN103886198B (en) Method, terminal, server and the system that a kind of data process
CN104516624B (en) A kind of method and device inputting account information
CN107193664A (en) A kind of display methods of message, device and mobile terminal
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN106533917B (en) Relation chain processing method, apparatus and system
CN108932086A (en) Display methods, device and the storage medium of application interface
CN107370670A (en) Unread message extracts methods of exhibiting and device
CN108270757A (en) A kind of user account switching method, device, client and system
CN109491632A (en) A kind of resource sharing method and terminal
CN104092657B (en) Method, equipment and the system of information transmission
CN108090345A (en) Linux system external command performs method and device
CN104363590A (en) Access point connection method and device
CN105553718B (en) Guidance information display methods and device
CN107622137A (en) The method and apparatus for searching speech message

Legal Events

Date Code Title Description
C06 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