WO2021218850A1 - 一种信息交互方法、装置、服务器、系统及存储介质 - Google Patents

一种信息交互方法、装置、服务器、系统及存储介质 Download PDF

Info

Publication number
WO2021218850A1
WO2021218850A1 PCT/CN2021/089586 CN2021089586W WO2021218850A1 WO 2021218850 A1 WO2021218850 A1 WO 2021218850A1 CN 2021089586 W CN2021089586 W CN 2021089586W WO 2021218850 A1 WO2021218850 A1 WO 2021218850A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
text information
user
client
editing
Prior art date
Application number
PCT/CN2021/089586
Other languages
English (en)
French (fr)
Inventor
廖裕东
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Priority to JP2022564516A priority Critical patent/JP7430821B2/ja
Priority to EP21797545.7A priority patent/EP4131866A4/en
Publication of WO2021218850A1 publication Critical patent/WO2021218850A1/zh
Priority to US17/883,774 priority patent/US11868707B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1827Network arrangements for conference optimisation or adaptation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to an information interaction method, device, server, system, and storage medium.
  • a mail server can provide services for implementing mail-related functions
  • a document server can provide services for implementing document editing-related functions.
  • the inventor found that in some implementations, the above-mentioned communication methods are often used for each server when the communication time is relatively long. The amount of data will increase sharply. Therefore, the processing efficiency of each server will increase. Therefore, the office needs of users cannot be met.
  • the embodiments of the present disclosure provide an information interaction method, device, server, system, and storage medium to realize the collaboration of emails and documents.
  • an embodiment of the present disclosure provides an information exchange method, the method includes: receiving first text information sent by a second server, and generating second text information according to the first text information; in response to receiving the user’s client
  • the editing instruction sent by the terminal updates the second text information; and sends the updated content of the second text information to the client of each user, so that the client of each user updates the first text information according to the updated content.
  • the embodiments of the present disclosure provide another information interaction method.
  • the method includes: determining first text information according to the text identifier sent by the user's client; sending the first text information to the first server, so that the first A server generates second text information according to the first text information, updates the second text information in response to receiving an editing instruction sent by the user's client, and sends the updated content to each user's client for update display.
  • an embodiment of the present disclosure provides an information interaction device, which includes: a first text information acquisition module, configured to receive first text information sent by a second server; and a second text information generation module, configured based on The first text information generates the second text information; the second text information update module is used to update the second text information in response to receiving the edit instruction sent by the user's client; the second text information sending module is used to send The updated content of the second text information is sent to the client of each user, so that the client of each user updates the first text information according to the updated content.
  • an embodiment of the present disclosure provides another information interaction device, the device includes: a first text information determining module, configured to determine the first text information according to the text identifier sent by the user's client; the first text information is sent A module for sending the first text information to the first server, so that the first server generates the second text information according to the first text information, and updates the second text information in response to receiving an editing instruction sent by the user's client , Send the updated content to the client of each user for update display.
  • a first text information determining module configured to determine the first text information according to the text identifier sent by the user's client
  • the first text information is sent
  • a module for sending the first text information to the first server, so that the first server generates the second text information according to the first text information, and updates the second text information in response to receiving an editing instruction sent by the user's client , Send the updated content to the client of each user for update display.
  • an embodiment of the present disclosure also provides a first server, and the first server includes:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors implement the method as in any embodiment of the present disclosure.
  • the embodiments of the present disclosure also provide a second server, and the second server includes:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors implement the method as in any embodiment of the present disclosure.
  • the embodiments of the present disclosure also provide an information interaction system, which includes at least the first server and the second server as described above, wherein the first server and the second server are in communication connection.
  • embodiments of the present disclosure provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, a method as in any embodiment of the present disclosure is implemented.
  • the embodiments of the present disclosure provide an information interaction method, device, server, system, and storage medium. Through the collaborative work of the first server and the second server, the intercommunication and integration of information in different servers can be realized, and the information processing efficiency of each server is improved, thereby meeting the office needs of users.
  • FIG. 1 is a flowchart of an information exchange method provided by Embodiment 1 of the present disclosure
  • FIG. 2 is a flowchart of an information exchange method provided by Embodiment 2 of the present disclosure
  • FIG. 3 is a flowchart of an information exchange method provided by Embodiment 3 of the present disclosure.
  • FIG. 4 is a flowchart of an information exchange method provided by Embodiment 4 of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an information interaction device provided by Embodiment 5 of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an information interaction device provided by Embodiment 6 of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a first server provided by Embodiment 7 of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a second server provided by Embodiment 8 of the present disclosure.
  • Fig. 9 is a schematic structural diagram of an information interaction system provided by the ninth embodiment of the present disclosure.
  • a mail server is used to provide services related to mail functions, or a document server is used to provide services for document editing-related functions, it is often specific to each For individual servers, when the communication time is relatively long, the amount of data will increase sharply. Therefore, the processing efficiency of each server will be reduced, and thus it will not be able to meet the office needs of users.
  • the intercommunication and integration of information in different servers can be realized, and the information processing efficiency of each server can be improved, thereby meeting the office needs of users. .
  • Fig. 1 is a flowchart of an information exchange method provided in the first embodiment of the present disclosure.
  • the embodiment of the present disclosure is applicable to a situation where a first server and a second server work together.
  • the device can be implemented in software and/or hardware, and generally can be integrated in computer equipment.
  • the type of the first server is specifically a document server
  • the type of the second server is specifically a mail server.
  • the document server is used to represent the first server
  • the mail server is used to represent the second server. Examples of methods include:
  • the method of the embodiment of the present disclosure may include the following steps:
  • Step 101 Receive first text information sent by a second server.
  • the first text information may include a draft email
  • the second text information may include a shared document.
  • the draft email is used to represent the first text information and the shared document represents the second text information.
  • this embodiment can be applied to a scenario where the organizer invites multiple collaborators to collaborate for editing for a specified first text message (ie draft email), and the organizer’s client receives the organizer’s sharing operation or Multiple collaborator clients implemented by forwarding operations can also obtain the same draft email.
  • a specified first text message ie draft email
  • the identity of the collaborator is not limited, that is, the collaboration
  • the author can be in the recipient list to which the draft email belongs, or not in the recipient list to which the draft email belongs.
  • he can view the relevant information of the draft email.
  • the mail server is in communication connection with the clients of multiple users, and the specific number of users is not limited in this embodiment.
  • the draft mail sent by the mail server can be specifically determined according to the mail identifier sent by the client. For example, if the mail identifier obtained by the mail server from the client is 001, the mail identifier 001 is determined by querying the database. The corresponding draft email is sent to the document server, and the document server will receive the draft email.
  • the document server can receive the draft mail sent by the mail server through wired transmission or wireless transmission.
  • the wireless transmission method includes: Bluetooth transmission, wireless fidelity (Wireless Fidelity, WiFi) transmission, or microwave transmission. Transmission, as long as the transmission method that enables the document server to receive the draft mail sent by the mail server is within the protection scope of the present disclosure, and the specific transmission method is not limited in the embodiments of the present disclosure.
  • draft email in this embodiment may be a written email or a blank email with no content, and the specific content contained in the draft email is not limited in this embodiment.
  • Step 102 Generate second text information according to the first text information.
  • the document server will generate the second text information (that is, the shared document) according to the draft email.
  • the draft email is converted into a document that can be edited.
  • the Elements such as the address bar, email title, attachments, and email body are all converted into editable states, and the above elements can be modified in the shared document according to the user's editing instructions.
  • the mail server can create a synchronous editing interface containing draft emails according to the collaborative editing request sent by the user client, and send the synchronous editing interface to the client of each user, the current status of the shared document is OK It is displayed on the synchronous editing interface of each user's client.
  • Step 103 In response to receiving an editing instruction sent by the user's client, update the second text information.
  • the editing instruction may include the editing content and the designated editing location
  • this step 103 "in response to receiving the editing instruction sent by the user's client, update the second text information" may include: in response to receiving the user
  • the editing instructions sent by the client terminal extract the editing content and the designated editing location from the editing instructions; update the shared document according to the editing content and the designated editing location.
  • the type of client in this embodiment specifically refers to a mail client.
  • updating the shared document according to the editing content and the designated editing location may include: adding editing content to the designated editing location of the shared document to update the shared document, where the designated editing location includes: the address bar of the draft email , At least one of the subject of the message, the attachment, and the body of the message.
  • the editing instruction sent by the user's mail client received by the document server may specifically be generated after the user's mail client detects an editing operation performed by the user on the email draft of the synchronous editing interface. Since the editing instruction contains the editing content and the designated editing location, for example, adding the wording comment content "please modify to the meeting schedule for the year-end report” in the email title "meeting schedule", the document server will extract the editing content from the editing instruction "Please modify the meeting schedule for the year-end report", and extract the designated editing location "email title” from the editing instructions, and then add wording comments to the email title in the shared document based on the editing content. "Please modify it to about Meeting arrangements for year-end reports".
  • the editing method in this embodiment is only an example of word-marking comments, and the specific type of editing method is not limited in this embodiment.
  • Step 104 Send the updated content of the second text information to the client of each user, so that the client of each user updates the first text information according to the updated content.
  • sending the updated content of the second text information to the client of each user may include: first converting the updated content of the second text information according to a preset data format, so that the updated content of the converted shared document Comply with the data transmission format of the communication between the first server and the client; and then send the updated content of the converted shared document to the client of each user.
  • the updated content may be sent to the client of each user that is in communication with the document server.
  • the updated content of the shared document is converted according to a preset data format.
  • the preset data format can be a json data format or a protocol buffers data format to realize the conversion of the updated content into the data receiving format matched by the document server.
  • the long link mode can be adopted, for example, Transmission Control Protocol (TCP), or the short link mode, for example, Hypertext Transfer Protocol (HTTP) and representational state transfer ( Representational State Transfer (REST) protocol, this embodiment does not limit the specific sending mode of sending the updated content of the converted shared document to the client of each user.
  • TCP Transmission Control Protocol
  • HTTP Hypertext Transfer Protocol
  • REST Representational State Transfer
  • each user client can update the draft email contained in the synchronization editing interface according to the obtained update content.
  • the editing instruction may also include a user identification; before updating the second text information, the method of the embodiment of the present disclosure may further include: first extracting the user identification from the editing instruction; and then sending the user identification to the email The server, so that the mail server authenticates the user ID; then, in response to receiving the authentication pass instruction sent by the second server, an update operation is performed on the shared document.
  • the edit instruction in this embodiment may also include a user identification.
  • the document server will first call the interface of the mail server to authenticate the user's identity before updating the shared document according to the editing instructions, this is because different users are assigned different editing permissions for the draft mail. For example, the organizer (that is, the user who initiates collaborative editing through the client) can modify the entire content of the draft email, while the collaborator (that is, the user invited by the organizer to collaborate on writing) can only modify the body of the draft email.
  • the document server extracts the user ID "Zhang San” from the editing instructions and sends the user ID "Zhang San” to the mail server, the mail server needs to authenticate the user ID "Zhang San” .
  • the editing content included in the editing instruction is: add wording comment content "please modify to the meeting schedule for year-end report” in the subject of the email "meeting schedule”, and the user "Zhang San” is determined to be the organizer after authentication , Can edit the mail title, you can confirm that the authentication is passed, and when the authentication is passed, it will send an authentication pass instruction to the document server, so that the document server can update the shared document according to the received authentication instruction .
  • the method of the embodiment of the present disclosure further includes: receiving a mail sharing end instruction sent by the second server, and sending the current mail draft to the client corresponding to the user who initiated the sharing according to the mail sharing end instruction.
  • the organizer's client will respond to the sharing end operation triggered by the organizer, generate a sharing end instruction, and send it to the document server through the mail server.
  • the document server can, after receiving the email sharing end instruction sent by the organizer’s client through the mail server, send the current email draft (that is, the subsequent email draft through collaborative editing) to the initiator of the sharing according to the email sharing end instruction
  • the client corresponding to the user (ie, the organizer).
  • the embodiments of the present disclosure provide an information interaction method. Through the cooperative work of the first server and the second server, the intercommunication and integration of information in different servers can be realized, and the information processing efficiency of each server is improved, thereby satisfying the needs of users. Office needs.
  • Fig. 2 is a flowchart of an information exchange method provided in the second embodiment of the present disclosure.
  • the embodiments of the present disclosure can be combined with the optional solutions in the foregoing embodiments.
  • the second text information in response to receiving an editing instruction sent by the user's client in the first embodiment, after the second text information is updated, It also includes: firstly obtain the update message by intercepting the preset number of words in the update content of the shared document, and add the update message to the editing content message queue; then receiving the modified content acquisition instruction sent by the second server; then, according to the modified content acquisition instruction, The update message is sent to the second server.
  • the method of the embodiment of the present disclosure specifically includes:
  • Step 201 Receive the first text information sent by the second server.
  • the first text information may include a draft email
  • the second text information may include a shared document.
  • the draft email is used to represent the first text information and the shared document represents the second text information.
  • Step 202 Generate second text information according to the first text information.
  • Step 203 In response to receiving the edit instruction sent by the user's client, update the second text information.
  • the editing instruction may include the editing content and the designated editing location
  • this step 203 "in response to receiving the editing instruction sent by the user's client, update the second text information" may include: in response to receiving the user
  • the editing instructions sent by the client terminal extract the editing content and the designated editing location from the editing instructions; update the shared document according to the editing content and the designated editing location.
  • updating the shared document according to the editing content and the designated editing location may include: adding editing content to the designated editing location of the shared document to update the shared document, where the designated editing location includes: the address bar of the draft email , At least one of the subject of the message, the attachment, and the body of the message.
  • Step 204 Send the updated content of the second text information to the client of each user, so that the client of each user updates the first text information according to the updated content.
  • sending the updated content of the second text information to the client of each user may include: first converting the updated content of the second text information according to a preset data format, so that the updated content of the converted shared document Comply with the data transmission format of the communication between the first server and the client; and then send the updated content of the converted shared document to the client of each user.
  • the editing instruction may also include a user identification.
  • the method of the embodiment of the present disclosure may further include: first extracting the user identification from the editing instruction; and then sending the user identification to The mail server allows the mail server to authenticate the user ID; then, in response to receiving the authentication pass instruction sent by the second server, the shared document is updated.
  • the method of the embodiment of the present disclosure further includes: receiving a mail sharing end instruction sent by the second server, and sending the current mail draft to the client corresponding to the user who initiated the sharing according to the mail sharing end instruction.
  • Step 205 Obtain the update message by intercepting the preset number of words of the update content of the second text information, and add the update message to the editing content message queue.
  • the document server of this embodiment also obtains the update message by intercepting the second text information, that is, the preset number of words of the update content of the shared document. For example, assuming that the updated content of the shared document is "information about the transfer of the second group of the software development department", the first 10 words of the updated content "about the software development department" can be intercepted as the update message, and the update The message is added to the edit content message queue for storage. Among them, the edit content message queue is used for real-time storage of update messages acquired at each moment.
  • Step 206 Receive the modified content acquisition instruction sent by the second server, and send the update message to the second server according to the modified content acquisition instruction.
  • the modified content acquisition instruction is generated when the second server monitors that an update message is added to the editing content message queue.
  • the mail server monitors the message queue of the document server.
  • an update message is added to the edit content message queue, it will generate a modified content acquisition instruction and send it to the document server.
  • the mail server in this embodiment can monitor the message queue regularly, and when it is determined that the message queue is updated, it generates a modified content acquisition instruction and sends it to the document server, thereby saving the power consumption of the mail server.
  • the implementation does not limit the generation method of the modified content acquisition instruction.
  • the mail server in this embodiment obtains the update message, it will send the update message to the client of each user, and display it in the subject position of the mail draft in the mailing list, so that the user can follow the displayed update message Quickly find the current edit location of the draft email.
  • the embodiments of the present disclosure provide an information interaction method. Through the cooperative work of the first server and the second server, the intercommunication and integration of information in different servers can be realized, and the information processing efficiency of each server is improved, thereby satisfying the needs of users. Office needs.
  • the update message can be sent to the client of each user through the mail server according to the modified content acquisition instruction and displayed, which also allows the user to quickly find the current modification location of the email draft according to the displayed update message, thereby further improving the user experience. .
  • Fig. 3 is a flowchart of an information exchange method provided in the third embodiment of the present disclosure.
  • the embodiment of the present disclosure is applicable to the situation where the first server and the second server work together.
  • the method can be executed by the information exchange apparatus provided in the embodiment of the present disclosure.
  • the device can be implemented in software and/or hardware, and generally can be integrated in computer equipment.
  • the type of the first server is specifically a document server
  • the type of the second server is specifically a mail server.
  • the document server is used to represent the first server
  • the mail server is used to represent the second server. Examples of methods include:
  • the method in the embodiment of the present disclosure may include the following steps:
  • Step 301 Determine the first text information according to the text identifier sent by the user's client.
  • the first text information may include a draft email
  • the second text information may include a shared document.
  • the email draft is used to represent the first text information
  • the shared document is used to represent the second text information.
  • this embodiment can be applied to a scenario where the organizer wants multiple collaborators to participate in collaborative editing for a specified email draft, and the organizer’s client can realize this by receiving the organizer’s sharing operation or forwarding operation. Clients of multiple collaborators can also get the same draft email.
  • the mail server is in communication connection with mail clients of multiple users.
  • the text identifier sent by the client may specifically be a mail identifier.
  • the organizer’s client sends the mail identifier 001 to the mail server, then The mail server queries the database according to the mail identifier 001, determines the mail draft corresponding to the mail identifier 001, and uses the mail draft as the first text information.
  • Step 302 Send the first text information to the first server, so that the first server generates the second text information according to the first text information, and updates the second text information in response to receiving the edit instruction sent by the client of the user. Send the updated content to the client of each user for update display.
  • the mail server sends the determined draft mail to the document server, and the mail server may specifically send the draft mail to the document server by wired transmission or wireless transmission, wherein the wireless transmission method includes: Bluetooth transmission, wireless fidelity (Wireless Fidelity, WiFi) transmission or microwave transmission, as long as the transmission method that can send the draft email to the document server is within the protection scope of this disclosure, and the draft email can be an already written one A good email can also be a blank email with no content.
  • the wireless transmission method includes: Bluetooth transmission, wireless fidelity (Wireless Fidelity, WiFi) transmission or microwave transmission, as long as the transmission method that can send the draft email to the document server is within the protection scope of this disclosure, and the draft email can be an already written one
  • a good email can also be a blank email with no content.
  • the document server in this embodiment will generate a shared document based on the received email draft, and update the second text information in response to receiving the editing instruction sent by the user's client.
  • the document server in this embodiment will generate a shared document based on the received email draft, and update the second text information in response to receiving the editing instruction sent by the user's client.
  • the method of the embodiment of the present disclosure further includes: in response to determining that the mail sharing end instruction sent by the user's client is received, and sending the mail sharing end instruction to the first server, so that the first server ends according to the mail sharing The instruction sends the current draft of the email to the client corresponding to the user who initiated the sharing, and deletes the content update message recorded in the edit content message queue.
  • the organizer's client will respond to the sharing end operation triggered by the organizer to generate a sharing end instruction, and the mail server will receive the sharing end sent by the organizer's client. Instruction, and send the sharing end instruction to the document server.
  • the document server will send the current draft email to the client corresponding to the user who initiated the sharing according to the email sharing end instruction, and delete the content update message recorded in the message column, thereby saving the storage space of the document server and reducing the number of documents The storage pressure of the server.
  • the embodiments of the present disclosure provide an information interaction method. Through the cooperative work of the first server and the second server, the intercommunication and integration of information in different servers can be realized, and the information processing efficiency of each server is improved, thereby satisfying the needs of users. Office needs.
  • Fig. 4 is a flowchart of an information exchange method provided in the fourth embodiment of the present disclosure.
  • the embodiment of the present disclosure can be combined with the optional solutions in the above implementation.
  • it after sending the first text information to the first server in the third embodiment, it also includes: first editing of the first server
  • the content message queue monitors, and when it is determined that there is an update message in the editing content message queue, it generates a modified content acquisition instruction, and then sends the modified content acquisition instruction to the first server, and then receives the modified content acquisition instruction sent by the first server Update the message and send the update message to the client of each user.
  • Step 401 Determine the first text information according to the text identifier sent by the user's client.
  • the first text information may include a draft email
  • the second text information may include a shared document.
  • the email draft is used to represent the first text information
  • the shared document is used to represent the second text information.
  • Step 402 Send the first text information to the first server, so that the first server generates the second text information according to the first text information, and updates the second text information in response to receiving an editing instruction sent by the user's client. Send the updated content to the client of each user for update display.
  • Step 403 Monitor the edited content message queue of the first server, and generate a modified content acquisition instruction when it is determined that an update message is added to the edited content message queue.
  • the update message is the preset number of words of the update content of the shared document.
  • the preset number of words may specifically be the first ten characters of the updated content, and the specific value of the preset number of words is not limited in the embodiment of the present application.
  • the document server of this embodiment also intercepts the preset number of words of the update content of the second text information (ie, the shared document) to obtain the update message, and adds the update message to the editing content message queue for storage.
  • the edit content message queue is used for real-time storage of update messages acquired at each moment.
  • the mail server monitors the message queue of the document server, and generates a modified content acquisition instruction when it monitors that an update message is added to the editing content message queue.
  • the monitoring method of the mail server can be real-time monitoring or regular monitoring.
  • the modified content acquisition instruction can be generated and sent to the document server, thereby saving the power consumption of the mail server.
  • This embodiment does not limit the modified content acquisition instruction The way it is generated.
  • Step 404 Send the modified content acquisition instruction to the first server.
  • Step 405 Receive the update message sent by the first server according to the modified content acquisition instruction, and send the update message to the client of each user.
  • the mail server in this embodiment will receive the update message fed back by the document server according to the modified content acquisition instruction, and send the update message to the client of each user, so that the client of each user will post the update message in the mail.
  • the subject position of the mail draft in the list is displayed.
  • the embodiments of the present disclosure provide an information interaction method. Through the cooperative work of the first server and the second server, the intercommunication and integration of information in different servers can be realized, and the information processing efficiency of each server is improved, thereby satisfying the needs of users. Office needs. And by monitoring the edit content message queue of the document server, the update message is obtained, and the update message is sent to the client of each user and displayed, which also allows the user to quickly find the current modification position of the draft email according to the displayed update message , Thereby further improving the user experience.
  • Fig. 5 is a schematic structural diagram of an information interaction device provided by Embodiment 5 of the present disclosure.
  • the device can be implemented in software and/or hardware, and can generally be integrated in a document server that executes the method. As shown in Figure 5, the device may include:
  • the first text information obtaining module 501 is configured to receive the first text information sent by the second server;
  • the second text information generating module 502 is configured to generate second text information according to the first text information
  • the second text information update module 503 is configured to update the second text information in response to receiving an editing instruction sent by the user's client;
  • the second text information sending module 504 is configured to send the updated content of the second text information to the client of each user, so that the client of each user can update the first text information according to the updated content.
  • the first text information includes a draft email
  • the second text information includes a shared document.
  • the editing instruction includes editing content and a designated editing position
  • the second text information update module is specifically configured to: in response to receiving an editing instruction sent by the user's client, extract the editing content and the designated editing position from the editing instruction;
  • the shared document is updated according to the editing content and the designated editing location.
  • the second text information update module performs the update of the shared document according to the editing content and the designated editing position, which is specifically used for:
  • the editing content is added at the designated editing location of the shared document to update the shared document, wherein the designated editing location includes: the address bar of the draft email, the title of the email, the attachment, and the body of the email At least one of.
  • the second text information sending module is specifically configured to: convert the updated content of the shared document according to a preset data format, so that the updated content of the shared document after the conversion conforms to the first server and the shared document. State the data transmission format of client communication;
  • the device also includes:
  • Sending an update message for obtaining an update message by intercepting the preset number of words of the update content of the shared document, and adding the update message to the editing content message queue;
  • the update message is sent to the second server according to the modified content acquisition instruction, so that the second server sends the update message to the client of each user, and the mail draft is listed in the mailing list.
  • the subject location is displayed.
  • the editing instruction also includes a user identification
  • the device further includes: an identity authentication module, configured to extract the user identifier from the edit instruction;
  • the device also includes:
  • the mail sharing end instruction transmission module is configured to: receive the mail sharing end instruction sent by the second server;
  • the device for forwarding emails provided in the embodiments of the present disclosure belongs to the same inventive concept as the information interaction methods provided in the above embodiments.
  • Fig. 6 is a schematic structural diagram of an information interaction device provided by the sixth embodiment of the present disclosure.
  • the device can be implemented in software and/or hardware, and can generally be integrated in a document server that executes the method. As shown in Figure 6, the device may include:
  • the first text information determining module 601 is configured to determine the first text information according to the text identifier sent by the user's client;
  • the first text information sending module 602 is configured to send the first text information to a first server, so that the first server generates second text information according to the first text information, in response to receiving the user’s client
  • the editing instruction sent by the terminal updates the second text information, and sends the updated content to the client terminal of each user for update display.
  • the first text information includes a draft email
  • the second text information includes a shared document.
  • the device also includes:
  • the edit content message queue monitoring module is configured to monitor the edit content message queue of the first server, and generate a modified content acquisition instruction when it is determined that an update message is added to the edit content message queue, wherein the update message Update the preset number of words in the content of the shared document;
  • the device also includes:
  • the mail sharing end instruction transmission module is configured to send the mail sharing end instruction to the first server in response to determining that the mail sharing end instruction sent by the user's client is received, so that the first server can make the mail sharing end instruction according to the The mail sharing end instruction sends the current draft of the mail to the client corresponding to the user who initiated the sharing, and deletes the content update message recorded in the edit content message queue.
  • the device for forwarding emails provided in the embodiments of the present disclosure belongs to the same inventive concept as the information interaction methods provided in the above embodiments.
  • the document server in the embodiment of the present disclosure may be a device corresponding to the back-end service platform of the application program, or may be a mobile terminal device with an application program client installed.
  • the document server may include, but is not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation Terminals) and other mobile terminals and fixed terminals such as digital TVs, desktop computers, etc.
  • the document server shown in FIG. 7 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the document server 700 may include a processing device (such as a central processing unit, a graphics processor, etc.) 701, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 702 or from a storage device 708.
  • the program in the memory (RAM) 703 executes various appropriate actions and processing.
  • various programs and data required for the operation of the document server 700 are also stored.
  • the processing device 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704.
  • An input/output (I/O) interface 705 is also connected to the bus 704.
  • the following devices can be connected to the I/O interface 705: including input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; including, for example, liquid crystal displays (LCD), speakers, vibrations
  • input devices 706 such as touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.
  • LCD liquid crystal displays
  • An output device 707 such as a device
  • a storage device 708 such as a magnetic tape, a hard disk, etc.
  • the communication device 709 may allow the document server 700 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 7 shows a document server 700 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may be implemented alternatively or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702.
  • the processing device 701 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the mail server in the embodiment of the present disclosure may be a device corresponding to the back-end service platform of the application program, or may be a mobile terminal device with an application program client installed.
  • the mail server may include, but is not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PAD (tablet computers), PMP (portable multimedia players), vehicle terminals (such as vehicle navigation Terminal) and other mobile terminals and fixed terminals such as digital TVs, desktop computers, etc.
  • the mail server shown in FIG. 8 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the mail server 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 802 or from a storage device 808
  • the program in the memory (RAM) 803 executes various appropriate actions and processing.
  • various programs and data required for the operation of the mail server 800 are also stored.
  • the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I/O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 807 such as a device; a storage device 808 such as a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication device 809 may allow the mail server 800 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 8 shows a mail server 800 with various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may be implemented alternatively or provided with more or fewer devices.
  • an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802.
  • the processing device 801 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • Fig. 9 is a schematic structural diagram of an information interaction system provided by the ninth embodiment of the present disclosure. As shown in Fig. 9, the system may include:
  • first server 700 please refer to the seventh embodiment for the specific structure of the first server 700, and the second server 800, and refer to the eighth embodiment for the specific structure of the second server 800.
  • first server and the second server in this embodiment are communicatively connected, so as to realize the information exchange method described in the first to fourth embodiments.
  • this embodiment also includes a terminal device 900 that is respectively communicatively connected with the first server and the second server, and the mail client and the user's client can run on the terminal device 900.
  • first server and the second server in this embodiment may be physically independent, or may be physically unified but logically separated.
  • the above-mentioned computer-readable medium may be included in the above-mentioned document server or mail server; it may also exist separately without being installed in the document server or mail server.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the internal processes of the document server are executed: receiving the first text information sent by the second server; according to the first text The information generates the second text information; in response to receiving the edit instruction sent by the user's client, the second text information is updated; the updated content of the second text information is sent to the client of each user, so that the client of each user
  • the terminal updates the first text information according to the updated content.
  • the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the mail server, the internal processes of the mail server are executed: determining the first text information according to the text identifier sent by the user's client; The first text information is sent to the first server, so that the first server generates the second text information according to the first text information, and updates the second text information in response to receiving the edit instruction sent by the user's client, and updates the content Sent to the client of each user for update display.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown one after another can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • the method includes:
  • the updated content of the second text information is sent to the client of each user, so that the client of each user updates the first text information according to the updated content.
  • the first text information includes a draft email
  • the second text information includes a shared document
  • the mail editing instruction includes editing content and a designated editing location
  • the updating the second text information in response to receiving the edit instruction sent by the user's client terminal includes:
  • the shared document is updated according to the editing content and the designated editing location.
  • the updating the shared document according to the editing content and the designated editing location includes:
  • the editing content is added at the designated editing location of the shared document to update the shared document, wherein the designated editing location includes: the address bar of the draft email, the title of the email, the attachment, and the body of the email At least one of.
  • the sending the updated content of the second text information to the client of each user includes:
  • the method after updating the second text information in response to receiving an editing instruction sent by the user's client, the method further includes:
  • the update message is sent to the second server according to the modified content acquisition instruction, so that the second server sends the update message to the client of each user, and the mail draft is listed in the mailing list.
  • the subject location is displayed.
  • the editing instruction further includes a user identification
  • the method further includes:
  • the method further includes:
  • An information exchange method provided according to one or more embodiments of the present disclosure is applied to a second server, and the method includes:
  • the first text information is sent to the first server, so that the first server generates the second text information according to the first text information, and responds to receiving the edit instruction sent by the user's client to the second text information.
  • the text information is updated, and the updated content is sent to the client of each user for update display.
  • the first text information includes a draft email
  • the second text information includes a shared document
  • the method further includes:
  • the method further includes:
  • the mail sharing end instruction is sent to the first server, so that the first server drafts the current mail according to the mail sharing end instruction Send to the client corresponding to the user who initiated the sharing, and delete the content update message recorded in the edit content message queue.
  • an information interaction device which includes:
  • the first text information obtaining module is configured to receive the first text information sent by the second server;
  • the second text information generating module is configured to generate second text information according to the first text information
  • the second text information update module is configured to update the second text information in response to receiving an editing instruction sent by the user's client;
  • the second text information sending module is configured to send the updated content of the second text information to the client of each user, so that the client of each user can update the first text information according to the updated content.
  • an information interaction device which includes:
  • the first text information determining module is configured to determine the first text information according to the text identifier sent by the user's client;
  • the first text information sending module is configured to send the first text information to a first server, so that the first server generates second text information according to the first text information, in response to receiving the user's client
  • the sent editing instruction updates the second text information, and sends the updated content to the client terminal of each user for update display.
  • the first server includes:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the information interaction method described in Embodiment 1 to Embodiment 2 of the present disclosure.
  • the second server includes:
  • One or more processors are One or more processors;
  • Storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the information interaction method described in Embodiment 3 to Embodiment 4 of the present disclosure.
  • an information interaction system is provided, the system at least comprising: the first server described in the seventh embodiment and the second server described in the eighth embodiment.
  • a computer-readable storage medium provided according to one or more embodiments of the present disclosure has a computer program stored thereon, and when the program is executed by a processor, the information interaction method as described in any embodiment of the present disclosure is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种信息交互方法、装置、服务器、系统及存储介质。包括:首先接收第二服务器发送的第一文本信息,并根据第一文本信息生成第二文本信息;然后响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新;接着将第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据更新内容对第一文本信息进行更新。通过第一服务器与第二服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。

Description

一种信息交互方法、装置、服务器、系统及存储介质
本公开要求于2020年4月30日提交中国专利局、申请号为202010366992.5、发明名称为“一种信息交互方法、装置、服务器、系统及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种信息交互方法、装置、服务器、系统及存储介质。
背景技术
目前在通信技术领域,通常会涉及到多种通信方式或媒介,例如通过邮件服务器可以为实现邮件相关的功能提供服务,通过文档服务器可以为实现文档编辑相关功能提供服务。
发明人在实现本公开的过程中,发现在一些实施方式中,采用上述的通信方式,往往针对每个服务器来说当通信时间比较长时数据量会激增,因此,每个服务器的处理效率会降低,从而也就无法满足用户的办公需求。
发明内容
本公开实施例提供一种信息交互方法、装置、服务器、系统及存储介质,以实现邮件和文档的协同。
第一方面,本公开实施例提供了一种信息交互方法,该方法包括:接收第二服务器发送的第一文本信息,并根据第一文本信息生成第二文本信息;响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新;将第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据更新内容对第一文本信息进行更新。
第二方面,本公开实施例提供了另一种信息交互方法,该方法包括:根据用户的客户端发送的文本标识确定第一文本信息;将第一文本信息发送给第一服务器,以使第一服务器根据第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
第三方面,本公开实施例提供了一种信息交互装置,该装置包括:第一文本信息获取模块,用于接收第二服务器发送的第一文本信息;第二文本信息生成模块,用于根据第一文本信息生成第二文本信息;第二文本信息更新模块,用于响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新;第二文本信息发送模块,用于将第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据更新内容对第一文本信息进行更新。
第四方面,本公开实施例提供了另一种信息交互装置,该装置包括:第一文本信息确定模块,用于根据用户的客户端发送的文本标识确定第一文本信息;第一文本信息发送模块,用于将第一文本信息发送给第一服务器,以使第一服务器根据第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对第二文本信息进行更新,将更新 内容发送给各用户的客户端进行更新显示。
第五方面,本公开实施例还提供了一种第一服务器,该第一服务器包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如本公开任意实施例的方法。
第六方面,本公开实施例还提供了一种第二服务器,该第二服务器包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如本公开任意实施例的方法。
第七方面,本公开实施例还提供了一种信息交互系统,该系统至少包括如上的第一服务器和第二服务器,其中,第一服务器和第二服务器通信连接。
第八方面,本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开任意实施例的方法。
本公开实施例提供了一种信息交互方法、装置、服务器、系统及存储介质。通过第一服务器与第二服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是本公开实施例一提供的一种信息交互方法的流程图;
图2是本公开实施例二提供的一种信息交互方法的流程图;
图3是本公开实施例三提供的一种信息交互方法的流程图;
图4是本公开实施例四提供的一种信息交互方法的流程图;
图5是本公开实施例五提供的一种信息交互装置的结构示意图;
图6是本公开实施例六提供的一种信息交互装置的结构示意图;
图7是本公开实施例七提供的一种第一服务器的结构示意图;
图8是本公开实施例八提供的一种第二服务器的结构示意图;
图9是本公开实施例九提供的一种信息交互系统的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是, 本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开申请人在实施本公开的过程中,发现在一些实施方式中,若采用单独通过邮件服务器实现邮件相关的功能提供服务,或单独通过文档服务器为实现文档编辑相关功能提供服务,往往针对每个服务器来说当通信时间比较长时数据量会激增,因此,每个服务器的处理效率会降低,从而也就无法满足用户的办公需求。针对于此,本公开的一些实施方式中,通过邮件服务器与文档服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。
实施例一
图1是本公开实施例一提供的一种信息交互方法的流程图,本公开实施例可适用于第一服务器与第二服务器协同工作的情况,该方法可以由本公开实施例提供的信息交互装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可集成在计算机设备中。并且本实施方式中第一服务器的类型具体为文档服务器,第二服务器的类型具体为邮件服务器,并且在后续描述中统一采用文档服务器代表第一服务器,采用邮件服务器代表第二服务器,本公开实施例的方法具体包括:
如图1所示,本公开实施例的方法可以包括如下步骤:
步骤101,接收第二服务器发送的第一文本信息。
可选的,第一文本信息可以包括邮件草稿,第二文本信息可以包括共享文档,并且在后述描述中统一采用邮件草稿代表第一文本信息,采用共享文档代表第二文本信息。
具体的说,本实施方式可以应用于组织者针对一封指定的第一文本信息(即邮件草稿)邀请多个协作者协作进行编辑的场景,组织者的客户端通过接收组织者的分享操作或转发操作而实现的多个协作者客户端也能够获取同一封邮件草稿。
其中,需要说明的是,当组织者的客户端通过接收组织者的分享操作将邮件草稿分享给多个被分享人(即协作者)时,对于协作者的身份并未做限定,即,协作者可以在邮件草稿所属的收件列表中,也可以不在邮件草稿所属的收件列表中,只要其接收到组织者分享的邮件草稿,就能够查看到该邮件草稿的相关信息,如可以查看到邮件草稿中的地址栏、邮件标题、附件以及邮件正文等中至少一项邮件结构信息。
邮件服务器是与多个用户的客户端进行通信连接的,并且本实施方式中并不限定用户的具体数量。邮件服务器所发送的邮件草稿具体可以是根据客户端所发送的邮件标识所确定的,例如,邮件服务器从客户端所获取的邮件标识为001,则通过从数据库中进行查询确定出与邮件标识001所对应的邮件草稿,并发送给文档服务器,同时文档服务器会接收该封邮件草稿。
需要说明的是,本实施方式中文档服务器可以通过有线传输或无线传输的方式接收邮件服务器发送的邮件草稿,其中,无线传输方式包括:蓝牙传输、无线保真(Wireless Fidelity,WiFi)传输或微波传输,只要是使得文档服务器能够接收到邮件服务器发送的邮件草稿的传输方式都是在本公开的保护范围内的,本公开实施方式中并不限定传输的具体方式。
需要说明的是,本实施方式中的邮件草稿可以是一封已经撰写好的邮件,也可以是一封没有内容的空白邮件,本实施方式中并不限定邮件草稿中所包含的具体内容。
步骤102,根据第一文本信息生成第二文本信息。
需要说明的是,文档服务器在接收到邮件草稿之后,会根据邮件草稿生成第二文本信息(即共享文档),具体是将邮件草稿转换成一个可以进行编辑的文档,例如,将邮件草稿中的地址栏、邮件标题、附件以及邮件正文等元素全部转换成可编辑状态,并且在共享文档中可以根据用户的编辑指令对上述元素进行修改。
需要说明的是,由于邮件服务器是可以根据用户客户端发送的协同编辑请求创建包含邮件草稿的同步编辑界面,并将同步编辑界面发送至各用户的客户端的,因此,共享文档的当前状态是可以在各用户的客户端的同步编辑界面进行显示的。
步骤103,响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新。
可选的,编辑指令中可以包括编辑内容和指定编辑位置,则本步骤103“响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新”可以包括:响应于接收到用户的客户端发送的编辑指令,从编辑指令中提取出编辑内容和指定编辑位置;根据编辑内容和指定编辑位置对共享文档进行更新。
其中,本实施方式中的客户端的类型具体指的是邮件客户端。
可选的,根据编辑内容和指定编辑位置对共享文档进行更新,可以包括:在共享文档的指定编辑位置添加编辑内容,以对共享文档进行更新,其中,指定编辑位置包括:邮件草稿的地址栏、邮件标题、附件以及邮件正文中的至少一项。
具体的说,文档服务器所接收到的用户的邮件客户端所发送的编辑指令,具体可以是用户的邮件客户端在检测到用户对同步编辑界面的邮件草稿执行的编辑操作后所产生的。由于编辑指令中包含编辑内容和指定编辑位置,例如,在邮件标题“会议安排”添加划词评论内容“请修改为关于年终汇报的会议安排”,则文档服务器会从编辑指令中提取出编辑内容“请修改为关于年终汇报的会议安排”,并从编辑指令中提取出指定编辑位置“邮件标题”,进而可以根据编辑内容将共享文档中的邮件标题处添加划词评论内容“请修改为关于年终汇报的会议安排”。当然,本实施方式中的编辑方式仅是以划词评论为例进行的举例说明,本实施方式中并不限定编辑方式的具体类型。
步骤104,将第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端 根据更新内容对第一文本信息进行更新。
可选的,将第二文本信息的更新内容发送给各用户的客户端,可以包括:首先将第二文本信息的更新内容按照预设数据格式进行转换,以使转换后的共享文档的更新内容符合第一服务器和客户端通信的数据传输格式;然后将转换后的共享文档的更新内容发送给各用户的客户端。
需要说明的是,在根据编辑指令对共享文档进行更新之后,可以将更新的内容发送给与文档服务器通信连接的各用户的客户端。具体是将共享文档的更新内容按照预设数据格式进行转换,预设数据格式具体可以是json数据格式或protocol buffers数据格式,以实现将更新后的内容转换成文档服务器所匹配的数据接收格式,并且在转换之后可以采用长链路模式,例如,传输控制协议(Transmission Control Protocol,TCP),或者采用短链路模式,例如,超文本传输协议(Hypertext Transfer Protocol,HTTP)和表述性状态转移(Representational State Transfer,REST)协议,本实施方式中并不限定将转换后的共享文档的更新内容发送给各用户的客户端的具体发送模式。
需要说明的是,各用户客户端在接收到文档服务器所发送的更新内容后,能够根据所获取的更新内容对同步编辑界面中所包含的邮件草稿进行更新。
可选的,编辑指令中还可以包括用户标识;在对第二文本信息进行更新之前,本公开实施例的方法还可以包括:首先从编辑指令中提取出用户标识;然后将用户标识发送给邮件服务器,以使邮件服务器对用户标识进行鉴权;接着响应于接收到第二服务器发送的鉴权通过指令,对共享文档进行更新的操作。
具体的说,在本实施方式中的编辑指令中还可以包括用户标识。由于文档服务器在根据编辑指令对共享文档进行更新之前,会首先调用邮件服务器的接口对用户的身份进行鉴权,这是因为不同的用户分配有对邮件草稿不同的编辑权限。例如,组织者(即通过客户端发起协作编辑的用户)能够对邮件草稿的全部内容进行更改,而协作者(即被组织者邀请进行协作编写的用户)只能对邮件草稿的正文进行修改。在此基础上,当文档服务器从编辑指令中提取出的用户标识为“张三”,并将用户标识“张三”发送给邮件服务器时,邮件服务器需要对用户标识“张三”进行鉴权。此时,若编辑指令中包含的编辑内容为:在邮件标题“会议安排”添加划词评论内容“请修改为关于年终汇报的会议安排”,并且经过鉴权确定用户“张三”为组织者,能够进行邮件标题的编辑,则可以确定鉴权通过,并且在鉴权通过时会向文档服务器发送鉴权通过指令,以便文档服务器根据所接收到的鉴权通过指令对共享文档进行更新的操作。
可选的,本公开实施例的方法还包括:接收第二服务器发送的邮件共享结束指令,并根据邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端。
需要说明的是,组织者在需要结束邮件草稿共享时,组织者的客户端会响应于组织者触发的共享结束操作,生成共享结束指令,并将其通过邮件服务器发送给文档服务器。而文档服务器可以在接收到组织者的客户端通过邮件服务器所发送的邮件共享结束指令后,根据邮件共享结束指令将当前的邮件草稿(即通过协同编辑的之后的邮件草稿)发送到发起共享的用户(即组织者)所对应的客户端。
本公开实施例提供了一种信息交互方法,通过第一服务器与第二服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。
实施例二
图2是本公开实施例二提供的一种信息交互方法的流程图。本公开实施例可以与上述实施例中各可选方案结合,本公开实施例中,在实施例一中的响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新之后,还包括:首先通过截取共享文档更新内容的预设字数来获得更新消息,并将更新消息添加到编辑内容消息队列中;然后接收第二服务器发送的修改内容获取指令;接着根据修改内容获取指令将更新消息发送给第二服务器。
如图2所示,本公开实施例的方法具体包括:
步骤201,接收第二服务器发送的第一文本信息。
可选的,第一文本信息可以包括邮件草稿,第二文本信息可以包括共享文档,并且在后述描述中统一采用邮件草稿代表第一文本信息,采用共享文档代表第二文本信息。
步骤202,根据第一文本信息生成第二文本信息。
步骤203,响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新。
可选的,编辑指令中可以包括编辑内容和指定编辑位置,则本步骤203“响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新”可以包括:响应于接收到用户的客户端发送的编辑指令,从编辑指令中提取出编辑内容和指定编辑位置;根据编辑内容和指定编辑位置对共享文档进行更新。
可选的,根据编辑内容和指定编辑位置对共享文档进行更新,可以包括:在共享文档的指定编辑位置添加编辑内容,以对共享文档进行更新,其中,指定编辑位置包括:邮件草稿的地址栏、邮件标题、附件以及邮件正文中的至少一项。
步骤204,将第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据更新内容对第一文本信息进行更新。
可选的,将第二文本信息的更新内容发送给各用户的客户端,可以包括:首先将第二文本信息的更新内容按照预设数据格式进行转换,以使转换后的共享文档的更新内容符合第一服务器和客户端通信的数据传输格式;然后将转换后的共享文档的更新内容发送给各用户的客户端。
可选的,编辑指令中还可以包括用户标识,则在对第二文本信息进行更新之前,本公开实施例的方法还可以包括:首先从编辑指令中提取出用户标识;然后将用户标识发送给邮件服务器,以使邮件服务器对用户标识进行鉴权;接着响应于接收到第二服务器发送的鉴权通过指令,对共享文档进行更新的操作。
可选的,本公开实施例的方法还包括:接收第二服务器发送的邮件共享结束指令,并根据邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端。
步骤205,通过截取第二文本信息更新内容的预设字数来获得更新消息,并将更新消息添加到编辑内容消息队列中。
具体的说,本实施方式的文档服务器还会通过截取第二文本信息即共享文档更新内容的预设字数以获得更新消息。例如,假设共享文档更新内容为“关于软件开发事业部第二组人员调动的相关信息”,则可以截取更新内容的前10个字“关于软件开发事业部第”作为更新消息,并将该更新消息添加到编辑内容消息队列中进行保存。其中,编辑内容消息队列用于对每一时刻所获取的更新消息进行实时保存。
需要说明的是,本实施方式中仅是以所截取的更新内容的前10个字为例进行的举例说明,本实施方式中并不限定具体的字数。
步骤206,接收第二服务器发送的修改内容获取指令,并根据修改内容获取指令将更新消息发送给第二服务器。
其中,修改内容获取指令为第二服务器在监听到编辑内容消息队列中有更新消息加入时生成的。
具体的说,本实施方式中在文档服务器对共享文档进行更新的过程中,邮件服务器会对文档服务器的消息队列进行监听。在监听到编辑内容消息队列中有更新消息加入时,会生成修改内容获取指令并将其发送给文档服务器。
需要说明的是,本实施方式中的邮件服务器可以对消息队列进行定时监听,在确定消息队列有更新时,生成修改内容获取指令并将其发送给文档服务器,从而节省邮件服务器的功耗,本实施方式中并不限定修改内容获取指令的生成方式。
其中,本实施方式中的邮件服务器在获取到更新消息之后,会将更新消息发送给各用户的客户端,并在邮件列表中邮件草稿的主题位置进行显示,从而使用户可以根据显示的更新消息快速找到邮件草稿当前的修改位置。
本公开实施例提供了一种信息交互方法,通过第一服务器与第二服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。并且能够根据修改内容获取指令将更新消息通过邮件服务器发送给各用户的客户端并进行显示,也使得用户可以根据显示的更新消息快速找到邮件草稿当前的修改位置,从而进一步提升了用户的体验效果。
实施例三
图3是本公开实施例三提供的信息交互方法的流程图,本公开实施例可适用于第一服务器与第二服务器协同工作的情况,该方法可以由本公开实施例提供的信息交互装置来执行,该装置可采用软件和/或硬件的方式实现,并一般可集成在计算机设备中。并且本实施方式中第一服务器的类型具体为文档服务器,第二服务器的类型具体为邮件服务器,并且在后续描述中统一采用文档服务器代表第一服务器,采用邮件服务器代表第二服务器,本公开实施例的方法具体包括:
如图3所示,本公开实施例中方法可以包括如下步骤:
步骤301,根据用户的客户端发送的文本标识确定第一文本信息。
可选的,第一文本信息可以包括邮件草稿,第二文本信息可以包括共享文档。并且在后述描述中统一采用邮件草稿代表第一文本信息,采用共享文档代表第二文本信息。
具体的说,本实施方式可以应用于组织者针对一封指定的邮件草稿想让多个协作者参 与协作进行编辑的场景,组织者的客户端通过接收组织者的分享操作或转发操作而实现的多个协作者的客户端也能够获取同一封邮件草稿。邮件服务器是与多个用户的邮件客户端进行通信连接的,本实施方式中客户端所发送的文本标识具体可以是邮件标识,例如,组织者的客户端将邮件标识001发送给邮件服务器,则邮件服务器根据邮件标识001从数据库中进行查询,确定出与邮件标识001所对应的邮件草稿,并将该邮件草稿作为第一文本信息。
步骤302,将第一文本信息发送给第一服务器,以使第一服务器根据第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
具体的说,本实施方式中,邮件服务器将所确定的邮件草稿发送给文档服务器,并且邮件服务器具体可以采用有线传输或无线传输的方式将邮件草稿发送给文档服务器,其中,无线传输方式包括:蓝牙传输、无线保真(Wireless Fidelity,WiFi)传输或微波传输,只要是能够将邮件草稿发送给文档服务器的传输方式都是在本公开的保护范围内的,并且邮件草稿可以是一封已经撰写好的邮件,也可以是一封没有内容的空白邮件。
需要说明的是,本实施方式中的文档服务器会根据所接收的邮件草稿生成共享文档,响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新。关于文档服务器的具体工作原理可参见实施例一和实施例二,本申请实施方式中不再进行赘述。
可选的,本公开实施例的方法还包括:响应于确定接收到用户的客户端发送的邮件共享结束指令,并将邮件共享结束指令发送给第一服务器,以使第一服务器根据邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端,将编辑内容消息队列中记录的内容更新消息进行删除。
具体的说,组织者在需要结束邮件草稿共享时,组织者的客户端会响应于组织者触发的共享结束操作,生成共享结束指令,邮件服务器会接收到组织者的客户端所发送的共享结束指令,并将共享结束指令发送给文档服务器。文档服务器会根据邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端,并将消息对列中记录的内容更新消息进行删除,从而节省文档服务器的存储空间,以减少文档服务器的存储压力。
本公开实施例提供了一种信息交互方法,通过第一服务器与第二服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。
实施例四
图4是本公开实施例四提供的一种信息交互方法的流程图。本公开实施例可以与上述实施中各可选方案结合,在本公开实施例中,在实施例三中的将第一文本信息发送给第一服务器之后,还包括:首先对第一服务器的编辑内容消息队列进行监听,并在确定编辑内容消息队列中有更新消息加入时生成修改内容获取指令,然后将修改内容获取指令发送给第一服务器,接着接收第一服务器根据修改内容获取指令所发送的更新消息,并将更新消息发送给各用户的客户端。
步骤401,根据用户的客户端发送的文本标识确定第一文本信息。
可选的,第一文本信息可以包括邮件草稿,第二文本信息可以包括共享文档。并且在后述描述中统一采用邮件草稿代表第一文本信息,采用共享文档代表第二文本信息。
步骤402,将第一文本信息发送给第一服务器,以使第一服务器根据第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
步骤403,对第一服务器的编辑内容消息队列进行监听,并在确定编辑内容消息队列中有更新消息加入时生成修改内容获取指令。
其中,更新消息为共享文档更新内容的预设字数。其中预设字数具体可以是更新内容的前十个字,本申请实施方式中并不限定预设字数的具体数值。
具体的说,本实施方式的文档服务器还会通过截取第二文本信息(即共享文档)更新内容的预设字数以获得更新消息,并将更新消息添加到编辑内容消息队列中进行保存。其中,编辑内容消息队列用于对每一时刻所获取的更新消息进行实时保存。而邮件服务器会对文档服务器的消息队列进行监听,并在监听到编辑内容消息队列中有更新消息加入时会生成修改内容获取指令。
需要说明的是,邮件服务器的监听方式可以是实时监听也可以是定时监听。在对消息队列进行定时监听时,可以在确定消息队列有更新时,生成修改内容获取指令并将其发送给文档服务器,从而节省邮件服务器的功耗,本实施方式中并不限定修改内容获取指令的生成方式。
步骤404,将修改内容获取指令发送给第一服务器。
步骤405,接收第一服务器根据修改内容获取指令所发送的更新消息,并将更新消息发送给各用户的客户端。
具体的说,本实施方式中的邮件服务器会接收文档服务器根据修改内容获取指令所反馈的更新消息,并将更新消息发送给各用户的客户端,以使各用户的客户端将更新消息在邮件列表中邮件草稿的主题位置进行显示。
本公开实施例提供了一种信息交互方法,通过第一服务器与第二服务器的协同工作,能够实现不同服务器中信息的互通和融合,提高了每个服务器的信息处理效率,从而满足了用户的办公需求。并且通过对文档服务器的编辑内容消息队列进行监听,来获取更新消息,并将更新消息发送给各用户的客户端并进行显示,也使得用户可以根据显示的更新消息快速找到邮件草稿当前的修改位置,从而进一步提升了用户的体验效果。
实施例五
图5是本公开实施例五提供的信息交互装置结构示意图,该装置可采用软件和/或硬件的方式实现,并一般可集成在执行方法的文档服务器中。如图5所示,该装置可以包括:
第一文本信息获取模块501,用于接收第二服务器发送的第一文本信息;
第二文本信息生成模块502,用于根据所述第一文本信息生成第二文本信息;
第二文本信息更新模块503,用于响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新;
第二文本信息发送模块504,用于将所述第二文本信息的更新内容发送给各用户的客 户端,以使各用户的客户端根据所述更新内容对所述第一文本信息进行更新。
进一步的,所述第一文本信息包括邮件草稿,所述第二文本信息包括共享文档。
进一步的,所述编辑指令中包括编辑内容和指定编辑位置;
第二文本信息更新模块,具体用于:响应于接收到用户的客户端发送的编辑指令,从所述编辑指令中提取出所述编辑内容和所述指定编辑位置;
根据所述编辑内容和所述指定编辑位置对所述共享文档进行更新。
进一步的,第二文本信息更新模块在执行所述根据所述编辑内容和所述指定编辑位置对所述共享文档进行更新,具体用于:
在所述共享文档的所述指定编辑位置添加所述编辑内容,以对所述共享文档进行更新,其中,所述指定编辑位置包括:所述邮件草稿的地址栏、邮件标题、附件以及邮件正文中的至少一项。
进一步的,第二文本信息发送模块,具体用于:将所述共享文档的更新内容按照预设数据格式进行转换,以使转换后的所述共享文档的更新内容符合所述第一服务器和所述客户端通信的数据传输格式;
将转换后的所述共享文档的更新内容发送给各用户的客户端。
进一步的,装置还包括:
更新消息发送,用于通过截取所述共享文档更新内容的预设字数来获得更新消息,并将所述更新消息添加到编辑内容消息队列中;
接收第二服务器发送的修改内容获取指令,其中,所述修改内容获取指令为所述第二服务器在监听到所述编辑内容消息队列中有所述更新消息加入时生成的;
根据所述修改内容获取指令将所述更新消息发送给所述第二服务器,以使所述第二服务器将所述更新消息发送给各用户的客户端,并在邮件列表中所述邮件草稿的主题位置进行显示。
进一步的,所述编辑指令中还包括用户标识;
装置还包括:身份鉴权模块,用于从所述编辑指令中提取出所述用户标识;
将所述用户标识发送给所述第二服务器,以使所述第二服务器对所述用户标识进行鉴权;
响应于接收到所述第二服务器发送的鉴权通过指令,对所述共享文档进行更新的操作。
进一步的,装置还包括:
邮件共享结束指令传输模块,用于:接收所述第二服务器发送的邮件共享结束指令;
根据所述邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端。
本公开实施例提供的转发邮件的装置,与上述各实施例提供的信息交互方法属于同一发明构思,未在本公开实施例中详尽描述的技术细节可参见上述各实施例,并且本公开实施例与上述各实施例具有相同的有益效果。
实施例六
图6是本公开实施例六提供的信息交互装置结构示意图,该装置可采用软件和/或硬件 的方式实现,并一般可集成在执行方法的文档服务器中。如图6所示,该装置可以包括:
第一文本信息确定模块601,用于根据用户的客户端发送的文本标识确定第一文本信息;
第一文本信息发送模块602,用于将所述第一文本信息发送给第一服务器,以使所述第一服务器根据所述第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对所述第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
进一步的,所述第一文本信息包括邮件草稿,所述第二文本信息包括共享文档。
进一步的,装置还包括:
编辑内容消息队列监听模块,用于对所述第一服务器的编辑内容消息队列进行监听,并在确定所述编辑内容消息队列中有更新消息加入时生成修改内容获取指令,其中,所述更新消息为所述共享文档更新内容的预设字数;
将所述修改内容获取指令发送给所述第一服务器;
接收所述第一服务器根据所述修改内容获取指令所发送的所述更新消息,并将所述更新消息发送给各用户的客户端,以使各用户的客户端将所述更新消息在邮件列表中所述邮件草稿的主题位置进行显示。
进一步的,装置还包括:
邮件共享结束指令传输模块,用于响应于确定接收到用户的客户端发送的邮件共享结束指令,将所述邮件共享结束指令发送给所述第一服务器,以使所述第一服务器根据所述邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端,将所述编辑内容消息队列中记录的所述内容更新消息进行删除。
本公开实施例提供的转发邮件的装置,与上述各实施例提供的信息交互方法属于同一发明构思,未在本公开实施例中详尽描述的技术细节可参见上述各实施例,并且本公开实施例与上述各实施例具有相同的有益效果。
实施例七
下面参考图7,其示出了适于用来实现本公开实施例的第一服务器700的结构示意图。本公开实施例中的文档服务器可以是应用程序的后端服务平台对应的设备,还可以是安装有应用程序客户端的移动终端设备。具体的,该文档服务器可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的文档服务器仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,文档服务器700可以包括处理装置(例如中央处理器、图形处理器等)701,其可以根据存储在只读存储器(ROM)702中的程序或者从存储装置708加载到随机访问存储器(RAM)703中的程序而执行各种适当的动作和处理。在RAM 703中,还存储有文档服务器700操作所需的各种程序和数据。处理装置701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。
通常,以下装置可以连接至I/O接口705:包括例如触摸屏、触摸板、键盘、鼠标、摄 像头、麦克风、加速度计、陀螺仪等的输入装置706;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置707;包括例如磁带、硬盘等的存储装置708;以及通信装置709。通信装置709可以允许文档服务器700与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的文档服务器700,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置709从网络上被下载和安装,或者从存储装置708被安装,或者从ROM 702被安装。在该计算机程序被处理装置701执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
实施例八
下面参考图8,其示出了适于用来实现本公开实施例的第二服务器800的结构示意图。本公开实施例中的邮件服务器可以是应用程序的后端服务平台对应的设备,还可以是安装有应用程序客户端的移动终端设备。具体的,该邮件服务器可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、 台式计算机等等的固定终端。图8示出的邮件服务器仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图8所示,邮件服务器800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有邮件服务器800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许邮件服务器800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的邮件服务器800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”), 广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
实施例九
图9是本公开实施例九提供的一种信息交互系统的结构示意图,如图9所示,该系统可以包括:
第一服务器700,其中第一服务器700的具体结构请请参照实施例七,第二服务器800,其中第二服务器800的具体结构请参照实施例八。
其中,本实施方式中的第一服务器和第二服务器是通信连接的,从而实现上述实施例一至实施例四所述的信息交互方法。
具体的说,本实施方式中还包括与第一服务器和第二服务器分别通信连接的终端设备900,并且邮件客户端和用户的客户端可以运行在终端设备900上。
需要说明的是,本实施方式中的第一服务器和第二服务器,可以是物理独立的,也可以是物理统一但逻辑分开的。
实施例十
上述计算机可读介质可以是上述文档服务器或邮件服务器中所包含的;也可以是单独存在,而未装配入该文档服务器或邮件服务器中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该文档服务器执行时,使得该文档服务器内部进程执行:接收第二服务器发送的第一文本信息;根据第一文本信息生成第二文本信息;响应于接收到用户的客户端发送的编辑指令,对第二文本信息进行更新;将第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据更新内容对第一文本信息进行更新。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该邮件服务器执行时,使得该邮件服务器内部进程执行:根据用户的客户端发送的文本标识确定第一文本信息;将第一文本信息发送给第一服务器,以使第一服务器根据第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表 一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例提供的一种信息交互方法,该方法包括:
接收第二服务器发送的第一文本信息;
根据所述第一文本信息生成第二文本信息;
响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新;
将所述第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据所述更新内容对所述第一文本信息进行更新。
根据本公开的一个或多个实施例,上述方法中,所述第一文本信息包括邮件草稿,所述第二文本信息包括共享文档。
根据本公开的一个或多个实施例,上述方法中,所述邮件编辑指令中包括编辑内容和指定编辑位置;
所述响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新,包括:
响应于接收到用户的客户端发送的编辑指令,从所述邮件编辑指令中提取出所述编辑内容和所述指定编辑位置;
根据所述编辑内容和所述指定编辑位置对所述共享文档进行更新。
根据本公开的一个或多个实施例,上述方法中,所述根据所述编辑内容和所述指定编 辑位置对所述共享文档进行更新,包括:
在所述共享文档的所述指定编辑位置添加所述编辑内容,以对所述共享文档进行更新,其中,所述指定编辑位置包括:所述邮件草稿的地址栏、邮件标题、附件以及邮件正文中的至少一项。
根据本公开的一个或多个实施例,上述方法中,所述将所述第二文本信息的更新内容发送给各用户的客户端,包括:
将所述共享文档的更新内容按照预设数据格式进行转换,以使转换后的所述共享文档的更新内容符合所述第一服务器和所述客户端通信的数据传输格式;
将转换后的所述共享文档的更新内容发送给各用户的客户端。
根据本公开的一个或多个实施例,上述方法中,所述响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新之后,所述方法还包括:
通过截取所述共享文档更新内容的预设字数来获得更新消息,并将所述更新消息添加到编辑内容消息队列中;
接收第二服务器发送的修改内容获取指令,其中,所述修改内容获取指令为所述第二服务器在监听到所述编辑内容消息队列中有所述更新消息加入时生成的;
根据所述修改内容获取指令将所述更新消息发送给所述第二服务器,以使所述第二服务器将所述更新消息发送给各用户的客户端,并在邮件列表中所述邮件草稿的主题位置进行显示。
根据本公开的一个或多个实施例,上述方法中,所述编辑指令中还包括用户标识;
所述对所述第二文本信息进行更新之前,所述方法还包括:
从所述编辑指令中提取出所述用户标识;
将所述用户标识发送给所述第二服务器,以使所述第二服务器对所述用户标识进行鉴权;
响应于接收到所述第二服务器发送的鉴权通过指令,对所述共享文档进行更新的操作。
根据本公开的一个或多个实施例,上述方法中,所述方法还包括:
接收所述第二服务器发送的邮件共享结束指令;
根据所述邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端。
根据本公开的一个或多个实施例提供的一种信息交互方法,应用于第二服务器,该方法包括:
根据用户的客户端发送的文本标识确定第一文本信息;
将所述第一文本信息发送给第一服务器,以使所述第一服务器根据所述第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对所述第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
根据本公开的一个或多个实施例,上述方法中,所述第一文本信息包括邮件草稿,所述第二文本信息包括共享文档。
根据本公开的一个或多个实施例,上述方法中,所述方法还包括:
对所述第一服务器的编辑内容消息队列进行监听,并在确定所述编辑内容消息队列中有更新消息加入时生成修改内容获取指令,其中,所述更新消息为所述共享文档更新内容的预设字数;
将所述修改内容获取指令发送给所述第一服务器;
接收所述第一服务器根据所述修改内容获取指令所发送的所述更新消息,并将所述更新消息发送给各用户的客户端,以使各用户的客户端将所述更新消息在邮件列表中所述邮件草稿的主题位置进行显示。
根据本公开的一个或多个实施例,上述方法中,所述方法还包括:
响应于确定接收到用户的客户端发送的邮件共享结束指令,将所述邮件共享结束指令发送给所述第一服务器,以使所述第一服务器根据所述邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端,将所述编辑内容消息队列中记录的所述内容更新消息进行删除。
根据本公开的一个或多个实施例提供的一种信息交互装置,该装置包括:
第一文本信息获取模块,用于接收第二服务器发送的第一文本信息;
第二文本信息生成模块,用于根据所述第一文本信息生成第二文本信息;
第二文本信息更新模块,用于响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新;
第二文本信息发送模块,用于将所述第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据所述更新内容对所述第一文本信息进行更新。
根据本公开的一个或多个实施例提供的一种信息交互装置,该装置包括:
第一文本信息确定模块,用于根据用户的客户端发送的文本标识确定第一文本信息;
第一文本信息发送模块,用于将所述第一文本信息发送给第一服务器,以使所述第一服务器根据所述第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对所述第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
根据本公开的一个或多个实施例提供的一种第一服务器,所述第一服务器包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例一至实施例二所述的信息交互方法。
根据本公开的一个或多个实施例提供的一种第二服务器,所述第二服务器包括:
一个或多个处理器;
存储装置,用于存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例三至实施例四所述的信息交互方法。
根据本公开的一个或多个实施例提供一种信息交互系统,所述系统至少包括:实施例七所述的第一服务器,以及实施例八所述的第二服务器。
根据本公开的一个或多个实施例提供的一种计算机可读存储介质,其上存储有计算机 程序,该程序被处理器执行时实现如本公开任意实施例所述的信息交互方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (18)

  1. 一种信息交互方法,其特征在于,所述方法包括:
    接收第二服务器发送的第一文本信息;
    根据所述第一文本信息生成第二文本信息;
    响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新;
    将所述第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据所述更新内容对所述第一文本信息进行更新。
  2. 根据权利要求1所述的方法,其特征在于,所述第一文本信息包括邮件草稿,所述第二文本信息包括共享文档。
  3. 根据权利要求2所述的方法,其特征在于,所述编辑指令中包括编辑内容和指定编辑位置;
    所述响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新,包括:
    响应于接收到用户的客户端发送的编辑指令,从所述编辑指令中提取出所述编辑内容和所述指定编辑位置;
    根据所述编辑内容和所述指定编辑位置对所述共享文档进行更新。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述编辑内容和所述指定编辑位置对所述共享文档进行更新,包括:
    在所述共享文档的所述指定编辑位置添加所述编辑内容,以对所述共享文档进行更新,其中,所述指定编辑位置包括:所述邮件草稿的地址栏、邮件标题、附件以及邮件正文中的至少一项。
  5. 根据权利要求2所述的方法,其特征在于,所述将所述第二文本信息的更新内容发送给各用户的客户端,包括:
    将所述共享文档的更新内容按照预设数据格式进行转换,以使转换后的所述共享文档的更新内容符合所述第一服务器和所述客户端通信的数据传输格式;
    将转换后的所述共享文档的更新内容发送给各用户的客户端。
  6. 根据权利要求2所述的方法,其特征在于,所述响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新之后,所述方法还包括:
    通过截取所述共享文档更新内容的预设字数来获得更新消息,并将所述更新消息添加到编辑内容消息队列中;
    接收第二服务器发送的修改内容获取指令,其中,所述修改内容获取指令为所述第二服务器在监听到所述编辑内容消息队列中有所述更新消息加入时生成的;
    根据所述修改内容获取指令将所述更新消息发送给所述第二服务器,以使所述第二服务器将所述更新消息发送给各用户的客户端,并在邮件列表中所述邮件草稿的主题位置进行显示。
  7. 根据权利要求2所述的方法,其特征在于,所述编辑指令中还包括用户标识;
    所述对所述第二文本信息进行更新之前,所述方法还包括:
    从所述编辑指令中提取出所述用户标识;
    将所述用户标识发送给所述第二服务器,以使所述第二服务器对所述用户标识进行鉴权;
    响应于接收到所述第二服务器发送的鉴权通过指令,对所述共享文档进行更新的操作。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    接收所述第二服务器发送的邮件共享结束指令;
    根据所述邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端。
  9. 一种信息交互方法,其特征在于,所述方法包括:
    根据用户的客户端发送的文本标识确定第一文本信息;
    将所述第一文本信息发送给第一服务器,以使所述第一服务器根据所述第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对所述第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
  10. 根据权利要求9所述的方法,其特征在于,所述第一文本信息包括邮件草稿,所述第二文本信息包括共享文档。
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:
    对所述第一服务器的编辑内容消息队列进行监听,并在确定所述编辑内容消息队列中有更新消息加入时生成修改内容获取指令,其中,所述更新消息为所述共享文档更新内容的预设字数;
    将所述修改内容获取指令发送给所述第一服务器;
    接收所述第一服务器根据所述修改内容获取指令所发送的所述更新消息,并将所述更新消息发送给各用户的客户端,以使各用户的客户端将所述更新消息在邮件列表中所述邮件草稿的主题位置进行显示。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    响应于确定接收到用户的客户端发送的邮件共享结束指令,将所述邮件共享结束指令发送给所述第一服务器,以使所述第一服务器根据所述邮件共享结束指令将当前的邮件草稿发送到发起共享的用户所对应的客户端,将所述编辑内容消息队列中记录的所述内容更新消息进行删除。
  13. 一种信息交互装置,其特征在于,包括:
    第一文本信息获取模块,用于接收第二服务器发送的第一文本信息;
    第二文本信息生成模块,用于根据所述第一文本信息生成第二文本信息;
    第二文本信息更新模块,用于响应于接收到用户的客户端发送的编辑指令,对所述第二文本信息进行更新;
    第二文本信息发送模块,用于将所述第二文本信息的更新内容发送给各用户的客户端,以使各用户的客户端根据所述更新内容对所述第一文本信息进行更新。
  14. 一种信息交互装置,其特征在于,包括:
    第一文本信息确定模块,用于根据用户的客户端发送的文本标识确定第一文本信息;
    第一文本信息发送模块,用于将所述第一文本信息发送给第一服务器,以使所述第一服务器根据所述第一文本信息生成第二文本信息,响应于接收到用户的客户端发送的编辑指令对所述第二文本信息进行更新,将更新内容发送给各用户的客户端进行更新显示。
  15. 一种第一服务器,其特征在于,所述第一服务器包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一所述的方法。
  16. 一种第二服务器,其特征在于,所述第二服务器包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求9-12中任一所述的方法。
  17. 一种信息交互系统,其特征在于,所述系统至少包括:权利要求15所述的第一服务器,以及权利要求16所述的第二服务器,其中,所述第一服务器和所述第二服务器通信连接。
  18. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1至12中任一所述的方法。
PCT/CN2021/089586 2020-04-30 2021-04-25 一种信息交互方法、装置、服务器、系统及存储介质 WO2021218850A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2022564516A JP7430821B2 (ja) 2020-04-30 2021-04-25 情報インタラクションの方法、装置、サーバー、システム及び記憶媒体
EP21797545.7A EP4131866A4 (en) 2020-04-30 2021-04-25 INFORMATION INTERACTION METHOD AND APPARATUS, SERVER SYSTEM, AND STORAGE MEDIUM
US17/883,774 US11868707B2 (en) 2020-04-30 2022-08-09 Information interaction method and apparatus, server, system, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010366992.5A CN113595859A (zh) 2020-04-30 2020-04-30 一种信息交互方法、装置、服务器、系统及存储介质
CN202010366992.5 2020-04-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/883,774 Continuation US11868707B2 (en) 2020-04-30 2022-08-09 Information interaction method and apparatus, server, system, and storage medium

Publications (1)

Publication Number Publication Date
WO2021218850A1 true WO2021218850A1 (zh) 2021-11-04

Family

ID=78237556

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/089586 WO2021218850A1 (zh) 2020-04-30 2021-04-25 一种信息交互方法、装置、服务器、系统及存储介质

Country Status (5)

Country Link
US (1) US11868707B2 (zh)
EP (1) EP4131866A4 (zh)
JP (1) JP7430821B2 (zh)
CN (1) CN113595859A (zh)
WO (1) WO2021218850A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500570A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023522672A (ja) * 2020-04-30 2023-05-31 北京字節跳動網絡技術有限公司 情報インタラクション方法、装置、電子機器、および記憶媒体
EP4135271A4 (en) * 2020-04-30 2023-09-13 Beijing Bytedance Network Technology Co., Ltd. INFORMATION INTERACTION METHOD AND APPARATUS, APPARATUS AND MEDIUM
CN114650268B (zh) * 2022-04-14 2024-01-30 北京字跳网络技术有限公司 内容推送方法、装置、电子设备、介质及程序产品

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204194A (zh) * 2011-05-11 2011-09-28 华为技术有限公司 共享文件的方法和系统
CN107431631A (zh) * 2015-03-23 2017-12-01 卓普网盘股份有限公司 电子邮件与基于共享文件夹的集成工作空间集成
US20180048605A1 (en) * 2014-10-15 2018-02-15 International Business Machines Corporation Supporting message sharing
CN109218165A (zh) * 2017-06-29 2019-01-15 群晖科技股份有限公司 邮件信息管理方法和主机服务器系统

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050033811A1 (en) * 2003-08-07 2005-02-10 International Business Machines Corporation Collaborative email
WO2012137215A1 (en) * 2011-04-08 2012-10-11 Yogesh Chunilal Rathod A system and method for communication
US9606972B2 (en) * 2011-11-09 2017-03-28 Microsoft Technology Licensing, Llc Document collaboration with collaboration context data
CN102520922B (zh) * 2011-11-14 2016-04-13 上海交通大学 一种协作环境下的远程开发方法及其系统
US9436634B2 (en) * 2013-03-14 2016-09-06 Seagate Technology Llc Enhanced queue management
US10067927B2 (en) 2013-06-14 2018-09-04 Microsoft Technology Licensing, Llc Updates to shared electronic documents in collaborative environments
CN103854168B (zh) * 2014-02-17 2016-09-28 湖南中烟工业有限责任公司 异构流程待办集中处理方法及处理装置
US9503402B2 (en) 2014-08-18 2016-11-22 Dropbox, Inc. Managing drafts of electronic documents across client devices
CN108234280A (zh) * 2016-12-21 2018-06-29 青岛祥智电子技术有限公司 一种支持企业协同办公的即时通信系统
US20190272071A1 (en) * 2018-03-02 2019-09-05 International Business Machines Corporation Automatic generation of a hierarchically layered collaboratively edited document view
US20190340527A1 (en) * 2018-05-07 2019-11-07 Microsoft Technology Licensing, Llc Graphical user interface features for updating a conversational bot
CN109543163A (zh) * 2018-10-30 2019-03-29 天津字节跳动科技有限公司 文档修订记录获取方法、装置、存储介质及电子设备
CN109688052B (zh) * 2019-02-26 2021-03-16 深圳知云网络科技有限公司 邮件信息与即时消息交互方法
CN110765744B (zh) * 2019-10-22 2024-01-30 思必驰科技股份有限公司 多人协同文档编辑方法及系统
CN110909521B (zh) * 2019-11-14 2024-03-12 抖音视界有限公司 在线文档信息的同步处理方法、装置及电子设备
CN110958173A (zh) 2019-11-29 2020-04-03 腾讯科技(深圳)有限公司 邮件发送方法、装置、设备及存储介质
US11528246B2 (en) * 2021-03-01 2022-12-13 Lenovo (Singapore) Pte. Ltd. Graphical user interfaces with indications that electronic messages have been acted upon

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102204194A (zh) * 2011-05-11 2011-09-28 华为技术有限公司 共享文件的方法和系统
US20180048605A1 (en) * 2014-10-15 2018-02-15 International Business Machines Corporation Supporting message sharing
CN107431631A (zh) * 2015-03-23 2017-12-01 卓普网盘股份有限公司 电子邮件与基于共享文件夹的集成工作空间集成
CN109218165A (zh) * 2017-06-29 2019-01-15 群晖科技股份有限公司 邮件信息管理方法和主机服务器系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4131866A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500570A (zh) * 2022-02-09 2022-05-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质
CN114500570B (zh) * 2022-02-09 2024-02-13 北京字跳网络技术有限公司 任务处理方法、装置、电子设备和计算机可读存储介质

Also Published As

Publication number Publication date
JP7430821B2 (ja) 2024-02-13
US20220391577A1 (en) 2022-12-08
EP4131866A4 (en) 2023-09-06
CN113595859A (zh) 2021-11-02
JP2023522471A (ja) 2023-05-30
EP4131866A1 (en) 2023-02-08
US11868707B2 (en) 2024-01-09

Similar Documents

Publication Publication Date Title
WO2021218850A1 (zh) 一种信息交互方法、装置、服务器、系统及存储介质
US11716299B2 (en) Information interaction method and apparatus, server, system and storage medium
WO2021218613A1 (zh) 邮件处理方法、装置、电子设备及存储介质
KR102592436B1 (ko) 문서 공유 처리 방법, 장치, 기기, 매체와 시스템
US20220377040A1 (en) Session message display method, electronic device and storage medium
CN113591439B (zh) 一种信息交互方法、装置、电子设备及存储介质
WO2021218566A1 (zh) 一种邮件信息展示方法、装置、电子设备和存储介质
CN112269770B (zh) 文档共享方法、装置、系统和电子设备
WO2021169863A1 (zh) 多媒体会议数据处理方法、装置和电子设备
WO2011137871A2 (zh) 一种通信终端的输入方法及通信终端
EP4340323A1 (en) Message sending method and apparatus, and device and storage medium
WO2021143317A1 (zh) 邀请链接信息处理方法、装置、电子设备及可读介质
WO2024001936A1 (zh) 一种信息交互方法、装置、设备及介质
WO2023124906A1 (zh) 一种消息处理方法、装置、设备及介质
CN113329100B (zh) 消息推送方法、装置及系统
Chang et al. The design of an XMPP-based service integration scheme
WO2022222794A1 (zh) 交互方法、装置和电子设备
WO2022228114A1 (zh) 信息交互方法、装置和电子设备
WO2023011523A1 (zh) 会话信息显示方法、装置和电子设备
JP7493615B2 (ja) メール処理方法、装置、電子機器及び記憶媒体
WO2023093489A1 (zh) 页面视图生成方法、装置、电子设备及存储介质
WO2022228405A1 (zh) 信息交互方法、装置和电子设备
WO2023217015A1 (zh) 一种基于会话的业务处理方法、装置、设备及介质
US8819127B1 (en) Ensemble computing
JP2019004413A (ja) ボットシステム、プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21797545

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022564516

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021797545

Country of ref document: EP

Effective date: 20221026

NENP Non-entry into the national phase

Ref country code: DE