Message processing method and device, product, equipment and medium
By creating the proxy account of the second application in the first application, it is possible to quickly receive and synchronize messages in the second application without running the second application client, which solves the problem of low communication efficiency among multiple applications and improves communication. efficiency and user experience.
Patent Information
- Application Number
- CN202310245251.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-07
- Publication Date
- 2024-09-10
AI Technical Summary
When users need to use multiple communication applications at the same time to exchange messages, the existing technology results in low communication efficiency. Users need to repeatedly use multiple communication applications alternately and run multiple clients at the same time.
By creating the proxy account of the second application in the first application, the client of the first application can log in to the proxy account, send message pull requests to the server of the second application, receive and process messages in the second application, and update Message status to quickly receive and synchronize messages in the second application without running the second application client.
It improves the performance of multi-device simultaneous collection of messages in the second application, reduces the cost of running the client, improves the efficiency and convenience of multi-application message processing, and provides a consistent user experience.
Smart Images

Figure CN118631776A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of message processing, and in particular to a message processing method, apparatus, product, equipment and medium. Background Art
[0002] With the continuous development of computer networks, users are increasingly using various communication applications to exchange messages, and users can use each communication application independently to communicate with other related users. However, if a user needs to use multiple communication applications to communicate with other users at the same time, the multiple communication applications need to be used repeatedly and alternately, and multiple clients of the multiple communication applications need to be run at the same time, resulting in low communication efficiency. Summary of the invention
[0003] The present application provides a message processing method, apparatus, product, device and medium, which can improve the performance of receiving messages in a second application through a first application, and improve the efficiency of message reception between the first application and the second application.
[0004] On one hand, the present application provides a message processing method, which is executed by a first server of a first application, a proxy account is logged in to a client of the first application, and the proxy account is used to receive messages from a second account in a second application; the method includes:
[0005] Sending a message pull request to the second server of the second application; the message pull request includes account verification information of the second account in the second application;
[0006] receiving a first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is a message of the second account in the second application;
[0007] The first message is sent to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account.
[0008] Optionally, the client includes a message plug-in for processing messages in the second application, and the client is used to log in to the proxy account based on the message plug-in;
[0009] The client is used to receive and output the first message based on the message plug-in logged in with the proxy account.
[0010] On one hand, the present application provides another message processing method, which is executed by a client of a first application, in which a proxy account is logged in to the client of the first application, and the proxy account is used to receive messages from a second account in a second application; the method includes:
[0011] Based on the logged-in proxy account, a first message sent by the first server of the first application is received; the first message is obtained by the first server from the second server of the second application based on the account verification information of the second account in the second application, and the first message is a message of the second account in the second application;
[0012] Output the first message.
[0013] On one hand, the present application provides a message processing device, which is applied to a first server of a first application, a proxy account is logged in to a client of the first application, and the proxy account is used to receive messages from a second account in a second application; the device includes:
[0014] A pull module, configured to send a message pull request to a second server of a second application; the message pull request includes account verification information of the second account in the second application;
[0015] A receiving module, used to receive a first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is a message of the second account in the second application;
[0016] The sending module is used to send the first message to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account.
[0017] The first message of the second account is in an unread state in the second application; and the above device is further used for:
[0018] Receiving first indication information sent by a client of a first application; the first indication information is used to indicate that the first message is read under a logged-in proxy account;
[0019] The first indication information is sent to the second server, so that the second server updates the unread state of the first message of the second account to a read state.
[0020] The first message is in an unread state under the proxy account in the first application; the above device is also used for:
[0021] receiving second indication information sent by the second server; the second indication information is used to indicate that the first message is read under the second account;
[0022] Based on the second indication information, the unread status of the first message under the proxy account is updated to a read status.
[0023] Wherein, the first message in an unread state under the proxy account has an unread prompt in the client of the first application;
[0024] After updating the unread status of the first message under the proxy account to a read status, the device is further used to:
[0025] Sending third indication information to the client of the first application, so that the client of the first application cancels the unread prompt for the first message based on the third indication information;
[0026] The third indication information is used to indicate that the first message is in a read state under the proxy account.
[0027] The method in which the pull module sends a message pull request to the second server of the second application includes:
[0028] If new message prompt information sent by the second server is received, a message pull request is sent to the second server; the new message prompt information is used to indicate that the second account has new messages in the second application; or,
[0029] Sending new message query information to the second server, and if receiving first confirmation information returned by the second server based on the new message query information, sending a message pull request to the second server; the first confirmation information is used to indicate that the second account has a new message in the second application;
[0030] The first message is a new message of the second account acquired by the second server.
[0031] The above device is also used for:
[0032] Receive an account login request sent by a client; the account login request includes account verification information of the second account;
[0033] If there is no account in the first application for receiving messages of the second account in the second application, sending an account verification request to the second server based on the account verification information in the account login request;
[0034] If second confirmation information returned by the second server is received, a proxy account of the second account is generated based on the account verification information; the second confirmation information is returned by the second server after successfully verifying the account verification information in the account verification request;
[0035] Return the login information of the proxy account to the client, so that the client outputs the login interface of the proxy account based on the login information.
[0036] The method in which the pull module sends a message pull request to the second server of the second application includes:
[0037] After the proxy account is generated, a message pull request is sent to the second server; wherein the first message includes historical messages of the second account in the second application before the proxy account is generated;
[0038] The client of the first application is used to output the first message on the login interface.
[0039] The above device is also used for:
[0040] receiving a second message sent by the client; the second message is a message generated under the proxy account logged in in the client of the first application, and the second message has a message receiving account;
[0041] The second message is sent to the second server, so that the second server sends the second message to the message receiving account based on the second account.
[0042] The client includes a message plug-in for processing messages in the second application, and the client is used to log in to the proxy account based on the message plug-in;
[0043] The client is used to receive and output the first message based on the message plug-in logged in with the proxy account.
[0044] There is a first account logged in the client of the first application, the first account is an account in the first application, and there is a binding relationship between the proxy account and the first account;
[0045] The above device is also used for:
[0046] If the first message includes schedule information that needs to be configured for the second account in the second application, the schedule information is configured for the first account in the first application.
[0047] On one hand, the present application provides another message processing device, which is applied to a client of a first application, in which a proxy account is logged in, and the proxy account is used to receive messages from a second account in a second application; the device includes:
[0048] The collection module is used to receive a first message sent by a first server of a first application based on a logged-in proxy account; the first message is obtained by the first server from pulling the second server of the second application based on the account verification information of the second account in the second application, and the first message is a message of the second account in the second application;
[0049] The output module is used to output the first message.
[0050] Wherein, a first account is logged in to the client of the first application, and the first account is an account in the first application; the above device is also used for:
[0051] If the first message includes a message prompt for the first account, after receiving the first message, generating prompt information for the first message;
[0052] Output prompt information.
[0053] The proxy account is logged in in the client of the first application based on a message plug-in, and the message plug-in is a plug-in for processing messages of the second application; the first message has a message sending account, the message sending account and the account in the second application are accounts of the same type, and the message sending account and the third account in the first application are associated with each other;
[0054] The above device outputs prompt information in the following ways:
[0055] Output prompt information based on the message plug-in; or,
[0056] A prompt message is outputted on a conversation interface between the first account and the third account.
[0057] The above device is also used for:
[0058] Display the message editing interface based on the logged-in agent account, and enter the message receiving account in the message editing interface;
[0059] Invoke the file tray of the first application in the message editing interface, and add the target file selected in the file tray to the message editing interface;
[0060] In the message editing interface, a second message is generated based on the target file and the message receiving account;
[0061] The second message is sent to the first server, so that the first server sends the second message to the second server; the second server is used to send the second message to the message receiving account based on the second account.
[0062] There is a first account logged in the client, and the first account is an account in the first application;
[0063] The method for the above device to enter the message receiving account in the message editing interface includes:
[0064] In the message editing interface, calling the interactive account list of the first account in the first application; the interactive account list includes one or more accounts in the first application that can interact with the first account;
[0065] Determine other accounts recorded by the first application and associated with the account selected in the interactive account list as message receiving accounts and add them to the message editing interface;
[0066] The message receiving account and the account in the second application are accounts of the same type.
[0067] Wherein, a first account is logged in the client, and the first account is an account in the first application; the above device is also used for:
[0068] In response to a forwarding operation on the first message, generating a forwarding message of the first message;
[0069] Calling an interactive account list of the first account in the first application; the interactive account list includes one or more accounts in the first application that can interact with the first account;
[0070] The forwarding message is sent to an account selected in the interactive account list, so that a device logged in to the selected account outputs a first message based on the forwarding message.
[0071] In one aspect, the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes a method in one aspect of the present application.
[0072] In one aspect, the present application provides a computer-readable storage medium storing a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method in the above aspect.
[0073] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in various optional modes such as the above-mentioned one aspect.
[0074] In this application, a proxy account can be logged in to the client of the first application, and the proxy account can be used to collect messages of the second account in the second application. The first server of the first application can send a message pull request to the second server of the second application; the message pull request contains the account verification information of the second account in the second application, and the first server of the first application can also receive the first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is the message of the second account in the second application, and the first message can be sent to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account. It can be seen that the method proposed in this application can create a proxy account of the second account in the first application, so that the client can collect the first message of the second account in the first application through the logged-in proxy account, so that the client of the first application can quickly receive the message of the second account in the second application without running the client of the second application. In addition, in some extended cases, as long as the device of the proxy account in the first application is logged in, the message of the second account in the second application can be synchronously received through the logged-in proxy account, which improves the performance of synchronously collecting messages of the second account in the second application by multiple devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0076] Figure 1 It is a structural diagram of a network architecture provided by this application;
[0077] Figure 2 This is a schematic diagram of a message collection scenario provided by this application;
[0078] Figure 3 It is a flowchart of a message processing method provided by this application;
[0079] Figure 4 This is a schematic diagram of an interface for logging into an account provided by this application;
[0080] Figure 5 This is a schematic diagram of a message proxy framework provided by this application;
[0081] Figure 6 This is a flow chart of data collection provided by this application;
[0082] Figure 7 This is a schematic diagram of a framework for email synchronization provided by this application;
[0083] Figure 8 It is a flowchart of another message processing method provided by the present application;
[0084] Fig. 9 This is a schematic diagram of an interface for adding a message prompt to a message provided by the present application;
[0085] Fig.10 This is a schematic diagram of an interface for inserting a file into a message provided by the present application;
[0086] Figure 11a-Figure 11b This is a schematic diagram of an interface for adding a message receiving account provided by this application;
[0087] Fig.12 This is a schematic diagram of a message forwarding interface provided by this application;
[0088] Fig.13 It is a structural diagram of a message processing device provided by the present application;
[0089] Fig.14 It is a structural diagram of another message processing device provided by the present application;
[0090] Fig.15 It is a structural schematic diagram of a computer device provided by the present application;
[0091] Fig.16 It is a structural schematic diagram of another computer device provided by this application. DETAILED DESCRIPTION
[0092] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0093] This application involves cloud technology, which refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or a local area network to achieve data computing, storage, processing and sharing.
[0094] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The backend services of the technical network system require a large amount of computing and storage resources, such as video websites, image websites and more portal websites. With the rapid development and application of the Internet industry, in the future, each item may have its own identification mark, which needs to be transmitted to the backend system for logical processing. Data of different levels will be processed separately. All kinds of industry data need strong system backing support, which can only be achieved through cloud computing.
[0095] The cloud technology involved in this application may refer to that both the first server of the first application and the second server of the second application may be cloud servers, and the first server may receive messages of the second account received by the second server on behalf of the cloud. For details, please refer to the following Figure 3 Corresponding to the description in the embodiment.
[0096] First of all, it needs to be explained that all data collected by this application (such as account verification information, messages, and message reading status of the second account in the second application and other related data) are collected with the consent and authorization of the object to which the business data belongs (such as users, institutions or enterprises), and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0097] Here, the relevant concepts in this application are explained:
[0098] Cloud receiving / sending: Messages (such as emails) are received or sent on the server side (such as the first server described below) through relevant message receiving protocols. The client to which the message belongs (such as the client of the second server described below) can receive new message reminders through the client of the first server (such as the client of the first application described below) without the need for background running.
[0099] See also Figure 1 , Figure 1 This is a schematic diagram of a network architecture provided by this application. Figure 1 As shown, the network architecture of the present application may include a server 100, a server 200 and a terminal device cluster, and the terminal device cluster may include one or more terminal devices, and the number of terminal devices is not limited here. Figure 1 As shown, the multiple terminal devices may specifically include terminal device 1, terminal device 2, terminal device 3, ..., terminal device n; Figure 1As shown, terminal device 1, terminal device 2, terminal device 3, ..., terminal device n can all be connected to the server 100 through a network, so that each terminal device can exchange data with the server 100 through a network connection. In addition, the server 100 and the second server 200 are also connected to the network, and the server 100 and the server 200 can also exchange data through a network connection.
[0100] like Figure 1 The server 200 shown can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device can be a smart terminal such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, etc. The following takes the communication between the terminal device 1, the server 100, and the server 200 as an example to describe the specific embodiments of the present application.
[0101] Please also see Figure 2 , Figure 2 This is a schematic diagram of a message collection scenario provided by this application. Figure 2 As shown, the present application allows a first account in a first application to receive messages from a second account in a second application. The server 100 may be a server of the first application, the server 200 may be a server of the second application, and the terminal device 1 may include a client of the first application.
[0102] If it is necessary to let the first account in the first application receive messages from the second account in the second application, the first account is an account in the first application, and the second account is an account in the second application, then a proxy account for the second account can be configured in the first application, and the proxy account is the account in the first application used to receive messages from the second account in the second application, and the proxy account can be generated by the server 100, and the server 100 can also bind the proxy account to the first account.
[0103] The client of the first application in the terminal device 1 may include a message plug-in, which may be a plug-in for processing messages of the second application. The first account may be logged in to the client of the first application, and the message plug-in in the client of the first application may also be logged in to a proxy account. Therefore, the client of the first application may collect messages from the second account in the second application through the logged in proxy account. The message plug-in may be a plug-in in the login interface of the first account. Therefore, it can be understood that the message collected from the second account may be output in the login interface of the first account through the message plug-in. The collected message is sent to the terminal device 1 by the server 100, and the server 100 may be the message pulled from the server 200.
[0104] By adopting the method provided in the present application, a proxy account of the second account in the second application can be configured in the first application. Subsequently, the client of the first application can log in to the proxy account and can quickly and conveniently receive messages from the second account in the second application through the logged-in proxy account.
[0105] See also Figure 3 , Figure 3 1 is a flow chart of a message processing method provided by the present application. The execution subject in the embodiment of the present application may be a server of the first application, and the server of the first application may be referred to as the first server, which may be a background service device of the first application. Figure 3 As shown, the method may include:
[0106] Step S101, sending a message pull request to a second server of a second application; the message pull request includes account verification information of a second account in the second application.
[0107] Optionally, the first application in the present application can receive messages in the second application. Here, the example of receiving messages from the second account in the second application by the first application is used for explanation. The second account can be any account in the second application, and the second account can be an account registered in the second application.
[0108] A proxy account (also called a collection account) may be logged into the client of the first application (which may be the client of any user of the first application). The proxy account belongs to an account in the first application and may be used to collect messages from a second account in the second application.
[0109] Among them, according to different application scenarios, the specific application types of the first application and the second application may also be different. For example, the first application may be an instant messaging application, and the second application may also be an instant messaging application, then the message of the second account in the second application may be the conversation message of the second account in the second application, and the first application may collect the conversation message of the second account in the second application; for another example, the first application may be an instant messaging application, and the second application may be an email application, then the message of the second account in the second application may be the email of the second account in the second application, and the first application may collect the email of the second account in the second application.
[0110] The specific application types of the first application and the second application can be determined according to actual application scenarios and are not limited thereto.
[0111] Optionally, the first application may include a plug-in for processing (such as displaying or editing) messages in the second application. The plug-in may be referred to as a message plug-in, which can be understood as a plug-in configured in the client of the first application for processing messages in the second application. The background of the message plug-in may be configured as the first server.
[0112] Among them, the client of the first application can be a proxy account logged in through the message plug-in. The client of the first application can subsequently receive and output messages from the second account in the second application through the logged in proxy account, as described below.
[0113] Optionally, the client of the first application may log in to the proxy account through the account verification information of the second account in the second application, and the account verification information may be the information used to log in to the second account in the second application. For example, the account verification information may include the identifier of the second account (such as an account identifier such as an account name) and the password used to log in to the second account (such as a password). The account verification information of the proxy account in the first application (i.e., the information used to log in to the proxy account in the first application) may be the same as the account verification information of the second account in the second application. Therefore, when the user logs in to the proxy account in the first application, the user may not be aware of the proxy account. The process of logging in to the proxy account in the first application through the account verification information of the second account is perceived by the user as logging in to the second account in the first application.
[0114] Optionally, the proxy account may also be generated (ie, created) through account verification information of the second account in the second application, and the process may include:
[0115] Optionally, if the user needs to log in to his or her second account in the second application in the first application, the user can initiate an account login request in the client of the first application (such as through a related login control). After generating the account login request, the client of the first application can send the account login request to the first server. The account login request can include account verification information of the second account in the second application. The account verification information can be entered by the user in the process of initiating the account login request in the client of the first application.
[0116] Or optionally, the user may also initiate the above-mentioned account login request by means of a verification code. For example, the user may enter the identifier of the second account in the account login interface of the client of the first application, and initiate a request to obtain the verification code through the identifier. The client of the first application may send the request to obtain the verification code to the server of the second application (which may be referred to as the second server, i.e., the background service device of the second application), so that the server of the second application may send the verification code to the communication number (such as the telephone number) bound by the user to the second account in the second application. After the user obtains the verification code through his or her communication number, the user may enter the received verification code in the account login interface of the client of the first application to initiate an account login request. The account login request may include the verification code entered by the user, and the client of the first application may send the account login request to the first server.
[0117] The first server can send a request to the second server to obtain the account password of the second account through the verification code. When the second server determines that the received verification code is the verification code sent by itself to the communication number bound to the second account, it can secretly transmit the account password of the second account to the first server. Through the above verification code method, the first server can also obtain the account verification information of the second account in the second application.
[0118] If there is an account in the first application that is used to collect messages from the second account in the second application (i.e., there is a proxy account for the second account), the first server can directly send the login information of the proxy account to the client of the first application based on the acquired account verification information. The login information can include relevant information required to log in to the proxy account (such as relevant account information of the proxy account), so that the client of the first application can successfully log in to the proxy account through the login information and output the login interface of the proxy account. The login interface is the interface after logging in to the proxy account, and relevant information such as the proxy account identifier can be displayed in the login interface.
[0119] If there is no account in the first application for collecting messages of the second account in the second application (that is, there is no proxy account for the second account), the first server can send an account verification request to the second server based on the account verification information of the second account in the second application (which can be included in the account login request or obtained based on the verification code), and the account verification request includes the account verification information of the second account in the second application.
[0120] If the first server receives the second confirmation information returned by the second server, the first server can generate a proxy account for the second account through the account verification information obtained above, such as configuring the account verification information of the proxy account in the first application based on the account verification information of the second account in the second application obtained above, and the account verification information may include the identifier and password of the proxy account.
[0121] The second confirmation information may be returned to the first server after the second server successfully verifies the account verification information in the account verification request (eg, verifies that the account verification information belongs to the second account).
[0122] Optionally, the password of the proxy account in the first application (such as the password used to log in to the proxy account in the first application) may be the same as the password of the second account in the account verification information. However, in order to distinguish the proxy account in the first application from the second account in the second application, the identifier of the proxy account (such as the account name) may be different from the identifier of the second account. Optionally, the identifier of the proxy account may be obtained by slightly adjusting the identifier of the second account. For example, the identifier of the proxy account may be obtained by adding a specified proxy symbol (such as the letters dl) to the identifier of the second account. The identifier of the proxy account may also include indication information for indicating the message transmission protocol used by the second account (such as the EWS protocol (a sending and receiving protocol), or a combination of IMAP (a receiving protocol) and SMTP (a sending protocol)), etc. The specific method for determining the identifier of the proxy account can be determined according to the actual application scenario, and there is no restriction on this.
[0123] However, it should be noted that when the logo of the proxy account is displayed in the client of the first application, the logo of the second account in the second application may be displayed, so that the user is unaware of the proxy account. For the user, a consistent experience of logging into the second account in the first application can be achieved.
[0124] Similarly, after the proxy account is generated and configured, the first server can return the login information of the proxy account to the client of the first application, so that the client of the first application can successfully log in to the proxy account through the login information, and output the login interface of the proxy account, which is the interface after logging in to the proxy account. The login interface can be the interface of the message plug-in, that is, the login interface can be output based on the message plug-in.
[0125] Or, optionally, the proxy account may not be generated by the user through a related request initiated in the client of the first application (such as the above-mentioned account login request). The first account may be logged in to the client of the first application. The first account is an account in the first application. The first account may be an account of a user belonging to an organization (or an enterprise) in the first application. The proxy account of the generated second account may have a binding relationship with the first account. The account of each user of the organization in the first application may have a corresponding proxy account with a binding relationship. Several proxy accounts with a binding relationship with the account of each user in the first application may be generated in batches for each user in the organization by an administrator (who may be the administrator of the first application).
[0126] See also Figure 4 , Figure 4 This is a schematic diagram of a login account interface provided by this application. Figure 4 As shown, Figure 4 The interface shown may be an interface for logging into a proxy account in the client of the first application (in the user's perception, it is logging into a second account). The second account of the present application may be an email account, which supports users to enter relevant information for logging into the email account in the interface. For example, in the interface, the user can enter the email account (which may be the identifier of the second account, such as the email name, here "email@company.com"), and the user can also select the type (the protocol type to be used by the second account, which can be used to implement the message collection of the proxy account later. Here, the protocol type may be IMAP (a mail access protocol), or the protocol type may be automatically determined and filled in by the client through the email name entered by the user).
[0127] The user can also enter the receiving server in this interface. The receiving server can be the server used by the first application to store the messages of the second account received on behalf of the first application. The receiving server can also be the default server automatically filled in by the client of the first application. Here, the address of the receiving server can be mail.example.com. In addition, the user can also enter the user name (which can be the user name of the first account logged in in the first application (which can be understood as the identifier of the first account)), password (that is, the login password of the second account) and port number (which can be the port number of the first application used to connect with the second application, such as 143 here) in this interface. The port number can also be automatically filled in by the client.
[0128] Furthermore, the user can initiate the above-mentioned account login request by clicking the "Add" button in the interface. The account login request can carry the account verification information of the second account (including the identification and login password of the second account) and some other additional information (such as protocol type, receiving server, port number, user name, etc.).
[0129] Optionally, in this application, there are three ways to log in to the proxy account of the second account in the client of the first application. One is to log in to the proxy account through the above-mentioned account and password method (that is, through the account verification information of the second account in the second application), one is through the authorization code method (such as the above-mentioned verification code), and the other is through the gid (identification code) method.
[0130] Among them, the gid method may include: the first account in the first application and the second account in the second application are both bound to an account (which can be called a target account) in the same third-party application (which can be a third-party communication application). When logging in to the proxy account in the client of the first application, the third-party application can be used to determine and verify (such as through the server of the third-party application) which account in the second application the first account logged in to the client of the first application has a binding relationship with. If it is verified that the first account and the second account have a binding relationship in the third-party application, after the verification is successful (after the verification is successful, the server of the third-party application can obtain the account verification information of the second account from the second server, and can encrypt and transmit the account verification information to the first server), the proxy account of the second account can be directly logged in to the client of the first application where the first account is logged in.
[0131] The specific method for logging into the collection account of the second account in the client of the first application can be determined according to the actual application scenario and is not limited thereto.
[0132] Optionally, the present application may configure the client accordingly according to the protocol type that the client of the first application needs to support (such as mail sending and receiving protocols, including imap (a mail access protocol), pop (post office protocol), eas (a synchronization protocol), and smtp (an email transfer protocol)). The client of the first application can interact with the first server through the corresponding configuration for messages. The configuration may include configuration of key processes such as connect (connection, such as connection with the first server), login (login, such as logging in to a proxy account), mail_from (specify a mailbox, such as a second account that needs to be bound), rcp_to (specify a recipient, such as adding a recipient when editing a message), DATA (sending information, such as sending a message after editing is completed), SEND_MINE (sending stream data), and QUIT (exit, such as logging out of a logged-in proxy account).
[0133] Optionally, when there is a message from the second account in the second application that needs to be collected by the first application, the first server can send a message pull request to the second server to pull the message from the second account in the second application that needs to be collected by the first application (i.e., the first message described below) from the second server.
[0134] For example, after the first server generates a proxy account for the second account, the first server can send a message pull request to the second server to pull the historical messages of the second account in the first application before this through the message pull request. In this case, the first message pulled below includes the historical messages of the second account in the second application.
[0135] Furthermore, after the first server generates the proxy account and before pulling the historical messages from the second server, the first server may also pull the folders containing various messages of the second account in the second application from the second server.
[0136] For example, if the second application is a mailbox application, the messages of the second account in the second application may be emails, then the folders of the second account in the second application may include an inbox (a folder for storing emails received by the second account), a "sent" folder (a folder for storing emails sent by the second account), a "drafts" folder (a folder for storing draft emails of the second account), a "starred emails" folder (a folder for storing starred emails of the second account), and a "spam" folder (a folder for storing spam emails of the second account), etc.
[0137] The first server can configure the folders used by the pulled second account in the second application to store various messages in the message plug-in in the client of the first application, so that after the client of the first application subsequently receives the message of the second account in the second application based on the message plug-in, the received message can be output and displayed in the folder of the category to which the message belongs through the message plug-in. For example, the above-mentioned login interface can include the configured folders, and the received messages can be output and displayed in the folders of the corresponding category in the login interface.
[0138] For another example, when the second server obtains new messages of the second account (i.e., new messages, which may be new messages added by the second account in any folder used to store messages in the second application, such as new messages received by the second account or new messages sent by the second account), the first server may send a message pull request to the second server to pull the new messages of the second account in the second application through the message pull request. In this case, the first message pulled below includes the new messages of the second account in the second application.
[0139] There are two ways for the first server to learn that the second server has obtained the new message of the second account, as described below.
[0140] Type 1: The first server can actively ask the second server whether new messages of the second account are obtained. For example, the first server can send new message inquiry information to the second server through a fixed polling period (such as every 1 minute), and use the new message inquiry information to ask the second server whether new messages of the second account are obtained.
[0141] If the first server receives confirmation information (which may be referred to as first confirmation information) from the second server regarding the new message query information, it can be confirmed that the second server has obtained the new message of the second account, and the first server can send a message pull request to the second server to pull the new message of the second account from the second server. The first confirmation information may be returned to the first server after the second server confirms that there are new messages in the second account. Therefore, the first confirmation information is used to inform the first server that the second account has new messages in the second application (that is, the second server has obtained new messages of the second account).
[0142] The second type: the first server can subscribe to the second server for an active push service for new messages of the second account (this service can be a service supported by the EWS protocol). After subscribing to the service, when the second server obtains new messages of the second account in the second application, it can actively push (i.e., actively push) new message prompt information to the first server in a timely manner. The new message prompt information is used to inform the first server that the second account has new messages in the second application (i.e., the second server has obtained new messages of the second account).
[0143] Therefore, if the first server receives the new message prompt information sent by the second server, it can send a message pull request to the second server to pull the new messages of the second account from the second server.
[0144] Optionally, if the first server subscribes to the above-mentioned active push service to the second server, a long link can be maintained between the first server and the second server. During the long link, the second server can periodically send keep-alive packets to the first server to poll the collection status of the proxy account (such as the status of collecting, or the status of stopping collection, etc.). Through the long link, the first server and the second server can also synchronize the messages and message status of the second account in a timely manner on both sides.
[0145] Optionally, it is understandable that the above-mentioned method of the first server actively polling the second server for new messages through new message inquiry information can be used as a backup for the method of the second server actively pushing new message prompt information to the first server, and the first server's active polling method and the second server's active push method can be performed at the same time. If the second server does not actively push new message prompt information to the first server for a long time (such as within half an hour) due to some reasons (such as network problems or message packet loss), the first server can also actively query and pull new messages from the second server through polling to ensure that the first server will not miss the messages collected on behalf of the second account.
[0146] Since the second server usually needs to verify the identity of the first server each time it pulls a message of the second account from the second server, the identity verification can be verified through the account verification information of the second account stored in the first server. Therefore, the message pull request sent by the first server to the second server can include the account verification information of the second account in the second application stored by the first server, so that the second server can verify the account verification information of the second account stored in the first server to ensure that the account verification information of the second account stored in the first server has not been tampered with, as described below.
[0147] Step S102, receiving a first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is a message of the second account in the second application.
[0148] Optionally, the first server can receive a first message returned by the second server, which is returned to the first server by the second server after successfully verifying the account verification message in the message pull request (such as verifying that the account verification message in the message pull request is the real account verification information of the second account in the second application), and the first message is a message of the second account in the second application.
[0149] Optionally, if the above-mentioned message pull request is a request for pulling historical messages of the second account sent by the first server to the second server after generating a proxy account, the first message received by the first server may include historical messages of the second account in the second application, and the historical messages may include historical messages of the second account in the second application before generating the proxy account (or before sending the message pull request).
[0150] Alternatively, since users often only need to check recent messages, the pulled historical messages (i.e., first messages) may include some of the entire historical messages of the second account in the second application, such as the first 100 messages of the second account in the second application (i.e., the first 100 messages whose acquisition time is closest to the current time). The number of pulled historical messages may be determined based on the actual application scenario. If the second account has multiple folders for storing messages in the second application, then for each folder, the first server may pull some recent messages from the second server, such as pulling 100 recent messages for each folder (if the total number of messages in a folder is less than 100, then all messages in the folder may be pulled), and the first message includes the messages pulled for each folder.
[0151] Optionally, after the first server has pulled the historical messages, it can record the largest message identifier (such as the email ID) in the historical messages. The largest message identifier can be the message identifier of the latest message obtained from the pulled historical messages (the messages in each folder are processed independently). Later, if a message sent by the second server is obtained, the identifier of the message can be compared with the largest message identifier. If the identifier of the message is less than or equal to the largest message identifier, it indicates that the first server has already received the message and does not need to receive it again. On the contrary, if the identifier of the message is greater than the largest message identifier, it indicates that the first server has not yet received the message and can receive the message.
[0152] Furthermore, a corresponding mapping relationship may be added between the proxy account and each message received on behalf of the second account. Based on the mapping relationship, it can be ensured that the proxy account will not repeatedly receive and / or repeatedly output the same message to the second account.
[0153] See also Figure 5 , Figure 5 This is a schematic diagram of a message proxy framework provided by this application. Figure 5 As shown, the second application may be a mailbox application, the mailbox plug-in here may be a message plug-in in the client of the first application, a cgi service (an interface service of the first application, used to provide interactive services with the second application, which may be a service provided by the first server).
[0154] The request initiated by the user in the client of the first application to log in to the second account can be initiated through the mailbox plug-in. After the user initiates the request through the mailbox plug-in, the mailbox plug-in can call the cgi service to generate a proxy account (i.e., a collection account) for the second account. After the proxy account is generated, an MQ task (a message queue) can be generated through the cgi service. The generated MQ task can be a message for initializing the collection of mail data, that is, the generated MQ task can be a task for pulling the previous historical messages of the second account in the second application. The initialized collection mail data includes the pulled historical messages of the second account in the second application (i.e., historical mails). The MQ task can realize mail synchronization between the third-party mailbox backend (the backend of the second application, such as the second server) and the backend of the first application (such as the first server).
[0155] After receiving the MQ task generated above, the third-party mailbox backend can send the historical messages of the second account in the second application to the first server through the mail protocol between the third-party mailbox backend and the first server. For example, the third-party mailbox backend can call the qybroker of the first server (a backend service running the internal protocol negotiated between the third-party mailbox backend and the first server) to send the historical messages of the second account in the second application to the first server. Optionally, the internal protocol is applicable to the case where the third-party mailbox backend and the first server belong to the same enterprise or organization.
[0156] After receiving the historical message of the second account in the second application, the first server can send the historical message to the client of the first application for collection through the data interaction protocol (such as httpbroker) between the account (the client of the first application).
[0157] Furthermore, if the above-mentioned message pulling request is a request for pulling the new messages of the second account sent to the second server when the first server learns that the second server has the new messages of the second account, then the first message received by the first server may include the new messages of the second account (i.e., new messages) pulled from the second server, and the new messages include messages of the second account received by the second server but not yet received by the first server. The new messages may be messages of the second account obtained by the second server after pulling historical messages from the second server when the first server generates a proxy account.
[0158] Optionally, when the first server needs to pull the received message, the first server can generate a corresponding MQ task to initiate a corresponding message pull request to pull the message of the second account in the second application.
[0159] Step S103: Send the first message to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account.
[0160] Optionally, the first server can send the pulled first message to the client of the first application, so that the client of the first application can receive the first message through the logged-in proxy account, such as the client of the first application can receive and output the first message through a message plug-in logged in with the proxy account.
[0161] The client of the first application may also log in a first account, which is an account in the first application, such as an account registered in the first application. The generated proxy account may have a binding relationship with the first account, and the proxy account may also have a binding relationship with the second account.
[0162] Optionally, the first server may send the first message to the client of the first application through the first account that is bound to the proxy account, or the first server may directly send the first message to the client of the first application through the proxy account. How the first server specifically sends the first message to the client of the first application can be determined based on the actual application scenario and is not limited to this.
[0163] See also Figure 6 , Figure 6 This is a flow chart of data collection provided by this application. Figure 6 As shown, the login module, the authentication module and the collection module may be service modules in the first server.
[0164] 1. First, the client of the first application can initiate an account login request to the login module. 2. The login module can give the account verification information in the account login request to the authentication module. 3. The authentication module can verify the account verification information to verify whether it is the information used to generate the corresponding proxy account, such as whether it is the account verification information of the second account (which can be stored by the first server itself when generating the proxy account). If it is verified that it is the information used to generate the corresponding proxy account, the collection data (such as the above-mentioned first message) can be pulled from the second server through the collection module.
[0165] 4. After the collection module obtains the collection data, it can verify the status of the cloud collection account (i.e., the proxy account) to the authentication module. If the status of the proxy account is verified to be normal (such as legal existence), the collection data can be given to the authentication module. 5. The authentication module can give the collection data to the login module. 6. After the login module determines that the client has logged in to the proxy account, it can return the collection data to the client, so that the client can receive the collection data through the logged in proxy account.
[0166] Furthermore, messages under the proxy account in the first application may include messages collected by the second account in the second application. The status of the message under the proxy account in the first application (such as read or unread status) and the status under the second account in the second application may be synchronized (i.e., the same), as described below.
[0167] The first message of the second account mentioned above may be in an unread state in the second application (i.e., it has not been clicked by the user to view it), and the proxy account of the first message in the first application may also be in an unread state. Therefore, if the first server receives the first indication information of the client of the first application, and the first indication information is used to indicate that the first message has been read under the proxy account logged in in the client (i.e., it has been clicked to view in the client), then the first server may send the first indication information to the second server, so that the second server can also know that the first message has been viewed, and the second server can update the unread state of the first message of the second account to a read state (i.e., a state that has been viewed). Moreover, when the first server receives the first indication information, it may also update the unread state of the first message under the proxy account to a read state.
[0168] Through the above process, it is achieved that when the message of the second account is read in the client of the first application, the read message can be synchronously updated to the read status in both the first application and the second application.
[0169] Similarly, the first message mentioned above may be in an unread state under the proxy account in the first application. In this case, the first message is usually also in an unread state in the second application. Therefore, if the first server receives the second indication information sent by the second server, and the second indication information is used to indicate that the first message has been read under the second account (such as being clicked to view in the client logged in with the second account), the first server can update the unread state of the first message in the proxy account to a read state. Moreover, before the second server sends the second indication information, the second server can also update the unread state of the first message of the second account to a read state after learning that the first message has been read through the client logged in with the second account.
[0170] Through the above process, when the message of the second account is read in the client of the second application (such as the client logged in to the second account), the read message can be synchronously updated to the read status in both the first application and the second application.
[0171] Furthermore, if the first message is in an unread state under the proxy account, the first message will have an unread prompt in the client of the first application. For example, the unread prompt may be a marker for marking that the first message has not been viewed, such as a red dot displayed at the first message displayed in the client of the first application.
[0172] Therefore, after the first server receives the above-mentioned second indication information sent by the second server, and updates the unread status of the first message under the proxy account to the read status according to the second indication information, the first server can send a third indication information to the client of the first application, and the third indication information is used to indicate to the client of the first application that the first message is in a read status under the proxy account.
[0173] Furthermore, after receiving the third indication information, the client of the first application can cancel the unread prompt for the first message (such as canceling the red dot displayed at the first message) to indicate in the client of the first application that the first message has been read.
[0174] See also Figure 7 , Figure 7 This is a schematic diagram of a framework for email synchronization provided by this application. Figure 7 As shown, a timed polling service may be configured in the first server, and the timed polling service may include a service for checking the status of an account and password, a service for adding a two-way synchronization task, and a service for adding a historical email task.
[0175] Among them, the service for checking the account password status can check whether the login password of the second account stored in the first server is correct and has not been tampered with. The service can be performed in collaboration with the second server.
[0176] The two-way synchronization task can be used to realize that the messages of the second account in the second application and the status of the messages are synchronized and consistent with the messages and the status of the messages under the proxy account in the first application. For example, for the first server, the user operation of the user on the client of the first application (such as clicking to view the message collected by the proxy account) can be recorded in the operation log, and the first server can take the user operation in the operation log, and then inform (such as through the above-mentioned first indication information) to the second server, so that the second server can update the status of the relevant messages of the second account (such as updating from unread status to read status).
[0177] Similarly, for the second server, the user's operation on the client of the second application (such as clicking to view the messages of the second account) can also be notified (such as through the above-mentioned second indication information) to the first server, so that the first server can update the status of the relevant messages of the proxy account (such as from an unread status to a read status).
[0178] The first server may interact with the second server for mail-related data via ewsbroker (a background service running the ews protocol (an information exchange protocol)), and the ewsbroker may be implemented by calling exchange (an email service component).
[0179] Alternatively, the first server and the second server may also interact with each other via a combination of the imap protocol and the smtp protocol. The specific protocol used to interact with the first server and the second server (that is, between the first application and the second application) may be selected according to the actual application scenario.
[0180] Furthermore, the user can edit the messages of the second account through the logged-in proxy account in the client of the first application (such as editing emails, which can be understood as editing the messages of the proxy account), wherein the user can edit the messages of the second account based on the message plug-in in the client of the first application, such as the message plug-in can output a message editing interface (which can be referred to as the message editing interface), and the user can edit, generate and send messages of the second account in the message editing interface, as described below.
[0181] The first server may receive a second message sent by the client, and the second message may be a message generated under a proxy account logged in to the client of the first application. The second message includes a message receiving account, and the message receiving account may include an account that needs to receive the second message entered by the user when editing the second message. The message receiving account may have one or more accounts. The account type of the message receiving account may be the same as the account type of the second account, such as both may be email account types.
[0182] The first server can send the received second message to the second server, so that the second server can send the second message to the above-mentioned message receiving account through the second account, such as sending it to the client logged in with the message receiving account, and the second message belongs to the message sent by the second account in the second application. Through the above process, the user can edit and send the message of the second account of the second application through the client of the first application.
[0183] Furthermore, the first account in the first application is logged in in the client of the first application, and the proxy account has a binding relationship with the first account. If the received first message contains the schedule information that the second account needs to configure in the second application (such as the first message is an email, and the email can contain schedule information), then when the first server receives the first message, it can parse the schedule information in the first message and can also configure the schedule information for the first account in the first application. In other words, when both the first account and the second account have a binding relationship with the proxy account, the schedule configuration of the first account of the first application can be synchronized with the schedule configuration of the second account of the second application. Among them, the schedule information can be a day or daily itinerary arranged according to the date.
[0184] In this application, an account in the first application (such as the first account) can be bound to one or more proxy accounts, and each proxy account can be bound to different accounts in the second application; or, multiple accounts in the first application can be bound to corresponding proxy accounts, and each proxy account bound to the multiple accounts can be bound to the same account in the second application (such as the second account), but each proxy account bound to the multiple accounts is to independently collect messages from the same account in the bound second application. In other words, which account or accounts in the first application are specifically required to collect which account or accounts in the second application can be configured according to the actual application scenario, and there is no restriction on this.
[0185] By adopting the above method of the present application, it is possible to collect messages of the second application through the first application, so that if multiple devices (such as mobile devices, tablet devices and / or computer devices, etc.) need to collect messages of the second account in the second application simultaneously in the future, the multiple devices can log in to the proxy account of the second account, and then, the multiple devices can synchronously obtain the messages of the second account that need to be collected, and the reading status of the message in each device (such as read status or unread status) is also synchronized and consistent.
[0186] Furthermore, by letting the first application collect messages from the second account in the second application, it is possible to collect messages from the second account in the second application by simply running the client of the first application, without having to run the client of the second application, thereby reducing the cost of running the client. Since messages from the first account in the first application and messages from the second account in the second application can be processed in the client of the first application at the same time, the efficiency and convenience of processing messages from multiple applications are also improved.
[0187] In summary, by adopting the method of the present application, the user can realize the cloud collection of messages of the second application through various protocols such as SMTP, POP, IMAP, EWS, etc. in the first application, and obtain a consistent user experience in the first application with that for the message processing of the second account in the second application. On this basis, the relevant information of the first application can also be deeply integrated with the second application (such as determining the message receiving account of the second account's message through the interactive account list in the first application, the integration of schedule information, and the integration of files in the file disk of the first application inserted into the message of the second account, etc.), which greatly improves the user experience.
[0188] In this application, a proxy account can be logged in to the client of the first application, and the proxy account can be used to collect messages of the second account in the second application. The first server of the first application can send a message pull request to the second server of the second application; the message pull request contains the account verification information of the second account in the second application, and the first server of the first application can also receive the first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is the message of the second account in the second application, and the first message can be sent to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account. It can be seen that the method proposed in this application can create a proxy account of the second account in the first application, so that the client can collect the first message of the second account in the first application through the logged-in proxy account, so that the client of the first application can quickly receive the message of the second account in the second application without running the client of the second application. In addition, in some extended cases, as long as the device of the proxy account in the first application is logged in, the message of the second account in the second application can be synchronously received through the logged-in proxy account, which improves the performance of synchronously collecting messages of the second account in the second application by multiple devices.
[0189] See also Figure 8 , Figure 8 It is a flowchart of another message processing method provided by the present application. The execution subject in the embodiment of the present application may be a client of the first application, the client may be a front end of the first application, the client may be a client in a terminal device, the client may be a web page, a small program or a software (app) client, etc., which may be determined according to the actual application scenario. Figure 8 As shown, the method may include:
[0190] Step S201, based on the logged-in proxy account, receiving the first message sent by the first server of the first application; the first message is pulled by the first server from the second server of the second application based on the account verification information of the second account in the second application, and the first message is a message of the second account in the second application.
[0191] Optionally, the first server may send a first message to the client of the first application. The first message may be obtained by the first server through the account verification information of the second account in the second application, and the first message is a message of the second account in the second application. For details on how the first server obtains the first message, please refer to the above Figure 3 Corresponding to the description in the embodiment.
[0192] Therefore, the client of the first application can receive the first message sent by the first server through the logged-in proxy account, such as the client of the first application can receive the first message sent by the first server by logging in to the message plug-in with the proxy account.
[0193] Step S202: output a first message.
[0194] Optionally, after receiving the first message, the client of the first application can output the first message, such as by outputting and displaying the first message through a message plug-in, such as in the above Figure 3 The login interface of the proxy account in the corresponding embodiment outputs the first message.
[0195] More importantly, if the first account in the first application is logged in in the client of the first application, the second account can also remind the related account in the message in the second application (that is, remind the user, the reminded account can be an account in the first application, or can also be an account in the second application, such as the first account) to check the message, and the reminder can be implemented through a message prompt, such as the message prompt can be @.
[0196] Therefore, if the first message received by the client of the first application contains a message prompt for the first account, the client of the first application can generate prompt information for the first message (usually this process is performed for the newly added messages of the second account that are in an unread state), and the prompt information is used to prompt the user of the first account to view the first message. The client of the first application can output the prompt information to prompt the user to view the first message. For example, if the user name of the first account is wang, if the first message contains @wang, then the @ is the message prompt for wang.
[0197] Among them, the proxy account can be logged in through the message plug-in in the client of the first application. The first message can have a message sending account, and the message sending account is the account that sends the first message. In this case, the message receiving account of the first message includes the second account. There is an association between the message sending account and the third account in the first application. For example, the message sending account and the third account can be the accounts of the same user. The user is supported to add other accounts in the first application that are associated with his account in the first application. The account type of the other account can be the same as the account type of the account in the second application, such as both are email-type accounts. The other account may not be an account registered in the first application. The other account may be an account registered in the second application, or it may be an account registered in other applications (such as other email applications).
[0198] Therefore, optionally, the client of the first application can output the prompt information through a message plug-in, or the third account can be an account in the first application that can interact with the first account (such as the first account can include the third account in the interactive account list in the first application, and the interactive account list can be the contact list of the first account in the first application (such as a friend list or a user list in the same enterprise / institution)), and the first application can be a communication application (such as an instant messaging application). Therefore, the client of the first application can also output the above prompt information in the conversation interface (i.e., chat interface) between the first account and the third account. The prompt information can be any information that reminds the user to check the email, such as the prompt information can be "You are @ in the email xxx, please check the email" and so on. Or the client of the first application can also output the prompt information in the form of a pop-up window. The specific way to output the prompt information can be determined according to the actual application scenario, and there is no restriction on this.
[0199] See also Fig. 9 , Fig. 9 This is a schematic diagram of an interface for adding a message prompt to a message provided by this application. Fig. 9 As shown, the message of the second account can be an email, and the message of the second account can also be edited in the client of the first application. A prompt for the relevant account can also be added in the message, so that the prompted account can be prompted to view the message when it receives the message later.
[0200] Support users in Fig. 9 By adding the message prompt symbol @ to the body of the message editing interface shown (an interface for editing messages of the second account, which can technically be understood as editing messages of the proxy account), a pop-up window 1a can be called out. The pop-up window 1a can include accounts that have recently communicated with the first account (for example, the account of contact 1 and the account of contact 2 can be included here). If the user needs to remind accounts other than contact 1 and contact 2, the user can click the control "Select from Address Book" in the pop-up window 1a to call up the interactive account list of the first account in the first application. The user can select the account of the contact to be reminded in the interactive account list.
[0201] like Fig. 9 In the 2a area, the user selects contact 1 for reminder, so the text in the message editing interface contains "@contact 1". After receiving the currently edited message, the client that has logged in to the account of contact 1 can output the prompt information for the message.
[0202] Furthermore, when editing the message of the second account (which can be understood as the message of the proxy account) in the client of the first application, the file disk in the first application can also be called to add the files in the file disk to the edited message of the second account, as described below.
[0203] The client of the first application can display the message editing interface through the logged-in proxy account, such as displaying the message editing interface through a message plug-in. The configuration of the message editing interface can be configured according to the interface for editing messages in the second application, that is, the message editing interface can be the same as the interface for editing messages in the second application (or the function of editing messages is the same).
[0204] The client of the first application can enter a message receiving account (ie, an account that needs to receive the message, which is the same type of account as the second account) in the message editing interface.
[0205] The client of the first application can also respond to the user's calling operation of the file disk (such as a micro disk) of the first application in the message editing interface, and call the file disk of the first application (which may be the file disk that the first account can use in the first application, that is, the file disk of the first account) in the message editing interface, which may contain one or more files.
[0206] The user is supported to select files to be added to the message in the called file tray, and the files selected by the user in the file tray can be called target files, and the number of target files can be determined according to the actual application scenario. Therefore, the client of the first application can add the selected target files in the file tray to the message editing interface, that is, add them to the message being edited in the message editing interface, according to the user's selection operation on the files in the file tray.
[0207] Optionally, adding a target file in the message editing interface may refer to adding a reference link (which may be a hyperlink) of the target file. The reference link may include the file ID (file identifier) of the target file in the file disk. The target file can be directly obtained (such as downloaded) from the file disk through the reference link, so that the client of the first application does not need to copy the content of the target file and add it to the message being edited, and does not need to directly send the target file through the edited message later, thereby reducing the message transmission overhead and reducing the memory usage when referencing the target file.
[0208] Furthermore, the client of the first application can respond to the user's message sending operation and generate a corresponding message in the message editing interface by adding the target file and the message receiving account. The edited message can be called the second message. The client of the first application can send the second message to the first server, so that the first server can send the second message to the second server. Furthermore, the second server can send the second message to the message receiving account through the second account (that is, using the second account as the message sending account of the second message).
[0209] See also Fig.10 , Fig.10 This is a schematic diagram of an interface for inserting a file into a message provided by this application. Fig.10 The message editing interface shown may include a control 1b for inserting files. The user can click on the control 1b to display a control 2b for inserting files in the body of the message. The control 2b may call out a pop-up window 3b, which may include files "Daily Health Status Collection", "Year-End Summary" and "Statistics Table" that have been recently used (such as downloaded or viewed) by the first account in the file disk of the first application. The pop-up window 3b may also include a control "View All Files on the File Disk" for calling the entire file disk, and a control "Upload Local Files" for uploading local files.
[0210] Therefore, the user is supported to directly select a recently used file in the file tray, select a file in the entire file tray, or select a file to be uploaded locally through the pop-up window 3b, and add it to the message currently being edited.
[0211] like Fig.10 In area 4b of the message editing interface, the user selects the recently used file "Daily Health Condition Collection" through the pop-up window 3b and inserts it into the email currently being edited.
[0212] Optionally, the message receiving account added in the message editing interface may be added through the interactive account list of the first account in the first application, as described below.
[0213] In the message editing interface, the client of the first application can call the interactive account list of the first account in the first application in response to the user's operation of adding a receiving account for the message. The interactive account list includes one or more accounts in the first application that can interact with the first account. The one or more accounts may be accounts in the first application.
[0214] It should be noted that the first application can be a communication application, and the account in the first application can be a communication account. It supports users to add other accounts in the first application that are associated with their accounts in the first application. The account type of the other account can be the same as the account type of the account in the second application, such as both are email-type accounts. Therefore, each account in the above interactive account list can be added with other accounts (such as email accounts) with associated relationships in the first application.
[0215] Therefore, it supports users to select the account that needs to be the recipient in the called interactive account list. The client of the first application can respond to the user's selection of the account in the interactive account list and obtain the account selected by the user. Then, the client of the first application can record other accounts that have an association relationship with the selected account (such as the email account added to the selected account in the first application) as the message receiving account of the message currently being edited, and can add the message receiving account to the message editing interface.
[0216] See also Figure 11a-Figure 11b , Figure 11a-Figure 11b This is a schematic diagram of an interface for adding a message receiving account provided by this application. Fig.11a As shown, the user can click the plus sign control at the recipient of the message editing interface to call out a pop-up window 2c for selecting a message receiving account.
[0217] In the pop-up window 2c, the user can enter key information for associating related contacts (i.e., related accounts) in the interactive account list. If the key information "Link" is entered here, two contacts are associated, including the contact "Link Big Number" (the "Link Big Number" is the user name of the corresponding account in the first application) and the contact "Link Small Number" (the "Link Small Number" is also the user name of the corresponding account in the first application). The user can select any one or both of the contact "Link Big Number" and the contact "Link Small Number". The client of the first application can use the account (the same account type as the second account) that has an associated relationship with the contact selected by the user (selecting a contact is selecting an account) in the first application as the recipient of the message currently being edited (i.e., the message receiving account), and the sender defaults to the second account.
[0218] See also Fig.11bIt also supports users to directly enter the key information "Link" for associating related contacts in the recipient of the message editing interface. The client of the first application can also directly call out the associated contact list 3c. The contact list 3c includes the contact "Link big number" and the contact "Link small number" associated with the key information "Link", and can also include other accounts "huahua1@xxx.com" (here belongs to the email account) recorded in the first application that are associated with the contact "Link big number", and other accounts "huahua2@xxx.com" (here belongs to the email account) that are associated with the contact "Link small number".
[0219] Similarly, the user can directly select any one or both of the contact "Link big number" and the contact "Link small number" in the contact list 3c, and the client of the first application can use other accounts (the same account type as the second account) that have an associated relationship with the contact selected by the user (selecting a contact is selecting an account) in the first application as the recipient of the currently edited message (i.e., the message receiving account).
[0220] Furthermore, it also supports users to forward messages from the second account to an account in the first application in the client of the first application: the client of the first application can generate a forwarding message of the first message in response to the user's forwarding operation on the output first message, and the forwarding message can be a card message of the first message (the card message can be a message in eml format (a type of email format)), and the forwarding message can include an identifier of the forwarded first message (such as an email identifier, i.e., an email id), and the specific content of the forwarded first message does not need to be encapsulated in the forwarding message.
[0221] Therefore, similarly, the client of the first application can also call the interactive account list of the first account in the first application based on the forwarding operation on the second account, and can respond to the user's selection operation on the account in the interactive account list (i.e., the selection operation on the contact) to send the above-mentioned forwarding message to the account selected in the interactive account list (such as sending it to the client or device logged in to the selected account), so that the client or device logged in to the selected account can output the forwarding message (such as output on the conversation interface between the selected account and the first account), and can respond to the user's click operation on the forwarding message to obtain the first message through the identifier of the first message in the card message (such as downloading from the database storing the first message), and output and display the first message (it can also be output and displayed through the message plug-in in the client of the first application in the device).
[0222] See also Fig.12 , Fig.12This is a schematic diagram of a message forwarding interface provided by this application. Fig.12 The interface shown is a login interface for logging into the first account. In the login interface, there may be a mail plug-in (ie, a message plug-in) 4d. By selecting the mail plug-in 4d, Fig.12 The interface shown may also be the login interface of the proxy account (which is the login interface of the second account in user perception), that is, it can be understood that the login interface of the proxy account belongs to the login interface of the first account. In addition, the number of unread messages in the messages collected by the second account can also be displayed at the mail plug-in.
[0223] In the login interface, the folders of the second account in the second application for storing various types of emails are displayed, including the folder "Inbox", the folder "Starred Emails", the folder "Drafts", the folder "Sent", the folder "Deleted", the folder "Spam", etc.
[0224] In the login interface, by selecting the folder "Inbox", the emails received by the second account in the second application can be displayed, including the email "Information from December 2022" (ie email 1d) to the email "Information from April 2022".
[0225] The client of the first application can respond to the user's forwarding operation on the email 1d and call out the pop-up window 2d, which supports selecting the contact account that needs to receive the forwarded email 1d (the account in the interactive account list of the first account in the first application) in the pop-up window 2d. After the selection is completed, the motor "sends" control 3d to forward the card message of the email 1d (i.e., the forwarded message) to the contact account selected in the pop-up window 2d in the form of a conversation in the first application.
[0226] By adopting the method provided in the present application, users can obtain a user experience that is completely consistent with that of the corresponding corporate mailbox (such as the second application) on the enterprise instant messaging software (such as the first application). When the user logs in to the proxy account in the first application and edits and sends messages based on the logged-in proxy account, the user can be unaware of the proxy account. From the user's perception, the second account is directly logged in to the first application and the messages of the second account are edited and sent, which improves the user experience.
[0227] Moreover, through the above process, when editing the message of the second account, the file disk and interactive account list in the first application can be called, thereby realizing the communication integration of the first application and the second application, further improving the user experience, and improving the convenience and efficiency of editing the message of the second account.
[0228] See also Fig.13 , Fig.131 is a schematic diagram of the structure of a message processing device provided by the present application. The message processing device can be a computer program (including program code) running on a computer device. For example, the message processing device is an application software. The message processing device 13 can be used to execute the corresponding steps in the method provided in the embodiment of the present application. The device 13 is applied to the first server of the first application. A proxy account is logged in to the client of the first application. The proxy account is used to receive messages from the second account in the second application. Fig.13 As shown, the message processing device 13 may include: a pulling module 131 , a receiving module 132 and a sending module 133 .
[0229] The pull module 131 is used to send a message pull request to the second server of the second application; the message pull request includes account verification information of the second account in the second application;
[0230] The receiving module 132 is used to receive a first message returned by the second server; the first message is returned by the second server after the account verification information in the message pull request is successfully verified, and the first message is a message of the second account in the second application;
[0231] The sending module 133 is used to send the first message to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account.
[0232] The first message of the second account is in an unread state in the second application; the above-mentioned device 13 is also used for:
[0233] Receiving first indication information sent by a client of a first application; the first indication information is used to indicate that the first message is read under a logged-in proxy account;
[0234] The first indication information is sent to the second server, so that the second server updates the unread state of the first message of the second account to a read state.
[0235] The first message is in an unread state under the proxy account in the first application; the above-mentioned device 13 is also used for:
[0236] receiving second indication information sent by the second server; the second indication information is used to indicate that the first message is read under the second account;
[0237] Based on the second indication information, the unread status of the first message under the proxy account is updated to a read status.
[0238] Wherein, the first message in an unread state under the proxy account has an unread prompt in the client of the first application;
[0239] After updating the unread status of the first message under the proxy account to the read status, the device 13 is further used to:
[0240] Sending third indication information to the client of the first application, so that the client of the first application cancels the unread prompt for the first message based on the third indication information;
[0241] The third indication information is used to indicate that the first message is in a read state under the proxy account.
[0242] The method in which the pull module sends a message pull request to the second server of the second application includes:
[0243] If new message prompt information sent by the second server is received, a message pull request is sent to the second server; the new message prompt information is used to indicate that the second account has new messages in the second application; or,
[0244] Sending new message query information to the second server, and if receiving first confirmation information returned by the second server based on the new message query information, sending a message pull request to the second server; the first confirmation information is used to indicate that the second account has a new message in the second application;
[0245] The first message is a new message of the second account acquired by the second server.
[0246] Wherein, the above device 13 is also used for:
[0247] Receive an account login request sent by a client; the account login request includes account verification information of the second account;
[0248] If there is no account in the first application for receiving messages of the second account in the second application, sending an account verification request to the second server based on the account verification information in the account login request;
[0249] If second confirmation information returned by the second server is received, a proxy account of the second account is generated based on the account verification information; the second confirmation information is returned by the second server after successfully verifying the account verification information in the account verification request;
[0250] Return the login information of the proxy account to the client, so that the client outputs the login interface of the proxy account based on the login information.
[0251] The way in which the pull module 131 sends a message pull request to the second server of the second application includes:
[0252] After the proxy account is generated, a message pull request is sent to the second server; wherein the first message includes historical messages of the second account in the second application before the proxy account is generated;
[0253] The client of the first application is used to output the first message on the login interface.
[0254] Wherein, the above device 13 is also used for:
[0255] receiving a second message sent by the client; the second message is a message generated under the proxy account logged in in the client of the first application, and the second message has a message receiving account;
[0256] The second message is sent to the second server, so that the second server sends the second message to the message receiving account based on the second account.
[0257] The client includes a message plug-in for processing messages in the second application, and the client is used to log in to the proxy account based on the message plug-in;
[0258] The client is used to receive and output the first message based on the message plug-in logged in with the proxy account.
[0259] There is a first account logged in the client of the first application, the first account is an account in the first application, and there is a binding relationship between the proxy account and the first account;
[0260] The device 131 is also used for:
[0261] If the first message includes schedule information that needs to be configured for the second account in the second application, the schedule information is configured for the first account in the first application.
[0262] According to one embodiment of the present application, Figure 3 The steps involved in the message processing method shown can be represented by Fig.13 The various modules in the message processing device 13 shown are executed. For example, Figure 3 The step S101 shown in FIG. 1 can be performed by Fig.13 The pull module 131 in is executed, Figure 3 The step S102 shown in FIG. 1 can be performed by Fig.13 The receiving module 132 is executed; Figure 3 The step S103 shown in FIG. 1 can be performed by Fig.13 The sending module 133 in is executed.
[0263] In this application, a proxy account can be logged in to the client of the first application, and the proxy account can be used to collect messages of the second account in the second application. The first server of the first application can send a message pull request to the second server of the second application; the message pull request contains the account verification information of the second account in the second application, and the first server of the first application can also receive the first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is the message of the second account in the second application, and the first message can be sent to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account. It can be seen that the method proposed in this application can create a proxy account of the second account in the first application, so that the client can collect the first message of the second account in the first application through the logged-in proxy account, so that the client of the first application can quickly receive the message of the second account in the second application without running the client of the second application. In addition, in some extended cases, as long as the device of the proxy account in the first application is logged in, the message of the second account in the second application can be synchronously received through the logged-in proxy account, which improves the performance of synchronously collecting messages of the second account in the second application by multiple devices.
[0264] According to one embodiment of the present application, Fig.13 The various modules in the message processing device 1 shown can be separately or all combined into one or several units to constitute, or one (some) of the units can be further divided into multiple smaller sub-units in function, and the same operation can be achieved without affecting the realization of the technical effects of the embodiments of the present application. The above modules are divided based on logical functions. In practical applications, the functions of a module can also be implemented by multiple units, or the functions of multiple modules can be implemented by one unit. In other embodiments of the present application, the message processing device 13 may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0265] According to one embodiment of the present application, the program can be executed by running on a general-purpose computer device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Figure 3 A computer program (including program code) for each step involved in the corresponding method shown in Fig.13 The message processing device 13 shown in the embodiment of the present application is used to implement the message processing method of the embodiment of the present application. The above computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above computing device through the computer-readable recording medium and run therein.
[0266] See also Fig.14 , Fig.14 1 is a schematic diagram of the structure of another message processing device provided by the present application. The message processing device can be a computer program (including program code) running in a computer device. For example, the message processing device is an application software. The message processing device 14 can be used to execute the corresponding steps in the method provided in the embodiment of the present application. The device 14 is applied to the client of the first application. A proxy account is logged in to the client of the first application. The proxy account is used to receive messages from the second account in the second application. Fig.14 As shown, the message processing device 14 may include: a collection module 141 and an output module 142 .
[0267] The receiving module 141 is used to receive a first message sent by a first server of a first application based on a logged-in proxy account; the first message is obtained by the first server from a second server of a second application based on account verification information of a second account in the second application, and the first message is a message of the second account in the second application;
[0268] The output module 142 is configured to output a first message.
[0269] The first application client has a first account logged in, and the first account is an account in the first application; the device 14 is also used for:
[0270] If the first message includes a message prompt for the first account, after receiving the first message, generating prompt information for the first message;
[0271] Output prompt information.
[0272] The proxy account is logged in in the client of the first application based on a message plug-in, and the message plug-in is a plug-in for processing messages of the second application; the first message has a message sending account, the message sending account and the account in the second application are accounts of the same type, and the message sending account and the third account in the first application are associated with each other;
[0273] The above-mentioned means 14 outputs the prompt information in the following ways:
[0274] Output prompt information based on the message plug-in; or,
[0275] A prompt message is outputted on a conversation interface between the first account and the third account.
[0276] The device 14 is also used for:
[0277] Display the message editing interface based on the logged-in agent account, and enter the message receiving account in the message editing interface;
[0278] Invoke the file tray of the first application in the message editing interface, and add the target file selected in the file tray to the message editing interface;
[0279] In the message editing interface, a second message is generated based on the target file and the message receiving account;
[0280] The second message is sent to the first server, so that the first server sends the second message to the second server; the second server is used to send the second message to the message receiving account based on the second account.
[0281] There is a first account logged in the client, and the first account is an account in the first application;
[0282] The method of the above-mentioned device 14 entering the message receiving account in the message editing interface includes:
[0283] In the message editing interface, calling the interactive account list of the first account in the first application; the interactive account list includes one or more accounts in the first application that can interact with the first account;
[0284] Determine other accounts recorded by the first application and associated with the account selected in the interactive account list as message receiving accounts and add them to the message editing interface;
[0285] The message receiving account and the account in the second application are accounts of the same type.
[0286] There is a first account logged in the client, and the first account is an account in the first application; the above device 14 is also used for:
[0287] In response to a forwarding operation on the first message, generating a forwarding message of the first message;
[0288] Calling an interactive account list of the first account in the first application; the interactive account list includes one or more accounts in the first application that can interact with the first account;
[0289] The forwarding message is sent to an account selected in the interactive account list, so that a device logged in to the selected account outputs a first message based on the forwarding message.
[0290] According to one embodiment of the present application, Figure 8 The steps involved in the message processing method shown can be represented by Fig.14 The various modules in the message processing device 14 shown are executed. For example, Figure 8 The step S201 shown in FIG. 1 can be performed by Fig.14 The collection module 141 in the embodiment is used to execute, Figure 8 The step S202 shown in FIG. 1 can be performed by Fig.14 The output module 142 in is executed.
[0291] The client of the first application of the present application can quickly and conveniently receive messages from the second account in the second application through the logged-in proxy account.
[0292] According to one embodiment of the present application, Fig.14 The various modules in the message processing device 14 shown can be separately or all combined into one or several units to constitute, or one (some) of the units can be further divided into multiple smaller sub-units in function, and the same operation can be achieved without affecting the realization of the technical effects of the embodiments of the present application. The above modules are divided based on logical functions. In practical applications, the functions of a module can also be implemented by multiple units, or the functions of multiple modules can be implemented by one unit. In other embodiments of the present application, the message processing device 14 may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.
[0293] According to one embodiment of the present application, the program can be executed by running on a general-purpose computer device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Figure 8 A computer program (including program code) for each step involved in the corresponding method shown in Fig.14 The message processing device 14 shown in the embodiment is used to implement the message processing method of the present application. The above computer program can be recorded on a computer-readable recording medium, for example, and loaded into the above computing device through the computer-readable recording medium and run therein.
[0294] See also Fig.15 , Fig.15 Schematic diagram of the structure of a computer device provided by this application. Fig.15As shown, the computer device 1000 may include: a processor 1001, a network interface 1004 and a memory 1005. In addition, the computer device 1000 may also include: a user interface 1003, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), a keyboard (Keyboard), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As Fig.15 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0295] exist Fig.15 In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0296] Sending a message pull request to the second server of the second application; the message pull request includes account verification information of the second account in the second application;
[0297] receiving a first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is a message of the second account in the second application;
[0298] The first message is sent to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account; the proxy account is used to receive messages from the second account in the second application.
[0299] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 3 The description of the message processing method in the corresponding embodiment can also be performed as described above. Fig.13 The description of the message processing device 13 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0300] See also Fig.16 , Fig.16is a schematic diagram of the structure of another computer device provided by this application. Fig.16 As shown, the computer device 2000 may include: a processor 2001, a network interface 2004 and a memory 2005. In addition, the computer device 2000 may also include: a user interface 2003, and at least one communication bus 2002. The communication bus 2002 is used to realize the connection and communication between these components. The user interface 2003 may include a display screen (Display), a keyboard (Keyboard), and the user interface 2003 may optionally include a standard wired interface and a wireless interface. The network interface 2004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 2005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 2005 may optionally be at least one storage device located away from the aforementioned processor 2001. As Fig.16 As shown, the memory 2005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0301] exist Fig.16 In the computer device 2000 shown, the network interface 2004 can provide a network communication function; the user interface 2003 is mainly used to provide an input interface for the user; and the processor 2001 can be used to call the device control application stored in the memory 2005 to achieve:
[0302] Based on the logged-in proxy account, a first message sent by a first server of a first application is received; the first message is obtained by the first server from a second server of a second application based on account verification information of a second account in the second application, and the first message is a message of the second account in the second application; the proxy account is used to receive messages of the second account in the second application;
[0303] Output the first message.
[0304] It should be understood that the computer device 1000 described in the embodiment of the present application can execute the above Figure 8 The description of the message processing method in the corresponding embodiment can also be performed as described above. Fig.14 The description of the message processing device 14 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here either.
[0305] In addition, it should be pointed out here that: the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the message processing device 13 and the message processing device 14 mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the above Figure 3 and Figure 8 The description of the message processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0306] As an example, the above program instructions may be deployed on a computer device for execution, or deployed on multiple computer devices located at one location for execution, or executed on multiple computer devices distributed at multiple locations and interconnected by a communication network. Multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain network.
[0307] The computer-readable storage medium may be the message processing device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the computer device. Further, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0308] The present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above Figure 3 and Figure 8 The description of the above-mentioned message processing method in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application.
[0309] The terms "first", "second", etc. in the description, claims, and drawings of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment that includes a series of steps or units is not limited to the listed steps or modules, but optionally includes steps or modules that are not listed, or optionally includes other step units inherent to these processes, methods, devices, products, or equipment.
[0310] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0311] The method and related apparatus provided by the embodiment of the present application are described with reference to the method flow chart and / or structural diagram provided by the embodiment of the present application. Specifically, each process and / or box in the method flow chart and / or structural diagram, as well as the combination of the processes and / or boxes in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or structures Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A flow or multiple flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.
[0312] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A message processing method, characterized in that: The method is executed by a first server of a first application, a proxy account is logged in to a client of the first application, and the proxy account is used to receive messages from a second account in a second application; the method includes: Sending a message pull request to a second server of the second application; the message pull request includes account verification information of the second account in the second application; receiving a first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is a message of the second account in the second application; The first message is sent to a client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account.
2. The method according to claim 1, characterized in that The first message of the second account is in an unread state in the second application; the method further includes: Receiving first indication information sent by the client of the first application; the first indication information is used to indicate that the first message is read under the logged-in proxy account; The first indication information is sent to the second server, so that the second server updates the unread state of the first message of the second account to a read state.
3. The method according to claim 1, characterized in that: The first message is in an unread state under the proxy account in the first application; the method further includes: receiving second indication information sent by the second server; the second indication information is used to indicate that the first message is read under the second account; Based on the second indication information, the unread status of the first message under the proxy account is updated to a read status.
4. The method according to claim 3, characterized in that The first message in the unread state under the proxy account has an unread prompt in the client of the first application; After updating the unread status of the first message under the proxy account to a read status, the method further includes: Sending third indication information to the client of the first application, so that the client of the first application cancels the unread prompt of the first message based on the third indication information; The third indication information is used to indicate that the first message is in a read state under the proxy account.
5. The method according to claim 1, characterized in that The sending a message pull request to the second server of the second application includes: If new message prompt information sent by the second server is received, the message pull request is sent to the second server; the new message prompt information is used to indicate that the second account has new messages in the second application; or, Sending new message inquiry information to the second server, and if first confirmation information returned by the second server based on the new message inquiry information is received, sending the message pull request to the second server; the first confirmation information is used to indicate that the second account has a new message in the second application; The first message is a new message of the second account acquired by the second server.
6. The method according to claim 1, characterized in that The method further comprises: receiving an account login request sent by the client; the account login request including the account verification information of the second account; If there is no account in the first application for receiving messages of the second account in the second application, sending an account verification request to the second server based on the account verification information in the account login request; If second confirmation information returned by the second server is received, generating the proxy account of the second account based on the account verification information; the second confirmation information is returned by the second server after successfully verifying the account verification information in the account verification request; The login information of the proxy account is returned to the client, so that the client outputs a login interface of the proxy account based on the login information.
7. The method according to claim 6, characterized in that The sending a message pull request to the second server of the second application includes: After the proxy account is generated, the message pull request is sent to the second server; wherein the first message includes historical messages of the second account in the second application before the proxy account is generated; The client of the first application is used to output the first message on the login interface.
8. The method according to claim 1, characterized in that The method further comprises: receiving a second message sent by the client; the second message is a message generated under the proxy account logged in in the client of the first application, and the second message has a message receiving account; The second message is sent to the second server, so that the second server sends the second message to the message receiving account based on the second account.
9. The method according to claim 1, characterized in that: A first account is logged in to the client of the first application, the first account is an account in the first application, and there is a binding relationship between the proxy account and the first account; The method further comprises: If the first message includes schedule information that the second account needs to configure in the second application, the schedule information is configured for the first account in the first application.
10. A message processing method, characterized in that: The method is executed by a client of a first application, a proxy account is logged in the client of the first application, and the proxy account is used to receive messages from a second account in a second application; the method includes: Based on the logged-in proxy account, receiving a first message sent by the first server of the first application; the first message is obtained by the first server pulling from the second server of the second application based on the account verification information of the second account in the second application, and the first message is a message of the second account in the second application; The first message is output.
11. The method according to claim 10, characterized in that A first account is logged in to the client of the first application, and the first account is an account in the first application; the method further includes: If the first message includes a message prompt for the first account, after receiving the first message, generating prompt information for the first message; The prompt information is output.
12. The method according to claim 11, characterized in that The proxy account is logged in in the client of the first application based on a message plug-in, and the message plug-in is a plug-in for processing messages of the second application; the first message has a message sending account, the message sending account and the account in the second application are accounts of the same type, and there is an association relationship between the message sending account and a third account in the first application; The outputting of the prompt information includes: Outputting the prompt information based on the message plug-in; or, The prompt information is outputted on a conversation interface between the first account and the third account.
13. The method according to claim 12, characterized in that The method further comprises: Displaying a message editing interface based on the logged-in proxy account, and entering a message receiving account in the message editing interface; Invoke the file tray of the first application in the message editing interface, and add the target file selected in the file tray to the message editing interface; In the message editing interface, generating a second message based on the target file and the message receiving account; The second message is sent to the first server, so that the first server sends the second message to the second server; the second server is used to send the second message to the message receiving account based on the second account.
14. The method according to claim 13, characterized in that A first account is logged in the client, and the first account is an account in the first application; The step of entering a message receiving account in the message editing interface includes: In the message editing interface, calling an interactive account list of the first account in the first application; the interactive account list includes one or more accounts in the first application that can interact with the first account; Determine other accounts recorded by the first application and associated with the account selected in the interactive account list as the message receiving accounts and add them to the message editing interface; The message receiving account and the account in the second application are accounts of the same type.
15. The method according to claim 10, characterized in that The client has a first account logged in, and the first account is an account in the first application; the method further includes: In response to the forwarding operation on the first message, generating a forwarding message of the first message; Calling an interactive account list of the first account in the first application; the interactive account list includes one or more accounts in the first application that can interact with the first account; The forwarding message is sent to an account selected in the interactive account list, so that a device logged in to the selected account outputs the first message based on the forwarding message.
16. A message processing device, characterized in that: The device is applied to a first server of a first application, a proxy account is logged in to a client of the first application, and the proxy account is used to receive messages from a second account in a second application; the device includes: A pull module, configured to send a message pull request to a second server of the second application; the message pull request includes account verification information of the second account in the second application; a receiving module, configured to receive a first message returned by the second server; the first message is returned by the second server after successfully verifying the account verification information in the message pull request, and the first message is a message of the second account in the second application; The sending module is used to send the first message to the client of the first application, so that the client of the first application receives the first message based on the logged-in proxy account.
17. A message processing device, characterized in that: The device is applied to a client of a first application, a proxy account is logged in the client of the first application, and the proxy account is used to receive messages from a second account in a second application; the device includes: a collection module, configured to receive, based on the logged-in proxy account, a first message sent by the first server of the first application; the first message is obtained by the first server pulling from the second server of the second application based on the account verification information of the second account in the second application, and the first message is a message of the second account in the second application; An output module is used to output the first message.
18. A computer program product, comprising a computer program / instruction, which implements the steps of the method according to any one of claims 1 to 15 when executed by a processor.
19. A computer device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 15.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the method according to any one of claims 1 to 15.
