CN107659493A - A kind for the treatment of method and apparatus of instant communication message - Google Patents
A kind for the treatment of method and apparatus of instant communication message Download PDFInfo
- Publication number
- CN107659493A CN107659493A CN201711060043.9A CN201711060043A CN107659493A CN 107659493 A CN107659493 A CN 107659493A CN 201711060043 A CN201711060043 A CN 201711060043A CN 107659493 A CN107659493 A CN 107659493A
- Authority
- CN
- China
- Prior art keywords
- message
- instant communication
- target
- target message
- communication server
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Abstract
The invention discloses a kind of processing method and processing device of instant communication message, the message sent for the first instant communication client to the second instant communication client, instant communication server is stored using different preserving types.If the message is non-office message, instant communication server can use preserving type of limiting to store the message.If the message is office message, instant communication server can be stored using persistence mode to the message.As can be seen here, on the one hand, important office message for a user, instant communication server can continue to preserve without by time restriction, on the other hand, hardly important non-office message for a user, instant communication server can be stored only within the storage time limit to non-office message, reduce the shared server storage of message storage.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind for the treatment of method and apparatus of instant communication message.
Background technology
At present, people realize the interaction of message and transmission using instant messaging more and more.Assuming that user A leads to
Cross instant messaging and send message to user B, user A inputs the message on its instant communication client, and user A's is instant
Communication customer end then transmits the message to instant communication server, and instant communication server transmits the message to user B again
Instant communication client, the message can be presented in user B instant communication client to user B.In order to avoid user A is sent
User B does not reach the standard grade in instant communication client and causes user B can not receive the message, instant messaging service during message
Device can store to the message received from user A instant communication client, so as to objective in instant messaging in user B
The message stored is sent to user B instant communication client when being reached the standard grade on the end of family.It can be seen that mutually sent between user
Message can be stored on instant communication server.
The content of the invention
Due to can mutually send substantial amounts of message between user, if substantial amounts of message is stored in instant communication server
On, then need instant communication server to provide substantial amounts of memory space.In order to avoid message is to the occupancy of memory space, IMU
The time restriction that telecommunications services device, which has been usually message sets, to be stored, when storage time of the message on instant communication server reaches
The message will delete from instant communication server during time restriction.Although deposited on instant communication server for message sets
The time restriction of storage can avoid instant communication server from providing substantial amounts of memory space being used to store message, still, for compared with
For important message, such as message of handling official business, if storage time of the message on instant communication server reach time restriction it
Afterwards, user can not just get the message from instant communication server again, and this is very inconvenient for user.
Therefore, the technical problem to be solved by the invention is to provide a kind for the treatment of method and apparatus of instant communication message,
With enable as far as possible avoid message on instant communication server excessively take memory space in the case of user at any time from
Office message is obtained on instant communication server.
In a first aspect, the embodiments of the invention provide a kind of processing method of instant communication message, applied to instant messaging
Server, including:
Receive the target message that the first instant communication client is sent to the second instant communication client;
If the target message is non-office message, using limiting, preserving type stores to the target message;Its
In, under the preserving type of limiting, deposited if storage time of the target message on the instant communication server reaches
The time limit is stored up, the target message will be deleted by the instant communication server;
If the target message is office message, the target message is stored using persistence mode;Wherein,
Under the persistence mode, if the target message is when the storage time on the instant communication server reaches storage
Limit, the target message will continue to store by the instant communication server.
Optionally, the instant communication server includes home server and cloud server;
If the target message is non-office message, the target message is stored in the cloud server;
If the target message is office message, the target message is stored in the home server.
Optionally,
Methods described also includes:If the target message is the message that the target message is not belonging to types of customization, use
The preserving type of limiting stores to the target message;
Accordingly, if the target message is office message, the target message is entered using persistence mode
Row storage, it is specially:If the target message belongs to the message of the types of customization for office message and the target message, adopt
The target message is stored with the persistence mode;
Wherein, the types of customization is that the customization operations of certain message types are determined according to user.
Optionally, in addition to:
Receive target instant communication client and pull request for the target message;
Search whether the target message is still stored in the instant communication server;
If finding, the target message is sent to the target instant communication client;
Wherein, the target instant communication client is first instant communication client or second instant messaging
Client.
Optionally, in addition to:
After the target message is sent into second instant communication client, if the target message is in institute
State and limit under preserving type, the target message is deleted on the instant communication server.
Optionally, in addition to:
Receive the removal request that the target instant communication client is directed to the target message;
Search whether the target message is still stored in the instant communication server;
If finding, the target message is deleted on the instant communication client;
Wherein, the target instant communication client is first instant communication client or second instant messaging
Client.
Second aspect, present invention also offers a kind of processing unit of instant communication message, it is configured at instant messaging service
Device, including:
First receiving unit, the target sent for receiving the first instant communication client to the second instant communication client
Message;
First memory cell, if being non-office message for the target message, using preserving type of limiting to the mesh
Mark message is stored;Wherein, under the preserving type of limiting, if the target message is on the instant communication server
Storage time reach the storage time limit, the target message will delete by the instant communication server;
Second memory cell, if being office message for the target message, using persistence mode to the target
Message is stored;Wherein, under the persistence mode, if the target message is on the instant communication server
Storage time reaches the storage time limit, and the target message will continue to store by the instant communication server.
Optionally, the instant communication server includes home server and cloud server;
If the target message is non-office message, the target message is stored in the cloud server;
If the target message is office message, the target message is stored in the home server.
Optionally,
Described device also includes:3rd memory cell, if being non-office message or described for the target message
Target message is not belonging to the message of types of customization, and the target message is stored using the preserving type of limiting;
Accordingly, second memory cell, is specifically used for:If the target message disappears for office message and the target
Breath belongs to the message of the types of customization, and the target message is stored using the persistence mode;
Wherein, the types of customization is that the customization operations of certain message types are determined according to user.Optionally, also
Including:
Second receiving unit, request is pulled for the target message for receiving target instant communication client;
First searching unit, for searching whether the target message is still stored in the instant communication server;
Transmitting element, if for finding, the target message is sent to the target instant communication client;
Wherein, the target instant communication client is first instant communication client or second instant messaging
Client.
Optionally, in addition to:
First deletes unit, for after the target message is sent into the target instant communication client, if
The target message is in described and limited under preserving type, and the target message is deleted on the instant communication server.
Optionally, in addition to:
Second receiving unit, please for the deletion of the target message for receiving the target instant communication client
Ask;
Second searching unit, for searching whether the target message is still stored in the instant communication server;
Second deletes unit, if for finding, the target message is deleted on the instant communication server;
Wherein, the target instant communication client is first instant communication client or second instant messaging
Client.
Compared with prior art, the embodiment of the present invention has advantages below:
In embodiments of the present invention, disappear for the first instant communication client to what the second instant communication client was sent
Breath, instant communication server are deposited according to whether the message belongs to office message to the message using different preserving types
Storage.If the message is non-office message, instant communication server can use preserving type of limiting to store the message,
I.e. storage of the message on instant communication server is limited by the storage time limit, when the message is on instant communication server
Storage time instant communication server of prescribing a time limit when reaching storage can delete the message.If the message is office message, i.e.,
When the communication server message can be stored using persistence mode, i.e., the message is on instant communication server
Storage will not by storage the time limit be limited, storage time of the message on instant communication server reach storage the time limit it
Instant communication server will also continue to store the message afterwards.As can be seen here, on the one hand, important office for a user
Message, instant communication server can continue to preserve without by time restriction, such user's can at any time from IMU being convinced
It is engaged in obtaining on device office message without by time restriction, on the other hand, hardly important non-office message for a user, i.e.,
When the communication server can only storage the time limit in it is non-office message store, such instant communication server need not just carry
It is used for the message for storing user mutual for excessive memory space, it is empty so as to reduce the shared server storage of message storage
Between.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in invention, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the network system schematic diagram of an exemplary application scene in the embodiment of the present invention;
Fig. 2 is a kind of process flow figure of instant communication message in the embodiment of the present invention;
A kind of processing device structure diagram of instant communication message in the embodiment of the present invention of Fig. 3 positions.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only this
Invention part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Applicant it has been investigated that, substantial amounts of message is mutually sent between different user by instant communication server, if
Instant communication server is all stored substantial amounts of message, it is necessary to substantial amounts of memory space.In the prior art, instant messaging
Server is in order to avoid the message that is communicated between user is to the occupancy of memory space, it will usually time of storage for message sets
Limitation, when message has reached time restriction in the storage time on instant communication server, instant communication server can be deleted
The message.Although being the time restriction of message sets storage on instant communication server, the message between user can be avoided
The substantial amounts of memory space of instant communication server is taken, still, for more important message, such as message of handling official business, if this disappears
The storage time ceased on instant communication server reaches time restriction and is deleted, and hereafter user just can not be again from IMU
The message is got on telecommunications services device, this is very inconvenient for user.
In order to solve the above problems, in embodiments of the present invention, instant communication server receives the first instant messaging client
After holding the target message sent to the second instant communication client, if target message is non-office message, instant communication server
Only storage the time limit in preserve the target message, more than storage the time limit after no longer preserve the target message;If target message is to do
Public message, instant communication server permanently store the target message, are not limited by the storage time limit.As can be seen here, on the one hand, right
The important office message for user, instant communication server can continue to preserve without by time restriction, so using
Family can obtains office message without by time restriction, on the other hand, coming for user from instant communication server at any time
Hardly important non-office message is said, instant communication server can be stored only within the storage time limit to non-office message,
So instant communication server just needs not be provided that excessive memory space is used for the message for storing user mutual, disappears so as to reduce
The shared server storage of breath storage.
For example, one of scene of the embodiment of the present invention, scene as shown in Figure 1 can be applied to.In the scene
In, the first client 101 and the second client 102 carry out being in communication with each other for instant message by server 103.Assuming that the first visitor
Family end 101 sends target message to the second client 102, and server 103 is when receiving the target message, it may be determined that the mesh
Mark message is non-office message or office message.If target message is non-office message, server 103 can use the guarantor that limits
Deposit mode to store the target message, i.e. prescribe a time limit when the storage time of the target message reaches storage, delete this and disappear
Breath;If target message is office message, server 103 can be stored using persistence mode to the target message, i.e.
Prescribed a time limit when the storage time of the target message reaches storage, continue to store the message.
Below in conjunction with the accompanying drawings, the processing side of instant communication message in embodiment of the present invention is described in detail by embodiment
The various non-limiting embodiments of the device of method.
Illustrative methods
Referring to Fig. 2, a kind of process flow schematic diagram of instant communication message in the embodiment of the present invention is shown.At this
In embodiment, this method comprises the following steps:
Step 201:Instant communication server receives the first instant communication client and sent to the second instant communication client
Target message.
Instant communication server, can be provided immediately for the first instant communication client and the second instant communication client
The server of Messaging Service.Specifically, communicated in the first instant communication client with the second instant communication client
When, the first instant communication client can send target message to instant communication server, and instant communication server is receiving
After the target message, the target message is stored, and the target message is sent to the second instant communication client;Equally
, the second instant communication client to the first instant communication client when sending target message, the second instant communication client
Message can be sent to instant communication server, instant communication server upon receiving the message, stores to the message,
And transmit the message to the first instant communication client.
Target message can be office message and non-office message.
Office message, refers to for a user, message content and message of the office with higher degree of relation.For example use
Technical scheme that family discusses between each other, the conference content of record, working document for sending etc..
Non- office message, refers to for a user, message content message unrelated or degree of correlation very little with office.Than
Such as, expression sent when being chatted between user etc..
Step 202:It is non-office message or office message to judge the target message, is disappeared if the target message is non-office
Breath, then into step 203, if the target message is office message, into step 205.
In the present embodiment, it is the judgment mode of non-office message or message of handling official business for the target message, exists more
The possible embodiment of kind.
The example of one judgment mode is that instant communication server can judge this according to the content of the target message
Target message is non-office message or office message.Specifically judge that flow can be:
Step A1:Read the message content of the target message.
Step B1:Whether the content for searching target message includes default keyword or certain types of file.
Step C1:If the keyword of office content and certain types of file are not present in the content of target message, sentence
The fixed target message is non-office message.
Step D1:If the keyword of office content or certain types of file in the content of target message be present, judge
The target message is office message.
Default keyword is the keyword related to office content.Generally, because default keyword is with doing
Public content is related, if finding the keyword related to office content in the content of target message, shows the target message
Content and office content and larger correlation, then it is considered that comprising content of handling official business in the target message, so as to recognize
It is office message for the target message.
For example, it is assumed that default keyword is " production programming ", the target message comprising the keyword is likely about enterprise
The production programming strategy of following a period of time in industry.For the user of enterprise, the target message, which belongs to important, to be done
Public message, it can be considered that the target message is office message.
Certain types of file is pre-set to be defaulted as important file for user.Normal conditions
Under, enterprise customer carries out information exchange when carrying out normal office work, because requirements of one's work can send certain types of file, then
It is considered that this document is important for the normal work of user.Therefore, if including particular type in target message
File when, it is believed that the target message for office message.
For example, user can mutually send the files such as word in the course of the work, to meet the needs of office.Therefore, word
File is set to certain types of file.When containing word document in the target message that user mutually sends, then the target
Message is considered important office message.
The example of another judgment mode is that instant communication server can be according to target message with the presence or absence of additional mark
Note judges that the target message is that office message is also non-office message.Specifically judge that flow can be:
Step A2:Detection target message whether there is additional marking;
Step B2:If additional marking be present in the target message, judge the target message for message of handling official business;
Step C2:If additional marking is not present in the target message, it is non-office message to judge the target message.
In actual applications, user, can be to the target if it is considered to target message includes important message content
Message adds additional marking, so that instant communication server can determine the target message for office message.
For example, when enterprise customer is carrying out the discussion of enterprise's future plan, the target message mutually sent is comprising relevant
In the related content of enterprise's future plan, therefore, user the target message can be marked when sending target message, make
Instant communication server is obtained after detecting that the target message has additional marking, the target message can be defined as office and disappeared
Breath.
It should be noted that above two example is intended merely to conveniently understand the technical scheme of the present embodiment, it is not used to
Limit the present embodiment.
Step 203:If the target message is non-office message, using limiting, preserving type is deposited to the target message
Storage.
Preserving type of limiting refers to, instant communication server stores the target message within the storage time limit, when stored between
Instant communication server deletes the target message after the storage time limit.
On the one hand, it may mutually send between the first instant communication client and the second instant communication client and largely disappear
Breath, therefore may need to provide substantial amounts of memory space when instant communication server is stored message.If the first instant messaging
The substantial amounts of message mutually sent between client and the second instant communication client is stored in instant communication server for a long time
On, the message of instant communication server storage can be more and more, so as to beyond the storage tolerance range of instant communication server, make
There is no memory space to store phase between the first instant communication client and the second instant communication client into instant communication server
The new information mutually sent.Therefore, it is necessary to limit occupancy of the message to instant communication server memory space.
On the other hand, the target message mutually sent between the first instant communication client and the second instant communication client
For non-office message when, the first instant communication client and the Content of Communication of the second instant communication client it is unrelated with office or
Degree of correlation very little.For unessential non-office message, user is often follow-up and need not be obtained from instant communication server,
Therefore, instant communication server need not preserve for a long time.
It is understood that because the target message is non-office message, i.e., for a user, message content and office
Unrelated or degree of correlation very little, therefore be not necessarily to be stored on immediate service device for a long time.Now, instant communication server can
To be preserved using preserving type of limiting to the target message, that is, setting the storage time limit for the target message, limit instant
The communication server stores the time of the target message.Prescribed a time limit when the target message reaches storage, instant communication server is deleted
The target message, so as to mitigate the storage pressure of instant communication server storage message.
Step 204:If the target message is office message, the target message is stored using persistence mode.
Persistence mode refers to that instant communication server stores the target message within the storage time limit, when the target disappears
Cease the storage time on instant communication server and reach the storage time limit, instant communication server continues to store the target message.
Because the target message is office message, i.e., for a user, message content is with handling official business that the degree of correlation is higher disappears
Breath, it is that user it is expected the target message that instant communication server can preserve for a long time, so as to obtain user when needing in the future, still
The target message can be got from instant communication server, is not limited by instant communication server storage time.Therefore,
Prescribed a time limit when the target message reaches storage, instant communication server continues to store the target message.
It is understood that the target message mutually sent when if enterprise customer is communicated for office message when because
The target message includes the important office content of user, the i.e. important information comprising the enterprise, if by non-user from instant messaging
The office message is got on server, the leakage of the office message is will result in, that is, causes the leakage of enterprise-essential information.
Therefore, in some embodiments of the present embodiment, instant communication server is in storage office message and non-office
During message, target message can be dependent on and still handled official business message for non-office message, the office message with important content is stored
In the higher position of confidentiality, the non-office message without important content is stored in the relatively low position of confidentiality.Specifically,
If the target message is non-office message, by target message storage to the cloud server in instant communication server;
If the target message is office message, the target message is stored on the home server in instant communication server.
Cloud server can be used for storing the first instant communication client and the second instant communication client is communicated
When, the non-office message that sends between each other.Because non-office message does not include important office content, therefore do not require high in the clouds
Server has higher confidentiality, even if the non-office message of storage is acquired by other instant communication clients, also not
Corresponding user and enterprise can be caused damage.
Home server can be used for storing the first instant communication client and the second instant communication client is communicated
When, the office message that sends between each other.Because office message package is containing important office content, therefore it is required that local service utensil
There is higher confidentiality, only allow the first instant communication client and the second instant communication client to be deposited from home server
The target message of storage, other instant communication clients are difficult the office message that important content is included from home server.
Therefore, it is non-office message or office message according to target message, instant communication server is by the target message
Be stored in different positions, for the office message comprising important content, the office message can be avoided to leak, for not comprising
The office message of important content, can not do confidentiality requirement.
In some embodiments of the present embodiment, according to the first instant communication client to the second instant communication client
Whether the target message of transmission is office message and whether belongs to the message of types of customization, is carried out using different storage modes
Storage.Specifically, the present embodiment can also for example include:If target message is the message for being not belonging to types of customization, using limiting
Preserving type stores to the target message.Correspondingly, step 204 can be specially:If target message for office message and
Belong to the message of types of customization, the target message is stored using persistence mode.Wherein, the message of types of customization is
User determines to the customization operations of certain message types.
In actual applications, all office message and need not may be all stored in instant communication server by user
On, only the target message for belonging to types of customization in message of handling official business can be stored on instant communication server, it is expected IMU
Telecommunications services device can preserve the message of types of customization for a long time.
For example, the clerical workforce for being responsible for design in enterprise, can mutually send a large amount of when carrying out instant messaging
Picture/mb-type target message and target message on the word discussion of pattern in picture.It is appreciated that include picture
The target message of type and the target message on the word discussion of pattern in picture, all it is that the office comprising important content disappears
Breath, but for being responsible for the clerical workforce of design, may only it is expected to permanently store institute on instant communication server
This target message for including picture/mb-type having, and for the target message of the word discussion about pattern, it may not be necessary to
Permanently stored on instant communication server, therefore the promising office message of institute and picture category can be belonged to by target message
The target message of type is permanently stored on instant communication server, is entered in order to the message of the instant communication server picture/mb-type
The permanent storage of row.
User can be by being customized operation to certain message types so that instant communication server uses persistence
Mode stores the message for belonging to types of customization in office message, so as to which instant communication server can be by all types of customization
Message is all stored for a long time, and the target message for being not belonging to types of customization in office message is entered using preserving type of limiting
Row storage, it can further reduce the storage pressure of instant communication server.
In some embodiments of the present embodiment, when the first instant communication client or the second instant communication client
During the target message mutually sent in communication process before wanting to obtain, required target can be obtained from instant communication server
Message.As a kind of example, the first instant communication client or the second instant communication client obtain required target message
It may comprise steps of:
Step A3:Receive target instant communication client be directed to needed for target message pull request.
Target instant communication client can be foregoing to need the instant communication client of target message needed for acquisition
First instant communication client or the second foregoing instant communication client.
, can be to instant when target instant communication client has the demand that target message is obtained from instant communication server
The communication server send be directed to needed for target message pull request, to ask instant communication server to the target IMU
Letter client sends the target message.
Step B3:Instant communication server searches whether the target message is remained stored in the instant communication server;
It is understood that the target message needed for target instant communication client may be non-office message, it is also possible to
It is office message.In the case where target message is non-office message, if the target message depositing on instant communication server
The time is stored up, reaches when instant communication server stores the storage of the target message and prescribes a time limit, instant communication server can delete the mesh
Mark message so that the target message is not present on instant communication server.Therefore, when instant communication server receives mesh
Mark instant communication client send pull request after, it is necessary to search the target message whether be still present in the IMU conviction
It is engaged on device.If searching less than the target message, the prompting that target message is not present can be returned to target instant communication client.
Step C3:If finding, the target message is sent to target instant communication client.
If instant communication server can find the target message needed for target instant communication client, the target is disappeared
Breath is sent to target instant communication client.
By above-mentioned implementation steps, the target mutually sent when being communicated before target instant communication client has and obtained disappears
During the demand of breath, it can ask to download to instant communication server, so as to obtain required target message.
In some embodiments of the present embodiment, because the second instant communication client is that off-line state or second are instant
The reason such as communication customer end and instant communication server network connection failure, causes instant communication server can not be by first
When the target message that instant communication client is sent is sent to the second instant communication server, instant communication server can basis
Whether the target message is that office message is stored the target message using corresponding storage mode.Hereafter, in IMU
Even if message transmission can be carried out between telecommunications services device and the second communication customer end, instant communication server can be again to second
Instant communication server sends the target message.If the target message is the non-office message stored under preserving type of limiting, i.e.,
When the communication server after the target message is sent to the second instant communication client, the target message can be deleted.
It is understood that because the second instant communication client obtains the target message from instant communication server
Afterwards, the first instant communication client and the second instant communication client are owned by the target message, and the target message is to set
The non-office message that stores under limit preserving type, instant communication server can obtain this in the second instant communication client and non-do
After public message, not in preservation, the non-office message is deleted the target message of storage, to reduce instant messaging service
The storage pressure of device.
In some embodiments of the present embodiment, when the first instant communication client or the second instant communication client
During the target message mutually sent in communication process before wanting to delete, it can be somebody's turn to do by being deleted to instant communication server request
Target message.As a kind of example, the target is deleted in the first instant communication client or the request of the second instant communication client
Message may comprise steps of:
Step A4:Instant communication server receives the removal request that target instant communication client is directed to the target message.
Target instant communication client is the instant communication client of target message needed for request deletion, can be foregoing
First instant communication client or the second foregoing instant communication client.
, can be to i.e. when target instant communication client has the demand that the target message is deleted from instant communication server
When the communication server send be directed to needed for target message removal request, disappeared with asking instant communication server to delete the target
Breath.
Step B4:Search whether the target message is still present in instant communication server.
It is understood that the target message that the request of target instant communication client is deleted may be non-office message,
It is probably office message.In the case where target message is non-office message, if the target message is on instant communication server
Storage time, reach when instant communication server stores the storage of the target message and prescribe a time limit, instant communication server can be deleted
The target message so that the target message is not present on instant communication server.Therefore, when instant communication server receives
, it is necessary to search whether the target message is still present in the IMU after the removal request sent to target instant communication client
On telecommunications services device, if not finding the target message, without carrying out follow-up deletion action.
Step C4:If finding, the target message is deleted on instant communication server.
If instant communication server can find the target message that the request of target instant communication client is downloaded, by the mesh
Message is marked to delete.
By above-mentioned implementation steps, the target mutually sent when being communicated before target instant communication client has and deleted disappears
During the demand of breath, it can ask to delete to instant communication server, so as to delete the target message.
In the present embodiment, the message sent for the first instant communication client to the second instant communication client, i.e.,
When the communication server according to the message whether belong to office message the message is stored using different preserving types.If should
Message is non-office message, then instant communication server can use preserving type of limiting to store the message, i.e., this disappears
The storage ceased on instant communication server is limited by the storage time limit, when storage of the message on instant communication server
Time instant communication server of being prescribed a time limit when reaching storage can delete the message.If the message is office message, instant messaging
Server can be stored using persistence mode to the message, i.e., storage of the message on instant communication server be not
It can be limited by the storage time limit, after storage time of the message on instant communication server reaches the storage time limit immediately
The communication server will also continue to store the message.As can be seen here, on the one hand, important office message for a user,
Instant communication server can continue to preserve without by time restriction, such user's can is at any time from instant communication server
Office message is obtained without by time restriction, on the other hand, hardly important non-office message for a user, instant messaging
Server can be stored only within the storage time limit to non-office message, and such instant communication server just needs not be provided excessively
Memory space be used to store the message of user mutual, so as to reduce the shared server storage of message storage.
Illustrative methods
Referring to Fig. 3, present invention also offers a kind of processing unit of instant communication message, instant messaging service is configured at
Device, including:
First reception is single, and 301, the mesh sent for receiving the first instant communication client to the second instant communication client
Mark message;
First memory cell 302, if being non-office message for the target message, using preserving type of limiting to described
Target message is stored;Wherein, under the preserving type of limiting, if the target message is in the instant communication server
On storage time reach the storage time limit, the target message will delete by the instant communication server;
Second memory cell 303, if being office message for the target message, using persistence mode to the mesh
Mark message is stored;Wherein, under the persistence mode, if the target message is on the instant communication server
Storage time reach the storage time limit, the target message will continue to store by the instant communication server.
Optionally, the instant communication server includes home server and cloud server;
If the target message is non-office message, the target message is stored in the cloud server;
If the target message is office message, the target message is stored in the home server.
Optionally,
Described device also includes:3rd memory cell, if being non-office message or described for the target message
Target message is not belonging to the message of the types of customization, and the target message is stored using the preserving type of limiting;
Correspondingly, second memory cell 303, is specifically used for:If the target message is office message and the mesh
Mark message belongs to the message of the types of customization, and the target message is stored using the persistence mode;
Wherein, the types of customization is that the customization operations of certain message types are determined according to user.
Optionally, in addition to:
Second receiving unit, request is pulled for the target message for receiving target instant communication client;
First searching unit, for searching whether the target message is still stored in the instant communication server;
Transmitting element, if for finding, the target message is sent to the target instant communication client;
Wherein, the target instant communication client is first instant communication client or second instant messaging
Client.
Optionally, in addition to:
First deletes unit, for after the target message is sent into second instant communication client, if
The target message is in described and limited under preserving type, and the target message is deleted on the instant communication server.
Optionally, in addition to:
Second receiving unit, please for the deletion of the target message for receiving the target instant communication client
Ask;
Second searching unit, for searching whether the target message is still stored in the instant communication server;
Second deletes unit, if for finding, the target message is deleted on the instant communication client;
Wherein, the target instant communication client is first instant communication client or second instant messaging
Client.
As can be seen here, on the one hand, important office message, instant communication server can continue for a user
Preserve without by time restriction, such user's can obtains office message without by the time from instant communication server at any time
Limitation, on the other hand, hardly important non-office message, instant communication server can be only in the storage time limits for a user
Interior that non-office message is stored, such instant communication server just needs not be provided that excessive memory space is used to store user
Interactive message, so as to reduce the shared server storage of message storage.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or equipment including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute
State in process, method, article or the equipment of key element and other identical element also be present.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.System embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not
In the case of paying creative work, you can to understand and implement.
Described above is only the embodiment of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as the protection domain of the application.
Claims (12)
- A kind of 1. processing method of instant communication message, it is characterised in that applied to instant communication server, including:Receive the target message that the first instant communication client is sent to the second instant communication client;If the target message is non-office message, using limiting, preserving type stores to the target message;Wherein, exist It is described to limit under preserving type, if the target message is when the storage time on the instant communication server reaches storage Limit, the target message will be deleted by the instant communication server;If the target message is office message, the target message is stored using persistence mode;Wherein, in institute State under persistence mode, if storage time of the target message on the instant communication server reaches the storage time limit, The target message will continue to store by the instant communication server.
- 2. according to the method for claim 1, it is characterised in that the instant communication server includes home server and cloud Hold server;If the target message is non-office message, the target message is stored in the cloud server;If the target message is office message, the target message is stored in the home server.
- 3. according to the method for claim 1, it is characterised in thatMethods described also includes:If the target message is the message that the target message is not belonging to types of customization, using described Preserving type of limiting stores to the target message;Accordingly, if the target message is office message, the target message is deposited using persistence mode Storage, it is specially:If the target message belongs to the message of the types of customization for office message and the target message, using institute Persistence mode is stated to store the target message;Wherein, the types of customization is that the customization operations of certain message types are determined according to user.
- 4. according to the method for claim 1, it is characterised in that also include:Receive target instant communication client and pull request for the target message;Search whether the target message is still stored in the instant communication server;If finding, the target message is sent to the target instant communication client;Wherein, the target instant communication client is first instant communication client or the second instant messaging client End.
- 5. according to the method for claim 1, it is characterised in that also include:After the target message is sent into second instant communication client, set if the target message is in described Limit under preserving type, the target message is deleted on the instant communication server.
- 6. according to the method for claim 1, it is characterised in that also include:Receive the removal request that the target instant communication client is directed to the target message;Search whether the target message is still stored in the instant communication server;If finding, the target message is deleted on the instant communication server;Wherein, the target instant communication client is first instant communication client or the second instant messaging client End.
- A kind of 7. processing unit of instant communication message, it is characterised in that instant communication server is configured at, including:First receiving unit, disappear for receiving the target that the first instant communication client is sent to the second instant communication client Breath;First memory cell, if being non-office message for the target message, using limiting, preserving type disappears to the target Breath is stored;Wherein, under the preserving type of limiting, if the target message depositing on the instant communication server The storage time reaches the storage time limit, and the target message will be deleted by the instant communication server;Second memory cell, if being office message for the target message, using persistence mode to the target message Stored;Wherein, under the persistence mode, if storage of the target message on the instant communication server Time reaches the storage time limit, and the target message will continue to store by the instant communication server.
- 8. device according to claim 7, it is characterised in that the instant communication server includes home server and cloud Hold server;If the target message is non-office message, the target message is stored in the cloud server;If the target message is office message, the target message is stored in the home server.
- 9. device according to claim 7, it is characterised in thatDescribed device also includes:3rd memory cell, if being that the target message is not belonging to customize class for the target message The message of type, the target message is stored using the preserving type of limiting;Accordingly, second memory cell, is specifically used for:If the target message is office message and the target message category In the message of the types of customization, the target message is stored using the persistence mode;Wherein, the types of customization is that the customization operations of certain message types are determined according to user.
- 10. device according to claim 7, it is characterised in that also include:Second receiving unit, request is pulled for the target message for receiving target instant communication client;First searching unit, for searching whether the target message is still stored in the instant communication server;Transmitting element, if for finding, the target message is sent to the target instant communication client;Wherein, the target instant communication client is first instant communication client or the second instant messaging client End.
- 11. device according to claim 7, it is characterised in that also include:First deletes unit, for after the target message is sent into the target instant communication client, if described Target message is in described and limited under preserving type, and the target message is deleted on the instant communication server.
- 12. device according to claim 7, it is characterised in that also include:Second receiving unit, the removal request of the target message is directed to for receiving the target instant communication client;Second searching unit, for searching whether the target message is still stored in the instant communication server;Second deletes unit, if for finding, the target message is deleted on the instant communication server;Wherein, the target instant communication client is first instant communication client or the second instant messaging client End.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711060043.9A CN107659493A (en) | 2017-11-01 | 2017-11-01 | A kind for the treatment of method and apparatus of instant communication message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711060043.9A CN107659493A (en) | 2017-11-01 | 2017-11-01 | A kind for the treatment of method and apparatus of instant communication message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107659493A true CN107659493A (en) | 2018-02-02 |
Family
ID=61096230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711060043.9A Pending CN107659493A (en) | 2017-11-01 | 2017-11-01 | A kind for the treatment of method and apparatus of instant communication message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107659493A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224925A (en) * | 2019-05-22 | 2019-09-10 | 维沃移动通信有限公司 | Message management and mobile terminal |
CN112702257A (en) * | 2020-12-11 | 2021-04-23 | 上海掌门科技有限公司 | Method and device for deleting friend application |
CN113194026A (en) * | 2021-04-20 | 2021-07-30 | 北京异乡旅行网络科技有限公司 | Message processing method and device |
CN113992612A (en) * | 2021-09-15 | 2022-01-28 | 上海绚显科技有限公司 | Message processing method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040266397A1 (en) * | 2003-06-25 | 2004-12-30 | Smith Gregory S. | Communication device with message management and method therefore |
CN102547628A (en) * | 2011-12-30 | 2012-07-04 | 苏州汉清投资管理有限公司 | Cellphone short message service software system |
CN102638419A (en) * | 2012-04-27 | 2012-08-15 | 上海量明科技发展有限公司 | Method, client and system for transferring instant messaging message data |
-
2017
- 2017-11-01 CN CN201711060043.9A patent/CN107659493A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040266397A1 (en) * | 2003-06-25 | 2004-12-30 | Smith Gregory S. | Communication device with message management and method therefore |
CN102547628A (en) * | 2011-12-30 | 2012-07-04 | 苏州汉清投资管理有限公司 | Cellphone short message service software system |
CN102638419A (en) * | 2012-04-27 | 2012-08-15 | 上海量明科技发展有限公司 | Method, client and system for transferring instant messaging message data |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110224925A (en) * | 2019-05-22 | 2019-09-10 | 维沃移动通信有限公司 | Message management and mobile terminal |
CN110224925B (en) * | 2019-05-22 | 2022-02-01 | 维沃移动通信有限公司 | Message management and mobile terminal |
CN112702257A (en) * | 2020-12-11 | 2021-04-23 | 上海掌门科技有限公司 | Method and device for deleting friend application |
CN113194026A (en) * | 2021-04-20 | 2021-07-30 | 北京异乡旅行网络科技有限公司 | Message processing method and device |
CN113992612A (en) * | 2021-09-15 | 2022-01-28 | 上海绚显科技有限公司 | Message processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107659493A (en) | A kind for the treatment of method and apparatus of instant communication message | |
CN102045267B (en) | Message recall method and device | |
US20080196094A1 (en) | Method and system for restricting access to an electronic message system | |
RU2008103500A (en) | STRUCTURE AND METHODOLOGY OF THE PEER-MANAGED GROUP MANAGEMENT | |
CN101984692A (en) | Method and device for preventing malicious software from transmitting data | |
CN108881354A (en) | A kind of pushed information storage method, device, server and computer storage medium | |
EP1956775A1 (en) | Method and system for restricting access to an electronic message system | |
CN104125135B (en) | The management method of a kind of instant messaging application chat record and terminal | |
US7519602B2 (en) | Systems and methods for information exchange using object warehousing | |
CN103201704A (en) | Data governance for email systems | |
WO2012170484A1 (en) | Transmitting instant messages | |
CN106775486A (en) | Data access system, method and routing server, configuration center server | |
CN104144387A (en) | Instant messaging device, method and system based on email boxes | |
CN101925020A (en) | Method and system for binding E-mail addresses and mobile phone number | |
CN107786758A (en) | Distribution method of attending a banquet and device | |
CN106209581A (en) | Information processing method, device, server and terminal unit | |
CN106537853A (en) | System for processing electronic messages | |
CN105099952B (en) | A kind of resource allocation methods and device | |
CN107547523A (en) | Message processing method, device, the network equipment and machinable medium | |
CN105991592A (en) | Same-natural-person identity maintenance method and apparatus, and server | |
CN100425041C (en) | Realtime communicating method and system for enterprise | |
CN105827518A (en) | Secure cross-domain mail transfer method, device and system | |
CN104348897A (en) | Integration apparatus and integration method thereof for integrating calendar system and cloud storage system | |
CN108123955A (en) | Management method, device, equipment and the machine readable storage medium of safe list item | |
CN109460182A (en) | A kind of storage of data, read method and device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180202 |
|
WD01 | Invention patent application deemed withdrawn after publication |