WO2023015982A1 - Message sending method, message sending end, and server - Google Patents

Message sending method, message sending end, and server Download PDF

Info

Publication number
WO2023015982A1
WO2023015982A1 PCT/CN2022/091259 CN2022091259W WO2023015982A1 WO 2023015982 A1 WO2023015982 A1 WO 2023015982A1 CN 2022091259 W CN2022091259 W CN 2022091259W WO 2023015982 A1 WO2023015982 A1 WO 2023015982A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
chain type
server
type message
name
Prior art date
Application number
PCT/CN2022/091259
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2023015982A1 publication Critical patent/WO2023015982A1/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Definitions

  • the present application relates to the technical field of communication, in particular to a method for sending a message, a message sending end and a server.
  • Embodiments of the present application provide a method for sending a message, a message sending end, a server, and a computer-readable storage medium.
  • the embodiment of the present application provides a method for sending a message, the method comprising: the message sending end sends a first request message to the chain type message server, wherein the first request message carries the name of the first target chain type message , the chain type message server stores at least one chain type message constructed by the message sending end, each of the chain type messages includes a chain type message name and a plurality of associated messages; the message sending end receives the The first target chain type message returned by the chain type message server according to the name of the first target chain type message; the message sender sends a second request message carrying at least one client identifier to the message application server, so that the The message server forwards the first target chain type message to the target client corresponding to the client identifier.
  • an embodiment of the present application provides a method for sending a message, the method including: the chain type message server receives a first request message sent by the message sending end, and the first request message carries the name of the first target chain type message; The chain type message server obtains the first target chain type message matching the first target chain type message name according to the first target chain type message name; the chain type message server sends the first target chain type message type message is sent to the message sender, so that the message sender sends a second request message carrying at least one client identifier to the message application server, and the message server forwards the first target chain type message to The target client corresponding to the client ID.
  • the embodiment of the present application provides a message sending terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • a message sending terminal including: a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the computer program, the above The message sending method provided by the first aspect.
  • an embodiment of the present application provides a server, including: a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • a server including: a memory, a processor, and a computer program stored on the memory and operable on the processor.
  • the processor executes the computer program, the above second The message sending method provided by the aspect.
  • the embodiment of the present application provides a computer-readable storage medium storing a computer program.
  • the computer program is executed by a processor, the method for sending a message as provided in the first or second aspect above is implemented.
  • FIG. 1 is a schematic diagram of an implementation environment of a message sending method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a message sending method provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a chain type message stored by a chain type message server according to an embodiment of the present application
  • Fig. 4 is a schematic diagram of a chain type message map provided by the embodiment of the present application.
  • Fig. 5 is a schematic diagram of a chain type message display style provided by the embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a message sending method provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a message sending end provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a server provided by an embodiment of the present application.
  • At least one of the following and similar expressions refer to any group of these items, including any group of single or plural items.
  • at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b, c can be a single , or more than one.
  • the embodiment of the present application provides a message sending method, a message sending end, a server, and a computer-readable storage medium, which can combine multiple scattered but related messages into a chain type message, thereby realizing message sending End users provide message association and sorting functions. It can also help target client users who receive chain-type messages to quickly understand the cause and effect of events and the topics of chat discussions.
  • FIG. 1 is a schematic diagram of an implementation environment of a message sending method provided by an embodiment of the present application.
  • the implementation environment includes a chain type message server 100, a message application server (Instant message application server, IMAS) 110, a file server 120, a message that is a platform (Massage as a platform, MAAP) 130, a chat robot (Chatbot)
  • the message application server 110 is interactively connected with the chain type message server 100, MAAP130, and file server 120 respectively through a wired network or a wireless network;
  • the Chatbot server 140 is interactively connected with the MAAP130 through a wired network or a wireless network;
  • the wireless network is interactively connected with the message application server 110 .
  • the message application server 110 is a server for implementing various application services of instant messages.
  • the chain type message server 100 is used for receiving chain type messages uploaded by each message issuer, storing the chain type messages, and providing chain type message application services.
  • MAAP130 is a platform for messaging between third-party companies and users. It is based on RCS rich media message function and uses chatbot (chatbot), natural language processing (NLP, Natural Language Processing), artificial intelligence (Artificial Intelligence, AI) and other technologies to realize an industry-oriented message service platform.
  • chatbot chatbot
  • natural language processing NLP, Natural Language Processing
  • AI artificial intelligence
  • the chatbot server 140 is used to provide a service for industry customers to send conversations to end users.
  • the service is usually based on artificial intelligence software, simulating human intelligence conversations, and providing users with specific service functions.
  • the file server 120 is used to provide file services and stores files such as multimedia files.
  • a client is a terminal device that can provide dialogue services for users.
  • the client may be a handheld device, a vehicle-mounted device, a wearable device or a computing device with a wireless communication function.
  • mobile phone mobile phone
  • tablet computer laptop computer
  • desktop computer smart watch, etc., but not limited thereto.
  • Fig. 2 is a schematic flowchart of a message sending method provided by an embodiment of the present application.
  • the message sending method provided by the embodiment of the present application includes the following step S210.
  • the message sender sends a first request message to the chain type message server, wherein the first request message carries the name of the first target chain type message, and the chain type message server stores at least one chain type constructed by the message sender Messages, each chain type message includes a chain type message name and multiple associated messages.
  • the message sending end in this embodiment of the present application may be any client in the above-mentioned implementation environment, and may also be a Chatbot server in the above-mentioned implementation environment.
  • the message sender is the first client in the above implementation environment.
  • the interaction between the first client and the chain-type message server is performed through the message application server, that is, the interaction messages between the first client and the chain-type message server need to be forwarded through the message application server.
  • the user of the first client can send multiple associated messages to the chain message server through one or more message association operations, so as to form a chain message and store the chain message by the chain message server.
  • the chain type message includes a chain type message name and a plurality of associated messages.
  • the multiple associated message types may be any one or a combination of chat messages, multimedia files (video, audio or pictures, etc.), link addresses (such as news links).
  • the structure of the chain type message stored by the chain type message server can be seen in FIG. 3 .
  • the structure of the chain type message includes the chain type message name, message identification (ID), creation time, validity period, authority, and message content. Each item of information in the chain type message structure is described as follows.
  • Message name The name of the chain type message, generally named with keywords and sentences that can summarize the chain type message.
  • Message ID identifies a chain type message, which can be in UUID format.
  • Creation Time The time when the chain type message was created.
  • Validity period Chain type messages are automatically deleted after the validity period ends.
  • Permissions including public, forwarding, forbidden forwarding, and private; public means that other users can search and forward; forwarding means that they cannot be searched, but can be forwarded; forbidden forwarding means that they cannot be searched and forwarded are prohibited; private means that they can only be seen by themselves.
  • the content of the message can be a short message of one or more messages; each short message includes time, summary (or complete content), multimedia file (optional), link address (optional), and the short message can also include another Chain type message.
  • the first client obtains the chain type message stored in the chain type message server by sending a first request message to the chain type message server.
  • the first client may send the first request message to the chain type message server through the message application server, that is, the first client first sends the first request message to the message application server, and the message application server then sends the first request message Forwarded to the chain type message server.
  • the first client when the first client sends the first request message to the chain type message server, it also inserts the name of the chain type message requested to be acquired (ie, the name of the first target chain type message) in the first request message, so as to The chain type message server returns the corresponding chain type message according to the name of the first target chain type message.
  • the name of the chain type message requested to be acquired ie, the name of the first target chain type message
  • the message sending end is a chatbot server.
  • the chatbot server interacts with the chain-type message server through the MAPP and the message application server, that is, the interactive message between the first client and the chain-type message server needs to be forwarded through the MAPP and the message application server.
  • the chain type message server stores the chain type messages constructed by the chatbot server.
  • the chain type message includes a chain type message name and a plurality of associated messages.
  • the chatbot server chooses to associate multiple associated messages here, for example, associate multiple messages of a certain news event, or associate multiple multimedia files corresponding to a certain film and television work.
  • the chatbot server may forward the first request message to the chain-type message server through MAAP or the message application server.
  • the first request message carries the name of the chain message requested by the chatbot server (namely the name of the first target chain message), so that the chain message server returns the corresponding chain message according to the first target chain message name.
  • the chain type message server can be integrated in the chatbot server.
  • the chain type message server can be considered as a module inside the chatbot server, and the chatbot server can directly communicate with Chain type message server to interact.
  • the message sending end receives the first target chain type message returned by the chain type message server according to the name of the first target chain type message.
  • the chain type message server After receiving the first request message from the message sender, the chain type message server obtains the first target chain type message name from the first request message, and then obtains the corresponding first target chain type message name according to the first target chain type message name chain type message, and then return the first target chain type message to the message sender, and the message sender receives the first target chain type message from the chain type message server.
  • the message sending end sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier .
  • the message sender can select the target client that wants to receive the first target chain type message, and then insert the identity of the target client into the second In the second request message, the second request message carrying the client identifier is sent to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier.
  • the message sending end is the first client in the above-mentioned implementation environment, and user A performs one or more operations through the first client to upload multiple associated chat messages to the chain type message server,
  • the multiple associated chat messages here may be chat messages between user A and one or more contacts in the address book, for example, including chat messages between user A and contact A and contact B, that is to say , you can associate chat messages across contacts.
  • user A can first send the chat message with contact A to the chain type message server, so as to add the chat message with contact A to the chain type message named "chat record 1", and then send the chat message with contact A to the chain type message server.
  • the chat message of person B is sent to the chain type message server, so as to add the chat message with contact B to the chain type message named "chat record 1".
  • the first client sends the first request message carrying the name of the first target chain type message "chat record 1" to the chain type message server.
  • the chain type message server sets the name as "chat record 1"
  • the chain type message returned to the first client user A selects the target client that wants to receive the chain type message on the first client, and the first client responds to the target client selected by the user and sends the client with the target client
  • the identified second request message is sent to the message application server, so that the message server forwards the first target chain type message to the target client.
  • the target client includes the second client in the above implementation environment
  • user B receives the chain-type message sent by user A through the second client, and can easily understand the chat content between user A and contacts A and B.
  • the first client sends a chain type message and the second client receives a chain type message as an example.
  • the second client can also send a chain type message.
  • the first client receives the chain-type message.
  • the client that sends the chain-type message and the client that receives the chain-type message may also be the same client, which is not specifically limited in this embodiment of the present application .
  • the message sending end is the chatbot server in the above-mentioned implementation environment, and the user can log in the chatbot server through the management terminal, and send multiple associated messages (such as news related to event A) through one or more This operation is uploaded to the chain-type message server to form a chain-type message, and with the development of news event A, new related messages can be continuously uploaded to the chain-type message to update the chain-type message.
  • the chatbot server sends the first request message carrying the first target chain type message name "news event A" to the chain type message server to the chain type message server, obtains the latest chain type message about news event A from the chain type message server, and then
  • the second request message carrying the client identifier is sent to the message application server through the MAAP, and the message application server forwards the chain type message to the corresponding target client after receiving the second request message.
  • the target client here may be a client that has subscribed to the "news event A" message.
  • the message sending end may further include: the message sending end displays a list of chain type message names, so that the user can select from the chain type message name list. Select the first target chain type message name in the type message name list; the message sending end obtains the first target chain type message name selected by the user, and makes the first request message carry the first target chain type message name.
  • the message sending end is used as an example for illustration.
  • the first client displays a chain type message name list on the user interface, and user A selects the name of the chain type message to be obtained from the chain type message name list, and the first client obtains the name selected by user A, and sends the user A
  • the name selected by A is used as the name of the first target chain type message.
  • the message sending method provided by the embodiment of the present application may further include the following steps: the message sending end displays a list of chain-type message names, so that the user selects a second target chain-type message name from the list of chain-type message names; The message sending end obtains the second target chain type message name selected by the user, and obtains at least one target message selected locally by the user; the message sending end sends a third request message to the chain type message server, and the The third request message carries the second target chain type message name and the target message, so that the chain type message server adds the target message to the chain type corresponding to the second target chain type message name in the news.
  • the message sending end is the first client.
  • the first client When user A of the first client wants to add a new message to the chain type message, the first client is triggered to display the chain type message name list on the user interface through a preset operation instruction, and user A selects from the chain type message name list Select the second target chain type message name; the first client obtains the second target chain type message name selected by the user, and at least one target message selected by the user locally, where the target message refers to the user wishing to add to the second target message The message of the chain type message corresponding to the chain type message name.
  • the first client sends a third request message to the chain type message server, and the third request message carries the second target chain type message name and target message selected by the user; the chain type message server receives the third request message After the message is requested, a processing step of adding the target message to the chain type message corresponding to the name of the second target chain type message is performed.
  • the message sending method may further include: the message sending end responds to the user's new chain type message instruction, sending the message to the The chain type message server sends a fourth request message, so that the chain type message server creates a chain type message according to the fourth request message.
  • user A can choose to create a new chain type message.
  • user A can trigger a new chain-type message instruction on the first client through a preset operation command, and the first client sends a fourth chain-type message server to the chain-type message server in response to user A's new chain-type message instruction. request message, so that the chain type message server executes the processing steps of creating a chain type message according to the fourth request message.
  • the first client when the first client responds to the user's new chain type message instruction, it also obtains the setting information input by the user for the new chain type message instruction, and makes the fourth request
  • the message carries the setting information.
  • the setting information may include at least one of chain type message name, validity period and authority.
  • the first client responds to the new chain type message instruction of user A, and displays the setting interface of the chain type message, which may include the chain type message name, One or more of validity period and authority, user A sets and submits the above information in the setting interface, the first client obtains the setting information submitted by user A, and inserts the setting information into the fourth request message , make the chain type message server set the name, validity period and authority of the newly created chain type message according to the setting information submitted by user A.
  • the message sending end is a chatbot server, the above method steps are also applicable, and will not be repeated here.
  • the embodiment of the present application may further include the following steps before the message sending end displays the chain type message name list: the message sending end receives the keyword input by the user, and sends the keyword to the chain type message server , so that the chain type message server generates a chain type message name list according to the keyword; the message sending end receives the chain type message name list sent by the chain type message server.
  • the message sender as the first client for example.
  • User A inputs a keyword in the first client to obtain a list of chain type message names related to the keyword.
  • the first client sends the keyword to the chain type message server, and after receiving the keyword, the chain type message server searches for the relevant chain type according to the keyword message name, and generate a list of chain-type message names to return to the first client; after receiving the list of chain-type message names, the first client displays the list of chain-type message names matching the keyword input by the user. In this way, the user can quickly and easily select the target chain type message name.
  • the message sending end is a chatbot server, the above method steps are also applicable, and will not be repeated here.
  • the method in the embodiment of the present application may also include the following steps: the message sending end responds to the chain type message acquisition instruction input by the user for the current message title, and the message sending end sends a fifth request message to the chain type message server, the The fifth request message carries the current message header, so that the chain message server returns a second target chain message to the message sender according to the current message header.
  • the message sender continues to use the message sender as the first client for example. If the title of the message currently browsed by user A on the first client is the content of the previously constructed chain-type message, user A clicks on the current message title to trigger a chain-type message acquisition instruction on the first client, and the first client responds to the chain-type message type message acquisition instruction, sending a fifth request message to the chain type message server, where the fifth request message carries the current message title.
  • the chain type message server searches for the corresponding second target chain type message according to the current message title, and returns the second target chain type message to the first client. After receiving the second target link message returned by the link message server, the first client displays the second target link message. It should be noted that, when the message sending end is a chatbot server, the above method steps are also applicable, and will not be repeated here.
  • the method in the embodiment of the present application may further include the following steps: the message sending end responds to the message map acquisition instruction input by the user for the current chain type message, and the message sending end sends a sixth request message to the chain type message server,
  • the sixth request message carries the message name of the current chain message, so that the chain message server returns a message map to the message sender according to the message name.
  • the message sender As the first client for example.
  • User A wants to obtain the message map of the chain type message currently browsed on the first client, and can click on the current chain type message to trigger the message map acquisition instruction, and the first client responds to the message map acquisition instruction to the chain type message server Send a sixth request message, where the sixth request message carries the message name of the current chain type message.
  • the chain type message server searches for the corresponding chain type message according to the message name, and generates a message graph according to the found chain type message, and the chain type message server sends the generated message graph to the first client end.
  • the first client shows the message graph to user A, so that user A can conveniently sort out the context of events through the message graph.
  • Fig. 4 is a schematic structural diagram of a message graph provided by an embodiment of the present application.
  • the message graph includes a plurality of message nodes, and each message node includes at least one item of time information, message title and message content.
  • the message node may include a main node and multiple sub-nodes, the main node includes the current chain type message name and multiple short messages, and each short message may include time information and message title.
  • Multiple sub-nodes correspond one-to-one to multiple short messages in the main node, and each sub-node includes time information, message title and message content respectively.
  • Fig. 5 is a schematic diagram of a display style of a chain type message provided by an embodiment of the present application. After the first client, the second client or the chatbot server receive the chain type message from the chain type message server, the chain type message is displayed.
  • the display style of the chain type message can include the chain type message name and Multiple text messages. For the most recent newsletter, it can also be displayed in the form of graphics and text.
  • Fig. 6 is a schematic flowchart of another message sending method provided by the embodiment of the present application. Referring to Fig. 6, the method includes the following step S410.
  • the chain type message server receives a first request message sent by the message sender, where the first request message carries a first target chain type message name.
  • each chain type message includes a chain type message name and a plurality of associated messages.
  • the message sending end may be any client in the above-mentioned implementation environment, and may also be a Chatbot server in the above-mentioned implementation environment.
  • the structure of the chain type message in the chain type message server can be seen in FIG. 3 .
  • the structure of the chain type message includes the chain type message name, message identification (ID), creation time, validity period, authority, and message content. Please refer to the relevant description in Embodiment 1 for descriptions of various information in the chain type message structure, which will not be repeated here.
  • the chain-type message server acquires, according to the name of the first target chain-type message, a first target chain-type message matching the name of the first target chain-type message.
  • the chain type message server searches for the first target chain type message matching the first target chain type message name based on the first target chain type message name carried in the first request message.
  • the chain type message server sends the first target chain type message to the message sender, so that the message sender sends a second request message carrying at least one client identifier to the message application server, by The message server forwards the first target chain type message to the target client corresponding to the client identifier.
  • the chain type message server finds the first target chain type message matching the name of the first target chain type message, it returns the first target chain type message to the message sender, and the message sender sends a message carrying at least one client message to the message application server.
  • the message server forwards the first target chain type message to the target client corresponding to the client identifier.
  • steps S410 to S430 refer to the related descriptions of steps S210 to S230 above, which will not be repeated here.
  • the method provided by the embodiment of the present application may further include the following steps: the chain type message server receives a third request message sent by the message sending end, and the third request message carries the second target chain type message name and target message; the chain type message server adds the target message to the chain type message corresponding to the name of the second target chain type message.
  • the chain type message server receives the third request message sent by the message sender, it obtains the second target chain type message name and the target message from the third request message, and searches for the second target chain type message.
  • the chain type message corresponding to the message name, and add the target message to the found chain type message.
  • the method provided by the embodiment of the present application may further include: the chain type message server receiving the fourth request message sent by the message sending end; the chain type message server creating a new link according to the fourth request message type message, and configure the message identification ID for the new chain type message; wherein, the fourth request message carries the setting information input by the user for the new chain type message instruction, and the setting information includes the chain type message name, validity period and At least one of the permissions.
  • the chain-type message server performs related settings for the newly created chain-type message according to the setting information.
  • the method provided by the embodiment of the present application may further include: the chain type message server receiving the keyword sent by the message sending end; Word matching chain type message names, and generate a chain type message name list according to the found chain type message names; the chain type message server sends the chain type message name list to the message sending end.
  • the method provided by the embodiment of the present application may further include: the chain type message server receiving a fifth request message sent by the message sending end, the fifth request message carrying the current message title; the chain type The message server searches for a second target chain type message matching the current message title according to the current message title, and sends the found second target chain type message to the message sending end.
  • the method provided by the embodiment of the present application may further include: the chain type message server receiving a sixth request message sent by the message sending end, the sixth request message carrying the message name of the current chain type message;
  • the chain type message server determines the message identification ID matching the message name according to the message name;
  • the chain type message server searches for the chain type message according to the message ID, and searches for the chain type message according to the found chain type message Generate a message map;
  • the chain type message server sends the message map to the message sender; wherein, the message map includes a plurality of message nodes, and each message node includes time information, message title and message content at least one.
  • the message sender can send multiple associated messages to the chain-type message server to form a chain-type message and the chain-type message server will store the chain-type message.
  • the chain-type message server will store the chain-type message.
  • the structure provides message association and sorting functions for message sender users.
  • the message sender can send the first request message carrying the name of the first target chain type message to the chain type message server, so that the chain type message server returns the first target chain type message corresponding to the first target chain type message name message, and then the message sender sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier
  • a chain-type message that collects multiple related messages is delivered to the target client, so that the user of the target client can easily understand the development of the event or understand the content of the chat discussion through the chain-type message, improving user experience.
  • FIG. 7 shows a message sending terminal 500 provided by the embodiment of the present application.
  • the message sending end 500 includes but is not limited to: a memory 510 for storing programs; a processor 520 for executing the programs stored in the memory 510, and when the processor 520 executes the programs stored in the memory 510, processing
  • the device 520 is configured to execute the method for sending a message described in the first embodiment above.
  • the processor 520 and the memory 510 may be connected through a bus or in other ways.
  • the memory 510 can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the message sending method described in any embodiment of the present application.
  • the processor 520 executes the non-transitory software program and instructions stored in the memory 510 to implement the message sending method described in the first embodiment above.
  • the memory 510 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store the above-mentioned message sending method.
  • the memory 510 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices.
  • the memory 510 may include memory located remotely relative to the processor 520, and these remote memories may be connected to the processor 520 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the non-transitory software programs and instructions required to implement the above message sending method are stored in the memory 510, and when executed by one or more processors 520, execute the message sending method provided by any embodiment of the present application.
  • FIG. 8 shows a server 600 provided by an embodiment of the present application.
  • the server 600 includes but is not limited to: a memory 610 for storing programs; a processor 620 for executing the programs stored in the memory 610, when the processor 620 executes the programs stored in the memory 610, the processor 620 The method for executing the message sending described in the first embodiment above.
  • the processor 620 and the memory 610 may be connected through a bus or in other ways.
  • the memory 610 can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the message sending method described in any embodiment of the present application.
  • the processor 620 executes the non-transitory software programs and instructions stored in the memory 610 to implement the message sending method described in the first embodiment above.
  • the memory 610 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store the above-mentioned message sending method.
  • the memory 610 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices.
  • the memory 610 may include memory located remotely relative to the processor 620, and these remote memories may be connected to the processor 620 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the non-transitory software programs and instructions required to implement the above message sending method are stored in the memory 610, and when executed by one or more processors 620, execute the message sending method provided by any embodiment of the present application.
  • the embodiment of the present application also provides a storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute the above method for sending a message.
  • the storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more control processors, for example, executed by one or more processors in the above-mentioned message sending end, or executed by Execution by one or more processors in the server may cause the one or more processors to execute the method for sending a message provided in any embodiment of the present application.
  • the message sender can send multiple associated messages to the chain-type message server to form a chain-type message and the chain-type message server will store the chain-type message.
  • the chain-type message server will store the chain-type message.
  • the structure provides message association and sorting functions for message sender users.
  • the message sender can send the first request message carrying the name of the first target chain type message to the chain type message server, so that the chain type message server returns the first target chain type message corresponding to the first target chain type message name message, and then the message sender sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier
  • a chain-type message that collects multiple related messages is sent to the target client, so that the user of the target client can easily understand the development of the event or understand the content of the chat discussion through the chain-type message, which improves the user experience.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

Abstract

A message sending method, a message sending end, and a server. The method comprises: the message sending end sends a first request message to a chain type message server, the first request message carrying a first target chain type message name; the message sending end receives a first target chain type message returned by the chain type message server according to the first target chain type message name; the message sending end sends, to a message application server, a second request message carrying at least one client identifier, so that the message server forwards the first target chain type message to a target client corresponding to the client identifier.

Description

消息发送方法、消息发送端和服务器Message sending method, message sending end and server
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202110915580.7、申请日为2021年8月10日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202110915580.7 and a filing date of August 10, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请涉及通信技术领域,特别是涉及一种消息发送方法、消息发送端和服务器。The present application relates to the technical field of communication, in particular to a method for sending a message, a message sending end and a server.
背景技术Background technique
用户在使用社交软件时,如果想分享一次聊天过程,一般会发送聊天记录截图给对方,而完整的截图中可能包含大量的简单词语、聊天语气词、与聊天主题没有关的文字或者图片,这样就导致接收者不能快速了解聊天的主题或观点。如果以选择部分消息的形式进行发送,在消息时间跨度比较大的情况下,用户操作起来比较困难,并且不能跨联系人关联消息。When users use social software, if they want to share a chat process, they will generally send screenshots of the chat records to the other party, and the complete screenshots may contain a large number of simple words, chat particles, text or pictures that have nothing to do with the chat topic, so As a result, the receiver cannot quickly understand the topic or point of view of the chat. If the message is sent in the form of selecting a part of the message, it will be difficult for the user to operate when the time span of the message is relatively large, and the message cannot be associated across contacts.
另外,政务机关部门或企业通过社交软件对外发布的消息(新闻、通知、公告等),大多是零散、孤立的消息,接收者如欲了解前因后果,往往需要自行搜索相关资料,这样不仅浪费时间,而且搜索的资料不一定有用,导致用户体验下降。In addition, most of the news (news, notices, announcements, etc.) released by government agencies or enterprises through social software is scattered and isolated. If the recipient wants to understand the cause and effect, they often need to search for relevant information by themselves, which is not only a waste of time, Moreover, the searched information may not be useful, resulting in a decline in user experience.
发明内容Contents of the invention
本申请实施例提供一种消息发送方法、消息发送端、服务器和计算机可读存储介质。Embodiments of the present application provide a method for sending a message, a message sending end, a server, and a computer-readable storage medium.
第一方面,本申请实施例提供一种消息发送方法,所述方法包括:消息发送端向链类型消息服务器发送第一请求消息,其中,所述第一请求消息携带第一目标链类型消息名称,所述链类型消息服务器中存储有由所述消息发送端构建的至少一个链类型消息,每个所述链类型消息包括链类型消息名称和多条关联的消息;所述消息发送端接收所述链类型消息服务器根据所述第一目标链类型消息名称返回的第一目标链类型消息;所述消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,以使所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。In the first aspect, the embodiment of the present application provides a method for sending a message, the method comprising: the message sending end sends a first request message to the chain type message server, wherein the first request message carries the name of the first target chain type message , the chain type message server stores at least one chain type message constructed by the message sending end, each of the chain type messages includes a chain type message name and a plurality of associated messages; the message sending end receives the The first target chain type message returned by the chain type message server according to the name of the first target chain type message; the message sender sends a second request message carrying at least one client identifier to the message application server, so that the The message server forwards the first target chain type message to the target client corresponding to the client identifier.
第二方面,本申请实施例提供一种消息发送方法,所述方法包括:链类型消息服务器接收消息发送端发送的第一请求消息,所述第一请求消息携带第一目标链类型消息名称;所述链类型消息服务器根据所述第一目标链类型消息名称,获取与所述第一目标链类型消息名称匹配的第一目标链类型消息;所述链类型消息服务器将所述第一目标链类型消息发送给所述消息发送端,以使所述消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,由所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。In a second aspect, an embodiment of the present application provides a method for sending a message, the method including: the chain type message server receives a first request message sent by the message sending end, and the first request message carries the name of the first target chain type message; The chain type message server obtains the first target chain type message matching the first target chain type message name according to the first target chain type message name; the chain type message server sends the first target chain type message type message is sent to the message sender, so that the message sender sends a second request message carrying at least one client identifier to the message application server, and the message server forwards the first target chain type message to The target client corresponding to the client ID.
第三方面,本申请实施例提供一种消息发送端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如上第一方面提供的消息发送的方法。In the third aspect, the embodiment of the present application provides a message sending terminal, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the above The message sending method provided by the first aspect.
第四方面,本申请实施例提供一种服务器,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如上第二方面提供的消息发送的方法。In a fourth aspect, an embodiment of the present application provides a server, including: a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the above second The message sending method provided by the aspect.
第五方面,本申请实施例提供一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,实现如上第一方面或者第二方面提供的消息发送的方法。In the fifth aspect, the embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the method for sending a message as provided in the first or second aspect above is implemented.
附图说明Description of drawings
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation to the technical solution of the present application.
图1是本申请实施例提供的一种消息发送方法的实施环境示意图;FIG. 1 is a schematic diagram of an implementation environment of a message sending method provided by an embodiment of the present application;
图2是本申请实施例提供的一种消息发送方法的流程示意图;FIG. 2 is a schematic flowchart of a message sending method provided by an embodiment of the present application;
图3是本申请实施例的链类型消息服务器存储的链类型消息的结构示意图;3 is a schematic structural diagram of a chain type message stored by a chain type message server according to an embodiment of the present application;
图4是本申请实施例提供的一种链类型消息图谱示意图;Fig. 4 is a schematic diagram of a chain type message map provided by the embodiment of the present application;
图5是本申请实施例提供的一种链类型消息显示样式示意图;Fig. 5 is a schematic diagram of a chain type message display style provided by the embodiment of the present application;
图6是是本申请实施例提供的一种消息发送方法的流程示意图;FIG. 6 is a schematic flowchart of a message sending method provided by an embodiment of the present application;
图7是本申请实施例提供的一种消息发送端的结构示意图;FIG. 7 is a schematic structural diagram of a message sending end provided by an embodiment of the present application;
图8是本申请实施例提供的一种服务器的结构示意图。FIG. 8 is a schematic structural diagram of a server provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
应了解,在本申请实施例的描述中,如果有描述到“第一”、“第二”等只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示单独存在A、同时存在A和B、单独存在B的情况。其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项”及其类似表达,是指的这些项中的任意组,包括单项或复数项的任意组。例如,a、b和c中的至少一项可以表示:a,b,c,a和b,a和c,b和c,或者,a和b和c,其中a,b,c可以是单个,也可以是多个。It should be understood that in the description of the embodiments of the present application, if there are descriptions of "first", "second", etc., it is only for the purpose of distinguishing technical features, and should not be understood as indicating or implying relative importance or implicitly indicating The number of indicated technical features or implicitly indicates the order of the indicated technical features. "At least one" means one or more, and "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate that A exists alone, A and B exist simultaneously, or B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" and similar expressions refer to any group of these items, including any group of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or, a and b and c, where a, b, c can be a single , or more than one.
此外,下面所描述的本申请各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present application described below may be combined with each other as long as they do not constitute a conflict with each other.
本申请实施例提供了一种消息发送方法、消息发送端、服务器和计算机可读存储介质,能够实现将零散但有一定关联性的多个消息组合归纳为一个链类型消息,从而实现为消息发送端的用户提供消息关联及整理功能。还能够帮助接收链类型消息的目标客户端用户快速了解事件的前因后果、聊天讨论的主题。The embodiment of the present application provides a message sending method, a message sending end, a server, and a computer-readable storage medium, which can combine multiple scattered but related messages into a chain type message, thereby realizing message sending End users provide message association and sorting functions. It can also help target client users who receive chain-type messages to quickly understand the cause and effect of events and the topics of chat discussions.
为了方便本领域技术人员理解本申请实施例,下面先对本申请实施例提供的消息发送方法的实施环境进行说明。In order to make it easier for those skilled in the art to understand the embodiment of the present application, the implementation environment of the message sending method provided by the embodiment of the present application will be described below.
图1是本申请实施例提供的一种消息发送方法的实施环境示意图。参见图1,该实施环境中包括链类型消息服务器100、消息应用服务器(Instant message application server,IMAS)110、文件服务器120、消息即平台(Massage as a platfom,MAAP)130、聊天机器人(Chatbot)服务器140和多个客户端,在一些示例中,这里多个客户端包括第一客户端151和第二客户端152。其中,消息应用服务器110分别与链类型消息服务器100、MAAP130、文件服务器120通过有线网络或者无线网络交互连接,Chatbot服务器140与MAAP130通过有线网络或者无线网络交互连接,多个客户端分别通过有线网络或者无线网络与消息应用服务器110交互连接。FIG. 1 is a schematic diagram of an implementation environment of a message sending method provided by an embodiment of the present application. Referring to Fig. 1, the implementation environment includes a chain type message server 100, a message application server (Instant message application server, IMAS) 110, a file server 120, a message that is a platform (Massage as a platform, MAAP) 130, a chat robot (Chatbot) The server 140 and multiple clients, in some examples, the multiple clients here include a first client 151 and a second client 152 . Among them, the message application server 110 is interactively connected with the chain type message server 100, MAAP130, and file server 120 respectively through a wired network or a wireless network; the Chatbot server 140 is interactively connected with the MAAP130 through a wired network or a wireless network; Or the wireless network is interactively connected with the message application server 110 .
消息应用服务器110为用于实现即时消息各种应用服务的服务器。The message application server 110 is a server for implementing various application services of instant messages.
链类型消息服务器100用于接收各个消息发布端上传的链类型消息,并对链类型消息进行存储,以及提供链类型消息应用服务。The chain type message server 100 is used for receiving chain type messages uploaded by each message issuer, storing the chain type messages, and providing chain type message application services.
MAAP130为应用于第三方企业和用户之间消息传递的平台,基于RCS富媒体消息功能并结合使用聊天机器人(chatbot)、自然语言处理(NLP,Natural Language Processing)、人工智能(Artificial Intelligence,AI)等技术实现面向行业的消息服务平台。MAAP130 is a platform for messaging between third-party companies and users. It is based on RCS rich media message function and uses chatbot (chatbot), natural language processing (NLP, Natural Language Processing), artificial intelligence (Artificial Intelligence, AI) and other technologies to realize an industry-oriented message service platform.
chatbot服务器140用于提供行业客户向终端用户发送对话的服务,该服务通常基于人工智能软件,模拟人类智能对话,向用户提供特定的服务功能。The chatbot server 140 is used to provide a service for industry customers to send conversations to end users. The service is usually based on artificial intelligence software, simulating human intelligence conversations, and providing users with specific service functions.
文件服务器120用于提供文件服务,存储有诸如多媒体文件等文件。The file server 120 is used to provide file services and stores files such as multimedia files.
客户端是能够为用户提供对话服务的终端设备。客户端具体可以是具有无线通信功能的手持式设备、车载设备、可穿戴设备或计算设备。例如,手机(mobile phone)、平板电脑、笔记本电脑、台式计算机、智能手表等,但并不局限于此。A client is a terminal device that can provide dialogue services for users. Specifically, the client may be a handheld device, a vehicle-mounted device, a wearable device or a computing device with a wireless communication function. For example, mobile phone (mobile phone), tablet computer, laptop computer, desktop computer, smart watch, etc., but not limited thereto.
实施例一Embodiment one
图2是本申请实施例提供的一种消息发送方法的流程示意图。参见图2,本申请实施例提供的消息发送方法包括以下步骤S210。Fig. 2 is a schematic flowchart of a message sending method provided by an embodiment of the present application. Referring to FIG. 2 , the message sending method provided by the embodiment of the present application includes the following step S210.
S210,消息发送端向链类型消息服务器发送第一请求消息,其中,第一请求消息携带第一目标链类型消息名称,链类型消息服务器中存储有由所述消息发送端构建的至少一个链类型消息,每个链类型消息包括链类型消息名称和多条关联的消息。S210, the message sender sends a first request message to the chain type message server, wherein the first request message carries the name of the first target chain type message, and the chain type message server stores at least one chain type constructed by the message sender Messages, each chain type message includes a chain type message name and multiple associated messages.
需说明的是,本申请实施例的消息发送端可以是上述实施环境中的任意一个客户端,还可以是上述实施环境中的Chatbot服务器。It should be noted that the message sending end in this embodiment of the present application may be any client in the above-mentioned implementation environment, and may also be a Chatbot server in the above-mentioned implementation environment.
在一个具体的实施例中,消息发送端为上述实施环境中的第一客户端。第一客户端与链类型消息服务器之间的通过消息应用服务器进行交互,也就是说,第一客户端与链类型消息服务器之间的交互消息需通过消息应用服务器进行转发。In a specific embodiment, the message sender is the first client in the above implementation environment. The interaction between the first client and the chain-type message server is performed through the message application server, that is, the interaction messages between the first client and the chain-type message server need to be forwarded through the message application server.
第一客户端的用户可通过一次或多次的消息关联操作,将多条关联的消息发送给链类型消息服务器,以形成链类型消息并由链类型消息服务器对该链类型消息进行存储。该链类型消息包括链类型消息名称和多条关联的消息。这里多条关联的消息类型可以是聊天消息、多媒体文件(视频、音频或者图片等)、链接地址(例如新闻链接)中的任意一种或者多种组合。The user of the first client can send multiple associated messages to the chain message server through one or more message association operations, so as to form a chain message and store the chain message by the chain message server. The chain type message includes a chain type message name and a plurality of associated messages. Here, the multiple associated message types may be any one or a combination of chat messages, multimedia files (video, audio or pictures, etc.), link addresses (such as news links).
链类型消息服务器存储的链类型消息的结构可参见图3,该链类型消息的结构包括链类型消息名称、消息标识(ID)、创建时间、有效期、权限、消息内容。链类型消息结构中的各项信息说明如下。The structure of the chain type message stored by the chain type message server can be seen in FIG. 3 . The structure of the chain type message includes the chain type message name, message identification (ID), creation time, validity period, authority, and message content. Each item of information in the chain type message structure is described as follows.
消息名称:链类型消息的名称,一般以能概括链类型消息的关键字和句子进行命名。Message name: The name of the chain type message, generally named with keywords and sentences that can summarize the chain type message.
消息ID:标识一条链类型消息,可为UUID格式。Message ID: identifies a chain type message, which can be in UUID format.
创建时间:创建链类型消息的时间。Creation Time: The time when the chain type message was created.
有效期:链类型消息在有效期结束后自动删除。Validity period: Chain type messages are automatically deleted after the validity period ends.
权限:包括公开、转发、禁止转发、私有;公开为可被其他用户搜索、转发;转发为不能被搜索,但可以被转发;禁止转发为不能被搜索、禁止转发;私有为仅为自己可见。Permissions: including public, forwarding, forbidden forwarding, and private; public means that other users can search and forward; forwarding means that they cannot be searched, but can be forwarded; forbidden forwarding means that they cannot be searched and forwarded are prohibited; private means that they can only be seen by themselves.
消息内容:消息内容可以是一条或者多条消息的简讯;每条简讯包含时间、摘要(也可以是完整内容)、多媒体文件(可选)、链接地址(可选),简讯还可以包括另一条链类型消息。Message content: the content of the message can be a short message of one or more messages; each short message includes time, summary (or complete content), multimedia file (optional), link address (optional), and the short message can also include another Chain type message.
可以理解的是,第一客户端通过向链类型消息服务器发送第一请求消息来获取存储在链类型消息服务器的链类型消息。具体的,第一客户端可以通过消息应用服务器向链类型消息服务器发送第一请求消息,即第一客户端先将第一请求消息发送给消息应用服务器,消息应用服务器再将该第一请求消息转发给链类型消息服务器。It can be understood that the first client obtains the chain type message stored in the chain type message server by sending a first request message to the chain type message server. Specifically, the first client may send the first request message to the chain type message server through the message application server, that is, the first client first sends the first request message to the message application server, and the message application server then sends the first request message Forwarded to the chain type message server.
可以理解的是,第一客户端在向链类型消息服务器发送第一请求消息时,还在第一请求消息中插入请求获取的链类型消息的名称(即第一目标链类型消息名称),以使链类型消息服务器根据该第一目标链类型消息名称返回对应的链类型消息。It can be understood that, when the first client sends the first request message to the chain type message server, it also inserts the name of the chain type message requested to be acquired (ie, the name of the first target chain type message) in the first request message, so as to The chain type message server returns the corresponding chain type message according to the name of the first target chain type message.
在另一个具体的实施例中,消息发送端为chatbot服务器。chatbot服务器与链类型消息服务器之间通过MAPP和消息应用服务器进行交互,也就是说,第一客户端与链类型消息服务器之间的交互消息需通过MAPP和消息应用服务器进行转发。In another specific embodiment, the message sending end is a chatbot server. The chatbot server interacts with the chain-type message server through the MAPP and the message application server, that is, the interactive message between the first client and the chain-type message server needs to be forwarded through the MAPP and the message application server.
链类型消息服务器存储有由该chatbot服务器构建的链类型消息。该链类型消息包括链类型消息名称和多条关联的消息。这里多条关联的消息是由chatbot服务器选择关联的,例如对某个新闻事件的多条消息进行关联,或者对某个影视作品对应的多个多媒体文件进行关联。The chain type message server stores the chain type messages constructed by the chatbot server. The chain type message includes a chain type message name and a plurality of associated messages. The chatbot server chooses to associate multiple associated messages here, for example, associate multiple messages of a certain news event, or associate multiple multimedia files corresponding to a certain film and television work.
chatbot服务器可以通过MAAP、消息应用服务器将第一请求消息转发至链类型消息服务器。该第一请求消息携带chatbot服务器请求获取的链类型消息的名称(即第一目标链类型消息名称),以使链类型消息服务器根据该第一目标链类型消息名称返回对应的链类型消息。The chatbot server may forward the first request message to the chain-type message server through MAAP or the message application server. The first request message carries the name of the chain message requested by the chatbot server (namely the name of the first target chain message), so that the chain message server returns the corresponding chain message according to the first target chain message name.
需说明的是,当消息发送端仅包括chatbot服务器时,链类型消息服务器可以集成在chatbot服务器中,这种情况下,链类型消息服务器可以认为是chatbot服务器内部的一个模块,chatbot服务器可以直接与链类型消息服务器进行交互。It should be noted that when the message sending end only includes the chatbot server, the chain type message server can be integrated in the chatbot server. In this case, the chain type message server can be considered as a module inside the chatbot server, and the chatbot server can directly communicate with Chain type message server to interact.
S220,消息发送端接收所述链类型消息服务器根据所述第一目标链类型消息名称返回的第一目标链类型消息。S220. The message sending end receives the first target chain type message returned by the chain type message server according to the name of the first target chain type message.
可以理解的是,链类型消息服务器接收到来自消息发送端的第一请求消息后,从第一请求消息获取第一目标链类型消息名称,进而根据第一目标链类型消息名称获取对应的第一目标链类型消息,然后将第一目标链类型消息返回给消息发送端,消息发送端接收该来自链类型消息服务器的第一目标链类型消息。It can be understood that, after receiving the first request message from the message sender, the chain type message server obtains the first target chain type message name from the first request message, and then obtains the corresponding first target chain type message name according to the first target chain type message name chain type message, and then return the first target chain type message to the message sender, and the message sender receives the first target chain type message from the chain type message server.
S230,消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,以使所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。S230, the message sending end sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier .
可以理解的是,在消息发送端接收到链类型消息服务器返回的第一目标链类型消息后,可选择希望接收该第一目标链类型消息的目标客户端,然后将目标客户端的标识插入到第二 请求消息中,再将该携带客户端标识的第二请求消息发送给消息应用服务器,以由消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。It can be understood that after receiving the first target chain type message returned by the chain type message server, the message sender can select the target client that wants to receive the first target chain type message, and then insert the identity of the target client into the second In the second request message, the second request message carrying the client identifier is sent to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier.
在一个具体的实施例中,消息发送端为上述实施环境中的第一客户端,用户A通过第一客户端进行一次或多次操作,将多条关联的聊天消息上传至链类型消息服务器,以形成链类型消息,这里多条关联的聊天消息可以是用户A与一个或者多个通讯录联系人的聊天消息,例如包括了用户A与联系人甲、联系人乙的聊天消息,也就是说,可以跨联系人对聊天消息进行关联。具体操作时,用户A可以先将与联系人甲的聊天消息发送给链类型消息服务器,以将与联系人甲的聊天消息添加至名称为“聊天记录1”的链类型消息,再将与联系人乙的聊天消息发送给链类型消息服务器,以将与联系人乙的聊天消息添加至名称为“聊天记录1”的链类型消息。第一客户端向链类型消息服务器发送携带第一目标链类型消息名称“聊天记录1”的第一请求消息,链类型消息服务器收到该第一请求消息后,将名称为“聊天记录1”的链类型消息返回给第一客户端,用户A在第一客户端选择希望接收该链类型消息的目标客户端,第一客户端响应于用户选择的目标客户端,发送携带目标客户端的客户端标识的第二请求消息发送给消息应用服务器,以由消息服务器将所述第一目标链类型消息转发至目标客户端。假设目标客户端包括上述实施环境中的第二客户端,用户B通过第二客户端接收到由用户A发送的该链类型消息,可方便地理解用户A与联系人甲、乙的聊天内容。In a specific embodiment, the message sending end is the first client in the above-mentioned implementation environment, and user A performs one or more operations through the first client to upload multiple associated chat messages to the chain type message server, To form a chain-type message, the multiple associated chat messages here may be chat messages between user A and one or more contacts in the address book, for example, including chat messages between user A and contact A and contact B, that is to say , you can associate chat messages across contacts. In specific operations, user A can first send the chat message with contact A to the chain type message server, so as to add the chat message with contact A to the chain type message named "chat record 1", and then send the chat message with contact A to the chain type message server. The chat message of person B is sent to the chain type message server, so as to add the chat message with contact B to the chain type message named "chat record 1". The first client sends the first request message carrying the name of the first target chain type message "chat record 1" to the chain type message server. After receiving the first request message, the chain type message server sets the name as "chat record 1" The chain type message returned to the first client, user A selects the target client that wants to receive the chain type message on the first client, and the first client responds to the target client selected by the user and sends the client with the target client The identified second request message is sent to the message application server, so that the message server forwards the first target chain type message to the target client. Assuming that the target client includes the second client in the above implementation environment, user B receives the chain-type message sent by user A through the second client, and can easily understand the chat content between user A and contacts A and B.
需说明的是,在上述实施例中,仅以第一客户端发送链类型消息、第二客户端接收链类型消息为例进行说明,在一些实施例中,第二客户端也可以发送链类型消息,由第一客户端接收链类型消息,在一些实施例中,发送链类型消息的客户端与接收链类型消息的客户端也可以为相同的客户端,本申请实施例不对此进行具体限定。It should be noted that, in the above embodiments, only the first client sends a chain type message and the second client receives a chain type message as an example. In some embodiments, the second client can also send a chain type message. message, the first client receives the chain-type message. In some embodiments, the client that sends the chain-type message and the client that receives the chain-type message may also be the same client, which is not specifically limited in this embodiment of the present application .
在另一个具体的实施例中,消息发送端为上述实施环境中的chatbot服务器,用户可以通过管理终端登录chatbot服务器,将多条关联的消息(例如是新闻事件A的相关消息)通过一次或多次操作上传至链类型消息服务器,以形成链类型消息,并且随着新闻事件A的发展,可以不断上传新的相关消息至该链类型消息,以对该链类型消息进行更新。chatbot服务器通过向链类型消息服务器发送携带第一目标链类型消息名称“新闻事件A”的第一请求消息给链类型消息服务器,从链类型消息服务器获取关于新闻事件A的最新链类型消息,然后通过MAAP发送携带客户端标识的第二请求消息给消息应用服务器,消息应用服务器收到该第二请求消息后,转发该链类型消息给对应的目标客户端。应了解,这里的目标客户端可以是订阅了该“新闻事件A”消息的客户端。In another specific embodiment, the message sending end is the chatbot server in the above-mentioned implementation environment, and the user can log in the chatbot server through the management terminal, and send multiple associated messages (such as news related to event A) through one or more This operation is uploaded to the chain-type message server to form a chain-type message, and with the development of news event A, new related messages can be continuously uploaded to the chain-type message to update the chain-type message. The chatbot server sends the first request message carrying the first target chain type message name "news event A" to the chain type message server to the chain type message server, obtains the latest chain type message about news event A from the chain type message server, and then The second request message carrying the client identifier is sent to the message application server through the MAAP, and the message application server forwards the chain type message to the corresponding target client after receiving the second request message. It should be understood that the target client here may be a client that has subscribed to the "news event A" message.
可以理解的是,本申请实施例在所述消息发送端向链类型消息服务器发送第一请求消息之前,还可以包括:所述消息发送端显示链类型消息名称列表,以使用户从所述链类型消息名称列表中选择第一目标链类型消息名称;所述消息发送端获取所述用户选择的第一目标链类型消息名称,并使所述第一请求消息携带所述第一目标链类型消息名称。It can be understood that, before the message sending end sends the first request message to the chain type message server in the embodiment of the present application, it may further include: the message sending end displays a list of chain type message names, so that the user can select from the chain type message name list. Select the first target chain type message name in the type message name list; the message sending end obtains the first target chain type message name selected by the user, and makes the first request message carry the first target chain type message name.
这里以消息发送端为第一客户端进行举例说明。第一客户端在用户界面显示链类型消息名称列表,用户A从所述链类型消息名称列表中选择欲获取的链类型消息的名称,第一客户端获取用户A所选择的名称,并将用户A所选择的名称作为第一目标链类型消息名称。Here, the message sending end is used as an example for illustration. The first client displays a chain type message name list on the user interface, and user A selects the name of the chain type message to be obtained from the chain type message name list, and the first client obtains the name selected by user A, and sends the user A The name selected by A is used as the name of the first target chain type message.
本领域的技术人员应当理解,当消息发送端为chatbot服务器时,同样适用以上方法步骤,此处不再赘述。Those skilled in the art should understand that, when the message sending end is a chatbot server, the above method steps are also applicable, and details are not repeated here.
本申请实施例提供的消息发送方法还可以包括以下步骤:所述消息发送端显示链类型消 息名称列表,以使用户从所述链类型消息名称列表中选择第二目标链类型消息名称;所述消息发送端获取所述用户选择的第二目标链类型消息名称,并获取所述用户从本地选择的至少一个目标消息;所述消息发送端向所述链类型消息服务器发送第三请求消息,所述第三请求消息携带所述第二目标链类型消息名称和所述目标消息,以使所述链类型消息服务器将所述目标消息添加至与所述第二目标链类型消息名称对应的链类型消息中。The message sending method provided by the embodiment of the present application may further include the following steps: the message sending end displays a list of chain-type message names, so that the user selects a second target chain-type message name from the list of chain-type message names; The message sending end obtains the second target chain type message name selected by the user, and obtains at least one target message selected locally by the user; the message sending end sends a third request message to the chain type message server, and the The third request message carries the second target chain type message name and the target message, so that the chain type message server adds the target message to the chain type corresponding to the second target chain type message name in the news.
在一个具体的实施例中,消息发送端为第一客户端。当第一客户端的用户A希望添加新的消息至链类型消息时,通过预设的操作指令触发第一客户端在用户界面显示链类型消息名称列表,用户A从所述链类型消息名称列表中选择第二目标链类型消息名称;第一客户端获取用户选择的第二目标链类型消息名称,以及该用户从本地选择的至少一个目标消息,这里,目标消息指用户希望添加至与第二目标链类型消息名称对应的链类型消息的消息。第一客户端向所述链类型消息服务器发送第三请求消息,所述第三请求消息携带用户选择的第二目标链类型消息名称和目标消息;所述链类型消息服务器在接收到该第三请求消息后,执行将所述目标消息添加至与所述第二目标链类型消息名称对应的链类型消息中的处理步骤。In a specific embodiment, the message sending end is the first client. When user A of the first client wants to add a new message to the chain type message, the first client is triggered to display the chain type message name list on the user interface through a preset operation instruction, and user A selects from the chain type message name list Select the second target chain type message name; the first client obtains the second target chain type message name selected by the user, and at least one target message selected by the user locally, where the target message refers to the user wishing to add to the second target message The message of the chain type message corresponding to the chain type message name. The first client sends a third request message to the chain type message server, and the third request message carries the second target chain type message name and target message selected by the user; the chain type message server receives the third request message After the message is requested, a processing step of adding the target message to the chain type message corresponding to the name of the second target chain type message is performed.
应了解,在所述消息发送端显示链类型消息名称列表之前,本申请实施例提供的消息发送方法还可以包括:所述消息发送端响应于所述用户的新建链类型消息指令,向所述链类型消息服务器发送第四请求消息,以使所述链类型消息服务器根据所述第四请求消息新建链类型消息。It should be understood that, before the message sending end displays the chain type message name list, the message sending method provided in the embodiment of the present application may further include: the message sending end responds to the user's new chain type message instruction, sending the message to the The chain type message server sends a fourth request message, so that the chain type message server creates a chain type message according to the fourth request message.
这里继续以消息发送端为第一客户端进行举例说明。如果用户A认为已构建的链类型消息中没有适合当前目标消息添加的链类型消息,用户A可以选择新建一个链类型消息。具体实现时,用户A可通过预设的操作指令在第一客户端触发新建链类型消息指令,第一客户端响应于用户A的新建链类型消息指令,向所述链类型消息服务器发送第四请求消息,以使所述链类型消息服务器根据所述第四请求消息执行新建链类型消息的处理步骤。Here continue to use the message sender as the first client for illustration. If user A thinks that there is no chain type message suitable for adding the current target message among the constructed chain type messages, user A can choose to create a new chain type message. During specific implementation, user A can trigger a new chain-type message instruction on the first client through a preset operation command, and the first client sends a fourth chain-type message server to the chain-type message server in response to user A's new chain-type message instruction. request message, so that the chain type message server executes the processing steps of creating a chain type message according to the fourth request message.
本领域的技术人员应当理解,当消息发送端为chatbot服务器时,同样适用以上方法步骤,此处不再赘述。Those skilled in the art should understand that, when the message sending end is a chatbot server, the above method steps are also applicable, and details are not repeated here.
可以理解的是,当所述第一客户端响应于所述用户的新建链类型消息指令时,还获取所述用户针对所述新建链类型消息指令输入的设置信息,并使所述第四请求消息携带所述设置信息。这里,设置信息可以包括链类型消息名称、有效期和权限中的至少一项。It can be understood that when the first client responds to the user's new chain type message instruction, it also obtains the setting information input by the user for the new chain type message instruction, and makes the fourth request The message carries the setting information. Here, the setting information may include at least one of chain type message name, validity period and authority.
继续以消息发送端为第一客户端进行举例说明。当用户A在第一客户端触发新建链类型消息指令时,第一客户端响应于用户A的该新建链类型消息指令,显示链类型消息的设置界面,该设置界面可以包括链类型消息名称、有效期和权限中的一项或多项,用户A在该设置界面中对以上信息进行设置并提交,第一客户端获取用户A所提交的设置信息,并将该设置信息插入到第四请求消息中,使链类型消息服务器根据用户A提交的设置信息,对新建的链类型消息的名称、有效期和权限进行相应的设置。需说明的是,当消息发送端为chatbot服务器时,同样适用以上方法步骤,此处不再赘述。Continue to use the message sender as the first client for example. When user A triggers a new chain type message instruction on the first client, the first client responds to the new chain type message instruction of user A, and displays the setting interface of the chain type message, which may include the chain type message name, One or more of validity period and authority, user A sets and submits the above information in the setting interface, the first client obtains the setting information submitted by user A, and inserts the setting information into the fourth request message , make the chain type message server set the name, validity period and authority of the newly created chain type message according to the setting information submitted by user A. It should be noted that, when the message sending end is a chatbot server, the above method steps are also applicable, and will not be repeated here.
本申请实施例在所述消息发送端显示链类型消息名称列表之前,还可以包括以下步骤:所述消息发送端接收用户输入的关键词,并将所述关键词发送给所述链类型消息服务器,以使所述链类型消息服务器根据所述关键词生成链类型消息名称列表;所述消息发送端接收所述链类型消息服务器发送的所述链类型消息名称列表。The embodiment of the present application may further include the following steps before the message sending end displays the chain type message name list: the message sending end receives the keyword input by the user, and sends the keyword to the chain type message server , so that the chain type message server generates a chain type message name list according to the keyword; the message sending end receives the chain type message name list sent by the chain type message server.
继续以消息发送端为第一客户端进行举例说明。用户A在第一客户端中输入关键词,以 获取与关键词相关的链类型消息名称列表。第一客户端响应于用户A输入的关键词,将该关键词发送给所述链类型消息服务器,所述链类型消息服务器在接收到该关键词后,根据所述关键词查找相关的链类型消息名称,并生成链类型消息名称列表返回至第一客户端;第一客户端在接收到该链类型消息名称列表之后,对该与用户输入关键词匹配的链类型消息名称列表进行显示。这样,用户可快速、方便地选择目标链类型消息名称。需说明的是,当消息发送端为chatbot服务器时,同样适用以上方法步骤,此处不再赘述。Continue to use the message sender as the first client for example. User A inputs a keyword in the first client to obtain a list of chain type message names related to the keyword. In response to the keyword input by user A, the first client sends the keyword to the chain type message server, and after receiving the keyword, the chain type message server searches for the relevant chain type according to the keyword message name, and generate a list of chain-type message names to return to the first client; after receiving the list of chain-type message names, the first client displays the list of chain-type message names matching the keyword input by the user. In this way, the user can quickly and easily select the target chain type message name. It should be noted that, when the message sending end is a chatbot server, the above method steps are also applicable, and will not be repeated here.
本申请实施例的方法还可以包括以下步骤:所述消息发送端响应于用户针对当前消息标题输入的链类型消息获取指令,所述消息发送端向链类型消息服务器发送第五请求消息,所述第五请求消息携带所述当前消息标题,以使所述链类型消息服务器根据所述当前消息标题向所述消息发送端返回第二目标链类型消息。The method in the embodiment of the present application may also include the following steps: the message sending end responds to the chain type message acquisition instruction input by the user for the current message title, and the message sending end sends a fifth request message to the chain type message server, the The fifth request message carries the current message header, so that the chain message server returns a second target chain message to the message sender according to the current message header.
继续以消息发送端为第一客户端进行举例说明。如果用户A当前在第一客户端浏览的消息标题为此前构建的链类型消息的内容,用户A点击当前消息标题以在第一客户端触发链类型消息获取指令,第一客户端响应于该链类型消息获取指令,向链类型消息服务器发送第五请求消息,所述第五请求消息携带所述当前消息标题。链类型消息服务器根据所述当前消息标题查找对应的第二目标链类型消息,并向所述第一客户端返回第二目标链类型消息。第一客户端接收链类型消息服务器返回的第二目标链类型消息之后,对该第二目标链类型消息进行显示。需说明的是,当消息发送端为chatbot服务器时,同样适用以上方法步骤,此处不再赘述。Continue to use the message sender as the first client for example. If the title of the message currently browsed by user A on the first client is the content of the previously constructed chain-type message, user A clicks on the current message title to trigger a chain-type message acquisition instruction on the first client, and the first client responds to the chain-type message type message acquisition instruction, sending a fifth request message to the chain type message server, where the fifth request message carries the current message title. The chain type message server searches for the corresponding second target chain type message according to the current message title, and returns the second target chain type message to the first client. After receiving the second target link message returned by the link message server, the first client displays the second target link message. It should be noted that, when the message sending end is a chatbot server, the above method steps are also applicable, and will not be repeated here.
本申请实施例的方法还可以包括以下步骤:所述消息发送端响应于用户针对当前链类型消息输入的消息图谱获取指令,所述消息发送端向所述链类型消息服务器发送第六请求消息,所述第六请求消息携带所述当前链类型消息的消息名称,以使所述链类型消息服务器根据所述消息名称向所述消息发送端返回消息图谱。The method in the embodiment of the present application may further include the following steps: the message sending end responds to the message map acquisition instruction input by the user for the current chain type message, and the message sending end sends a sixth request message to the chain type message server, The sixth request message carries the message name of the current chain message, so that the chain message server returns a message map to the message sender according to the message name.
继续以消息发送端为第一客户端进行举例说明。用户A希望获取当前在第一客户端浏览的链类型消息的消息图谱,可以点击当前链类型消息以触发消息图谱获取指令,第一客户端响应于该消息图谱获取指令向所述链类型消息服务器发送第六请求消息,所述第六请求消息携带所述当前链类型消息的消息名称。所述链类型消息服务器根据所述消息名称查找对应的链类型消息,并根据查找到的链类型消息生成消息图谱,所述链类型消息服务器将生成的所述消息图谱发送给所述第一客户端。第一客户端向用户A展示该消息图谱,使用户A通过消息图谱方便地梳理事件脉络。Continue to use the message sender as the first client for example. User A wants to obtain the message map of the chain type message currently browsed on the first client, and can click on the current chain type message to trigger the message map acquisition instruction, and the first client responds to the message map acquisition instruction to the chain type message server Send a sixth request message, where the sixth request message carries the message name of the current chain type message. The chain type message server searches for the corresponding chain type message according to the message name, and generates a message graph according to the found chain type message, and the chain type message server sends the generated message graph to the first client end. The first client shows the message graph to user A, so that user A can conveniently sort out the context of events through the message graph.
图4是本申请实施例提供的一种消息图谱的结构示意图。参见图4,所述消息图谱包括多个消息节点,每个消息节点包括时间信息、消息标题和消息内容中的至少一项。其中,消息节点可以包括主节点和多个子节点,主节点包括当前链类型消息名称以及多条简讯,每条简讯可以包括时间信息和消息标题。多个子节点与主节点中的多条简讯一一对应,每个子节点分别包括时间信息、消息标题和消息内容。Fig. 4 is a schematic structural diagram of a message graph provided by an embodiment of the present application. Referring to FIG. 4 , the message graph includes a plurality of message nodes, and each message node includes at least one item of time information, message title and message content. Among them, the message node may include a main node and multiple sub-nodes, the main node includes the current chain type message name and multiple short messages, and each short message may include time information and message title. Multiple sub-nodes correspond one-to-one to multiple short messages in the main node, and each sub-node includes time information, message title and message content respectively.
图5是本申请实施例提供的一种链类型消息的显示样式示意图。第一客户端、第二客户端或者chatbot服务器接收到来自链类型消息服务器的链类型消息之后,对该链类型消息进行显示,参见图5,链类型消息的显示样式可以包括链类型消息名称以及多条简讯。对于发表时间最近的简讯,还可采用图文形式进行展示。Fig. 5 is a schematic diagram of a display style of a chain type message provided by an embodiment of the present application. After the first client, the second client or the chatbot server receive the chain type message from the chain type message server, the chain type message is displayed. Referring to Fig. 5, the display style of the chain type message can include the chain type message name and Multiple text messages. For the most recent newsletter, it can also be displayed in the form of graphics and text.
实施例二Embodiment two
图6是本申请实施例提供的另一种消息发送方法的流程示意图。参见图6,该方法包括以下步骤S410。Fig. 6 is a schematic flowchart of another message sending method provided by the embodiment of the present application. Referring to Fig. 6, the method includes the following step S410.
S410,链类型消息服务器接收消息发送端发送的第一请求消息,所述第一请求消息携带第一目标链类型消息名称。S410. The chain type message server receives a first request message sent by the message sender, where the first request message carries a first target chain type message name.
可以理解的是,链类型消息服务器中存储有由所述消息发送端构建的至少一个链类型消息,每个所述链类型消息包括链类型消息名称和多条关联的消息。这里,消息发送端可以是上述实施环境中的任意一个客户端,还可以是上述实施环境中的Chatbot服务器。It can be understood that at least one chain type message constructed by the message sending end is stored in the chain type message server, and each chain type message includes a chain type message name and a plurality of associated messages. Here, the message sending end may be any client in the above-mentioned implementation environment, and may also be a Chatbot server in the above-mentioned implementation environment.
链类型消息服务器中的链类型消息结构可参见图3,该链类型消息的结构包括链类型消息名称、消息标识(ID)、创建时间、有效期、权限、消息内容。关于链类型消息结构中的各项信息说明请参见实施例一中的相关描述,此处不再重复。The structure of the chain type message in the chain type message server can be seen in FIG. 3 . The structure of the chain type message includes the chain type message name, message identification (ID), creation time, validity period, authority, and message content. Please refer to the relevant description in Embodiment 1 for descriptions of various information in the chain type message structure, which will not be repeated here.
S420,所述链类型消息服务器根据所述第一目标链类型消息名称,获取与所述第一目标链类型消息名称匹配的第一目标链类型消息。S420. The chain-type message server acquires, according to the name of the first target chain-type message, a first target chain-type message matching the name of the first target chain-type message.
链类型消息服务器基于第一请求消息携带的第一目标链类型消息名称,查找与第一目标链类型消息名称匹配的第一目标链类型消息。The chain type message server searches for the first target chain type message matching the first target chain type message name based on the first target chain type message name carried in the first request message.
S430,所述链类型消息服务器将所述第一目标链类型消息发送给所述消息发送端,以使所述消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,由所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。S430, the chain type message server sends the first target chain type message to the message sender, so that the message sender sends a second request message carrying at least one client identifier to the message application server, by The message server forwards the first target chain type message to the target client corresponding to the client identifier.
链类型消息服务器查找到与第一目标链类型消息名称匹配的第一目标链类型消息之后,将该第一目标链类型消息返回给消息发送端,消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,由所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。After the chain type message server finds the first target chain type message matching the name of the first target chain type message, it returns the first target chain type message to the message sender, and the message sender sends a message carrying at least one client message to the message application server. The message server forwards the first target chain type message to the target client corresponding to the client identifier.
步骤S410至S430的具体的实现过程可参见前面步骤S210至S230的相关描述,此处不再赘述。For the specific implementation process of steps S410 to S430, refer to the related descriptions of steps S210 to S230 above, which will not be repeated here.
在一些示例中,本申请实施例提供的方法还可以包括以下步骤:所述链类型消息服务器接收所述消息发送端发送的第三请求消息,所述第三请求消息携带第二目标链类型消息名称和目标消息;所述链类型消息服务器将所述目标消息添加至与所述第二目标链类型消息名称对应的链类型消息中。In some examples, the method provided by the embodiment of the present application may further include the following steps: the chain type message server receives a third request message sent by the message sending end, and the third request message carries the second target chain type message name and target message; the chain type message server adds the target message to the chain type message corresponding to the name of the second target chain type message.
可以理解的是,链类型消息服务器接收到所述消息发送端发送的第三请求消息后,从所述第三请求消息获取第二目标链类型消息名称和目标消息,查找与第二目标链类型消息名称对应的链类型消息,并将目标消息添加到查找到的链类型消息中。It can be understood that after the chain type message server receives the third request message sent by the message sender, it obtains the second target chain type message name and the target message from the third request message, and searches for the second target chain type message. The chain type message corresponding to the message name, and add the target message to the found chain type message.
在一些示例中,本申请实施例提供的方法还可以包括:所述链类型消息服务器接收所述消息发送端发送的第四请求消息;所述链类型消息服务器根据所述第四请求消息新建链类型消息,并为新建的链类型消息配置消息标识ID;其中,所述第四请求消息携带用户针对所述新建链类型消息指令输入的设置信息,所述设置信息包括链类型消息名称、有效期和权限中的至少一项。链类型消息服务器根据该设置信息,对新建的链类型消息进行相关的设置。In some examples, the method provided by the embodiment of the present application may further include: the chain type message server receiving the fourth request message sent by the message sending end; the chain type message server creating a new link according to the fourth request message type message, and configure the message identification ID for the new chain type message; wherein, the fourth request message carries the setting information input by the user for the new chain type message instruction, and the setting information includes the chain type message name, validity period and At least one of the permissions. The chain-type message server performs related settings for the newly created chain-type message according to the setting information.
在一些示例中,本申请实施例提供的方法还可以包括:所述链类型消息服务器接收所述消息发送端发送的关键词;所述链类型消息服务器根据所述关键词,查找与所述关键词匹配的链类型消息名称,并根据查找到的链类型消息名称生成链类型消息名称列表;所述链类型消息服务器将所述链类型消息名称列表发送给所述消息发送端。In some examples, the method provided by the embodiment of the present application may further include: the chain type message server receiving the keyword sent by the message sending end; Word matching chain type message names, and generate a chain type message name list according to the found chain type message names; the chain type message server sends the chain type message name list to the message sending end.
在一些示例中,本申请实施例提供的方法还可以包括:所述链类型消息服务器接收所述消息发送端发送的第五请求消息,所述第五请求消息携带当前消息标题;所述链类型消息服务器根据所述当前消息标题,查找与所述当前消息标题匹配的第二目标链类型消息,并将查找到的第二目标链类型消息发送给所述消息发送端。In some examples, the method provided by the embodiment of the present application may further include: the chain type message server receiving a fifth request message sent by the message sending end, the fifth request message carrying the current message title; the chain type The message server searches for a second target chain type message matching the current message title according to the current message title, and sends the found second target chain type message to the message sending end.
在一些示例中,本申请实施例提供的方法还可以包括:所述链类型消息服务器接收所述消息发送端发送的第六请求消息,所述第六请求消息携带当前链类型消息的消息名称;所述链类型消息服务器根据所述消息名称,确定与所述消息名称匹配的消息标识I D;所述链类型消息服务器根据所述消息I D查找链类型消息,并根据查找到的链类型消息生成消息图谱;所述链类型消息服务器将所述消息图谱发送给所述消息发送端;其中,所述消息图谱包括多个消息节点,每个消息节点包括时间信息、消息标题和消息内容中的至少一项。In some examples, the method provided by the embodiment of the present application may further include: the chain type message server receiving a sixth request message sent by the message sending end, the sixth request message carrying the message name of the current chain type message; The chain type message server determines the message identification ID matching the message name according to the message name; the chain type message server searches for the chain type message according to the message ID, and searches for the chain type message according to the found chain type message Generate a message map; the chain type message server sends the message map to the message sender; wherein, the message map includes a plurality of message nodes, and each message node includes time information, message title and message content at least one.
需说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。It should be noted that, in the above embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本申请实施例,一方面,消息发送端可以将关联的多个消息发送至链类型消息服务器,以形成链类型消息并由链类型消息服务器对该链类型消息进行存储,通过这种链类型消息结构为消息发送端用户提供消息关联及整理功能。另一方面,消息发送端可以向链类型消息服务器发送携带第一目标链类型消息名称的第一请求消息,以使链类型消息服务器返回与第一目标链类型消息名称对应的第一目标链类型消息,然后消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,以使所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端,从而将集合了多条关联的消息的链类型消息投放给目标客户端,使得目标客户端的用户可以方便通过链类型消息了解事件发展脉络或者理解聊天讨论的内容,提升用户体验。In the embodiment of this application, on the one hand, the message sender can send multiple associated messages to the chain-type message server to form a chain-type message and the chain-type message server will store the chain-type message. Through this chain-type message The structure provides message association and sorting functions for message sender users. On the other hand, the message sender can send the first request message carrying the name of the first target chain type message to the chain type message server, so that the chain type message server returns the first target chain type message corresponding to the first target chain type message name message, and then the message sender sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier In this way, a chain-type message that collects multiple related messages is delivered to the target client, so that the user of the target client can easily understand the development of the event or understand the content of the chat discussion through the chain-type message, improving user experience.
图7示出了本申请实施例提供的一种消息发送端500。如图7所示,该消息发送端500包括但不限于:存储器510,用于存储程序;处理器520,用于执行存储器510存储的程序,当处理器520执行存储器510存储的程序时,处理器520用于执行上述实施例一描述的消息发送的方法。FIG. 7 shows a message sending terminal 500 provided by the embodiment of the present application. As shown in FIG. 7 , the message sending end 500 includes but is not limited to: a memory 510 for storing programs; a processor 520 for executing the programs stored in the memory 510, and when the processor 520 executes the programs stored in the memory 510, processing The device 520 is configured to execute the method for sending a message described in the first embodiment above.
处理器520和存储器510可以通过总线或者其他方式连接。The processor 520 and the memory 510 may be connected through a bus or in other ways.
存储器510作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序,如本申请任意实施例描述的消息发送的方法。处理器520通过运行存储在存储器510中的非暂态软件程序以及指令,从而实现上述实施例一描述的消息发送的方法。As a non-transitory computer-readable storage medium, the memory 510 can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the message sending method described in any embodiment of the present application. The processor 520 executes the non-transitory software program and instructions stored in the memory 510 to implement the message sending method described in the first embodiment above.
存储器510可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储执行上述的消息发送的方法。此外,存储器510可以包括高速随机存取存储器,还可以包括非暂态存储器,比如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器510可包括相对于处理器520远程设置的存储器,这些远程存储器可以通过网络连接至该处理器520。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组。The memory 510 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store the above-mentioned message sending method. In addition, the memory 510 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some implementations, the memory 510 may include memory located remotely relative to the processor 520, and these remote memories may be connected to the processor 520 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
实现上述的消息发送的方法所需的非暂态软件程序以及指令存储在存储器510中,当被一个或者多个处理器520执行时,执行本申请任意实施例提供的消息发送的方法。The non-transitory software programs and instructions required to implement the above message sending method are stored in the memory 510, and when executed by one or more processors 520, execute the message sending method provided by any embodiment of the present application.
图8示出了本申请实施例提供的一种服务器600。如图8所示,该服务器600包括但不 限于:存储器610,用于存储程序;处理器620,用于执行存储器610存储的程序,当处理器620执行存储器610存储的程序时,处理器620用于执行上述实施例一描述的消息发送的方法。FIG. 8 shows a server 600 provided by an embodiment of the present application. As shown in Figure 8, the server 600 includes but is not limited to: a memory 610 for storing programs; a processor 620 for executing the programs stored in the memory 610, when the processor 620 executes the programs stored in the memory 610, the processor 620 The method for executing the message sending described in the first embodiment above.
处理器620和存储器610可以通过总线或者其他方式连接。The processor 620 and the memory 610 may be connected through a bus or in other ways.
存储器610作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序,如本申请任意实施例描述的消息发送的方法。处理器620通过运行存储在存储器610中的非暂态软件程序以及指令,从而实现上述实施例一描述的消息发送的方法。As a non-transitory computer-readable storage medium, the memory 610 can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the message sending method described in any embodiment of the present application. The processor 620 executes the non-transitory software programs and instructions stored in the memory 610 to implement the message sending method described in the first embodiment above.
存储器610可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储执行上述的消息发送的方法。此外,存储器610可以包括高速随机存取存储器,还可以包括非暂态存储器,比如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器610可包括相对于处理器620远程设置的存储器,这些远程存储器可以通过网络连接至该处理器620。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组。The memory 610 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required by at least one function; the data storage area may store the above-mentioned message sending method. In addition, the memory 610 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 610 may include memory located remotely relative to the processor 620, and these remote memories may be connected to the processor 620 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
实现上述的消息发送的方法所需的非暂态软件程序以及指令存储在存储器610中,当被一个或者多个处理器620执行时,执行本申请任意实施例提供的消息发送的方法。The non-transitory software programs and instructions required to implement the above message sending method are stored in the memory 610, and when executed by one or more processors 620, execute the message sending method provided by any embodiment of the present application.
本申请实施例还提供了一种存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述的消息发送的方法。The embodiment of the present application also provides a storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute the above method for sending a message.
在一实施例中,该存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个控制处理器执行,比如,被上述消息发送端中的一个或多个处理器执行,或者被上述服务器中的一个或多个处理器执行,可使得上述一个或多个处理器执行本申请任意实施例提供的消息发送的方法。In one embodiment, the storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more control processors, for example, executed by one or more processors in the above-mentioned message sending end, or executed by Execution by one or more processors in the server may cause the one or more processors to execute the method for sending a message provided in any embodiment of the present application.
本申请实施例,一方面,消息发送端可以将关联的多个消息发送至链类型消息服务器,以形成链类型消息并由链类型消息服务器对该链类型消息进行存储,通过这种链类型消息结构为消息发送端用户提供消息关联及整理功能。另一方面,消息发送端可以向链类型消息服务器发送携带第一目标链类型消息名称的第一请求消息,以使链类型消息服务器返回与第一目标链类型消息名称对应的第一目标链类型消息,然后消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,以使所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端,从而将集合了多条关联的消息的链类型消息投放给目标客户端,使得目标客户端的用户可以方便通过链类型消息了解事件发展脉络或者理解聊天讨论的内容,提升了用户体验。In the embodiment of this application, on the one hand, the message sender can send multiple associated messages to the chain-type message server to form a chain-type message and the chain-type message server will store the chain-type message. Through this chain-type message The structure provides message association and sorting functions for message sender users. On the other hand, the message sender can send the first request message carrying the name of the first target chain type message to the chain type message server, so that the chain type message server returns the first target chain type message corresponding to the first target chain type message name message, and then the message sender sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier In this way, a chain-type message that collects multiple related messages is sent to the target client, so that the user of the target client can easily understand the development of the event or understand the content of the chat discussion through the chain-type message, which improves the user experience.
以上所描述的实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理 器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包括计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
以上是对本申请的一些实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的共享条件下还可作出种种等同的变形或替换,这些等同的变形或替换均包括在本申请权利要求所限定的范围内。The above is a specific description of some implementations of the present application, but the present application is not limited to the above-mentioned embodiments, and those skilled in the art can also make various equivalent deformations or replacements without violating the sharing conditions of the scope of the present application. Equivalent modifications or replacements are all within the scope defined by the claims of the present application.

Claims (18)

  1. 一种消息发送方法,所述方法包括:A message sending method, the method comprising:
    消息发送端向链类型消息服务器发送第一请求消息,其中,所述第一请求消息携带第一目标链类型消息名称,所述链类型消息服务器中存储有由所述消息发送端构建的至少一个链类型消息,每个所述链类型消息包括链类型消息名称和多条关联的消息;The message sender sends a first request message to the chain-type message server, wherein the first request message carries the name of the first target chain-type message, and the chain-type message server stores at least one message constructed by the message sender. Chain type messages, each of which includes a chain type message name and a plurality of associated messages;
    所述消息发送端接收所述链类型消息服务器根据所述第一目标链类型消息名称返回的第一目标链类型消息;The message sending end receives the first target chain type message returned by the chain type message server according to the name of the first target chain type message;
    所述消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,以使所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。The message sending end sends a second request message carrying at least one client identifier to the message application server, so that the message server forwards the first target chain type message to the target client corresponding to the client identifier .
  2. 根据权利要求1所述的方法,其中,在所述消息发送端向链类型消息服务器发送第一请求消息之前,所述方法还包括:The method according to claim 1, wherein, before the message sending end sends the first request message to the chain type message server, the method further comprises:
    所述消息发送端显示链类型消息名称列表,以使用户从所述链类型消息名称列表中选择第一目标链类型消息名称;The message sending end displays a chain type message name list, so that the user selects a first target chain type message name from the chain type message name list;
    所述消息发送端获取所述用户选择的第一目标链类型消息名称,并使所述第一请求消息携带所述第一目标链类型消息名称。The message sending end obtains the first target chain type message name selected by the user, and makes the first request message carry the first target chain type message name.
  3. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    所述消息发送端显示链类型消息名称列表,以使用户从所述链类型消息名称列表中选择第二目标链类型消息名称;The message sending end displays a chain type message name list, so that the user selects a second target chain type message name from the chain type message name list;
    所述消息发送端获取所述用户选择的第二目标链类型消息名称,并获取所述用户从本地选择的至少一个目标消息;The message sending end obtains the name of the second target chain type message selected by the user, and obtains at least one target message locally selected by the user;
    所述消息发送端向所述链类型消息服务器发送第三请求消息,所述第三请求消息携带所述第二目标链类型消息名称和所述目标消息,以使所述链类型消息服务器将所述目标消息添加至与所述第二目标链类型消息名称对应的链类型消息中。The message sending end sends a third request message to the chain type message server, and the third request message carries the name of the second target chain type message and the target message, so that the chain type message server sends the The target message is added to the chain type message corresponding to the name of the second target chain type message.
  4. 根据权利要求3所述的方法,其中,在所述消息发送端显示链类型消息名称列表之前,所述方法还包括:The method according to claim 3, wherein, before the message sending end displays a chain type message name list, the method further comprises:
    所述消息发送端响应于所述用户的新建链类型消息指令,向所述链类型消息服务器发送第四请求消息,以使所述链类型消息服务器根据所述第四请求消息新建链类型消息。The message sending end sends a fourth request message to the chain message server in response to the user's instruction to create a chain message, so that the chain message server creates a chain message according to the fourth request message.
  5. 根据权利要求4所述的方法,其中,当所述消息发送端响应于所述用户的新建链类型消息指令,还获取所述用户针对所述新建链类型消息指令输入的设置信息,并使所述第四请求消息携带所述设置信息;The method according to claim 4, wherein, when the message sending end responds to the user's new chain type message instruction, it also obtains the setting information input by the user for the new chain type message instruction, and makes the The fourth request message carries the setting information;
    所述设置信息包括链类型消息名称、有效期和权限中的至少一项。The setting information includes at least one of chain type message name, validity period and authority.
  6. 根据权利要求2或3所述的方法,其中,在所述消息发送端显示链类型消息名称列表之前,所述方法还包括:The method according to claim 2 or 3, wherein, before the message sending end displays a chain type message name list, the method further comprises:
    所述消息发送端接收用户输入的关键词,并将所述关键词发送给所述链类型消息服务器,以使所述链类型消息服务器根据所述关键词生成链类型消息名称列表;The message sending end receives the keyword input by the user, and sends the keyword to the chain type message server, so that the chain type message server generates a chain type message name list according to the keyword;
    所述消息发送端接收所述链类型消息服务器发送的所述链类型消息名称列表。The message sending end receives the chain type message name list sent by the chain type message server.
  7. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    所述消息发送端响应于用户针对当前消息标题输入的链类型消息获取指令,所述消息发 送端向链类型消息服务器发送第五请求消息,所述第五请求消息携带所述当前消息标题,以使所述链类型消息服务器根据所述当前消息标题向所述消息发送端返回第二目标链类型消息。The message sending end responds to the chain type message acquisition instruction input by the user for the current message title, and the message sending end sends a fifth request message to the chain type message server, and the fifth request message carries the current message title to The chain type message server returns a second target chain type message to the message sending end according to the current message title.
  8. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    所述消息发送端响应于用户针对当前链类型消息输入的消息图谱获取指令,所述消息发送端向所述链类型消息服务器发送第六请求消息,所述第六请求消息携带所述当前链类型消息的消息名称,以使所述链类型消息服务器根据所述消息名称向所述消息发送端返回消息图谱;The message sender sends a sixth request message to the chain type message server in response to the message map acquisition instruction input by the user for the current chain type message, and the sixth request message carries the current chain type The message name of the message, so that the chain type message server returns a message map to the message sending end according to the message name;
    所述消息图谱包括多个消息节点,每个消息节点包括时间信息、消息标题和消息内容中的至少一项。The message graph includes a plurality of message nodes, and each message node includes at least one item of time information, message title and message content.
  9. 根据权利要求1所述的方法,其中,所述消息发送端为客户端或者聊天机器人Chatbot服务器。The method according to claim 1, wherein the message sending end is a client or a Chatbot server.
  10. 一种消息发送方法,包括:A message sending method, comprising:
    链类型消息服务器接收消息发送端发送的第一请求消息,所述第一请求消息携带第一目标链类型消息名称;The chain type message server receives the first request message sent by the message sender, and the first request message carries the name of the first target chain type message;
    所述链类型消息服务器根据所述第一目标链类型消息名称,获取与所述第一目标链类型消息名称匹配的第一目标链类型消息;The chain type message server obtains the first target chain type message matching the name of the first target chain type message according to the name of the first target chain type message;
    所述链类型消息服务器将所述第一目标链类型消息发送给所述消息发送端,以使所述消息发送端向消息应用服务器发送携带至少一个客户端标识的第二请求消息,由所述消息服务器将所述第一目标链类型消息转发至与所述客户端标识对应的目标客户端。The chain type message server sends the first target chain type message to the message sender, so that the message sender sends a second request message carrying at least one client identifier to the message application server, and the The message server forwards the first target chain type message to the target client corresponding to the client identifier.
  11. 根据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    所述链类型消息服务器接收所述消息发送端发送的第三请求消息,所述第三请求消息携带第二目标链类型消息名称和目标消息;The chain type message server receives a third request message sent by the message sender, and the third request message carries a second target chain type message name and target message;
    所述链类型消息服务器将所述目标消息添加至与所述第二目标链类型消息名称对应的链类型消息中。The chain type message server adds the target message to the chain type message corresponding to the name of the second target chain type message.
  12. 据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    所述链类型消息服务器接收所述消息发送端发送的第四请求消息;The chain type message server receives the fourth request message sent by the message sender;
    所述链类型消息服务器根据所述第四请求消息新建链类型消息,并为新建的链类型消息配置消息标识ID;The chain type message server creates a new chain type message according to the fourth request message, and configures a message identification ID for the newly created chain type message;
    其中,所述第四请求消息携带用户针对所述新建链类型消息指令输入的设置信息,所述设置信息包括链类型消息名称、有效期和权限中的至少一项。Wherein, the fourth request message carries setting information entered by the user for the instruction of creating a new chain type message, and the setting information includes at least one of a chain type message name, validity period, and authority.
  13. 据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    所述链类型消息服务器接收所述消息发送端发送的关键词;The chain type message server receives the keyword sent by the message sender;
    所述链类型消息服务器根据所述关键词,查找与所述关键词匹配的链类型消息名称,并根据查找到的链类型消息名称生成链类型消息名称列表;The chain type message server searches for the chain type message name matching the keyword according to the keyword, and generates a chain type message name list according to the found chain type message name;
    所述链类型消息服务器将所述链类型消息名称列表发送给所述消息发送端。The chain type message server sends the chain type message name list to the message sender.
  14. 据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    所述链类型消息服务器接收所述消息发送端发送的第五请求消息,所述第五请求消息携带当前消息标题;The chain type message server receives a fifth request message sent by the message sender, and the fifth request message carries a current message title;
    所述链类型消息服务器根据所述当前消息标题,查找与所述当前消息标题匹配的第二目 标链类型消息,并将查找到的第二目标链类型消息发送给所述消息发送端。The chain type message server searches for a second target chain type message matching the current message title according to the current message title, and sends the found second target chain type message to the message sending end.
  15. 据权利要求10所述的方法,还包括:The method of claim 10, further comprising:
    所述链类型消息服务器接收所述消息发送端发送的第六请求消息,所述第六请求消息携带当前链类型消息的消息名称;The chain type message server receives the sixth request message sent by the message sender, and the sixth request message carries the message name of the current chain type message;
    所述链类型消息服务器根据所述消息名称,确定与所述消息名称匹配的消息标识ID;The chain type message server determines the message identification ID matching the message name according to the message name;
    所述链类型消息服务器根据所述消息ID查找链类型消息,并根据查找到的链类型消息生成消息图谱;The chain type message server searches for a chain type message according to the message ID, and generates a message map according to the found chain type message;
    所述链类型消息服务器将所述消息图谱发送给所述消息发送端;The chain type message server sends the message graph to the message sender;
    所述消息图谱包括多个消息节点,每个消息节点包括时间信息、消息标题和消息内容中的至少一项。The message graph includes a plurality of message nodes, and each message node includes at least one item of time information, message title and message content.
  16. 一种消息发送端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时,实现如权利要求1-9任一项所述的消息发送方法。A message sending terminal, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the computer program, the implementation of claim 1 - The message sending method described in any one of 9.
  17. 一种服务器,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时,实现如权利要求10-15任一项所述的消息发送方法。A server, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the computer program, the implementation of claims 10-15 Any one of the message sending methods.
  18. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时,实现如权利要求1-15任一项所述的消息发送方法。A computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor, the message sending method according to any one of claims 1-15 is implemented.
PCT/CN2022/091259 2021-08-10 2022-05-06 Message sending method, message sending end, and server WO2023015982A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110915580.7 2021-08-10
CN202110915580.7A CN115706720A (en) 2021-08-10 2021-08-10 Message sending method, message sending end and server

Publications (1)

Publication Number Publication Date
WO2023015982A1 true WO2023015982A1 (en) 2023-02-16

Family

ID=85179613

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091259 WO2023015982A1 (en) 2021-08-10 2022-05-06 Message sending method, message sending end, and server

Country Status (2)

Country Link
CN (1) CN115706720A (en)
WO (1) WO2023015982A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852111A (en) * 2006-01-05 2006-10-25 华为技术有限公司 Information accessing method in immediate communication
US20110196734A1 (en) * 2010-02-09 2011-08-11 Intuit Inc. Technique for recommending advertising messages
CN106570102A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Intelligent chat method, apparatus and terminal
CN109873745A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Communication control method, device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852111A (en) * 2006-01-05 2006-10-25 华为技术有限公司 Information accessing method in immediate communication
US20110196734A1 (en) * 2010-02-09 2011-08-11 Intuit Inc. Technique for recommending advertising messages
CN106570102A (en) * 2016-10-31 2017-04-19 努比亚技术有限公司 Intelligent chat method, apparatus and terminal
CN109873745A (en) * 2017-12-01 2019-06-11 腾讯科技(深圳)有限公司 Communication control method, device and storage medium

Also Published As

Publication number Publication date
CN115706720A (en) 2023-02-17

Similar Documents

Publication Publication Date Title
US10291560B2 (en) Integrated real-time email-based virtual conversation
US10182028B1 (en) Method and system for storing real-time communications in an email inbox
JP6427159B2 (en) Interacting with spreadsheets using text messages
JP5674665B2 (en) System and method for collaborative short message and discussion
US20100312836A1 (en) Traversing between electronic mail and real time communications
US9807143B2 (en) Systems and methods for event routing and correlation
CN102769640B (en) The update method of user profile, server and system
JP2006236319A (en) Method and system for aggregating communication destination information from a plurality of communication destination sources
JP2012502371A5 (en) System and method for collaborative short message and discussion
US8230031B2 (en) System and method for providing enhanced instant messaging
US20240020305A1 (en) Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content
US8719357B2 (en) Method and apparatus for managing message
WO2018133824A1 (en) Content sharing method and device
KR20210122309A (en) Composing social media messages that refer to multiple messages
US8301581B2 (en) Group compositing algorithms for presence
US11343114B2 (en) Group management in a messaging service
US20150312235A1 (en) Methods for generating and publishing a web site based on selected items and devices thereof
US20230379277A1 (en) Mail processing method and apparatus, device and medium
US11184451B2 (en) Intelligently delivering notifications including summary of followed content and related content
US8977607B1 (en) System and method for threading electronic messages
US10956872B2 (en) Message handling
WO2023015982A1 (en) Message sending method, message sending end, and server
US11115351B2 (en) Managing email content in an activity stream
US11349800B2 (en) Integration of an email, service and a messaging service
US20220027559A1 (en) Categorizing conversations for a messaging service

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: 22854978

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE