CN107147808A - A kind of message treatment method and device, computer installation and storage medium - Google Patents

A kind of message treatment method and device, computer installation and storage medium Download PDF

Info

Publication number
CN107147808A
CN107147808A CN201710505664.7A CN201710505664A CN107147808A CN 107147808 A CN107147808 A CN 107147808A CN 201710505664 A CN201710505664 A CN 201710505664A CN 107147808 A CN107147808 A CN 107147808A
Authority
CN
China
Prior art keywords
message
compressed
origination
list
presetting
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.)
Withdrawn
Application number
CN201710505664.7A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710505664.7A priority Critical patent/CN107147808A/en
Publication of CN107147808A publication Critical patent/CN107147808A/en
Withdrawn legal-status Critical Current

Links

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means

Abstract

The present invention provides a kind of message treatment method and device, computer installation and storage medium, and this method includes:Obtain the origination message received in presetting message list;Judge whether origination message meets preparatory condition;If the determination result is YES, the origination message that preparatory condition is met in presetting message list is compressed processing to produce compressed message, the memory space shared by compressed message is less than the memory space shared by origination message.The device includes:Message capturing module, judge module and message compression module, the above-mentioned message treatment method for realizing.The computer installation of the present invention has processor, can realize above-mentioned message treatment method during computing device program, and storage medium is stored with computer program, and computer program can realize above-mentioned message treatment method.Message can be reduced using the present invention and takes memory space, improve user experience.

Description

A kind of message treatment method and device, computer installation and storage medium
Technical field
The present invention relates to instant messaging field, in particular it relates to a kind of message treatment method and realize this side The message processing apparatus of method, further relates to the computer installation and storage medium using this method.
Background technology
With the intelligent development of intelligent terminal, the application in intelligent terminal is increasingly enriched, and people can use intelligence Application in terminal carries out social, amusement or worked.Wherein, the popularization of chat application, increasing people begins to use chat Application program is chatted, and the unread message that thus user receives also accordingly increases, how to allow user be conveniently located in reason message into A problem of solution is needed for the developer of TALKER.
At present, user likes being chatted by the instant messaging application program such as wechat, QQ, and meeting may during use The many chat groups of addition, when receiving many message in chat group, and user is when having little time to check or be not desired to check again, These message can take the larger memory space of mobile phone, cumbersome operating procedure be needed if user deletes manually, to user Bring very big puzzlement.
The content of the invention
The first object of the present invention, which is to provide one kind, can reduce message occupancy memory space, improve the message of user experience Processing method.
The second object of the present invention, which is to provide one kind, can reduce message occupancy memory space, improve the message of user experience Processing unit.
The third object of the present invention, which is to provide one kind, can reduce message occupancy memory space, improve the calculating of user experience Machine device.
The fourth object of the present invention, which provides one kind, can reduce message occupancy memory space, and improve user experience is storage Medium.
In order to realize above-mentioned first purpose, the message treatment method that the present invention is provided is applied to mobile terminal, this method bag Include:Obtain the origination message received in presetting message list;Judge whether origination message meets preparatory condition;If judged result It is yes, the origination message that preparatory condition is met in presetting message list is compressed processing to produce compressed message, pressed Memory space shared by contracting message is less than the memory space shared by origination message.
From such scheme, message treatment method of the invention is connect by judging in social networking application program message list Whether the origination message of receipts meets preparatory condition, when meeting preparatory condition, then is compressed qualified origination message Processing so that the memory space that message data takes is reduced, and is easy to data to preserve.
In further scheme, the origination message received in presetting message list is obtained, including:Terminal is obtained to be installed Default application program presetting message list in the origination message that is received;Or obtain default group in presetting message list Or the origination message that default contact person is received.
As can be seen here, during the origination message of acquisition can be the presetting message list for the default application program that terminal is installed The origination message received, can also be and the origination message that group or default contact person are received is preset in presetting message list. Default application program, presetting message list, default group or default contact per capita can be by setting interface to be configured, and selection is needed Message is carried out, the operating experience of user is improved.
In further scheme, the origination message that preparatory condition is met in presetting message list is compressed processing to produce Raw compressed message, including:The origination message that preparatory condition is met in presetting message list is compressed processing to produce Compressed message, deletes the origination message handled through overcompression and stores compressed message;Or will be met in presetting message list The origination message of preparatory condition is compressed processing to produce the compressed message of compression packet form, deletes what is handled through overcompression Origination message and the compressed message for storing compression packet form.
As can be seen here, can be by when the origination message that preparatory condition is met in presetting message list is compressed processing With compressed message store while origination message is deleted, reduction memory space takes.At the same time it can also to compressed message The displaying of deleted origination message is shown and cancels, for example, being carried out by the form of compressed package at message display interface Displaying.
In further scheme, message treatment method also includes:Disappear if receiving and acting on the compression for compressing packet form The touch control operation of breath, then carry out decompression to the compressed message for compressing packet form;If or receiving and acting on compression The touch control operation of the compressed message of packet form, then carry out decompression to the compressed message for compressing packet form, and by The compressed message of decompression is illustrated in the message display interface of presetting message list;If or receiving and acting on compressed package shape The touch control operation and the corresponding authentication information of touch control operation of the compressed message of formula are matched with default authentication information, then to compression The compressed message of packet form carries out decompression.
As can be seen here, when message display showing interface compresses the compressed message of packet form, it can obtain to compressed package Touch control operation information, the information of compression for compressing packet form is decompressed, the message after decompression may be selected to be illustrated in pair The message display interface of messaging list is answered, can also select not show.When carrying out decompression operation to compressed message, may be used also By setting authentication information to carry out the protection of information security, only when the authentication information of input matches with default authentication information Just compressed message is decompressed.Authentication information can include character information, finger print information, iris information or acoustic information etc..
In further scheme, judge whether origination message meets preparatory condition, including:Judging the quantity of origination message is It is no to be more than or equal to predetermined number threshold value;Or judge whether the memory space shared by origination message is more than or equal in advance If memory space;Or judge checking whether frequency is more than or equal to and default checking frequency for origination message.
As can be seen here, preparatory condition can have a variety of settings, and preparatory condition can be whether the quantity of origination message is more than Or equal to predetermined number threshold value, or whether the memory space shared by origination message is empty more than or equal to default storage Between, or origination message checks whether frequency is more than or equal to and default checks frequency or any combination of three.In advance , also can be by setting interface voluntarily to set by user if condition can be configured by system developer.
In further scheme, the origination message that preparatory condition is met in presetting message list is compressed processing to produce Raw compressed message, including:Delete the space between the character that origination message is included;Or delete what origination message was included Spcial character;Or delete picture, text, audio file or video file that origination message is included;Delete original disappear Cease all characters for exceeding default occupancy memory space included.
As can be seen here, when being compressed processing to origination message, part deletion can be carried out to origination message, deletes user Unwanted information, so as to further reduce the occupancy of memory space.When judging whether message needs to delete data, it can pass through The screening conditions of systemic presupposition or the screening conditions of user's self-defining are screened.For example, deleting the space between character, spy Different character, specific file etc..
In order to solve above-mentioned second purpose, the message processing apparatus that the present invention is provided is applied to mobile terminal, the device bag Include:Message capturing module, for obtaining the origination message received in presetting message list;Judge module, it is original for judging Whether message meets preparatory condition;Message compression module, for the origination message by preparatory condition is met in presetting message list Processing is compressed to produce compressed message, the memory space shared by compressed message is less than depositing shared by origination message Store up space.
From such scheme, message processing apparatus of the invention is connect by judging in social networking application program message list Whether the origination message of receipts meets preparatory condition, when meeting preparatory condition, then is compressed qualified origination message Processing so that the memory space that message data takes is reduced, and is easy to data to preserve.
In order to realize above-mentioned 3rd purpose, the computer installation that the present invention is provided includes processor, and processor is used to perform Realized during the computer program stored in memory such as the step of message treatment method of the present invention.
From such scheme, computer installation of the invention is by application message treatment method of the invention, to being pacified The application program of dress carries out message compression processing, reduces the occupancy to memory space.When compressing processing, work as application messages The origination message received in list meets preparatory condition, then carries out message compression, realizes the purpose of release memory space in time.
In order to realize above-mentioned 4th purpose, the storage medium that the present invention is provided is stored thereon with computer program, computer When program is executed by processor, realize such as the step of message treatment method of the present invention.
From such scheme, storage medium of the invention is by application message treatment method of the invention, to being installed Application program carry out message compression processing, reduce to the occupancy of memory space.
Brief description of the drawings
Fig. 1 is the flow chart of message treatment method embodiment of the present invention.
Fig. 2 is the structured flowchart of message processing apparatus embodiment of the present invention.
Below in conjunction with drawings and Examples, the invention will be further described.
Embodiment
The message treatment method of the present invention is applied in the terminal such as smart mobile phone or tablet personal computer, may be implemented in certainly The message data that item of information is received in dynamic detection application program, processing is compressed to message data, reduces to take storing empty Between.Message processing apparatus of the present invention is using the device for being used to realize message treatment method on mobile terminals.Wherein, using journey Sequence includes the application program that QQ, wechat, Skype etc. can be used for social chat.Also, the present invention also provides a kind of computer dress Put, the computer installation includes processor, processor can perform the instruction of application program, so as to realize above-mentioned Message Processing Each step of method.Be stored with computer program on the storage medium of the offer of the present invention, and computer program is by processor Each step of above-mentioned message treatment method is realized during execution.
Message treatment method embodiment:
As shown in figure 1, step S1 is first carried out when handling message data in the message treatment method of the present invention, obtain The origination message received in presetting message list.Wherein, obtaining the origination message received in presetting message list includes:Obtain The origination message received in the presetting message list for taking the default application program that terminal installed;Or obtain presetting message row The origination message that group or default contact person are received is preset in table.
When carrying out the acquisition of origination message, the message source for needing to obtain origination message can be configured.Disappear in setting During breath source, it can be entered by user and set interface voluntarily to set, user can be as needed to needing progress message data processing to disappear Breath source is configured.Message source can be the messaging list for the application program that terminal is installed, and can also be in application program and disappear The message item of list is ceased, message item can be group or contact person.For example, needing to carry out Message Processing to QQ application programs When, QQ application programs are set to the message source for needing to obtain origination message;Or by the connection of messaging list in QQ application programs It is the message source that people Zhang San is set to need to obtain origination message.
When carrying out origination message acquisition, the message that can carry out single message source is obtained, and can also select more than two The progress origination message of message source is uniformly processed.For example, QQ application programs and wechat application program independently can be entered The acquisition of row origination message, can also be by QQ application programs and the unified acquisition for carrying out origination message of wechat application program.Obtain Origination message include message source reception message content, the quantity of message, message take memory space size and disappear The information such as the reception time of breath.
Obtain after the origination message received in presetting message list, perform step S2, judge whether origination message meets Preparatory condition.Wherein, judge that the step of whether origination message meets preparatory condition includes:Judge whether the quantity of origination message is big In or equal to predetermined number threshold value;Or judge whether the memory space shared by origination message is more than or equal to default deposit Store up space;Or judge checking whether frequency is more than or equal to and default checking appointing for frequency or above three for origination message Meaning combination.Preparatory condition can voluntarily be set by user, can also have system developer to be configured.
Optionally, when being configured to preparatory condition, interface is set to show the quantity of origination message, origination message institute The memory space of occupancy, the reception time of origination message and origination message check the condition options such as frequency, and user may be selected to need The one or more condition options wanted.Meanwhile, threshold parameter also can be set in selected condition options, for example, by origination message Quantity be set to message total quantity and reach 500, or the size threshold value that origination message is taken into memory space is set to message Memory space is taken altogether and reaches 500M, or is up to when the reception time threshold of origination message is set into the reception time of message It is set to check once for two days by three days, or by the frequency threshold of checking of origination message.
When judging that origination message meets preparatory condition, step S3 is performed, preparatory condition will be met in presetting message list Origination message be compressed processing to produce compressed message.The memory space shared by compressed message is less than origination message Shared memory space.Wherein, the origination message that preparatory condition is met in presetting message list is compressed processing to produce The step of raw compressed message, includes:The origination message that preparatory condition is met in presetting message list is compressed processing to produce Raw compressed message, deletes the origination message handled through overcompression and stores compressed message;Or by presetting message list The origination message for meeting preparatory condition is compressed processing to produce the compressed message of compression packet form, deletes at through overcompression The origination message of reason and the compressed message for storing compression packet form.After being compressed to raw information, then by raw information Delete, compressed message is preserved, so as to reduce occupancy of the message to memory space.
The information checked is not desired to comprising substantial amounts of junk information or user in the original document received by message source, because This, in order to further reduce the occupancy of memory space, it is necessary to which redundant information is deleted before being compressed to raw information.Delete Except redundant information can be carried out in data deletion, the present embodiment by configuration information screening conditions, it will expire in presetting message list The origination message of sufficient preparatory condition is compressed processing to be included with producing during compressed message:Delete the word that origination message is included Space between symbol;Or delete the spcial character that origination message is included;Or delete picture, text that origination message is included This document, audio file or video file, wherein, text includes word document and pdf files etc.;Delete origination message institute Comprising exceed the default all characters for taking memory space.
Optionally, when being compressed to origination message, message count can be carried out in the corresponding mode of preparatory condition threshold value According to packing.For example, when judging message total quantity more than 500, by 500 message compressions in same compressed package, or 500 message are that a compressed package is compressed with every 100 by person;Judging that message always takes memory space more than 500M When, by summation for 500M sizes all message compressions in same compressed package.
It is another optional, when being compressed to origination message, it can also be entered in the way of preparatory condition threshold value non-corresponding The packing of row message data.For example, when judging message total quantity more than 500, being beaten in units of 1 day message data Bag, i.e. by message compression on the same day in same compressed package;When judging that message always takes memory space more than 500M, It is compressed using every 300 message as a compressed package.
After thering is message data to be compressed in message source, then with predetermined manner in the message display interface of correspondence message source Information has been compressed in displaying.Information has been compressed for example, being shown in message display interface in the form of preset icon;Or shown in message Interface is shown in the form of compressed package has compressed information, sets footmark to show that the quantity of message data or display are accounted on compressed package Use storage size;Or shown in message display interface in the form of thumbnail and compressed information, i.e. information exhibition will have been compressed Show on a hypertonic sketch map, the thumbnail is illustrated in the message display interface of message item;Etc..If it is multiple to have compressed information correspondence Information source, then show the display form for having compressed information respectively in corresponding information source.
After having compressed information in the message display interface of message source with predetermined manner displaying, it can be carried out to having compressed information Decompression.In preferred embodiment, shown in message display interface in the form of compressed package and compressed information, to having compressed Information, which carries out decompression, to be included:If the touch control operation for the compressed message for acting on compression packet form is received, to pressure The compressed message of contracting packet form carries out decompression;If or receiving the compressed message for acting on compression packet form Touch control operation, then carry out decompression to the compressed message for compressing packet form, and by the compressed message exhibition decompressed Show at the message display interface of presetting message list;If or receiving the touch-control for the compressed message for acting on compression packet form Operate and the corresponding authentication information of touch control operation is matched with default authentication information, then the compressed message for compressing packet form is entered Row decompression, wherein, authentication information includes character information, finger print information, iris information or acoustic information etc..Touch control operation Including being clicked on, being dragged to compressed package or the operation information such as weight.
Optionally, will be to pressure when getting the progress of the compressed message continuous touching operation twice to compressing packet form The information of compression of contracting form is decompressed, and the compressed message decompressed is illustrated in the message display of correspondence messaging list Interface.
Optionally, when getting the progress weight operation of compressed message to compressing packet form, ejection input authentication letter The dialog box of breath, gets and carries out matching treatment to authentication information after authentication information, to compression packet form only after fitting through Compressed message decompressed, and by the compressed message decompressed be illustrated in correspondence messaging list message exhibition Show interface.That presets authentication information can set interface be configured, and the mode of authentication information may be selected in user, for example, into When the authentication information of the compressed message of displaying compression packet form sets interface, set in interface and be provided with fingerprint, face, password Deng authentication information options, user may be selected wherein at least one authentication information and be configured.
To having decompressed when compressed message is shown, the display state of reservation message may choose whether.For example, When getting the screen area of long-press display compressed package, ejection selection dialog box, and show optional in selection dialog box Virtual key, optional virtual key includes:" displaying origination message simultaneously deletes compressed package " virtual key and " displaying origination message Recover compressed package state within 4 minutes afterwards " virtual key;Clicked on " displaying origination message simultaneously deletes compressed package " virtual key When, then no longer the compressed message decompressed is compressed, retains origination message and be illustrated in message display interface;Obtaining point When hitting " recovering compressed package state in 4 minutes after displaying origination message " virtual key, in message display interface displaying compression packet form Compressed message in origination message, and second compression again was carried out after 4 minutes to the origination message that has decompressed, and aobvious in message Show that showing interface compresses the compressed message of packet form, and revocation token raw message data.
In addition, after the compressed message that message display interface shows compression packet form, can also be to compression packet form Compressed message carries out deletion action.For example, getting the compressed message clicked and compression packet form is shown in message display interface Screen area operation information when, pop-up dialogue box is provided with " deletion " virtual key in dialog box;When getting click During the operation information of " deletion " virtual key, the bag of compressed message for compressing packet form is deleted;It may also display and delete before deletion Except prompt message, user's false touch screen is prevented.
Message processing apparatus embodiment:
As shown in Fig. 2 the message processing apparatus of the present invention includes message capturing module 11, judge module 12, message compression module 13rd, message decompression module 14 and message deletion module 15.
Message capturing module 11 is used to obtain the origination message received in presetting message list.Wherein, message obtains mould Block 11, which obtains the origination message received in presetting message list, to be included:Obtain the default of the default application program that terminal is installed The origination message received in messaging list;Or obtain what default group or default contact person in presetting message list were received Origination message.
Message capturing module 11, can be to needing the message source for obtaining origination message to carry out when carrying out the acquisition of origination message Set.When setting message source, it can be entered by user and set interface voluntarily to set, user can be as needed to needing to carry out message The message source of data processing is configured.Message source can be the messaging list for the application program that terminal is installed, and can also be The message item of messaging list in application program, message item can be group or contact person.For example, needing to enter QQ application programs During row Message Processing, QQ application programs are set to the message source for needing to obtain origination message;Or will disappear in QQ application programs The contact person Zhang San of breath list is set to the message source for needing to obtain origination message.
Message capturing module 11 is when carrying out origination message acquisition, and the message that can carry out single message source is obtained, can also The progress origination message for the message source that selection is more than two is uniformly processed.For example, can be by QQ application programs and wechat application Program independently carries out the acquisition of origination message, QQ application programs and the unification of wechat application program can also be carried out into original disappear The acquisition of breath.The origination message of acquisition includes message content, the quantity of message, the message occupancy memory space of message source reception Size and message the information such as reception time.
Judge module 12 is used to judge whether origination message meets preparatory condition.Wherein, judge module 12 judges original disappear Breath includes when whether meeting preparatory condition:Judge whether the quantity of origination message is more than or equal to predetermined number threshold value;Or Judge whether the memory space shared by origination message is more than or equal to default memory space;Or judge looking into for origination message See whether frequency is more than or equal to the default any combination for checking frequency or above three.Preparatory condition can be by user voluntarily Set, can also there is system developer to be configured.
Optionally, when being configured to preparatory condition, interface is set to show the quantity of origination message, origination message institute The memory space of occupancy, the reception time of origination message and origination message check the condition options such as frequency, and user may be selected to need The one or more condition options wanted.Meanwhile, threshold parameter also can be set in selected condition options, for example, by origination message Quantity be set to message total quantity and reach 500, or the size threshold value that origination message is taken into memory space is set to message Memory space is taken altogether and reaches 500M, or is up to when the reception time threshold of origination message is set into the reception time of message It is set to check once for two days by three days, or by the frequency threshold of checking of origination message.
Message compression module 13 is used to the origination message for meeting preparatory condition in presetting message list being compressed processing To produce compressed message.The memory space shared by compressed message is less than the memory space shared by origination message.Wherein, The origination message that preparatory condition is met in presetting message list is compressed processing and compressed with producing by message compression module 13 The step of message, includes:The origination message for meeting preparatory condition in presetting message list is compressed into processing to have compressed to produce Message, deletes the origination message handled through overcompression and stores compressed message;Or will meet default in presetting message list The origination message of condition be compressed processing with produce compression packet form compressed message, delete through overcompression handle it is original Message and the compressed message for storing compression packet form.After being compressed to raw information, then raw information is deleted, preserved Compressed message, so as to reduce occupancy of the message to memory space.
The information checked is not desired to comprising substantial amounts of junk information or user in the original document received by message source, because This, in order to further reduce the occupancy of memory space, it is necessary to which redundant information is deleted before being compressed to raw information.Delete Except redundant information can be carried out in data deletion, the present embodiment by configuration information screening conditions, message compression module 13 is by advance If the origination message that preparatory condition is met in messaging list is compressed processing to be included with producing during compressed message:Delete original Space between the character that message is included;Or delete the spcial character that origination message is included;Or delete origination message Comprising picture, text, audio file or video file, wherein, text include word document and pdf files Deng;Delete all characters for exceeding default occupancy memory space that origination message is included.
Optionally, message compression module 13, can be corresponding with preparatory condition threshold value when being compressed to origination message Mode carries out the packing of message data.For example, when judging message total quantity more than 500, by 500 message compressions same In individual compressed package, or by 500 message with every 100 be a compressed package be compressed;Judging that message always takes storage When space is more than 500M, by summation for 500M sizes all message compressions in same compressed package.
Another optional, message compression module 13, can also be with preparatory condition threshold value when being compressed to origination message The mode of non-corresponding carries out the packing of message data.For example, when judging message total quantity more than 500, it is right in units of 1 day Message data is packed, i.e. by message compression on the same day in same compressed package;Judging that it is empty that message always takes storage Between more than 500M when, be compressed using every 300 message as a compressed package.
After having message data to be compressed in message source, message compression module 13 then shows boundary in the message of correspondence message source Information has been compressed with predetermined manner displaying in face.Letter has been compressed for example, being shown in message display interface in the form of preset icon Breath;Or shown in message display interface in the form of compressed package and compressed information, set footmark to show message count on compressed package According to quantity or display take storage size;Or shown in message display interface in the form of thumbnail and compressed information, That is, information will have been compressed to be illustrated on a hypertonic sketch map, the thumbnail is illustrated in the message display interface of message item;Etc..If The multiple information sources of information correspondence have been compressed, then have shown the display form for having compressed information respectively in corresponding information source.
Message decompression contracting module 14 is used to carry out decompression to compressed message.In the message display interface of message source In with predetermined manner displaying compressed after information, can to compressed information carry out decompression.In preferred embodiment, disappearing Breath display interface is shown in the form of compressed package has compressed information, and 14 pairs of message decompression contracting module has been compressed information and decompressed Processing includes:If receiving the touch control operation for the compressed message for acting on compression packet form, the pressure to compressing packet form Contracting message carries out decompression;If or receive act on compression packet form compressed message touch control operation, it is right The compressed message for compressing packet form carries out decompression, and the compressed message decompressed is illustrated in into presetting message row The message display interface of table;If or receiving touch control operation and the touch-control behaviour of the compressed message for acting on compression packet form Make corresponding authentication information to match with default authentication information, then decompression carried out to the compressed message for compressing packet form, Wherein, authentication information includes character information, finger print information, iris information or acoustic information etc..Touch control operation is included to compressed package Clicked on, dragged or the operation information such as weight.
Optionally, message decompression contracting module 14 is getting the progress weight operation of compressed message to compressing packet form When, the dialog box of ejection input authentication information gets and carries out matching treatment to authentication information after authentication information, only when matching is logical Later the compressed message for compressing packet form is decompressed, and the compressed message decompressed is illustrated in correspondence The message display interface of messaging list.That presets authentication information can set interface be configured, and authentication information may be selected in user Mode, for example, enter displaying compression packet form compressed message authentication information set interface when, set interface in set There is the authentication information options such as fingerprint, face, password, user may be selected wherein at least one authentication information and be configured.
Message decompression contracting module 14 may choose whether reservation message to having decompressed when compressed message is shown Display state.For example, when getting the screen area of long-press display compressed package, ejection selection dialog box, and in selection pair Talk about and optional virtual key is shown in frame, optional virtual key includes:" displaying origination message simultaneously deletes compressed package " virtually presses Key and " recovering compressed package state in 4 minutes after displaying origination message " virtual key;Being clicked on, " displaying origination message is simultaneously deleted During compressed package " virtual key, then no longer the compressed message decompressed is compressed, reservation origination message is illustrated in message and shown Show interface;When being clicked on " recovering compressed package state in 4 minutes after displaying origination message " virtual key, in message display interface Origination message in the compressed message of displaying compression packet form, and the origination message decompressed is carried out again after 4 minutes Compression, and show the compressed message of compression packet form, and revocation token raw message data in message display interface.
Message deletion module 15 is used to obtain the deletion action information for acting on and having compressed information, and compressed message is carried out Delete.Message display interface show compression packet form compressed message after, can also to compress packet form compressed message Carry out deletion action.For example, getting the screen area for clicking the compressed message that compression packet form is shown in message display interface During the operation information in domain, pop-up dialogue box is provided with " deletion " virtual key in dialog box;It is virtual when getting click " deletion " During the operation information of button, the bag of compressed message for compressing packet form is deleted;Deletion prompt message is may also display before deletion, Prevent user's false touch screen.
Computer installation embodiment:
The computer installation of the present invention can include the devices such as processor and memory, such as comprising central processing unit Single-chip microcomputer etc..Also, the processor of computer installation can perform the computer program stored in memory, when processor is held During row computer program, it is possible to achieve each step in above-mentioned message treatment method, including message is the step of obtain, message is sentenced The step of disconnected step, message compression and the step of compressed message is decompressed or deleted.
Storage medium embodiment:
The storage medium of the present invention can be any type of storage medium read by the processor of computer installation, including But nonvolatile memory, volatile memory, ferroelectric memory etc. are not limited to, be stored with computer program on storage medium, When the processor of computer installation is read and performs the computer program stored in memory, it is possible to achieve above-mentioned message The step of each in processing method, including the step of message is the step of obtain, message judges, message compression the step of and to having pressed The step of contracting message is decompressed or deleted.
It should be noted that the preferred embodiments of the present invention are these are only, but the design concept of invention is not limited thereto, All insubstantial modifications made using this design to the present invention, are also each fallen within protection scope of the present invention.

Claims (10)

1. a kind of message treatment method, applied to terminal, it is characterised in that this method includes:
Obtain the origination message received in presetting message list;
Judge whether the origination message meets preparatory condition;
If the determination result is YES, the origination message that the preparatory condition is met in the presetting message list is compressed Processing is to produce compressed message, and the memory space shared by the compressed message is less than depositing shared by the origination message Store up space.
2. message treatment method according to claim 1, it is characterised in that received in the acquisition presetting message list Origination message, including:
The origination message received in the presetting message list for obtaining the default application program that the terminal is installed; Or
Obtain and the origination message that group or default contact person are received is preset in the presetting message list.
3. message treatment method according to claim 1, it is characterised in that described to be met in the presetting message list The origination message of the preparatory condition is compressed processing to produce compressed message, including:
The origination message for meeting the preparatory condition in the presetting message list is compressed into processing to have pressed to produce Contracting message, deletes the origination message that is handled through overcompression and compressed message described in storing;Or
The origination message that the preparatory condition is met in the presetting message list is compressed processing to produce compression The compressed message of packet form, deletes the origination message that is handled through overcompression and stores the compression of the compression packet form and disappear Breath.
4. message treatment method according to claim 3, it is characterised in that methods described also includes:
If receiving the touch control operation for the compressed message for acting on the compression packet form, to the compression packet form Compressed message carries out decompression;Or
If receiving the touch control operation for the compressed message for acting on the compression packet form, to the compression packet form Compressed message carries out decompression, and the compressed message decompressed is illustrated in the message exhibition of the presetting message list Show interface;Or
If receiving the touch control operation for the compressed message for acting on the compression packet form and the touch control operation being corresponding Authentication information is matched with default authentication information, then the compressed message to the compression packet form carries out decompression.
5. the message treatment method according to any one of Claims 1-4, it is characterised in that the judgement is described original to disappear Whether breath meets preparatory condition, including:
Judge whether the quantity of the origination message is more than or equal to predetermined number threshold value;Or
Judge whether the memory space shared by the origination message is more than or equal to default memory space;Or
Judge the origination message checks whether frequency checks frequency more than or equal to default.
6. the message treatment method according to any one of Claims 1-4, it is characterised in that described by the presetting message The origination message that the preparatory condition is met in list is compressed processing to produce compressed message, including:
Delete the space between the character that the origination message is included;Or
Delete the spcial character that the origination message is included;Or
Delete picture, text, audio file or video file that the origination message is included;
Delete all characters for exceeding default occupancy memory space that the origination message is included.
7. a kind of message processing apparatus, applied to terminal, it is characterised in that the device includes:
Message capturing module, for obtaining the origination message received in presetting message list;
Judge module, for judging whether the origination message meets preparatory condition;
Message compression module, for the origination message that the preparatory condition is met in the presetting message list to be pressed Contracting processing is to produce compressed message, and the memory space shared by the compressed message is less than shared by the origination message Memory space.
8. message processing apparatus according to claim 7, it is characterised in that the message capturing module obtains presetting message The origination message received in list, including:
The origination message received in the presetting message list for obtaining the default application program that the terminal is installed; Or
Obtain and the origination message that group or default contact person are received is preset in the presetting message list.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, the processor is deposited for execution Realized during the computer program stored in reservoir as described in any one in claim 1-6 the step of message treatment method.
10. a kind of storage medium, is stored thereon with computer program, it is characterised in that the computer program is held by processor During row, realize as described in any one in claim 1-6 the step of message treatment method.
CN201710505664.7A 2017-06-28 2017-06-28 A kind of message treatment method and device, computer installation and storage medium Withdrawn CN107147808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710505664.7A CN107147808A (en) 2017-06-28 2017-06-28 A kind of message treatment method and device, computer installation and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710505664.7A CN107147808A (en) 2017-06-28 2017-06-28 A kind of message treatment method and device, computer installation and storage medium

Publications (1)

Publication Number Publication Date
CN107147808A true CN107147808A (en) 2017-09-08

Family

ID=59785969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710505664.7A Withdrawn CN107147808A (en) 2017-06-28 2017-06-28 A kind of message treatment method and device, computer installation and storage medium

Country Status (1)

Country Link
CN (1) CN107147808A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900696A (en) * 2018-05-29 2018-11-27 努比亚技术有限公司 A kind of data processing method, terminal and computer readable storage medium
CN109729000A (en) * 2018-12-17 2019-05-07 北京爱奇艺科技有限公司 A kind of instant communicating method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070223823A1 (en) * 2006-03-21 2007-09-27 Nokia Corporation Method, apparatus, system and computer program product for providing compression of image files
CN101252749A (en) * 2008-03-28 2008-08-27 深圳华为通信技术有限公司 Apparatus and method for processing mobile terminal information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070223823A1 (en) * 2006-03-21 2007-09-27 Nokia Corporation Method, apparatus, system and computer program product for providing compression of image files
CN101252749A (en) * 2008-03-28 2008-08-27 深圳华为通信技术有限公司 Apparatus and method for processing mobile terminal information

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900696A (en) * 2018-05-29 2018-11-27 努比亚技术有限公司 A kind of data processing method, terminal and computer readable storage medium
CN108900696B (en) * 2018-05-29 2021-03-26 努比亚技术有限公司 Data processing method, terminal and computer readable storage medium
CN109729000A (en) * 2018-12-17 2019-05-07 北京爱奇艺科技有限公司 A kind of instant communicating method and device
CN109729000B (en) * 2018-12-17 2021-07-09 北京爱奇艺科技有限公司 Instant messaging method and device

Similar Documents

Publication Publication Date Title
CN105045454B (en) A kind of terminal false-touch prevention method and terminal
CN103369121B (en) unread message display method and device
CN107241263A (en) A kind of message delet method and device, computer installation and storage medium
CN108170844A (en) Storage method, device, terminal and the storage medium of record screen file
CN104469717B (en) Note transmission method and device
CN103886237A (en) Control method and system for electronic device with fingerprint sensor and touch screen
CN103886025B (en) The display methods and device of picture in webpage
CN105956453A (en) Apparatus and method for managing application in wireless terminal
CN102833182B (en) Instant messaging carries out the method for recognition of face, client and system
CN107645598B (en) Message display method and electronic equipment
CN106570371A (en) Unlocking method and device
CN106716379A (en) Data processing method, device and terminal device
CN107995973A (en) A kind of information processing method and device
CN105224216B (en) A kind of user terminal control method and user terminal
WO2017012405A1 (en) Method for operating mobile terminal, mobile terminal and computer-readable medium
CN103761201B (en) Terminal applies event-handling method and device
CN107222790A (en) A kind of method, terminal and computer-readable recording medium for sending barrage
CN108021470A (en) A kind of data backup method, mobile terminal and computer-readable recording medium
CN105224194B (en) A kind of data processing method and terminal
CN106790926A (en) A kind of contact management method and terminal
CN107133500A (en) The encryption method and mobile terminal of a kind of application program
CN105912572A (en) Data management method and terminal
CN107147808A (en) A kind of message treatment method and device, computer installation and storage medium
CN104346549A (en) Information processing method and electronic equipment
CN104182161B (en) A kind of method and apparatus for opening screen function region

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170908

WW01 Invention patent application withdrawn after publication