Multi-channel message processing method, device, computer equipment and storage medium

By receiving and converting messages, generating unified messages and pushing them to designated application pages, the problem of high processing costs of multiple types of messages in the prior art is solved, and the effect of unified processing of multiple messages and reducing development and testing costs is achieved.

CN115277611BActive Publication Date: 2025-03-25CHINA MERCHANTS FINANCE HLDG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210896333.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2025-03-25
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

When existing applications process multi-type messages, they need to develop multiple message parsing codes, resulting in increased development and testing costs.

Method used

Receive messages of the specified type through the specified interface, generate message addresses, convert messages into unified messages, and push them to the specified application page.

Benefits of technology

Reduces the number of message parsing code, reduces development and testing costs, and realizes unified processing of multiple messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115277611B_ABST
    Figure CN115277611B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of message push, and discloses a multi-channel message processing method, device, computer equipment and storage medium, wherein the method comprises: receiving a specified message of a specified type through a specified interface, generating a message address of the specified message; converting the specified message into a unified message containing the message address; and pushing the unified message to a specified application page. The present invention can convert multiple different types of messages into a unified message, and then push it to a specified application page, without the need for separate development and testing for specific messages, thus greatly saving development costs and testing costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of message push, and in particular to a multi-channel message processing method, device, computer equipment and storage medium. Background Art

[0002] In order to meet the usage requirements, existing applications generally support multiple types of messages, such as push messages (outside the application, leaving no trace), public account reminder messages (in the application, leaving traces), in-application reminder messages, etc. Different types of messages have different structures, so it is necessary to develop corresponding message parsing code to achieve normal message parsing.

[0003] Developing different message parsing codes will greatly increase development costs. Especially as the frequency of application updates increases, multiple types of message parsing codes need to be debugged in each version update, which increases testing costs. Summary of the invention

[0004] Based on this, it is necessary to provide a multi-channel message processing method, device, computer equipment and storage medium to address the above technical problems, so as to reduce the number of message parsing codes and reduce development costs and testing costs.

[0005] A multi-channel message processing method, comprising:

[0006] Receive a specified message of a specified type through a specified interface, and generate a message address of the specified message;

[0007] Converting the designated message into a unified message including the message address;

[0008] The unified message is pushed to a specified application page.

[0009] A multi-channel message processing device, comprising:

[0010] A message receiving module, used for receiving a specified message of a specified type through a specified interface, and generating a message address of the specified message;

[0011] A message conversion module, used for converting the specified message into a unified message containing the message address;

[0012] The message push module is used to push the unified message to a specified application page.

[0013] A computer device comprises a memory, a processor and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the multi-channel message processing method when executing the computer-readable instructions.

[0014] One or more readable storage media storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the multi-channel message processing method as described above.

[0015] The above-mentioned multi-channel message processing method, device, computer equipment and storage medium can convert multiple different types of messages into unified messages, and then push them to the specified application page. There is no need to carry out separate development and testing for specific messages, which greatly saves development costs and testing costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0017] Figure 1 It is a schematic diagram of an application environment of a multi-channel message processing method in one embodiment of the present invention;

[0018] Figure 2 It is a flowchart of a multi-channel message processing method according to an embodiment of the present invention;

[0019] Figure 3 is a structural diagram of a multi-channel message processing device in one embodiment of the present invention;

[0020] Figure 4 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] The multi-channel message processing method provided in this embodiment can be applied in the following aspects: Figure 1 In an application environment, a client communicates with a server. The client includes but is not limited to various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server can be implemented with an independent server or a server cluster consisting of multiple servers.

[0023] In one embodiment, if Figure 2As shown, a multi-channel message processing method is provided, and the method is applied in Figure 1 The client in is taken as an example to illustrate, including the following steps:

[0024] S10, receiving a specified message of a specified type through a specified interface, and generating a message address of the specified message;

[0025] S20, converting the designated message into a unified message including the message address;

[0026] S30: Push the unified message to a designated application page.

[0027] It is understandable that the multi-channel message processing method provided in this embodiment can be implemented by an application installed on a client (such as a mobile phone, a computer, etc.). The application is provided with multiple message interfaces, and each message interface can receive messages of the same type. The designated interface refers to any one of the multiple message interfaces, through which a designated message of a corresponding designated type can be received. The designated message can refer to a text message or a multimedia message containing pictures and / or audio and video. The message address of the designated message can be an internal address, such as the address of the application cache, or an external address, such as an address stored on a server.

[0028] After receiving the designated message, the designated message can be converted into a unified message according to the style unification rule. Here, the title, keywords, usage status and other information of the designated message can be extracted and assembled into a unified message.

[0029] The designated application page can refer to a page in the application that is specifically used to display reminder information, such as a tab page embedded in the application, or a pop-up window, or a window of an external program (such as a browser). In some examples, the same unified message can be pushed to multiple designated application pages. For example, a message can be pushed using both a tab page and a pop-up window.

[0030] The method provided in this embodiment can convert multiple different types of messages into a unified message and then push it to a specified application page. There is no need to perform separate development and testing for specific messages, which greatly saves development and testing costs.

[0031] Optionally, step S30, i.e., after pushing the unified message to the specified application page, further includes:

[0032] S40, receiving an opening instruction for opening the unified message through the designated application page;

[0033] S50. Open the message address in a designated window according to the opening instruction to load the designated message.

[0034] Understandably, the open instruction refers to an instruction generated based on the user's operation of opening the unified message. The designated window can be a designated application page or a new window page. Here, the designated window must support the display of the designated message. The message address is opened in the designated window, and the designated message is loaded so that the user can view the full text of the designated message.

[0035] This embodiment displays a unified message on a specified application page and loads the specified message in a specified window, thereby decoupling the specified message from the specified application page. This eliminates the need for separate development and testing for specific messages, greatly saving development and testing costs.

[0036] Optionally, step S50, i.e., opening the message address in a designated window according to the opening instruction to load the designated message, includes:

[0037] S501, identifying a specified type corresponding to the message address;

[0038] S502, determining the designated window associated with the designated type, and starting the designated window;

[0039] S503: Open the message address in the designated window to load the designated message.

[0040] Understandably, the type of the message address can be identified to obtain the corresponding designated type, then determine the designated window associated with the designated type, then start the designated window, open the message address in the designated window, and load the designated message.

[0041] In some examples, different types of messages have message addresses stored with special storage locations or address identifiers, and the corresponding designated type can be determined based on the address identifier of the message address or the storage location it points to.

[0042] In some examples, the specified type is one of a push message, a public account reminder message, and an in-application reminder message.

[0043] You can set the associated designated window for different designated types. For example, when the designated type is a push message, the designated window is a pop-up window; when the designated type is a public account reminder message, the designated window is a Tab page.

[0044] This embodiment can ensure that the specified message can be loaded normally by identifying the specified type corresponding to the message address and automatically matching the specified window.

[0045] Optionally, before step S30, that is, before pushing the unified message to the specified application page, the process further includes:

[0046] S31, receiving an application page configuration instruction through a message configuration page;

[0047] S32: configuring an association relationship between the designated type and the designated window according to the application page configuration instruction.

[0048] Understandably, the message configuration page refers to a page for configuring the message opening style. The application page configuration instruction refers to a control instruction generated based on the user's configuration operation. The user can set the opening method of the specified message of different specified types according to their preferences. For example, on the message configuration page, multiple window pages supported by a specified type can be displayed, and the user can select one of them as the specified window associated with the specified type according to his or her preferences.

[0049] This embodiment supports the personalized selection of users, so that users can use their preferred designated window to open a designated page.

[0050] Optionally, step S10, that is, receiving a specified message of a specified type through a specified interface and generating a message address of the specified message, includes:

[0051] S101, receiving the specified message through a specified interface;

[0052] S102, storing the specified message in a specified storage address of an application cache according to the specified type;

[0053] S103: Generate the message address according to the designated storage address.

[0054] Understandably, different interfaces receive different types of messages. For example, the designated interface may be a push information interface, through which push information may be received. A specific application cache storage area may be set for each type of message. The designated message is stored in the storage area of ​​the application cache, and then the corresponding designated storage address is obtained, and then the message address in the unified message is generated according to the designated storage address. Here, the message address may be a short address of the designated storage address. In the designated application, a corresponding resolution process is configured, and when the message address is opened, the message address is automatically resolved to the designated storage address.

[0055] This embodiment can generate a message address for the specified message, ensuring that the user can view the complete specified message through the message address.

[0056] Optionally, step S20, i.e., before converting the designated message into a unified message including the message address, further includes:

[0057] S201, receiving a message style configuration instruction through a message configuration page;

[0058] S202: Configure the style unification rule of the specified type according to the message style configuration instruction, so as to convert the specified message into the unified message according to the style unification rule.

[0059] Understandably, the user can input the message style configuration instruction through the message configuration page, and configure the style unification rule of the specified type through the message style configuration instruction. In one example, the style unification rule can specify the style of the title and the style of the body. The same style unification rule can be used for messages of the same specified type, so that the messages can be more standardized.

[0060] After setting the style unification rules, the specified message can be transformed according to the style unification rules to generate a unified message.

[0061] This embodiment supports users to configure the unified message in a personalized way.

[0062] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0063] In one embodiment, a multi-channel message processing device is provided, and the multi-channel message processing device corresponds one-to-one to the multi-channel message processing method in the above embodiment. Figure 3 As shown, the multi-channel message processing device includes a message receiving module 10, a message conversion module 20 and a message pushing module 30. Each functional module is described in detail as follows:

[0064] A message receiving module 10 is used to receive a specified message of a specified type through a specified interface and generate a message address of the specified message;

[0065] A message conversion module 20, configured to convert the specified message into a unified message including the message address;

[0066] The message push module 30 is used to push the unified message to a designated application page.

[0067] Optionally, the multi-channel message processing device further includes:

[0068] An opening instruction receiving module, used for receiving an opening instruction for opening the unified message through the designated application page;

[0069] The message loading module is used to open the message address in a designated window according to the opening instruction to load the designated message.

[0070] Optionally, loading a message module includes:

[0071] an identification type unit, used to identify a specified type corresponding to the message address;

[0072] A designated window determination unit is used to determine the designated window associated with the designated type and start the designated window;

[0073] The message opening unit is used to open the message address in the designated window to load the designated message.

[0074] Optionally, the multi-channel message processing device further includes:

[0075] A page configuration instruction receiving module is used to receive application page configuration instructions through a message configuration page;

[0076] An opening window module is set to configure the association relationship between the specified type and the specified window according to the application page configuration instruction.

[0077] Optionally, the specified type is one of a push message, a public account reminder message, and an in-application reminder message.

[0078] Optionally, the message receiving module 10 includes:

[0079] An interface receiving unit, configured to receive the specified message through a specified interface;

[0080] A message storage unit, configured to store the specified message at a specified storage address of an application cache according to the specified type;

[0081] A message address generating unit is used to generate the message address according to the specified storage address.

[0082] Optionally, the multi-channel message processing device further includes:

[0083] A style configuration instruction receiving module is used to receive message style configuration instructions through a message configuration page;

[0084] The style configuration module is used to configure the style unification rule of the specified type according to the message style configuration instruction, so as to convert the specified message into the unified message according to the style unification rule.

[0085] For the specific definition of the multi-channel message processing device, please refer to the definition of the multi-channel message processing method above, which will not be repeated here. Each module in the above-mentioned multi-channel message processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0086] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer-readable instructions are executed by the processor, a multi-channel message processing method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0087] In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor executes the computer-readable instructions to implement the following steps:

[0088] Receive a specified message of a specified type through a specified interface, and generate a message address of the specified message;

[0089] Converting the designated message into a unified message including the message address;

[0090] The unified message is pushed to a specified application page.

[0091] In one embodiment, one or more computer-readable storage media storing computer-readable instructions are provided. The readable storage media provided in this embodiment include non-volatile readable storage media and volatile readable storage media. The readable storage media store computer-readable instructions, and when the computer-readable instructions are executed by one or more processors, the following steps are implemented:

[0092] Receive a specified message of a specified type through a specified interface, and generate a message address of the specified message;

[0093] Converting the designated message into a unified message including the message address;

[0094] The unified message is pushed to a specified application page.

[0095] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0096] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0097] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A multi-channel message processing method, characterized in that: The method is implemented by an application installed on the client; the application is provided with multiple message interfaces, each message interface receives the same type of message; The method comprises: Receiving a specified message of a specified type through a specified interface, and generating a message address of the specified message; the specified interface refers to any one of a plurality of message interfaces; Converting the specified message into a unified message including the message address according to a style unification rule; Pushing the unified message to a designated application page; the designated application page refers to a page in an application program specifically used to display reminder information; After the unified message is pushed to the designated application page, the method further includes: Receiving, through the designated application page, an opening instruction for opening the unified message; The message address is opened in a designated window according to the opening instruction to load the designated message.

2. The multi-channel message processing method according to claim 1, characterized in that: The step of opening the message address in a designated window according to the opening instruction to load the designated message includes: identifying a specified type corresponding to the message address; Determine the designated window associated with the designated type, and start the designated window; The message address is opened in the designated window to load the designated message.

3. The multi-channel message processing method according to claim 1, characterized in that: Before pushing the unified message to the designated application page, the method further includes: Receive application page configuration instructions through the message configuration page; The association relationship between the specified type and the specified window is configured according to the application page configuration instruction.

4. The multi-channel message processing method according to claim 1, characterized in that: The specified type is one of a push message, a public account reminder message, and an in-application reminder message.

5. The multi-channel message processing method according to claim 1, characterized in that: The step of receiving a specified message of a specified type through a specified interface and generating a message address of the specified message includes: Receiving the specified message through a specified interface; storing the specified message at a specified storage address of an application cache according to the specified type; The message address is generated according to the designated storage address.

6. The multi-channel message processing method according to claim 1, characterized in that: Before converting the designated message into a unified message including the message address, the method further includes: Receive message style configuration instructions through the message configuration page; The style unification rule of the specified type is configured according to the message style configuration instruction, so as to convert the specified message into the unified message according to the style unification rule.

7. A multi-channel message processing device, characterized in that: The device is implemented by an application installed on a client; the application is provided with a plurality of message interfaces, each of which receives messages of the same type; The device comprises: A message receiving module, used to receive a specified message of a specified type through a specified interface, and generate a message address of the specified message; the specified interface refers to any one of a plurality of message interfaces; A message conversion module, used for converting the specified message into a unified message containing the message address according to a style unification rule; A message push module, used to push the unified message to a designated application page; the designated application page refers to a page in an application program specifically used to display reminder information; An opening instruction receiving module, used for receiving an opening instruction for opening the unified message through the designated application page; The message loading module is used to open the message address in a designated window according to the opening instruction to load the designated message.

8. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the multi-channel message processing method according to any one of claims 1 to 6 is implemented.

9. One or more readable storage media storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the multi-channel message processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Message push method, device, computer equipment and storage medium

    CN108848142A