CN117857489A - Processing method, system and storage medium for aggregating three-party chat messages - Google Patents

Processing method, system and storage medium for aggregating three-party chat messages Download PDF

Info

Publication number
CN117857489A
CN117857489A CN202311721489.7A CN202311721489A CN117857489A CN 117857489 A CN117857489 A CN 117857489A CN 202311721489 A CN202311721489 A CN 202311721489A CN 117857489 A CN117857489 A CN 117857489A
Authority
CN
China
Prior art keywords
message
chat
aggregated
party
platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311721489.7A
Other languages
Chinese (zh)
Inventor
任仕康
周桐
晋鹏
方鑫龙
徐彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Mengxin Information Technology Co ltd
Original Assignee
Anhui Mengxin Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Mengxin Information Technology Co ltd filed Critical Anhui Mengxin Information Technology Co ltd
Priority to CN202311721489.7A priority Critical patent/CN117857489A/en
Publication of CN117857489A publication Critical patent/CN117857489A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a processing method, a system and a storage medium for aggregating three-party chat messages, wherein the processing method for aggregating the three-party chat messages comprises the following steps: step 100, acquiring shop account authorization of a merchant on a three-party platform and binding the shop account authorization to an aggregated chat account; step 200, acquiring a message from an aggregated chat account or a three-party platform, and identifying the content of the message; and 300, extracting the message content, converting the message body format according to the message sending object, and then sending the message to an aggregated chat account or a three-party platform. The processing method provided by the invention greatly reduces the platform switching time cost of the user and improves the convenience of user message processing; and meanwhile, the system has higher expandability.

Description

Processing method, system and storage medium for aggregating three-party chat messages
Technical Field
The invention belongs to the technical field of business order data processing, and particularly relates to a processing method, a system and a storage medium for aggregating three-party chat messages.
Background
At present, users often use three-party platforms such as beautiful groups, hungry groups and the like for consumption in the daily consumption process. The three-party platform provides an instant message function in the platform for meeting the communication requirement of the user and the merchant, and the user can directly chat with the store merchant on the three-party platform. And as a merchant needs to log in different three-party store platforms and switch different platform store account numbers to process chat messages, the message processing is slow, the message receiving and replying are not timely, and the efficiency is low. The unified management and maintenance of multiple three-party platform store accounts by a single merchant is difficult.
Disclosure of Invention
The application provides a processing method, a system and a storage medium for aggregating three-party chat messages aiming at the technical problems, and the specific technical scheme is as follows:
the application provides a processing method for aggregating three-party chat messages, which comprises the following steps:
step 100, acquiring shop account authorization of a merchant on a three-party platform and binding the shop account authorization to an aggregated chat account;
step 200, acquiring a message from an aggregated chat account or a three-party platform, and identifying the content of the message;
and 300, extracting the message content, converting the message body format according to the message sending object, and then sending the message to an aggregated chat account or a three-party platform.
Further, the message content identified in the step 200 includes text, picture, voice, video, aite, location, commodity card, order card, and a three-party platform corresponding to the message content sent or received.
Further, in step 300, the message body format sent by or to the aggregated chat account includes at least a text type representing the characteristics of the three-party platform.
Further, in step 300, the message is encrypted before being sent to the three-party platform, or decrypted after being received from the three-party platform.
Another object of the present application is to provide a system for aggregating three-party chat messages, the system being configured to implement the processing method, the system including:
a client configured to obtain a merchant account authorization for a merchant on a three-party platform and to bind to an aggregated chat account;
the server side is configured to communicate information with the client side and acquire the information of the three-party platform, and is used for acquiring the information from the aggregated chat account or the three-party platform, extracting the information content after identifying the information content, and transmitting the information to the aggregated chat account or the three-party platform after converting the information body format according to the information transmitting object.
Further, the client includes:
the store authorization module is used for acquiring platform store account authorization mastered by the aggregated chat user;
the store binding module is used for inquiring and managing different store account information which is required to be received by the aggregated chat user by different three-party platforms;
and the chat module is used for receiving the message and sending the message.
Further, the client further includes:
the session management module is used for inquiring the historical chat session of the user;
the historical message query module is used for querying historical messages of all historical sessions of the three-party platform stores managed by the aggregated chat user;
the order detail module is used for inquiring and managing order information carried by the current session;
the setting module comprises inquiry and management of message non-reply automatic reminding and message non-reply automatic replying and inquiry and management of whether a store pushes a message switch or not.
It is a further object of the present application to provide a storage medium storing a computer program which, when run on a computer, causes the computer to perform the described processing method.
The beneficial effects of the invention are as follows: the processing method provided by the invention can realize the aggregation management of different platform messages by authorizing and binding the three-party platform stores to the aggregation chat account, and simultaneously carries out the chat functions of the three-party platform stores through the unified aggregation chat platform, thereby greatly reducing the platform switching time cost of users and improving the convenience of user message processing; and meanwhile, the identification of message content and the conversion of message bodies are carried out between the aggregated chat account and the three-party platform, the message is analyzed by the server side and then converted into the message body format of the aggregated chat system specification, and the message body format is sent to the aggregated chat system app application, so that the server side can update the logic of the analysis message rule according to market change, and the expandability is greatly improved.
Drawings
FIG. 1 illustrates a relationship of a prior merchant to a three-party platform;
FIG. 2 illustrates a merchant and three-party platform in this embodiment;
FIG. 3 is a schematic diagram of the logic architecture of the aggregate chat system in the present embodiment;
fig. 4 shows a daily interface screenshot of the present aggregated chat system.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the embodiments.
Examples
Noun interpretation
Three-party chat platform: including but not limited to, a native chat platform supporting IM, starved, etc.;
three-way open platform: including but not limited to, a group opening platform, a group flash opening platform, a how open platform is starved, a how retail opening platform is starved;
three-party platform user: including but not limited to, a beauty team, hungry, platform C end user making purchases at the relevant store and initiating chat to the store;
three-party platform store: the method comprises the steps of but not limited to a business store of a resident merchant who is beautiful and hungry, selling goods on the platform, opening an IM instant chat function and receiving a user message of a three-party platform;
service provider and open platform application: a main body with certain development capability enters a three-party platform and creates an open platform application, and related operations can be carried out on an authorized store through an interface provided by the open platform;
a merchant: a main body for carrying out online operation on a plurality of platform store account numbers with a plurality of three-party platforms;
aggregating chat users: a user of the aggregated chat system has account rights of a plurality of stores with three-party platforms, the account rights are bound to corresponding open platform applications, and messages pushed by the three-party platforms are received by the aggregated chat system, so that the messages are forwarded to the corresponding aggregated chat by certain distribution logic.
The embodiment firstly records a processing method for aggregating the three-party chat messages, and the processing method comprises the following steps:
step 100, acquiring shop account authorization of a merchant on a three-party platform and binding the shop account authorization to an aggregated chat account, establishing long connection between the aggregated chat account and the three-party platform, providing that a message is sent to the three-party platform as an uplink message, and receiving the message of the three-party platform as a downlink message;
step 200, obtaining a message from a user (i.e. a merchant) or a three-party platform and identifying the content of the message;
and 300, extracting the message content, converting the format of the message body according to the uplink or downlink direction of the message, and then transmitting the message to a user or a three-party platform.
In the step 100, a shop account authorization of a merchant on a three-party platform is obtained to authorize a platform shop account grasped by an aggregated chat user to a service provider application established in an open platform of the three-party platform, wherein the service provider application corresponds to an aggregated chat system for implementing aggregated three-party chat message processing, and the three-party open platform pushes a shop message to the aggregated chat system after the authorization is successful.
In the step 100, after the long connection with the three-party platform is established, the aggregation chat system or the three-party platform can actively send the message, and the other party receives the message in real time.
In the steps 200 and 300, the user sends the message to be an uplink message through the aggregated chat system, and when the user sends the message, the web client or the mobile terminal of the aggregated platform sends the message format agreed by the aggregated chat system; and judging the type of the three-party platform and the account type of the three-party platform according to the message attribute, converting the message format into the message format required by the three-party open platform, sending the message to the open platform through the http interface or the websocket long connection of the three-party open platform, and sending the message to a user client (namely the three-party platform) by the open platform by self so as to realize the uploading of the chat message.
When a consumer sends a message to a user to expect communication, the aggregated chat system receives the message pushed by the three-party platform as a downlink message, and a request method for acquiring the message pushed by the three-party platform by the aggregated chat system comprises, but is not limited to, actively pushing the message by a three-party platform websocket server and a long-connected aggregated platform websocket background client and sending an http message, wherein the message comprises message content, message type, merchant store id, message id, three-party open platform server application identifier, order id, session id, platform user id and the like.
In the steps 200 and 300, if the three-party platform needs to receive the encrypted message, the message plaintext is converted into ciphertext by using the encryption mode and the IM key given by the open platform, and then the ciphertext is sent to the open platform; similarly, if the message content pushed by the three-party platform is encrypted, the message ciphertext is converted into plaintext by using a decryption mode and an IM key given by the open platform.
In step 300, converting the message body format refers to converting between the aggregated chat message format and the message format of the three-party platform. When receiving the message from the three-party platform, identifying the message content in the message according to the message format of the three-party platform given by the open platform, and packaging the message content again according to the aggregated chat message format and sending the packaged message content to the aggregated chat system; when a message is sent to a three-party platform, the message content in the message is identified according to the format of the aggregated chat message of the aggregated chat system, and the message is packaged and sent to the corresponding three-party platform according to the message format given by the corresponding open platform of the three-party platform, which is sent by the message.
And when receiving the message from the three-party platform, acquiring a binding aggregation chat system user list corresponding to the merchant store account number, and sending the converted message body to an aggregation platform web client or a mobile terminal through long connection.
In this embodiment, the data packet is received through http callback and websocket long connection.
Parsing is the conversion of a string of characters into a corresponding code structure in a format specified by the platform document.
The conversion is to map the required fields into own message body formats one by using codes, each three-party platform has self-defined message formats and types of texts, pictures, voices, videos, aits, positioning, commodity cards, order cards and the like, and the type of the message can be identified in the analyzed message, so that the required fields can be mapped into own message body formats one by using codes, the formats are interacted with the front end, and the message types are the same when the message is sent to the three-party platform.
The processing method for aggregating the three-party chat messages provided by the embodiment can achieve the following purposes:
(1) The method aims to improve timeliness and efficiency of message processing of merchants, so that the method aims to meet the requirements that the same merchant can process messages from different platforms on the same page, and the different platforms have different specifications on the format of receiving and sending the messages, and the problem that message analysis and display are not compatible can occur when the different platforms display on the same page, so that message content identification and message body conversion are performed between an aggregated chat account and the three-party platforms, and message display and processing are performed on an aggregated chat system in the format of the message body of the aggregated chat system specification;
(2) And the expandability and the convenience of user message processing are improved.
Message body format for sending messages for three-party platforms as follows
Body of the beauty group message:
the beauty group message id: xxx
The content of the beauty group message: xxx
Hungry about message body:
hungry about message id: xxx
Hungry about the message content: xxx
As described above, even if the aggregated chat system is constructed, at least the messages of the different three-party platforms need to be displayed through different pages, so that the user still needs to switch between different pages in the same platform to process the messages, which is still unfavorable for the user to process the messages.
In addition, because the current application market has extremely high activity and the update iteration of the application is very fast, the message body is automatically analyzed by virtue of the app front-end code, and when a new three-party platform app application is put into use, the app version of the aggregated chat system cannot be adapted to the new three-party platform app application and the message body format used by the new three-party platform app application, so that the app version of the aggregated chat system must be upgraded to support the new three-party platform app application, thereby resulting in poor expandability.
The format of the converted message body on the aggregated chat system is as follows
Message platform: beauty ball
Message type: text of
Message content: xxx
Message platform: hunger of what
Message type: picture picture
Message content: url (url)
The front end firstly loads the enumeration values of all platform types and the configuration whether the various types of messages support to the back end, and displays the configuration according to the stored configuration when receiving the back end long connection message. If the configuration is updated, the back end actively pushes the latest configuration rule, for example, a certain rule update is the support of adding a certain platform voice type message, so that the front end can support the latest message format without upgrading.
The method and the system have the advantages that the identification of message content and the conversion of message bodies are carried out between the aggregated chat account and the three-party platform, the display and the processing of the message are carried out on the aggregated chat system in the format of the message bodies of the aggregated chat system standard, and particularly, the platform characteristics of the three-party platform are eliminated and converted into the message content characteristics, so that the converted message received from the server side only needs to be automatically analyzed by utilizing the app front-end codes according to the message body format of the aggregated chat system standard.
As shown in fig. 4, a daily interface screenshot of the present aggregated chat system is presented.
In addition, because the aggregated chat system app application uses the message body format of the aggregated chat system specification, the platform characteristics of the three-party platform are eliminated, and after the platform characteristics are converted into the message content characteristics, the messages of any three-party platform app application can be displayed on the same page, so that the convenience of message processing of users is improved.
The message types include, but are not limited to, text, expression, picture, audio, video, merchandise card, order card, location, @ message, read message, and the like.
FIG. 1 illustrates a relationship of a prior merchant to a three-party platform; FIG. 2 illustrates a merchant and three-party platform in this embodiment; fig. 3 is a schematic diagram of the logic architecture of the aggregated chat system in the present embodiment.
Referring to fig. 3, the aggregated chat system includes a store authorization module, a store binding module, a session management module, a chat module, a history message query module, an order details module, and a setting module.
The store authorization module is used for authorizing a platform store account mastered by the aggregated chat user to a server application established in an open platform of the three-party platform by the aggregated chat system, and the three-party open platform pushes store information to the aggregated chat system after the authorization is successful.
The store binding module is used for inquiring and managing different store account information which is required to be received by the aggregated chat user by different three-party platforms.
The session management module is used for inquiring the historical chat session of the user.
The chat module comprises message receiving and message sending, and the message types comprise but are not limited to text, expression, pictures, audio, video, commodity cards, order cards, positions, @ messages, read messages and other message types; the message types supported by different three-party platforms are slightly different, and the message types supported by the aggregated chat system are a collection of all supported three-party platform messages plus the message types customized by the aggregated chat.
The historical message query module is used for querying historical messages of all historical sessions of the three-party platform stores managed by the aggregated chat user.
The order detail module is used for inquiring and managing order information carried by the current session.
The setting module comprises inquiry and management of message unreturned automatic reminding and message unreturned automatic replying and inquiry and management of whether a store pushes a message switch or not.
The aggregated chat system realized by the invention can meet the conventional instant chat demands of merchants. Besides, the aggregation platform is provided with the functions of unreturned automatic reminding and automatic replying so as to improve the chat replying rate of the accounts of the stores of the three-party platform, further, the management of order details is increased, and merchants can better master session context information to reply appropriate messages conveniently.
The specific working process of the aggregated chat system and the aggregated chat system based on the aggregated chat system for realizing the aggregated chat messages of the three parties is as follows:
store authorization: after logging in the aggregated chat system, the user selects a three-party platform type to input a store id, clicks the authorized user to jump to a dedicated three-party platform authorized link page of the server application, logs in a three-party platform store account number on the three-party platform page, and authorizes necessary rights to the server application.
Store binding: after the authorization is successful, the user of the aggregation platform can bind the chat relationship between the store and the account, and a background manager of the aggregation platform can select the store id authorized by any platform user to bind the chat relationship because of higher authority. When the mobile terminal receives the chat message, the aggregated chat system sends a push message to the mobile terminal through the push system to remind the user of receiving the push message.
Session management: after the authorization is successful, if the chat exists in the current aggregation platform account, a history session list is loaded. The aggregate platform user can conveniently view the recent session information and the abstract of the last dialog. When a new three-party platform user sends information and is about to push the information to the aggregation platform account, the aggregation platform web client or the mobile terminal can automatically generate a new session and mark red dots as unread, so that the aggregation platform user is prompted to have a new session message.
Chat management: the aggregated chat system user may enter a chat management interface when clicking on any session. The merchant may receive chat messages from any bound three-party platform stores and reply. The reply message types include text, pictures, expressions and the like, and are supported by the three-party platform. The message can be timely sent to the three-party open platform, and the message is synchronized to the three-party platform store background and the three-party platform user chat terminal through the self capacity of the open platform.
History message query: the user or platform manager of the aggregated chat system can check the chat records of any session in any store under the authority to which the user belongs, and can meet the checking requirement of the user on the history records.
Order details: chat messages sent by the three-party platform sometimes carry order number information, the aggregated chat system associates the order numbers with the chat session, and when a user inquires about the session information, the associated order numbers of the chat session are returned, so that the details of the order can be inquired through the three-party platform, and a merchant can conveniently conduct chat processing or business processing according to the order information of the user.
Setting: the setting comprises a message reminding switch and an automatic reminding and automatic replying function which is not replied. The switch controls whether to push a message or not when a message is sent to the mobile terminal.
The automatic unreturned reminding function is divided into 1-minute unreturned reminding and 3-minute unreturned reminding, and the automatic replying function is used for automatically replying a preset document when the user is not replied for 3 minutes. When a session generates a message, judging whether the message needs to be created, cancelled or maintained for 3 timing tasks through a scene, wherein the 3 timing tasks are that an unreturned reminder is sent to an aggregated chat system user after 1 minute, an unreturned reminder is sent to the aggregated chat system user after 3 minutes, and an automatic reply document is sent to a three-party platform user after 3 minutes. The timing tasks are managed by a time-round algorithm, which the system adds to the time-round module whenever the 3 timing tasks are generated, and which the system cancels from the time-round module whenever the timing tasks are to be cancelled. In particular, when a user sends a message, if there are already unreturned reminders or auto-reply tasks in the time wheel, these tasks are not covered nor added repeatedly.
The present embodiment also discloses a storage medium storing a computer program which, when run on a computer, causes the computer to execute the above-described processing method.
The above embodiments are only for illustrating the technical solution of the present invention, and are not limiting.

Claims (8)

1. A processing method for aggregating three-party chat messages is characterized by comprising the following steps:
step 100, acquiring shop account authorization of a merchant on a three-party platform and binding the shop account authorization to an aggregated chat account;
step 200, acquiring a message from an aggregated chat account or a three-party platform, and identifying the content of the message;
and 300, extracting the message content, converting the message body format according to the message sending object, and then sending the message to an aggregated chat account or a three-party platform.
2. The method according to claim 1, wherein the message content identified in the step 200 includes text, pictures, voice, video, ait, location, commodity cards, order cards, and a three-party platform corresponding to the message content.
3. The method according to claim 2, wherein in step 300, the message body format transmitted by or to the aggregated chat account includes at least a text type representing the characteristics of the three-party platform.
4. A method of processing an aggregated three-party chat message according to claim 2, wherein in step 300, the message is encrypted before being sent to the three-party platform or decrypted after being received from the three-party platform.
5. A system for aggregating three-way chat messages, wherein the system is configured to implement the processing method of any of claims 1-4, the system comprising:
a client configured to obtain a merchant account authorization for a merchant on a three-party platform and to bind to an aggregated chat account;
the server side is configured to communicate information with the client side and acquire the information of the three-party platform, and is used for acquiring the information from the aggregated chat account or the three-party platform, extracting the information content after identifying the information content, and transmitting the information to the aggregated chat account or the three-party platform after converting the information body format according to the information transmitting object.
6. The system for aggregating three party chat messages, as in claim 5, wherein the client comprises:
the store authorization module is used for acquiring platform store account authorization mastered by the aggregated chat user;
the store binding module is used for inquiring and managing different store account information which is required to be received by the aggregated chat user by different three-party platforms;
and the chat module is used for receiving the message and sending the message.
7. The system for aggregating three party chat messages, as in claim 5, wherein the client further comprises:
the session management module is used for inquiring the historical chat session of the user;
the historical message query module is used for querying historical messages of all historical sessions of the three-party platform stores managed by the aggregated chat user;
the order detail module is used for inquiring and managing order information carried by the current session;
the setting module comprises inquiry and management of message non-reply automatic reminding and message non-reply automatic replying and inquiry and management of whether a store pushes a message switch or not.
8. A storage medium storing a computer program which, when run on a computer, causes the computer to perform the processing method of any one of claims 1 to 9.
CN202311721489.7A 2023-12-14 2023-12-14 Processing method, system and storage medium for aggregating three-party chat messages Pending CN117857489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311721489.7A CN117857489A (en) 2023-12-14 2023-12-14 Processing method, system and storage medium for aggregating three-party chat messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311721489.7A CN117857489A (en) 2023-12-14 2023-12-14 Processing method, system and storage medium for aggregating three-party chat messages

Publications (1)

Publication Number Publication Date
CN117857489A true CN117857489A (en) 2024-04-09

Family

ID=90541160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311721489.7A Pending CN117857489A (en) 2023-12-14 2023-12-14 Processing method, system and storage medium for aggregating three-party chat messages

Country Status (1)

Country Link
CN (1) CN117857489A (en)

Similar Documents

Publication Publication Date Title
US8849322B2 (en) Systems and methods for sharing threaded conversations on mobile communications devices
US8572275B2 (en) Method, system and software for dynamically extracting content for integration with electronic mail
CN107294908B (en) Account information processing method, device and system in instant messaging application
US10135769B2 (en) Electronic communication system
CN104782094A (en) Communication systems and methods
US7870412B2 (en) Passing client or server instructions via synchronized data objects
US7783713B2 (en) Method and apparatus for response enabled messaging
US20080133339A1 (en) Apparatus and method for reward points issuance, accumulation management and redemption using product coded wireless, communication protocols
US20210097124A1 (en) System and Method for Sharing Information Using a Machine-Readable Code on a Mobile Device
CN101523867A (en) Mobile monetization
CN103514156B (en) A kind of method that network service text is translated in transmitting procedure
CN107784533A (en) A kind of method for generating Quick Response Code, the billing method based on Quick Response Code
CN114449458B (en) 5G message fallback method, system, computing device and storage medium
CN105871785B (en) Service processing method, device and system
US20060026076A1 (en) Method and apparatus for providing an online ordering system of a retail establishment
TWI523457B (en) Method and system for automatic non-junk message list inclusion
CN201274502Y (en) Stock market transaction system
CN102611638A (en) Text transmission method of instant messaging software and transmission system thereof
KR20140013892A (en) Method of comparing output in a plurality of information systems
CN110475215A (en) Message editing, transmission and the method for display and its server and terminal
CN117857489A (en) Processing method, system and storage medium for aggregating three-party chat messages
CN101222682A (en) Communication platform, system and method facing mobile terminal stock exchange transaction
US8798591B2 (en) System and method for centrally distributing mobile content
KR20100014806A (en) Reward points issuance and redemption using product coded wireless communication protocols
CN109150696B (en) Information processing method, server, client, and computer-readable storage medium

Legal Events

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