CN109062489A - Message treatment method, device, storage medium and electronic device - Google Patents

Message treatment method, device, storage medium and electronic device Download PDF

Info

Publication number
CN109062489A
CN109062489A CN201810798938.0A CN201810798938A CN109062489A CN 109062489 A CN109062489 A CN 109062489A CN 201810798938 A CN201810798938 A CN 201810798938A CN 109062489 A CN109062489 A CN 109062489A
Authority
CN
China
Prior art keywords
message
account
client
target
list
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.)
Granted
Application number
CN201810798938.0A
Other languages
Chinese (zh)
Other versions
CN109062489B (en
Inventor
刘跃
楼宏微
朱标亦
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810798938.0A priority Critical patent/CN109062489B/en
Publication of CN109062489A publication Critical patent/CN109062489A/en
Application granted granted Critical
Publication of CN109062489B publication Critical patent/CN109062489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of message treatment method, device, storage medium and electronic devices.Wherein, this method comprises: showing the first prompt information in the target session in the client logged in using the first account, wherein, first prompt information is used to prompt the presence of the first message updated in target message list, each message in the target message list is used to describe to be sent to the message of the second account, and first account and second account have incidence relation;Detect the first touch control operation executed to the target session;First touch control operation is responded, the target message list is shown in the client;Detect the second touch control operation executed to the first message in the target message list;Second touch control operation is responded, the login account of the client is switched to second account.The present invention, which solves the message treatment method provided in the related technology, there is technical issues that the message of different accounts obtains.

Description

Message treatment method, device, storage medium and electronic device
Technical field
The present invention relates to computer fields, in particular to a kind of message treatment method, device, storage medium and electricity Sub-device.
Background technique
Currently, using an account log in client on, using switching account mode be switched to another account into Row logs in, and realizes the switching of more accounts.
However, being only capable of synchronizing the message for being sent to this account when logging in client using an account.User needs to cut Changing to after another account logs in just can know whether another account receives message.Therefore, at the message provided in the related technology Reason method has that the message of different accounts obtains not in time.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present invention provides a kind of message treatment method, device, storage medium and electronic device, at least to solve phase The message treatment method provided in the technology of pass there is technical issues that the message of different accounts obtains.
According to an aspect of an embodiment of the present invention, a kind of message treatment method is provided, comprising: using the first account The first prompt information is shown in target session in the client of login, wherein first prompt information is for prompting target There is the first message updated in messaging list, each message in the target message list is sent to the second account for describing Message, first account and second account have incidence relation;Detect first executed to the target session Touch control operation;First touch control operation is responded, the target message list is shown in the client;It detects to described The second touch control operation that the first message in target message list executes;Second touch control operation is responded, by the visitor The login account at family end is switched to second account.
According to another aspect of an embodiment of the present invention, a kind of message treatment method is additionally provided, comprising: receive and be sent to The second message of second account;First message is generated according to the second message, wherein the first message includes described second The account number and description information of account, the description information is for describing the second message;The first message is saved Into first message queue corresponding with the first account, wherein first account and second account have incidence relation, First account is the account for logging in client and using;By the message in the first message queue, it is pushed to the client End.
Another aspect according to an embodiment of the present invention, additionally provides a kind of message processing apparatus, comprising: the first display is single Member, for showing the first prompt information in the target session in the client logged in using the first account, wherein described first Prompt information is used to prompt to exist in target message list the first message updated, and each message in the target message list is used It is sent to the message of the second account in description, first account and second account have incidence relation;First detection is single Member, for detecting the first touch control operation executed to the target session;Second display unit, for responding first touching Control operation, shows the target message list in the client;Second detection unit disappears to the target for detecting Cease the second touch control operation that the first message in list executes;Switch unit will for responding second touch control operation The login account of the client is switched to second account.
Another aspect according to an embodiment of the present invention, additionally provides a kind of message processing apparatus, comprising: first receives list Member, for receiving the second message for being sent to the second account;Generation unit disappears for generating first according to the second message Breath, wherein the first message includes the account number and description information of second account, and the description information is for describing The second message;First storage unit, for the first message to be saved in first message corresponding with the first account team In column, wherein first account and second account have incidence relation, and first account is to log in client to use Account;First push unit, for being pushed to the client for the message in the first message queue.
The another aspect of embodiment according to the present invention, additionally provides a kind of storage medium, is stored in the storage medium Computer program, wherein the computer program is arranged to execute the above method when operation.
Another aspect according to an embodiment of the present invention, additionally provides a kind of electronic device, including memory, processor and deposits Store up the computer program that can be run on a memory and on a processor, wherein above-mentioned processor passes through computer program and executes Above-mentioned method.
In embodiments of the present invention, using display reminding in the target session in the client logged in using the first account The message that prompt is sent to the second account has the mode of update, passes through the target meeting in the client logged in using the first account The first prompt information is shown in words, wherein the first prompt information is used to prompt to exist in target message list first updated and disappears It ceases, each message in target message list is used to describe to be sent to the message of the second account, and the first account has with the second account Incidence relation;Detect the first touch control operation executed to target session;The first touch control operation is responded, shows mesh on the client Mark messaging list;Detect the second touch control operation executed to the first message in target message list;Respond the second touch-control behaviour Make, the login account of client is switched to the second account, has reached and shown and be sent in the client that the first account logs in The description information of the message of second account and the purpose for being quickly switched into the second account, to realize another account of timely learning Number the technical effect of message whether is received, and then the message treatment method that provides in the related technology is provided there are different accounts Message obtain not in time the technical issues of.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of the application environment of message treatment method according to an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of optional message treatment method according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional message treatment method according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of another optional message treatment method according to an embodiment of the present invention;
Fig. 5 is the schematic diagram of another optional message treatment method according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of another optional message treatment method according to an embodiment of the present invention;
Fig. 7 is a kind of flow chart of optional message treatment method according to an embodiment of the present invention;
Fig. 8 is the flow chart of another optional message treatment method according to an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of optional message processing apparatus according to an embodiment of the present invention;
Figure 10 is the structural schematic diagram of another optional message processing apparatus according to an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of optional electronic device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to an aspect of an embodiment of the present invention, a kind of message treatment method is provided, optionally, above-mentioned Message Processing Method can be, but not limited to be applied in application environment as shown in Figure 1.The client of terminal 102 is logged in using the first account, Terminal 102 receives the message that server 106 is sent by network 104.Disappear in the one or more for receiving the transmission of server 106 After breath, the first prompt information is shown in target session on the client, wherein the first prompt information is for prompting target message There is the first message updated in list, each message in target message list is used to describe to be sent to the message of the second account, First account and the second account have incidence relation;Detect the first touch control operation executed to target session;The first touching of response Control operates, on the client displaying target messaging list;Detect second executed to the first message in target message list Touch control operation;The second touch control operation is responded, the login account of client is switched to the second account.
Optionally, in the present embodiment, above-mentioned terminal can include but is not limited at least one of: mobile phone, plate electricity Brain, laptop etc..Above-mentioned network can include but is not limited to wireless network, wherein the wireless network include: bluetooth, The network of WIFI and other realization wireless communications.Above-mentioned server can include but is not limited at least one of: PC machine and its He is used to provide the equipment of service.Above-mentioned only a kind of example, the present embodiment do not do any restriction to this.
Optionally, as an alternative embodiment, as shown in Fig. 2, above-mentioned message treatment method may include:
S202 shows the first prompt information in the target session in the client logged in using the first account, wherein the One prompt information is used to prompt to exist in target message list the first message updated, and each message in target message list is used for Description is sent to the message of the second account, and the first account and the second account have incidence relation;
S204 detects the first touch control operation executed to target session;
S206 responds the first touch control operation, on the client displaying target messaging list;
S208 detects the second touch control operation executed to the first message in target message list;
S210 responds the second touch control operation, the login account of client is switched to the second account.
Optionally, above-mentioned message treatment method can be, but not limited to be applied to the message processing procedure in social network-i i-platform In, such as it is applied to the message processing procedure of enterprise's office software.
It should be noted that in the present embodiment, by above-mentioned message treatment method, in the visitor logged in using the first account The first prompt information is shown in target session on the end of family, wherein the first prompt information is for prompting to deposit in target message list Each message in the first message of update, target message list is used to describe to be sent to the message of the second account, the first account There is incidence relation with the second account;Detect the first touch control operation executed to target session;The first touch control operation is responded, Displaying target messaging list in client;Detect the second touch control operation executed to the first message in target message list; The second touch control operation is responded, the login account of client is switched to the second account, has reached the client logged in the first account Display is sent to the description information of the message of the second account and is rapidly switched to the purpose of the second account on end, to realize Whether another account of timely learning receives the technical effect of message.
Optionally, the first account and the second account can be account corresponding to the different enterprise identity of same user, the One account and the second account are corresponding with same primary account number.There can be enterprise under the login interface of client a, primary account number Selective listing, each business entries in enterprise's selective listing correspond to a sub- account, and every sub- account corresponds to the main account An enterprise identity under number.By selecting a business entries, the corresponding sub- account of the business entries can be used and log in visitor Family end handles the message under the enterprise identity.
For example, as shown in figure 3, in order to meet different office application scenes, in enterprise's office products under a primary account number It include enterprise's selective listing of multiple business entries, user can switch enterprise by selection enterprise, replace the office of oneself Scene and identity realize quickly office role transforming.
Optionally, in order to carry out the data of different sub- accounts separate to being independent of each other, under same primary account number not With sub- account, working directory is respectively created, when user selects certain sub- account to log in, working directory is switched to pair The working directory of sub- account is answered, and is logged in.After being logged in using certain sub- account, other sub- accounts of non-logging state The transmitting-receiving and various businesses activity that not can be carried out message are until sub- account logins successfully.This account management mechanism of client, The data of each sub- account and synchronous opportunity are separated from each other, the synchronous login relied on account of account data.
For example, as shown in figure 4, under this same primary account number the account B of the account A and enterprise B of enterprise A enterprise message, work It is independent of one another to make catalogue, data are independent of one another, by switching the working directory of account, by the data of different accounts, caching, environment Etc. keeping apart.The message flow of account A can be synchronized when login account A, when login account B can synchronize the message flow of account B.
Optionally, after being logged in using certain sub- account, the session that can recorde the sub- account of login from the background is to step on Record state (logging state for being labeled as the sub- account).The sub- account of non-logging state, due to being not logged on state data, The transmitting-receiving and various businesses activity of message are not can be carried out.
Optionally, before step S202, the first message of server push can be received by client, wherein First message also includes the account number of the second account;First message is added in target message list, wherein target message List is stored in the target message memory space in the working directory of the first account, target message memory space and account number It is corresponding.
Optionally, the account number of the second account can be account id, account index, enterprise's mark (due to enterprise message It is usually sent in enterprises, will not can pass through the second account of enterprise's mark for marking across enterprise).
Optionally, in the message that client receives, the account of the reception message can be identified by account number Number.For the message received, client can identify that the account number carried in message determines that the message is destined to this account Number message, if so, being shown in the way of common message.It, can be for showing if being the message of non-account Show and shows the message in the session of the message of non-account.
For example, distinguishing this enterprise message and Fei Ben enterprise message by this enterprise message and multiple enterprises message.Backstage is pushing away , can be by message package inside the cmd message of an agreement when sending multiple enterprises message, and the structural information of cmd message includes The source enterprise of message.When client synchronization is to this cmd message, so that it may identify it is non-enterprise message.
Optionally, the description information that first message includes can be used for the second message for describing to be sent to the second account.It retouches Stating information can be the eap-message digest of second message, for example, the previous sentence of second message or n first, carries out language to second message Justice extracts obtained information, or the information for describing message sender and type of message (for example, sender: [picture]).
It is alternatively possible to store disappearing for this account message and other accounts respectively under the working directory of the first account Breath.This account message is stored due to being related to search inquiry etc. using sqlite database.And disappear for other accounts Breath can be shown by the way of written document as just a full dose due to not being related to search inquiry.It is non-when receiving When this account message, by account number, the message Storage Item of corresponding account is found, and message is added to the message of Storage Item In list.
For example, being divided into the storage of this enterprise message and the message storage of other enterprises under different account catalogues.This enterprise Message is stored using sqlite database.And for multiple enterprises message by the way of written document.When receiving non-enterprise When industry message, by source-information (account number of the second account), the message Storage Item of corresponding enterprise is found, and message is added It is added to inside the messaging list of Storage Item.
In another example identify client synchronization to message be non-enterprise message after, pass through source-information, generate one The key (key assignments) of a storage, store using this key the message of the source enterprise.When client is synchronized to this again After the multiple enterprises message of source enterprise, client can find the updating maintenance that corresponding Storage Item carries out message with this key.
Optionally, after first message is added to target message list, judge the message in target message list Whether number is greater than target numbers;In the case where the number of the message of storage is greater than target numbers, according to message receipt times Sequencing, the message stored in delete target message memory space, until the number etc. of the message in target message list In target numbers.
For example, the enterprise of user may be very much, and size of message can be very big, empty to prevent from occupying excessive storage in actual use Between, it can retain newest 3 message after the messaging list that the message that will synchronize to is saved in corresponding message Storage Item, delete Except old history message, so as to save memory space.
Optionally, by first message be added to target message list include: first message be it is multiple in the case where, according to The sequence identification that each message carries in multiple first messages, is ranked up multiple first messages;It, will be more according to ranking results A first message is added in target message list.
Optionally, from server sync to message include multiple associated account numbers multiple message when, can be successively right The message of each associated account number is ranked up and stores.Due to multiple messages data may be one it is subsynchronous back, sequence not It can guarantee, it therefore, can be after multiple messages be put into messaging list, to message according to the serial number carried in message (sequence) it is ranked up.
Optionally, to prevent from occupying excessive memory space after the completion of prioritisation of messages, retain newest n message, delete Old history message also ensures sequencing production so as to save memory space.
Optionally, in the present embodiment, it can be shown in the target session in the client logged in using the first account First prompt information, wherein the first prompt information is used to prompt the presence of the first message updated in target message list, and target disappears Each message in breath list is used to describe to be sent to the message of the second account, and the first account and the second account have incidence relation.
Optionally, the first prompt information can be on the interactive interface of client, in target corresponding with target session On any position in region, the warning banner (e.g., circle shown in Fig. 1) of display, the first prompt information may include being used for Indicate the information of the number of update message, alternatively, the second account last time log off after be sent to total message of the second account Number.Update message may is that target message shown by the touch control operation executed relative to upper secondary response to target session arranges Message in table, the message being newly added in target message list.Message in target message list is opposite with the second account It answers, each message is used to the message that description is sent to the second account.
Optionally, in the present embodiment, the first touch control operation executed to target session is detected;Respond the first touch-control behaviour Make, on the client displaying target messaging list;Detect the second touch-control executed to the first message in target message list Operation.
Optionally, the first touch control operation, which can be, grasps the touch-control that the touch screen by terminal where client detects Make, for example, clicking, sliding.It is also possible to virtual touch control operation, for example, the touch-control behaviour executed by connected external equipment The touch control operation make, sensed by sensing device (executes specified operation by the target object perceived such as infrared, specifies behaviour Make corresponding with touch control operation).The first touch control operation is responded, on the client displaying target messaging list.In target message list In pass through prompt information and prompt first message and other update messages.Prompt information can include but is not limited to: color adds Slightly, circulation show topics, target identification, background colour etc..
Optionally, in the present embodiment, the second touch-control behaviour executed to the first message in target message list is detected Make;The second touch control operation is responded, the login account of client is switched to the second account.
Optionally, the second touch control operation, which can be, grasps the touch-control that the touch screen by terminal where client detects Make, for example, clicking, sliding.It is also possible to virtual touch control operation, for example, the touch-control behaviour executed by connected external equipment The touch control operation make, sensed by sensing device (executes specified operation by the target object perceived such as infrared, specifies behaviour Make corresponding with touch control operation).The second touch control operation is responded, the login account of client is switched to the second account.
Optionally, after the login account of client is switched to the second account, client can by it is following at least One of mode carry out message synchronization: to server send message synchronization request, receive server response message synchronization request push away The message sent;The message of period reception server push.Described in the first message for including in the message of server push Two message.
Optionally, it after receiving the message of server push, can be shown in the message display interface of client The message received, can also in the first session corresponding with message sender display reminding information;It detects to the first meeting The touch control operation of the execution of words responds the touch control operation detected, shows disappear corresponding with the message sender on the client Cease list.
Optionally, in the case where the associated account number with the first account relating has multiple, the first touch control operation is responded, in visitor Associated entry list is shown on the end of family, wherein an entry in associated entry list includes matched with an associated account number Account indicate information and with the matched account messaging list of associated account number, include target entry, target item in associated entry list Mesh include with the second account matched account instruction information and with the matched target message list of the second account.
As shown in figure 5, user works in 1 identity of enterprise, the account identity of enterprise 2 has new information at this time, and message is logical Later platform is pushed to enterprise 1 and is shown, then in " my other enterprises " (target session) in the message interface of client Display reminding information: the account information of special marking, receiving time and the enterprise account for indicating to receive new information (" [enterprise 2] receives letter message ").After detecting the touch control operation executed to " my other enterprises ", display " I its The associated entry list of his enterprise ": " enterprise 2 " (account instruction information) and account messaging list (1 message), " enterprise 3 " (account Number instruction information) and account messaging list (no message).Message in account messaging list is the message that do not seen, meanwhile, " account Number instruction information " can also include be used to indicate " enterprise " last time log off after the message number that receives in total so far (e.g., " 4 " in the account instruction information of " enterprise 2 ").
By the embodiment of the present application, using display reminding in the target session in the client logged in using the first account The message that prompt is sent to the second account has the mode of update, passes through the target meeting in the client logged in using the first account The prompt information for prompting to have the first message updated in target message list is shown in words, it is each in target message list Message is used to describe to be sent to the message of the second account, and the first account and the second account have incidence relation;It detects to target The first touch control operation that session executes;The first touch control operation is responded, on the client displaying target messaging list;It detects to mesh Mark the second touch control operation that the first message in messaging list executes;The second touch control operation is responded, by the login account of client It is switched to the second account, has reached the description letter that the display in the client that the first account logs in is sent to the message of the second account The purpose of the second account is ceased and is quickly switched into, to realize the technology whether another account of timely learning receives message Effect, and then technology of the message treatment method provided in the related technology there are the acquisition of the message of different accounts not in time is provided Problem.
As a kind of optional embodiment, the second touch control operation is being responded, the login account of client is switched to the After two accounts, the above method further include:
S1 receives the second message of server push by client, wherein second message is described by first message The message for being sent to the second account;
S2, in the display second message of client.
Through this embodiment, the operation mark that account switching is carried out by showing in the display interface of first message, can Conveniently to execute account switching, user experience is improved.
As a kind of optional embodiment, shows and mention in the target session in the client logged in using the first account Before showing information, the above method further include:
S1 receives the first message of server push by client, wherein first message also includes the second account Account number;
First message is added in target message list by S2, wherein target message list is stored in the work of the first account Make in the target message memory space in catalogue, target message memory space is corresponding with account number.
Optionally, first message is added to target message list includes:
S1, first message be it is multiple in the case where, according to message each in multiple first messages carry sequence identification, Multiple first messages are ranked up;
Multiple first messages are added in target message list by S2 according to ranking results.
Optionally, after first message is added to target message list, the above method further include:
Judge whether the number of the message in target message list is greater than target numbers;
In the case where the number of the message of storage is greater than target numbers, according to the sequencing of message receipt times, delete Except the message stored in target message memory space, until the number of the message in target message list is equal to target numbers.
Through this embodiment, by receive server push include the second account account number first message simultaneously It is added in target message list, further, the number of the message in target message list is limited within target numbers, To save memory space.Further, by being arranged according to the sequence identification carried in message multiple first messages Sequence, can be in order to a hyposynchronous multiple message progress storage and management.
As a kind of optional embodiment, the first touch control operation is responded, on the client displaying target messaging list packet It includes:
In the case where the associated account number with the first account relating has multiple, the first touch control operation is responded, on the client Show associated entry list, wherein an entry in associated entry list includes referring to a matched account of associated account number Show information and with the matched account messaging list of associated account number, include target entry in associated entry list, target entry includes With the second account matched account instruction information and with the matched target message list of the second account.
Through this embodiment, the message of multiple associated account numbers is managed by way of associated entry list, can understand area Divide the message of different accounts, the message for different accounts of avoiding confusion.
Other side according to an embodiment of the present invention provides a kind of message treatment method, as shown in fig. 6, above-mentioned disappear Ceasing processing method may include:
S602 receives the second message for being sent to the second account;
S604 generates first message according to second message, wherein first message includes the account number of the second account and retouches Information is stated, description information is for describing second message;
First message is saved in first message queue corresponding with the first account by S606, wherein the first account and the Two accounts have incidence relation, and the first account is the account for logging in client and using;
Message in first message queue is pushed to client by S608.
Optionally, above-mentioned message treatment method can be, but not limited to be applied to the message processing procedure in social network-i i-platform In, such as it is applied to the message processing procedure of enterprise's office software.
It should be noted that in the present embodiment, by above-mentioned message treatment method, receiving and being sent to the second account Second message;According to second message, first message is generated, wherein first message includes account number and the description of the second account Information, description information is for describing second message;First message is saved in first message queue corresponding with the first account, Wherein, the first account and the second account have incidence relation, and the first account is the account for logging in client and using;By first message Message in queue, is pushed to client, has reached the display in the client that the first account logs in and has been sent to the second account The purpose of the description information of message, to realize the technical effect whether another account of timely learning receives message.
Optionally, server can preserve multiple sub- accounts under same primary account number, have between multiple sub- accounts and close Connection relationship.After receiving and being sent to the second message of the second account, since what is currently logged in is the first account, for the ease of User's timely learning is sent to the second message of the second account, the description message (first message) of second message can be saved in The message queue of first account, so that message, which will now be described, is sent to client in fact.
Optionally, after receiving and being sent to the second message of the second account, second message is stored in and the second account In number corresponding second message queue;It by the message in first message queue, is pushed to after client, receives using The message synchronization request that the client that two accounts log in is initiated;Response message synchronization request, by the message in second message queue It is pushed to the client logged in using the second account.
Optionally, after receiving and being sent to the second message of the second account, second message can be stored in second In the message queue of account, while the description message of second message being saved in the message queue of the first account, and is being used By the message synchronization in the message queue of the second account to client when second account logs in client, to complete second message Push.
Optionally, it by the message in first message queue, is pushed to after client, first message queue can be removed In be pushed to the message of client.
It is alternatively possible to which the message in message queue is pushed to after client, the message pushed is removed, thus Save the memory space of server.
By the embodiment of the present application, the second message for being sent to the second account is received;According to second message, third is generated Message, wherein third message includes the account number and description information of the second account, and description information is for describing second message; Third message is saved in first message queue corresponding with the first account, wherein the first account and the second account have pass Connection relationship, the first account are the account for logging in client and using;By the message in first message queue, it is pushed to client, is reached To the purpose for being sent to the description information of message of the second account is shown in the client that the first account logs in, to realize Whether timely learning another account receives the technical effect of message, and then solves the Message Processing provided in the related technology Method there is technical issues that the message of different accounts obtains.
As a kind of optional embodiment, after receiving and being sent to the second message of the second account, the above method Further include:
Second message is saved in second message queue corresponding with the second account by S1;
By the message in first message queue, it is pushed to after client, the above method further include:
S2 is received and is requested using the message synchronization that the client that the second account logs in is initiated;Response message synchronization request, Message in second message queue is pushed to the client logged in using the second account.
Through this embodiment, by saving second message in the message queue of the second account, and client is being received The message in the message queue of the second account is pushed to client after the message synchronization request of initiation, to realize second message It is synchronized to the purpose of client.
It is pushed to after client as a kind of optional embodiment by the message in first message queue, it is above-mentioned Method further include:
S1 removes the message that client is pushed in first message queue.
Through this embodiment, after the message in message queue is pushed to client, the message pushed is removed, from And save memory space.
Above-mentioned message treatment method is illustrated below in conjunction with specific example.User is carried out using the identity of enterprise 1 It logs in, is from the background server.For realizing the message treatment method framework as shown in fig. 7, in the architecture, comprising: client End and server, are separately below illustrated client and server.
For client, client may include: account module, message module, UI module and multiple message managers, In,
Account module, for managing multiple enterprises account, each account works in different working directories, by message and each industry The storage of business data separates;
Message module is responsible for the transmitting-receiving and storage of message under corresponding account.And received message is transmitted to UI and is shown;
UI module is responsible for providing interface alternation, and shows use from the message data that message module obtains corresponding account Family.
After receiving multiple enterprises message, message module notice UI has multiple enterprises message newly-increased, and UI provides other enterprise messages The session of prompting shows that guidance user switches enterprise and checks.When entering session when the user clicks, UI can be triggered to dispose and seen Multiple enterprises message data, after user switches enterprise account, triggering goes server sync to return newest message, user See the details of message.And it is switched fast go back to original undertaking in order to facilitate user to continue to handle official business.UI is upper can be by original undertaking at other Enterprise message reminds top set in session.
For server, server may include: messaging interface and message synchronization queue, wherein
Messaging interface is responsible for receiving the request of client hair message, and message data is put into corresponding message queue, Waiting is pushed to client.
The queue management for carrying out sending message is responsible in message synchronization queue, after client initiates message synchronization request, increases Amount returns to client message.
Server session management is that message push mode is as follows:
After some enterprise account of client logins successfully, backstage (server) just will record the account logined successfully Session can first exit current session, then be logged in, at this moment when client logs in another enterprise account Wait the current online session of server update.
The scheme that server and client side carries out message synchronization is increment synchronization model, the sync of client local Sequence requests synchronization message to server, and server can be maximum to current message queue by the sequence of client request The message data of sequence returns to client, to guarantee incremental update.Client 2, which is received, in server is sent to client When the message of the non-online session at end 1, server can search current online session, this message is packaged into agreement Cmd message, then increase this message sequence wait client synchronize.Last client is asked by synchronizing It asks, synchronizes back this multiple enterprises message and complete parsing displaying.
The process of framework as shown in connection with fig. 7, the message treatment method in this example is as shown in Figure 8, comprising the following steps:
Step 1, user logs in 1 identity of enterprise and handles official business, and backstage record enterprise 1session is current logs in when login Session;
Step 2, when 2 identity of enterprise receives message, on the one hand message is inserted into the message queue of enterprise 2session by backstage, On the one hand current online enterprise session is found, by message synchronization to enterprise 1.
Step 3, enterprise 1 receives the multiple enterprises message of the enterprise 2 of backstage push, and being recognized by special marking is non-enterprise It with the enterprise source (vid) of user enterprise 2 is that key is individually stored and updating maintenance by message after industry message.
Here message can be ranked up, and will is more than that a certain number of older multiple enterprises message are deleted to optimize Memory space.Simultaneously using vid as the key of dimension, can be used to enterprise 1 is received different enterprises across enterprise message (that is, more Enterprise message) separation storage is carried out, it does not interfere with each other.
Step 4, user is showed by " multiple enterprises message " session on interface, user, which can click, checks that multiple enterprises disappear Breath abstract, while enterprise can be switched and checked, or selection stays in current enterprise and continues to handle official business.
The operation (for example, receiving message) that above-mentioned enterprise executes is the client executing using the login of the enterprise identity Operation.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of message processing apparatus, as shown in figure 9, the dress It sets and includes:
(1) first display unit 902, for showing in the target session in the client logged in using the first account One prompt information, wherein the first prompt information is used to prompt the presence of the first message updated, target message in target message list Each message in list is used to describe to be sent to the message of the second account, and the first account and the second account have incidence relation;
(2) first detection unit 904, for detecting the first touch control operation executed to target session;
(3) second display units 906 are used to respond the first touch control operation, on the client displaying target messaging list;
(4) second detection unit 908, for detecting the second touch-control executed to the first message in target message list Operation;
(5) login account of client is switched to the second account for responding the second touch control operation by switch unit 910.
Optionally, above-mentioned message processing apparatus can be, but not limited to be applied to the message processing procedure in social network-i i-platform In, such as it is applied to the message processing procedure of enterprise's office software.
It should be noted that in the present embodiment, by above-mentioned message processing apparatus, in the visitor logged in using the first account The first prompt information is shown in target session on the end of family, wherein the first prompt information is for prompting to deposit in target message list Each message in the first message of update, target message list is used to describe to be sent to the message of the second account, the first account There is incidence relation with the second account;Detect the first touch control operation executed to target session;The first touch control operation is responded, Displaying target messaging list in client;Detect the second touch control operation executed to the first message in target message list; The second touch control operation is responded, the login account of client is switched to the second account, has reached the client logged in the first account Display is sent to the description information of the message of the second account and is rapidly switched to the purpose of the second account on end, to realize Whether another account of timely learning receives the technical effect of message.
Optionally, the first account and the second account can be account corresponding to the different enterprise identity of same user, the One account and the second account are corresponding with same primary account number.There can be enterprise under the login interface of client a, primary account number Selective listing, each business entries in enterprise's selective listing correspond to a sub- account, and every sub- account corresponds to the main account An enterprise identity under number.By selecting a business entries, the corresponding sub- account of the business entries can be used and log in visitor Family end handles the message under the enterprise identity.
Optionally, in order to carry out the data of different sub- accounts separate to being independent of each other, under same primary account number not With sub- account, working directory is respectively created, when user selects certain sub- account to log in, working directory is switched to pair The working directory of sub- account is answered, and is logged in.After being logged in using certain sub- account, other sub- accounts of non-logging state The transmitting-receiving and various businesses activity that not can be carried out message are until sub- account logins successfully.This account management mechanism of client, The data of each sub- account and synchronous opportunity are separated from each other, the synchronous login relied on account of account data.
Optionally, after being logged in using certain sub- account, the session that can recorde the sub- account of login from the background is to step on Record state (logging state for being labeled as the sub- account).The sub- account of non-logging state, due to being not logged on state data, The transmitting-receiving and various businesses activity of message are not can be carried out.
It is alternatively possible to receive the first message of server push by client, wherein first message also includes The account number of two accounts;First message is added in target message list, wherein target message list is stored in the first account Number working directory in target message memory space in, target message memory space is corresponding with account number.
Optionally, the account number of the second account can be account id, account index, enterprise's mark (due to enterprise message It is usually sent in enterprises, will not can pass through the second account of enterprise's mark for marking across enterprise).
Optionally, in the message that client receives, the account of the reception message can be identified by account number Number.For the message received, client can identify that the account number carried in message determines that the message is destined to this account Number message, if so, being shown in the way of common message.It, can be for showing if being the message of non-account Show and shows the message in the session of the message of non-account.
Optionally, the description information that first message includes can be used for the second message for describing to be sent to the second account.It retouches Stating information can be the eap-message digest of second message.
It is alternatively possible to store disappearing for this account message and other accounts respectively under the working directory of the first account Breath.This account message is stored due to being related to search inquiry etc. using sqlite database.And disappear for other accounts Breath can be shown by the way of written document as just a full dose due to not being related to search inquiry.It is non-when receiving When this account message, by account number, the message Storage Item of corresponding account is found, and message is added to the message of Storage Item In list.
Optionally, after first message is added to target message list, judge the message in target message list Whether number is greater than target numbers;In the case where the number of the message of storage is greater than target numbers, according to message receipt times Sequencing, the message stored in delete target message memory space, until the number etc. of the message in target message list In target numbers.
Optionally, by first message be added to target message list include: first message be it is multiple in the case where, according to The sequence identification that each message carries in multiple first messages, is ranked up multiple first messages;It, will be more according to ranking results A first message is added in target message list.
Optionally, from server sync to message include multiple associated account numbers multiple message when, can be successively right The message of each associated account number is ranked up and stores.Due to multiple messages data may be one it is subsynchronous back, sequence not It can guarantee, therefore, message can be carried out according to the sequence carried in message after multiple messages are put into messaging list Sequence.
Optionally, to prevent from occupying excessive memory space after the completion of prioritisation of messages, retain newest n message, delete Old history message also ensures sequencing production so as to save memory space.
Optionally, in the present embodiment, it can be shown in the target session in the client logged in using the first account First prompt information, wherein the first prompt information is used to prompt the presence of the first message updated in target message list, and target disappears Each message in breath list is used to describe to be sent to the message of the second account, and the first account and the second account have incidence relation.
Optionally, the first prompt information can be on the interactive interface of client, in target corresponding with target session On any position in region, the warning banner (e.g., circle shown in Fig. 1) of display, the first prompt information may include being used for Indicate the information of the number of update message, alternatively, the second account last time log off after be sent to total message of the second account Number.Update message may is that target message shown by the touch control operation executed relative to upper secondary response to target session arranges Message in table, the message being newly added in target message list.Message in target message list is opposite with the second account It answers, each message is used to the message that description is sent to the second account.
Optionally, in the present embodiment, the first touch control operation executed to target session is detected;Respond the first touch-control behaviour Make, on the client displaying target messaging list;Detect the second touch-control executed to the first message in target message list Operation.
Optionally, the first touch control operation, which can be, grasps the touch-control that the touch screen by terminal where client detects Make.It is also possible to virtual touch control operation.The first touch control operation is responded, on the client displaying target messaging list.In target First message and other update messages are prompted by prompt information in messaging list.Prompt information can include but is not limited to: Color, overstriking, circulation show topics, target identification, background colour etc..
Optionally, in the present embodiment, the second touch-control behaviour executed to the first message in target message list is detected Make;The second touch control operation is responded, the login account of client is switched to the second account.
Optionally, the second touch control operation, which can be, grasps the touch-control that the touch screen by terminal where client detects Make, is also possible to virtual touch control operation.The second touch control operation is responded, the login account of client is switched to the second account.
Optionally, after the login account of client is switched to the second account, client can by it is following at least One of mode carry out message synchronization: to server send message synchronization request, receive server response message synchronization request push away The message sent;The message of period reception server push.Described in the first message for including in the message of server push Two message.
Optionally, it after receiving the message of server push, can be shown in the message display interface of client The message received, can also in the first session corresponding with message sender display reminding information;It detects to the first meeting The touch control operation of the execution of words responds the touch control operation detected, shows disappear corresponding with the message sender on the client Cease list.
Optionally, in the case where the associated account number with the first account relating has multiple, the first touch control operation is responded, in visitor Associated entry list is shown on the end of family, wherein an entry in associated entry list includes matched with an associated account number Account indicate information and with the matched account messaging list of associated account number, include target entry, target item in associated entry list Mesh include with the second account matched account instruction information and with the matched target message list of the second account.
By the embodiment of the present application, using display reminding in the target session in the client logged in using the first account The message that prompt is sent to the second account has the mode of update, passes through the target meeting in the client logged in using the first account The prompt information for prompting to have the first message updated in target message list is shown in words, it is each in target message list Message is used to describe to be sent to the message of the second account, and the first account and the second account have incidence relation;It detects to target The first touch control operation that session executes;The first touch control operation is responded, on the client displaying target messaging list;It detects to mesh Mark the second touch control operation that the first message in messaging list executes;The second touch control operation is responded, by the login account of client It is switched to the second account, has reached the description letter that the display in the client that the first account logs in is sent to the message of the second account The purpose of the second account is ceased and is quickly switched into, to realize the technology whether another account of timely learning receives message Effect, and then technology of the message treatment method provided in the related technology there are the acquisition of the message of different accounts not in time is provided Problem.
As a kind of optional embodiment, above-mentioned apparatus further include:
The login account of client is switched to the second account for responding the second touch control operation by (1) first receiving unit After number, the second message of server push is received by client, wherein second message is the described hair of first message Give the message of the second account;
(2) third display unit, for the display second message in client.
Through this embodiment, the operation mark that account switching is carried out by showing in the display interface of first message, can Conveniently to execute account switching, user experience is improved.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) second receiving unit, for display reminding in the target session in the client logged in using the first account Before information, the first message of server push is received by client, wherein first message also includes the account of the second account Number mark;
(2) adding unit, for first message to be added in target message list, wherein target message list storage In the target message memory space in the working directory of the first account, target message memory space is corresponding with account number.
Optionally, adding unit includes:
Sorting module, for being carried according to message each in multiple first messages in the case where first message is multiple Sequence identification, multiple first messages are ranked up;
Adding module, for according to ranking results, multiple first messages to be added in target message list.
Optionally, above-mentioned apparatus further include:
Judging unit, for judging in target message list after first message is added to target message list Whether the number of message is greater than target numbers;
Delete unit, for the number of the message of storage be greater than target numbers in the case where, according to message receipt times Sequencing, the message stored in delete target message memory space, until the number etc. of the message in target message list In target numbers.
Through this embodiment, by receive server push include the second account account number first message simultaneously It is added in target message list, further, the number of the message in target message list is limited within target numbers, To save memory space.Further, by being arranged according to the sequence identification carried in message multiple first messages Sequence, can be in order to a hyposynchronous multiple message progress storage and management.
As a kind of optional embodiment, the second display unit 906 includes:
Display module, in the case where the associated account number with the first account relating has multiple, the first touch-control of response to be grasped Make, show associated entry list on the client, wherein an entry in associated entry list includes and an associated account number Matched account instruction information and with the matched account messaging list of associated account number, include target entry in associated entry list, Target entry include with the second account matched account instruction information and with the matched target message list of the second account.
Through this embodiment, the message of multiple associated account numbers is managed by way of associated entry list, can understand area Divide the message of different accounts, the message for different accounts of avoiding confusion.
Another aspect according to an embodiment of the present invention provides a kind of message processing apparatus, as shown in Figure 10, above-mentioned to disappear Ceasing processing unit may include:
(1) receiving unit 1002, for receiving the second message for being sent to the second account;
(2) generation unit 1004, for generating first message according to second message, wherein first message includes the second account Number account number and description information, description information is for describing second message;
(3) storage unit 1006, for first message to be saved in corresponding with the first account in message synchronization queue In one message queue, wherein the first account and the second account have incidence relation, and the first account is the account for logging in client and using Number;
(4) push unit 1008, for being pushed to client for the message in first message queue.
Optionally, above-mentioned message processing apparatus can be, but not limited to be applied to the message processing procedure in social network-i i-platform In, such as it is applied to the message processing procedure of enterprise's office software.
It should be noted that in the present embodiment, by above-mentioned message processing apparatus, receiving and being sent to the second account Second message;According to second message, first message is generated, wherein first message includes account number and the description of the second account Information, description information is for describing second message;First message is saved in first message queue corresponding with the first account, Wherein, the first account and the second account have incidence relation, and the first account is the account for logging in client and using;By first message Message in queue, is pushed to client, has reached the display in the client that the first account logs in and has been sent to the second account The purpose of the description information of message, to realize the technical effect whether another account of timely learning receives message.
Optionally, server can preserve multiple sub- accounts under same primary account number, have between multiple sub- accounts and close Connection relationship.After receiving and being sent to the second message of the second account, since what is currently logged in is the first account, for the ease of User's timely learning is sent to the second message of the second account, the description message (first message) of second message can be saved in The message queue of first account, so that message, which will now be described, is sent to client in fact.
Optionally, after receiving and being sent to the second message of the second account, second message is stored in and the second account In number corresponding second message queue;It by the message in first message queue, is pushed to after client, receives using The message synchronization request that the client that two accounts log in is initiated;Response message synchronization request, by the message in second message queue It is pushed to the client logged in using the second account.
Optionally, after receiving and being sent to the second message of the second account, second message can be stored in second In the message queue of account, while the description message of second message being saved in the message queue of the first account, and is being used By the message synchronization in the message queue of the second account to client when second account logs in client, to complete second message Push.
Optionally, it by the message in first message queue, is pushed to after client, first message queue can be removed In be pushed to the message of client.
It is alternatively possible to which the message in message queue is pushed to after client, the message pushed is removed, thus Save the memory space of server.
By the embodiment of the present application, the second message for being sent to the second account is received;According to second message, third is generated Message, wherein third message includes the account number and description information of the second account, and description information is for describing second message; Third message is saved in first message queue corresponding with the first account, wherein the first account and the second account have pass Connection relationship, the first account are the account for logging in client and using;By the message in first message queue, it is pushed to client, is reached To the purpose for being sent to the description information of message of the second account is shown in the client that the first account logs in, to realize Whether timely learning another account receives the technical effect of message, and then solves the Message Processing provided in the related technology Method there is technical issues that the message of different accounts obtains.
As a kind of optional embodiment, above-mentioned apparatus further include:
(1) preserving module, for after receiving and being sent to the second message of the second account, second message to be saved in In second message queue corresponding with the second account;
(2) receiving module receives use for being pushed to after client by the message in first message queue The message synchronization request that the client that second account logs in is initiated;
(3) pushing module is used for response message synchronization request, the message in second message queue is pushed to using second The client that account logs in.
Through this embodiment, by saving second message in the message queue of the second account, and client is being received The message in the message queue of the second account is pushed to client after the message synchronization request of initiation, to realize second message It is synchronized to the purpose of client.
As a kind of optional embodiment, above-mentioned apparatus further include:
Clearing cell removes first message team for being pushed to after client by the message in first message queue The message of client is pushed in column.
Through this embodiment, after the message in message queue is pushed to client, the message pushed is removed, from And save memory space.
The another aspect of embodiment according to the present invention, additionally provides a kind of storage medium, is stored in the storage medium Computer program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 shows the first prompt information in the target session in the client logged in using the first account, wherein first Prompt information is used to prompt to exist in target message list the first message updated, and each message in target message list is for retouching The message for being sent to the second account is stated, the first account and the second account have incidence relation;
S2 detects the first touch control operation executed to target session;
S3 responds the first touch control operation, on the client displaying target messaging list;
S4 detects the second touch control operation executed to the first message in target message list;
S5 responds the second touch control operation, the login account of client is switched to the second account.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 receives the second message of server push by client, wherein second message is described by first message The message for being sent to the second account;
S2, in the display second message of client.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 receives the first message of server push by client, wherein first message also includes the second account Account number;
First message is added in target message list by S2, wherein target message list is stored in the work of the first account Make in the target message memory space in catalogue, target message memory space is corresponding with account number.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1, first message be it is multiple in the case where, according to message each in multiple first messages carry sequence identification, Multiple first messages are ranked up;
Multiple first messages are added in target message list by S2 according to ranking results.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1, judges whether the number of the message in target message list is greater than target numbers;
S2, in the case where the number of the message of storage is greater than target numbers, according to the sequencing of message receipt times, The message stored in delete target message memory space, until the number of the message in target message list is equal to target numbers.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 responds the first touch control operation, in client in the case where the associated account number with the first account relating has multiple Upper display associated entry list a, wherein entry in associated entry list includes and a matched account of associated account number Indicate information and with the matched account messaging list of associated account number, include target entry, target entry packet in associated entry list Include with the second account matched account instruction information and with the matched target message list of the second account.
The another aspect of embodiment according to the present invention, additionally provides a kind of storage medium, is stored in the storage medium Computer program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 receives the second message for being sent to the second account;
S2 generates first message according to second message, wherein first message includes account number and the description of the second account Information, description information is for describing second message;
First message is saved in first message queue corresponding with the first account, wherein the first account and second by S3 Account has incidence relation, and the first account is the account for logging in client and using;
Message in first message queue is pushed to client by S4.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
Second message is stored in second message queue corresponding with the second account by S1;
S2 is received and is requested using the message synchronization that the client that the second account logs in is initiated;
Message in second message queue is pushed to the visitor logged in using the second account by S3, response message synchronization request Family end.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
S1 removes the message that client is pushed in first message queue.
Optionally, in the present embodiment, those of ordinary skill in the art will appreciate that in the various methods of above-described embodiment All or part of the steps be that the relevant hardware of terminal device can be instructed to complete by program, the program can store in In one computer readable storage medium, storage medium may include: flash disk, read-only memory (Read-Only Memory, letter Referred to as ROM), random access device (Random Access Memory, referred to as RAM), disk or CD etc..
Another aspect according to an embodiment of the present invention additionally provides a kind of for implementing the electricity of above-mentioned message treatment method Sub-device, as shown in figure 11, the electronic device include: processor 1102, memory 1104, display 1106, data/address bus 1108 and transmitting device 1110 etc..Above-mentioned each component can by data/address bus 1108 or other for data transmission line into Row connection.It is stored with computer program in the memory, which is arranged to execute by computer program any of the above-described Step in item embodiment of the method.
Optionally, in the present embodiment, above-mentioned electronic device can be located in multiple network equipments of computer network At least one network equipment.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 shows the first prompt information in the target session in the client logged in using the first account, wherein first Prompt information is used to prompt to exist in target message list the first message updated, and each message in target message list is for retouching The message for being sent to the second account is stated, the first account and the second account have incidence relation;
S2 detects the first touch control operation executed to target session;
S3 responds the first touch control operation, on the client displaying target messaging list;
S4 detects the second touch control operation executed to the first message in target message list;
S5 responds the second touch control operation, the login account of client is switched to the second account.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 receives the second message for being sent to the second account;
S2 generates first message according to second message, wherein first message includes account number and the description of the second account Information, description information is for describing second message;
First message is saved in first message queue corresponding with the first account, wherein the first account and second by S3 Account has incidence relation, and the first account is the account for logging in client and using;
Message in first message queue is pushed to client by S4.
Optionally, it will appreciated by the skilled person that structure shown in Figure 11 is only to illustrate, electronic device can also To be smart phone (such as Android phone, ios mobile phone), tablet computer, palm PC and mobile internet device The terminal devices such as (Mobile Internet Devices, referred to as MID), PAD.Figure 11 its not to above-mentioned electronic device Structure causes to limit.For example, electronic device may also include more or less component (such as network interface than shown in Figure 11 Deng), or with the configuration different from shown in Figure 11.
Wherein, memory 1104 can be used for storing software program and module, such as the Message Processing in the embodiment of the present invention Corresponding program instruction/the module of method and apparatus, the software program that processor 1102 is stored in memory 1104 by operation And module realizes above-mentioned message treatment method thereby executing various function application and data processing.Memory 1104 can Can also include nonvolatile memory including high speed random access memory, as one or more magnetic storage device, flash memory, Or other non-volatile solid state memories.In some instances, memory 1104 can further comprise relative to processor 1102 remotely located memories, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 1110 is used to that data to be received or sent via a network.Above-mentioned network specific example It may include cable network and wireless network.In an example, transmitting device 1110 includes a network adapter (Network Interface Controller, referred to as NIC), can be connected by cable with other network equipments with router so as to It is communicated with internet or local area network.In an example, transmitting device 1110 is radio frequency (Radio Frequency, abbreviation For RF) module, it is used to wirelessly be communicated with internet.
Aforementioned display device 1106 shows the interface of above-mentioned client.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of message treatment method characterized by comprising
The first prompt information is shown in the target session in the client logged in using the first account, wherein described first mentions Show information for prompting the presence of the first message updated in target message list, each message in the target message list is used for Description is sent to the message of the second account, and first account and second account have incidence relation;
Detect the first touch control operation executed to the target session;
First touch control operation is responded, the target message list is shown in the client;
Detect the second touch control operation executed to the first message in the target message list;
Second touch control operation is responded, the login account of the client is switched to second account.
2. the method according to claim 1, wherein responding second touch control operation, by the client Login account be switched to after second account, the method also includes:
The second message of server push is received by the client, wherein the second message is the first message The described message for being sent to second account;
In the display of the client second message.
3. the method according to claim 1, wherein in the client logged in using first account The target session in show the prompt information before, the method also includes:
The first message of server push is received by the client, wherein the first message also includes described The account number of second account;
The first message is added in the target message list, wherein the target message list is stored in described In target message memory space in the working directory of one account, the target message memory space is opposite with the account number It answers.
4. according to the method described in claim 3, it is characterized in that, the first message is added to the target message list Include:
In the case where the first message is multiple, according to the sequence mark of message each in multiple first messages carrying Know, multiple first messages are ranked up;
According to ranking results, multiple first messages are added in the target message list.
5. according to the method described in claim 3, it is characterized in that, being arranged the first message is added to the target message After table, the method also includes:
Judge whether the number of the message in the target message list is greater than target numbers;
In the case where the number of the message of the storage is greater than the target numbers, according to the successive suitable of message receipt times Sequence deletes the message stored in the target message memory space, until the number etc. of the message in the target message list In the target numbers.
6. the method according to any one of claims 1 to 5, which is characterized in that response first touch control operation, in institute It states and shows that the target message list includes: in client
In the case where the associated account number with first account relating has multiple, first touch control operation is responded, described Associated entry list is shown in client, wherein an entry in the associated entry list includes and an associated account number Matched account instruction information and with the matched account messaging list of the associated account number, include mesh in the associated entry list Mark entry, the target entry includes matched with second account matched account instruction information and with second account The target message list.
7. a kind of message treatment method characterized by comprising
Receive the second message for being sent to the second account;
First message is generated according to the second message, wherein the first message includes the account number of second account And description information, the description information is for describing the second message;
The first message is saved in first message queue corresponding with the first account, wherein first account and institute The second account is stated with incidence relation, first account is the account for logging in client and using;
By the message in the first message queue, it is pushed to the client.
8. the method according to the description of claim 7 is characterized in that
After receiving and being sent to the second message of second account, the method also includes: described second is disappeared Breath is saved in second message queue corresponding with second account;
By the message in the first message queue, it is pushed to after the client, the method also includes: receiving makes The message synchronization request initiated with the client that second account logs in;The message synchronization request is responded, it will be described Message in second message queue is pushed to the client logged in using second account.
9. method according to claim 7 or 8, which is characterized in that by the message in the first message queue, push After the client, the method also includes:
Remove the message that the client is pushed in the first message queue.
10. a kind of message processing apparatus characterized by comprising
First display unit, for the first prompt of display letter in the target session in the client logged in using the first account Breath, wherein first prompt information is used to prompt the presence of the first message updated, the target message in target message list Each message in list is used to describe to be sent to the message of the second account, and first account has with second account to be associated with Relationship;
First detection unit, for detecting the first touch control operation executed to the target session;
Second display unit shows the target message list for responding first touch control operation in the client;
Second detection unit, for detecting the second touch-control behaviour executed to the first message in the target message list Make;
The login account of the client is switched to second account for responding second touch control operation by switch unit Number.
11. device according to claim 10, which is characterized in that described device further include:
The login account of the client is switched to described second for responding second touch control operation by receiving unit After account, the second message of server push is received by the client, wherein the second message is described first The message of second account is sent to described in message;
Third display unit, for the display second message in the client.
12. a kind of message processing apparatus characterized by comprising
First receiving unit, for receiving the second message for being sent to the second account;
Generation unit, for generating first message according to the second message, wherein the first message includes second account Number account number and description information, the description information is for describing the second message;
First storage unit, for being saved in the first message in first message queue corresponding with the first account, wherein First account and second account have incidence relation, and first account is the account for logging in client and using;
First push unit, for being pushed to the client for the message in the first message queue.
13. device according to claim 12, which is characterized in that described device further include:
Second storage unit, for after receiving and being sent to the second message of second account, by described second Message is saved in second message queue corresponding with second account;
Second receiving unit, for being pushed to after the client, receiving by the message in the first message queue It is requested using the message synchronization that the client that second account logs in is initiated;
Second push unit, for responding the message synchronization request, the message in the second message queue, which is pushed to, to be made The client logged in second account.
14. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer Program is arranged to execute method described in any one of claim 1 to 9 when operation.
15. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory Sequence, the processor are arranged to execute side described in any one of claim 1 to 9 by the computer program Method.
CN201810798938.0A 2018-07-19 2018-07-19 Message processing method, message processing device, storage medium and electronic device Active CN109062489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810798938.0A CN109062489B (en) 2018-07-19 2018-07-19 Message processing method, message processing device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810798938.0A CN109062489B (en) 2018-07-19 2018-07-19 Message processing method, message processing device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109062489A true CN109062489A (en) 2018-12-21
CN109062489B CN109062489B (en) 2020-08-25

Family

ID=64817559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810798938.0A Active CN109062489B (en) 2018-07-19 2018-07-19 Message processing method, message processing device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109062489B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743329A (en) * 2019-01-22 2019-05-10 腾讯科技(深圳)有限公司 A kind of account processing method and processing device
CN110286839A (en) * 2019-06-24 2019-09-27 北京达佳互联信息技术有限公司 Message method, device, terminal and storage medium
CN110401709A (en) * 2019-07-23 2019-11-01 北京云中融信网络科技有限公司 Processing method, device and the storage medium of session in a kind of instant messaging application
CN111111169A (en) * 2019-12-06 2020-05-08 腾讯科技(深圳)有限公司 Data processing method, server, system and storage medium
CN111290674A (en) * 2020-02-06 2020-06-16 广州华多网络科技有限公司 Method and device for switching accounts and electronic equipment
CN111984993A (en) * 2020-08-06 2020-11-24 武汉华中时讯科技有限责任公司 Method for associating roles with non-private information streams in account
CN112181237A (en) * 2020-09-29 2021-01-05 维沃移动通信(杭州)有限公司 Display method and device and electronic equipment
CN112394870A (en) * 2019-08-15 2021-02-23 腾讯科技(深圳)有限公司 Information display method and device, storage medium and electronic device
CN113852618A (en) * 2021-09-18 2021-12-28 上海博泰悦臻电子设备制造有限公司 Account isolation method and device and storage medium
CN114374706A (en) * 2022-01-11 2022-04-19 北京易智时代数字科技有限公司 Content security management method based on distributed architecture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834878A (en) * 2010-01-29 2010-09-15 陈时军 Multiuser system privilege management method and instant messaging system applying same
WO2014008808A1 (en) * 2012-07-10 2014-01-16 中兴通讯股份有限公司 Information acquiring method, system and imap client
CN104065563A (en) * 2014-02-10 2014-09-24 腾讯科技(深圳)有限公司 Processing method, device and system for instant message
CN104639513A (en) * 2013-11-14 2015-05-20 腾讯科技(深圳)有限公司 Method and system for associating network account
CN104751333A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Information interaction method, device and system
CN105787709A (en) * 2016-03-24 2016-07-20 深圳竹云科技有限公司 Method of synchronizing multiple system accounts

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834878A (en) * 2010-01-29 2010-09-15 陈时军 Multiuser system privilege management method and instant messaging system applying same
WO2014008808A1 (en) * 2012-07-10 2014-01-16 中兴通讯股份有限公司 Information acquiring method, system and imap client
CN104639513A (en) * 2013-11-14 2015-05-20 腾讯科技(深圳)有限公司 Method and system for associating network account
CN104751333A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Information interaction method, device and system
CN104065563A (en) * 2014-02-10 2014-09-24 腾讯科技(深圳)有限公司 Processing method, device and system for instant message
CN105787709A (en) * 2016-03-24 2016-07-20 深圳竹云科技有限公司 Method of synchronizing multiple system accounts

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RING1: "手机QQ如何同时接收多个QQ账号的信息", 《百度经验》 *
诞海星辰: "qq4.7.2版本如何更改群消息设置", 《百度经验》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743329A (en) * 2019-01-22 2019-05-10 腾讯科技(深圳)有限公司 A kind of account processing method and processing device
CN110286839A (en) * 2019-06-24 2019-09-27 北京达佳互联信息技术有限公司 Message method, device, terminal and storage medium
CN110286839B (en) * 2019-06-24 2021-04-20 北京达佳互联信息技术有限公司 Message sending method, device, terminal and storage medium
CN110401709A (en) * 2019-07-23 2019-11-01 北京云中融信网络科技有限公司 Processing method, device and the storage medium of session in a kind of instant messaging application
CN112394870B (en) * 2019-08-15 2024-01-09 腾讯科技(深圳)有限公司 Information display method and device, storage medium and electronic device
CN112394870A (en) * 2019-08-15 2021-02-23 腾讯科技(深圳)有限公司 Information display method and device, storage medium and electronic device
CN111111169A (en) * 2019-12-06 2020-05-08 腾讯科技(深圳)有限公司 Data processing method, server, system and storage medium
CN111290674A (en) * 2020-02-06 2020-06-16 广州华多网络科技有限公司 Method and device for switching accounts and electronic equipment
CN111984993A (en) * 2020-08-06 2020-11-24 武汉华中时讯科技有限责任公司 Method for associating roles with non-private information streams in account
CN111984993B (en) * 2020-08-06 2024-02-13 武汉华中时讯科技有限责任公司 Method for associating roles under account with non-private information flow
CN112181237A (en) * 2020-09-29 2021-01-05 维沃移动通信(杭州)有限公司 Display method and device and electronic equipment
CN113852618A (en) * 2021-09-18 2021-12-28 上海博泰悦臻电子设备制造有限公司 Account isolation method and device and storage medium
CN113852618B (en) * 2021-09-18 2024-04-19 博泰车联网科技(上海)股份有限公司 Account isolation method, device and storage medium
CN114374706A (en) * 2022-01-11 2022-04-19 北京易智时代数字科技有限公司 Content security management method based on distributed architecture

Also Published As

Publication number Publication date
CN109062489B (en) 2020-08-25

Similar Documents

Publication Publication Date Title
CN109062489A (en) Message treatment method, device, storage medium and electronic device
US10516633B2 (en) Method, system, and storage medium for message processing
US10834556B2 (en) Mobile application state identifier framework
CN102982178B (en) A kind of image searching method, device and system
WO2015096322A1 (en) Information display method for instant communication tool, and user terminal
US20160330208A1 (en) Method and apparatus for implementing document sharing between user groups
CN105391622B (en) Share the method and system of resource in instant messaging or social networking application
CN104142784B (en) The interim storage method and apparatus of input content
CN108353018B (en) Method, device and system for sending message
CN107656988A (en) Document edit method and system
CN105162762B (en) Network Isolation methods, devices and systems
CN110377199A (en) Message treatment method and device, storage medium and electronic device
CN106327248A (en) Electronic coupon acquiring method and electronic coupon acquiring device
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN110362257A (en) A kind of data processing method, methods of exhibiting and client
US20140157290A1 (en) Method, system, and device for switching between network applications, and computer storage medium
CN108462734A (en) Message receival method and device
CN110258076A (en) A kind of laundry facilities reservation control method, device, storage medium and server
CN113010255A (en) Interaction method and device based on binding session group and computer equipment
US20150106899A1 (en) System and method for cross-cloud identity matching
CN104809017A (en) Application program distribution control and execution methods and corresponding devices thereof
CN106469166B (en) A kind of information processing method and device
CN102662801A (en) Method, client and system for recovering program through instant communication tool
CN107368376B (en) Message sending method and device, expansion method and terminal
CN103699630B (en) Method and device for recommending information in browser

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant