Message analysis processing method and device
Generate message links and schedule resolution agents through the message parsing platform, solving the problem of connecting user terminals and message senders, and achieving efficient allocation and improved message resolution efficiency of analysis agents.
Patent Information
- Application Number
- CN202411826715.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-12-12
AI Technical Summary
During the message parsing process, the user terminal cannot directly connect with the message sender, which makes it difficult to achieve parsing quantity allocation and scheduling of the parsing agent, affecting the parsing accuracy.
Generate message links through the message parsing platform, determine the message template based on the message parameters, and schedule the parsing agent through the parsing strategy to realize the parsing and display of the message template.
It realizes efficient allocation of parsing volumes from different parsing agents, improving the efficiency and accuracy of message parsing.
Smart Images

Figure CN119815294A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of data processing, and in particular to a message parsing and processing method and device. Background Art
[0002] With the development of the messaging industry, messages in the form of text plus URL links have emerged. The message sender sends this form of message to the user terminal, and the user terminal can upgrade the message to an interactive rich media SMS with the help of URL parsing capabilities; However, during the message parsing process, the user terminal will use the parsing capability of the parsing agent to perform URL parsing. In this case, the message sender cannot directly connect with the user terminal, but connects with the parsing agent corresponding to the user terminal, and the same user terminal can cooperate with different parsing agents. During the URL parsing process, it is impossible to determine which parsing agent of the user terminal to connect with. To this end, it is necessary to allocate and schedule the parsing capacity of each parsing agent of the user terminal. However, the method and implementation mechanism that support the allocation and scheduling of parsing capacity according to the development of different parsing agents are still a technical gap in the industry and need further evolution to meet the needs of business development. Summary of the invention
[0003] An object of an embodiment of the present specification is to provide a message parsing processing method and device to solve the problem of low accuracy of message parsing.
[0004] To solve the above technical problems, an embodiment of this specification is implemented as follows: In a first aspect, an embodiment of the present specification provides a message parsing processing method, including: Determine a message template according to the message parameters sent by the message sender, and generate a message link corresponding to the message template; The message link is sent to the message sender; the message sender sends the message carrying the message link to the user terminal; Obtaining a message resolution request carrying the message link sent by a resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The message link is parsed to obtain the message template, and the message template is returned to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0005] In a second aspect, an embodiment of the present specification provides another message parsing processing method, including: Receive a message carrying a message link from a message sender; Generate a link resolution request for the message link and send the request; Message display is performed according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
[0006] In a third aspect, another embodiment of the present specification provides a message parsing processing device, including: A message link generation module, configured to determine a message template according to message parameters sent by a message sender, and generate a message link corresponding to the message template; A message link sending module is configured to send the message link to a message sender; the message sender sends a message carrying the message link to a user terminal; A resolution request acquisition module is configured to acquire a message resolution request carrying the message link sent by a resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The link parsing module is configured to parse the message link to obtain the message template, and return the message template to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0007] In a fourth aspect, another embodiment of the present specification provides a message parsing processing device, including: A message receiving module, configured to receive a message carrying a message link sent by a message sender; A resolution request sending module, configured to generate a link resolution request for the message link and send the request; The message display module is configured to display the message according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
[0008] In the fifth aspect, another embodiment of the present specification provides a message parsing and processing device, comprising: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the steps of the message parsing and processing method as described in the first aspect above.
[0009] In the sixth aspect, another embodiment of the present specification provides another message parsing processing device, comprising: a memory, a processor, and computer executable instructions stored on the memory and executable on the processor, wherein the computer executable instructions, when executed by the processor, implement the steps of the message parsing processing method as described in the second aspect above.
[0010] In the seventh aspect, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the message parsing processing method described in the first aspect above are implemented.
[0011] In an eighth aspect, another embodiment of the present specification provides another computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the message parsing processing method described in the second aspect above are implemented.
[0012] In the ninth aspect, another embodiment of the present specification provides a computer program product, wherein the computer program product includes a message parsing processing program, and when the message parsing processing program is executed by a processor, the steps of the computing power allocation processing method described in the first aspect above are implemented.
[0013] In the tenth aspect, another embodiment of the present specification provides another computer program product, wherein the computer program product includes a message parsing processing program, and when the message parsing processing program is executed by a processor, the steps of the computing power allocation processing method described in the second aspect above are implemented.
[0014] The message parsing processing method provided in this embodiment, during the message parsing process, first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the parsing agent according to the message link, obtains the message parsing request carrying the message link sent by the parsing agent, and finally parses the message link to obtain the message template, and returns the message template to the parsing agent, wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in one or more embodiments of the present specification, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0016] Figure 1 A processing flow chart of a message parsing method provided by one embodiment of this specification; Figure 2 A schematic diagram of a rich media text message provided by an embodiment of this specification; Figure 3 A schematic diagram of a message parsing strategy provided by an embodiment of this specification; Figure 4 A schematic diagram of a strategy collection page provided by an embodiment of this specification; Figure 5 A processing flow chart of a message parsing method applied to a 5G message parsing scenario provided by an embodiment of this specification; Figure 6 A processing flow chart of another message parsing method provided by one embodiment of this specification; Figure 7 A schematic diagram of a message parsing and processing device provided in one embodiment of this specification; Figure 8 A schematic diagram of another message parsing and processing device provided in one embodiment of this specification; Fig. 9 A schematic diagram of the structure of a message parsing and processing device provided in one embodiment of this specification; Fig.10 A schematic diagram of the structure of another message parsing and processing device provided in one embodiment of this specification. DETAILED DESCRIPTION
[0017] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0018] This specification provides a message parsing method embodiment: Reference Figure 1 , which shows a message parsing processing method processing flow chart provided by this embodiment, refer to Figure 5 , which shows a processing flow chart of a message parsing processing method provided by this embodiment and applied to a 5G message parsing scenario.
[0019] Reference Figure 1 The message parsing and processing method provided in this embodiment specifically includes the following steps S102 to S108.
[0020] Step S102: determining a message template according to the message parameters sent by the message sender, and generating a message link corresponding to the message template.
[0021] In this embodiment, the message may be a 5G message, or may be a rich media message consisting of text and a URL, for example Figure 2 The message parameters refer to the variables in the message content that are dynamically generated or adjusted according to the actual situation during the message transmission process. The message parameters allow for personalized customization based on different factors such as the recipient, sending time, and environmental conditions, thereby improving the relevance and effectiveness of the message. The message parameters include dynamic message parameters.
[0022] The message template may be a predefined message format for quickly creating and sending standardized information. The message template usually contains a fixed text structure and the message parameters. The use of message templates can improve the efficiency of message production, ensure the consistency of information, and simplify the construction process of complex messages. The message link may be a short link, such as a short link consisting of a domain name and a short code.
[0023] During the specific execution process, after the message parsing platform receives the message parameters sent by the message sender, the message template corresponding to the message parameters is determined according to the parameter identifier of the message parameters. In an optional implementation provided by this embodiment, the message template is determined according to the message parameters sent by the message sender in the following manner: Determining a parameter identifier of the message parameter; The message template corresponding to the parameter identifier is selected in a template library.
[0024] Specifically, since the message parsing platform also provides the ability to create templates, the message sender can create the required message templates in the message parsing platform, and store the created message templates in the template library of the message parsing platform. When the message sender sends a message, the message can be sent directly based on the message template stored in the template library. In the process of determining the message template, the message template corresponding to the parameter identifier can be selected from the template library according to the parameter identifier of the message parameter passed in by the message sender.
[0025] After the message template is determined according to the message parameters sent by the message sender, in order to realize the transmission of the message template, a message link corresponding to the message template needs to be generated so that the message can be transmitted in the form of a message link later. Specifically, in the process of generating the message link, the message link can be generated based on a pre-configured message parsing strategy. In an optional implementation manner provided in this embodiment, the message link corresponding to the message template is generated in the following manner: Querying a target message parsing policy corresponding to the message template from a message parsing policy library; The message link is generated according to the domain name configured by the target message resolution strategy.
[0026] Specifically, at least one message resolution strategy is stored in the message resolution strategy library, and at least one of the following strategy elements is configured in the message resolution strategy: a strategy identifier, a domain name, a terminal manufacturer, and a resolution agent corresponding to the terminal manufacturer; the message resolution strategy is used to specify the terminal manufacturer that can receive messages sent by the message sender, the resolution agent corresponding to the terminal manufacturer, and the domain name used, wherein the terminal manufacturer can be an x-brand terminal, such as Xiaomi, Huawei, OPPO, vivo, etc. The resolution agent is a supplier of the terminal manufacturer's resolution capabilities, and the domain name is used to generate a message link.
[0027] Here, since the same terminal manufacturer may connect with multiple resolution agents at the same time, the message resolution platform needs to use the message resolution strategy to schedule the resolution agents. The message resolution strategy specifies which resolution agent of the terminal manufacturer to use for message resolution and which domain name corresponding to that agent to use to generate a message link.
[0028] Combine the following Figure 3 The message resolution strategy is explained in detail. Message resolution strategy 1 may include terminal manufacturer 1, resolution agent A and domain name A corresponding to terminal manufacturer 1, and terminal manufacturer 2, resolution agent B and domain name A corresponding to terminal manufacturer 2; in addition, message resolution strategy 2 may include terminal manufacturer 1, resolution agent A and domain name B corresponding to terminal manufacturer 1, and terminal manufacturer 2, resolution agent A and domain name B corresponding to terminal manufacturer 2, and terminal manufacturer 3, resolution agent C and domain name B corresponding to terminal manufacturer 3; wherein, if it is determined to perform message resolution with message resolution strategy 1, it means that the recipient of the message may be terminal manufacturer 1, and the interaction process with terminal manufacturer 1 is realized through resolution agent A, and the domain name used is A, and the recipient of the message may also be terminal manufacturer 2, and the interaction process with terminal manufacturer 2 is realized through resolution agent B, and the domain name used is also A.
[0029] Further, in the process of querying the message parsing policy from the message parsing policy library, the target message parsing policy can be determined by calculating the policy recommendation value of the message parsing policy. In other words, since there are multiple parsing agents supporting the message parsing capability of the same terminal manufacturer, and different message parsing policies specify different parsing agents, the message parsing policy is determined to further determine the parsing agent that parses the message template in the message parsing policy. In an optional implementation manner provided by this embodiment, the target message parsing policy corresponding to the message template is queried from the message parsing policy library in the following manner: Calculating a policy recommendation value for each message parsing policy in the message parsing policy library; Sort the message parsing strategies based on the strategy recommendation values to obtain a message parsing strategy sequence; The message parsing strategy in a preset position in the message parsing strategy sequence is used as the target message parsing strategy.
[0030] Specifically, the policy recommendation value of each message parsing policy in the message parsing policy library can be calculated, and each message parsing policy can be sorted in forward order based on the policy recommendation value to obtain a message parsing policy sequence, and the message parsing policy at the first position in the message parsing policy sequence can be used as the target message parsing policy.
[0031] Furthermore, in an optional implementation manner provided by this embodiment, the policy recommendation value of each message parsing policy in the message parsing policy library is calculated in the following manner: Calculate the ratio of the current parsing amount of the message parsers specified by each message parsing strategy to the total parsing amount; The policy recommendation value is determined based on the difference between the preset analysis volume ratio of the message analysis agent and the analysis volume ratio, and the number of the message analysis parties.
[0032] For example, the following formula can be used to calculate the strategy recommendation value:
[0033] Where n is the number of terminal manufacturers included in the message parsing strategy.
[0034] It should be noted that the message parsing platform in this embodiment provides a function for entering message parsing policies. The message parsing policies in the message parsing policy library can be entered by service personnel of the message parsing platform. In an optional implementation provided by this embodiment, the message parsing policies in the message parsing policy library are obtained in the following manner: Generate a policy collection page based on the policy entry request sent by the service personnel and return it to the service personnel; The message parsing policy submitted by the service personnel based on the policy collection page is obtained, and the message parsing policy is added to the message parsing policy library.
[0035] For example, Figure 4 As shown in the displayed policy collection page, the service personnel can enter the message parsing policy in the policy collection page. The message parsing policy includes a policy identifier, a domain name, a terminal manufacturer, and a parsing agent corresponding to the terminal manufacturer.
[0036] In addition, the message parsing policy is entered and added to the message parsing policy library, and the policy elements in the message parsing policy can also be updated. In an optional implementation provided in this embodiment, the message parsing policy is updated in the following manner: if an update request for the message parsing policy is detected, the message parsing policy is updated through the policy editing module configured by the message parsing platform.
[0037] In specific implementation, in order to facilitate the management of the message parsing policy library, the message parsing policy library can also be divided into policy element sub-libraries according to the different policy elements contained in the message parsing policy, such as the terminal manufacturer sub-library, the parsing agent sub-library, the domain name library, etc. On this basis, the message parsing platform can automatically add policy elements by monitoring the newly added policy elements in the policy element sub-library. In an optional implementation manner provided by this embodiment, the message parsing policy in the message parsing policy library is determined in the following manner: If it is detected that there is a newly added policy element in any policy element sub-library, query the associated policy elements that have an associated relationship with the newly added policy element in the remaining policy element sub-libraries; The message parsing policy is generated based on the newly added policy element and the associated policy element.
[0038] For example, if terminal manufacturer A is newly added, it will be included in the terminal manufacturer sub-library. The message resolution platform detects the addition of the terminal manufacturer sub-library and determines whether there is a new addition to the resolution agent sub-library. If not, the resolution agent sub-library is used to find the association with terminal manufacturer A. If it is found that terminal manufacturer A has an association with resolution agent A and resolution agent B in the resolution agent sub-library, two domain names A and domain name B that are respectively associated with resolution agent A and resolution agent B are selected from the domain name sub-library, and a message resolution strategy is automatically generated based on the domain name combined with the newly added terminal manufacturer A.
[0039] It should be noted that the message templates in the template library in this embodiment can be created in advance. In the process of creating the message template, the message material sent by the message sender is received, and the message template is created according to the message material. In an optional implementation manner provided in this embodiment, the message template is created in the following manner: Obtaining the message material sent by the message sender; The message material is added to an initial message template to obtain the message template.
[0040] Optionally, the message material includes at least one of the following: text material, picture material, audio and video material, and button material.
[0041] Further, after adding the message material to the initial message template and obtaining the message template, the target message parsing agent can be determined according to the target message parsing policy corresponding to the message template queried from the message parsing policy library, and the message template is sent to the target message parsing agent for review. In an optional implementation manner provided in this embodiment, the template review is performed in the following manner: Determine the target message parsing strategy corresponding to the message template, and send the message template to the message parsing agent specified by the target message parsing strategy; wherein, after receiving the message template, the message parsing agent sends the message template to the terminal service platform for template review; The template review result returned by the terminal service platform is received, and a secondary review is performed on the message template based on the template review result, and the secondary review result is returned to the message sender.
[0042] Specifically, performing template review may include reviewing whether the format of the message template is correct.
[0043] In addition, the target message resolution strategy can also be sent to the message resolution agent, which forwards the target message resolution strategy to the intermediate terminal service platform, so that the terminal service platform can subsequently determine the message resolution agent specified by the target message resolution strategy based on the message link.
[0044] Step S104: sending the message link to the message sender.
[0045] After the message link corresponding to the message template is generated, the message link can be sent to the message sender. Optionally, the message sender sends a message carrying the message link to the user terminal, wherein the message can be generated according to the message link and message parameters.
[0046] Step S106: obtaining a message resolution request carrying the message link sent by the resolution agent.
[0047] After the message link is sent to the message sender, the message sender sends the message carrying the message link to the user terminal. After that, in order to display the message normally, the user terminal needs to parse the message link. During the parsing process, the user terminal sends the message parsing request carrying the message link to the terminal service platform corresponding to the user terminal. The terminal service platform identifies the domain name in the message link, determines the corresponding message parsing strategy and the message parsing agent specified by the message parsing strategy according to the domain name, and sends the message parsing request to the message parsing agent. The message parsing agent sends the message parsing request to the message parsing platform. Correspondingly, the message parsing platform obtains the message parsing request carrying the message link sent by the parsing agent. Optionally, the parsing agent is determined by the terminal service platform corresponding to the user terminal according to the message link.
[0048] Step S108, parsing the message link to obtain the message template, and returning the message template to the parsing agent.
[0049] After obtaining the message parsing request carrying the message link sent by the parsing agent, in this step, the message link is parsed to obtain a message template, and the message template is returned to the parsing agent. Optionally, the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0050] During the specific execution process, after the user terminal displays the message, a parsing result response may be returned to the terminal service platform corresponding to the user terminal, and the terminal service platform forwards the parsing result response to the message parsing platform. Correspondingly, the message parsing platform receives the parsing result response, and updates the policy recommendation value of the target message parsing policy based on the parsing result response. In an optional implementation manner provided in this embodiment, the policy recommendation value of the target message parsing policy is updated in the following manner: Receiving a parsing result response sent by a terminal service platform corresponding to the user terminal; The policy recommendation value of the target message parsing policy is updated based on the parsing result response.
[0051] Specifically, the parsing result response can be a successful parsing result for the message link, or it can be a failed parsing result for the message link. After receiving the parsing result response sent by the terminal service platform, the successful parsing result is filtered out, and the policy recommendation value of the target message parsing policy is updated based on the successful parsing result. In addition, the service personnel of the message parsing platform can also adjust the target message parsing policy based on the updated policy recommendation value.
[0052] The message parsing processing method provided in this embodiment, during the message parsing process, first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the parsing agent according to the message link, obtains the message parsing request carrying the message link sent by the parsing agent, and finally parses the message link to obtain the message template, and returns the message template to the parsing agent, wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message.
[0053] The following combination Figure 5 , taking the application of the message parsing method provided in this embodiment in the 5G message parsing scenario as an example, the message parsing method provided in this embodiment is further described. Figure 5 The message parsing processing method applied to the 5G message parsing scenario specifically includes steps S502 to S518.
[0054] Step S502: determine a message template according to the message parameters sent by the message sender.
[0055] Step S504: Calculate the policy recommendation value of each message parsing policy in the message parsing policy library.
[0056] Step S506: sort the message parsing strategies based on the strategy recommendation value to obtain a message parsing strategy sequence.
[0057] Step S508: Use the message parsing strategy at a preset position in the message parsing strategy sequence as the target message parsing strategy corresponding to the message template.
[0058] Step S510: Generate a message link according to the domain name configured by the target message resolution policy, and send the message link to the message sender.
[0059] Step S512: obtaining a message resolution request carrying a message link sent by a resolution agent.
[0060] Step S514, the message link is parsed to obtain a message template, and the message template is returned to the parsing agent.
[0061] Step S516: receiving a parsing result response sent by a terminal service platform corresponding to the user terminal.
[0062] Step S518: updating the policy recommendation value of the target message parsing policy based on the parsing result response.
[0063] It should be noted that any one of steps S502 to S518 or any combination of multiple steps can be selected from steps S102 to S108 to form a new implementation method according to the needs of implementation deployment; and any one or multiple technical features in the technical scheme composed of steps S502 to S518 can be selected from steps S102 to S108 to form a new implementation method according to the needs of actual deployment, or the technical features in one or more optional implementation methods provided by steps S102 to S108 can be selected to combine into a new implementation method, which will not be elaborated here one by one.
[0064] The message parsing processing method provided in this embodiment, during the message parsing process, first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the parsing agent according to the message link, obtains the message parsing request carrying the message link sent by the parsing agent, and finally parses the message link to obtain the message template, and returns the message template to the parsing agent, wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message.
[0065] This specification provides a message parsing method embodiment: Reference Figure 6 , which shows a processing flow chart of another message parsing processing method provided by this embodiment.
[0066] Reference Figure 6 The message parsing and processing method provided in this embodiment specifically includes the following steps S602 to S606.
[0067] Step S602: receiving a message carrying a message link sent by a message sender.
[0068] In this embodiment, the message may be a 5G message, or may be a rich media message consisting of text and a URL, for example Figure 2The message parameters refer to the variables in the message content that are dynamically generated or adjusted according to the actual situation during the message transmission process. The message parameters allow for personalized customization based on different factors such as the recipient, sending time, and environmental conditions, thereby improving the relevance and effectiveness of the message. The message parameters include dynamic message parameters.
[0069] The message template may be a predefined message format for quickly creating and sending standardized information. The message template usually contains a fixed text structure and the message parameters. The use of message templates can improve the efficiency of message production, ensure the consistency of information, and simplify the construction process of complex messages. The message link may be a short link, such as a short link consisting of a domain name and a short code.
[0070] During the specific execution process, after the message parsing platform receives the message parameters sent by the message sender, the message template corresponding to the message parameters is determined according to the parameter identifier of the message parameters. In an optional implementation provided by this embodiment, the message template is determined according to the message parameters sent by the message sender in the following manner: Determining a parameter identifier of the message parameter; The message template corresponding to the parameter identifier is selected in a template library.
[0071] Specifically, since the message parsing platform also provides the ability to create templates, the message sender can create the required message templates in the message parsing platform, and store the created message templates in the template library of the message parsing platform. When the message sender sends a message, the message can be sent directly based on the message template stored in the template library. In the process of determining the message template, the message template corresponding to the parameter identifier can be selected from the template library according to the parameter identifier of the message parameter passed in by the message sender.
[0072] After the message template is determined according to the message parameters sent by the message sender, in order to realize the transmission of the message template, a message link corresponding to the message template needs to be generated so that the message can be transmitted in the form of a message link later. Specifically, in the process of generating the message link, the message link can be generated based on a pre-configured message parsing strategy. In an optional implementation manner provided in this embodiment, the message link corresponding to the message template is generated in the following manner: Querying a target message parsing policy corresponding to the message template from a message parsing policy library; The message link is generated according to the domain name configured by the target message resolution strategy.
[0073] Specifically, at least one message resolution strategy is stored in the message resolution strategy library, and at least one of the following strategy elements is configured in the message resolution strategy: a strategy identifier, a domain name, a terminal manufacturer, and a resolution agent corresponding to the terminal manufacturer; the message resolution strategy is used to specify the terminal manufacturer that can receive messages sent by the message sender, the resolution agent corresponding to the terminal manufacturer, and the domain name used, wherein the terminal manufacturer can be an x-brand terminal, the resolution agent is a supplier of the terminal manufacturer's resolution capabilities, and the domain name is used to generate a message link.
[0074] Here, since the same terminal manufacturer may connect with multiple resolution agents at the same time, the message resolution platform needs to use the message resolution strategy to schedule the resolution agents. The message resolution strategy specifies which resolution agent of the terminal manufacturer to use for message resolution and which domain name corresponding to that agent to use to generate a message link.
[0075] Combine the following Figure 3 The message resolution strategy is explained in detail. Message resolution strategy 1 may include terminal manufacturer 1, resolution agent A and domain name A corresponding to terminal manufacturer 1, and terminal manufacturer 2, resolution agent B and domain name A corresponding to terminal manufacturer 2; in addition, message resolution strategy 2 may include terminal manufacturer 1, resolution agent A and domain name B corresponding to terminal manufacturer 1, and terminal manufacturer 2, resolution agent A and domain name B corresponding to terminal manufacturer 2, and terminal manufacturer 3, resolution agent C and domain name B corresponding to terminal manufacturer 3; wherein, if it is determined to perform message resolution with message resolution strategy 1, it means that the recipient of the message may be terminal manufacturer 1, and the interaction process with terminal manufacturer 1 is realized through resolution agent A, and the domain name used is A, and the recipient of the message may also be terminal manufacturer 2, and the interaction process with terminal manufacturer 2 is realized through resolution agent B, and the domain name used is also A.
[0076] Further, in the process of querying the message parsing policy from the message parsing policy library, the target message parsing policy can be determined by calculating the policy recommendation value of the message parsing policy. In other words, since there are multiple parsing agents supporting the message parsing capability of the same terminal manufacturer, and different message parsing policies specify different parsing agents, the message parsing policy is determined to further determine the parsing agent that parses the message template in the message parsing policy. In an optional implementation manner provided by this embodiment, the target message parsing policy corresponding to the message template is queried from the message parsing policy library in the following manner: Calculating a policy recommendation value for each message parsing policy in the message parsing policy library; Sort the message parsing strategies based on the strategy recommendation values to obtain a message parsing strategy sequence; The message parsing strategy in a preset position in the message parsing strategy sequence is used as the target message parsing strategy.
[0077] Specifically, the policy recommendation value of each message parsing policy in the message parsing policy library can be calculated, and each message parsing policy can be sorted in forward order based on the policy recommendation value to obtain a message parsing policy sequence, and the message parsing policy at the first position in the message parsing policy sequence can be used as the target message parsing policy.
[0078] Furthermore, in an optional implementation manner provided by this embodiment, the policy recommendation value of each message parsing policy in the message parsing policy library is calculated in the following manner: Calculate the ratio of the current parsing amount of the message parsers specified by each message parsing strategy to the total parsing amount; The policy recommendation value is determined based on the difference between the preset analysis volume ratio of the message analysis agent and the analysis volume ratio, and the number of the message analysis parties.
[0079] For example, the following formula can be used to calculate the strategy recommendation value:
[0080] Where n is the number of terminal manufacturers included in the message parsing strategy.
[0081] It should be noted that the message parsing platform in this embodiment provides a function for entering message parsing policies. The message parsing policies in the message parsing policy library can be entered by service personnel of the message parsing platform. In an optional implementation provided by this embodiment, the message parsing policies in the message parsing policy library are obtained in the following manner: Generate a policy collection page based on the policy entry request sent by the service personnel and return it to the service personnel; The message parsing policy submitted by the service personnel based on the policy collection page is obtained, and the message parsing policy is added to the message parsing policy library.
[0082] For example, Figure 4 As shown in the displayed policy collection page, the service personnel can enter the message parsing policy in the policy collection page. The message parsing policy includes a policy identifier, a domain name, a terminal manufacturer, and a parsing agent corresponding to the terminal manufacturer.
[0083] In addition, the message parsing policy is entered and added to the message parsing policy library, and the policy elements in the message parsing policy can also be updated. In an optional implementation provided in this embodiment, the message parsing policy is updated in the following manner: if an update request for the message parsing policy is detected, the message parsing policy is updated through the policy editing module configured by the message parsing platform.
[0084] In specific implementation, in order to facilitate the management of the message parsing policy library, the message parsing policy library can also be divided into policy element sub-libraries according to the different policy elements contained in the message parsing policy, such as the terminal manufacturer sub-library, the parsing agent sub-library, the domain name library, etc. On this basis, the message parsing platform can automatically add policy elements by monitoring the newly added policy elements in the policy element sub-library. In an optional implementation manner provided by this embodiment, the message parsing policy in the message parsing policy library is determined in the following manner: If it is detected that there is a newly added policy element in any policy element sub-library, query the associated policy elements that have an associated relationship with the newly added policy element in the remaining policy element sub-libraries; The message parsing policy is generated based on the newly added policy element and the associated policy element.
[0085] For example, if terminal manufacturer A is newly added, it will be included in the terminal manufacturer sub-library. The message resolution platform detects the addition of the terminal manufacturer sub-library and determines whether there is a new addition to the resolution agent sub-library. If not, the resolution agent sub-library is used to find the association with terminal manufacturer A. If it is found that terminal manufacturer A has an association with resolution agent A and resolution agent B in the resolution agent sub-library, two domain names A and domain name B that are respectively associated with resolution agent A and resolution agent B are selected from the domain name sub-library, and a message resolution strategy is automatically generated based on the domain name combined with the newly added terminal manufacturer A.
[0086] It should be noted that the message templates in the template library in this embodiment can be created in advance. In the process of creating the message template, the message material sent by the message sender is received, and the message template is created according to the message material. In an optional implementation manner provided in this embodiment, the message template is created in the following manner: Obtaining the message material sent by the message sender; The message material is added to an initial message template to obtain the message template.
[0087] Optionally, the message material includes at least one of the following: text material, picture material, audio and video material, and button material.
[0088] Further, after adding the message material to the initial message template and obtaining the message template, the target message parsing agent can be determined according to the target message parsing policy corresponding to the message template queried from the message parsing policy library, and the message template is sent to the target message parsing agent for review. In an optional implementation manner provided in this embodiment, the template review is performed in the following manner: Determine the target message parsing strategy corresponding to the message template, and send the message template to the message parsing agent specified by the target message parsing strategy; wherein, after receiving the message template, the message parsing agent sends the message template to the terminal service platform for template review; The template review result returned by the terminal service platform is received, and a secondary review is performed on the message template based on the template review result, and the secondary review result is returned to the message sender.
[0089] Specifically, performing template review may include reviewing whether the format of the message template is correct.
[0090] In addition, the target message resolution strategy can also be sent to the message resolution agent, which forwards the target message resolution strategy to the intermediate terminal service platform, so that the terminal service platform can subsequently determine the message resolution agent specified by the target message resolution strategy based on the message link.
[0091] After the message link corresponding to the message template is generated, the message link can be sent to the message sender, and the message sender sends the message carrying the message link to the user terminal, wherein the message can be generated according to the message link and the message parameters.
[0092] Step S604: Generate a link resolution request for the message link and send the request.
[0093] After receiving the message carrying the message link sent by the message sender, in this step, a link resolution request for the message link is generated, and the resolution request is sent to the terminal service platform. The terminal service platform determines the domain name based on the message link contained in the link resolution request, queries the resolution agent corresponding to the domain name, and sends the link resolution request to the resolution agent. After receiving the link resolution request, the resolution agent forwards the link resolution request to the message resolution platform. The message resolution platform resolves the message link to obtain a message template. The resolution agent receives the message template sent by the message resolution platform and returns the message template to the terminal service platform. The terminal service platform sends the message template to the user terminal.
[0094] Step S606: display the message according to the message material downloaded based on the message template.
[0095] After receiving the message template, the message material is downloaded from the terminal service platform based on the message template, and the message is displayed based on the downloaded message material.
[0096] During the specific execution process, after the user terminal displays the message, a parsing result response may be returned to the terminal service platform corresponding to the user terminal, and the terminal service platform forwards the parsing result response to the message parsing platform. Correspondingly, the message parsing platform receives the parsing result response, and updates the policy recommendation value of the target message parsing policy based on the parsing result response. In an optional implementation manner provided in this embodiment, the policy recommendation value of the target message parsing policy is updated in the following manner: Receiving a parsing result response sent by a terminal service platform corresponding to the user terminal; The policy recommendation value of the target message parsing policy is updated based on the parsing result response.
[0097] Specifically, the parsing result response can be a successful parsing result of the message link, or a failed parsing result of the message link. After receiving the parsing result response sent by the terminal service platform, the parsing success result is screened out, and the policy recommendation value of the target message parsing policy is updated based on the parsing success result. In addition, the service personnel of the message parsing platform can also adjust the target message parsing policy based on the updated policy recommendation value. Accordingly, the user terminal sends a parsing result response to the terminal service platform.
[0098] In summary, the message parsing processing method provided by this embodiment, during the message parsing process, first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, and then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the parsing agent according to the message link, it obtains the message parsing request carrying the message link sent by the parsing agent, and finally parses the message link to obtain the message template, and returns the message template to the parsing agent, wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This scheme implements the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message.
[0099] Figure 7 A schematic diagram of a message parsing and processing device provided by an embodiment of the present invention, such as Figure 7 As shown, the device comprises: The message link generation module 702 is configured to determine a message template according to message parameters sent by the message sender, and generate a message link corresponding to the message template; The message link sending module 704 is configured to send the message link to the message sender; the message sender sends the message carrying the message link to the user terminal; The resolution request acquisition module 706 is configured to acquire a message resolution request carrying the message link sent by a resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The link parsing module 708 is configured to parse the message link to obtain the message template, and return the message template to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0100] The message parsing processing device provided in this embodiment, in the process of message parsing, first runs the message link generation module 702 to determine the message template according to the message parameters sent by the message sender, and generates a message link corresponding to the message template. Secondly, runs the message link sending module 704 to send the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the parsing agent according to the message link, runs the parsing request acquisition module 706 to obtain the message parsing request carrying the message link sent by the parsing agent, and finally runs the link parsing module 708 to parse the message link to obtain the message template, and returns the message template to the parsing agent, wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This scheme realizes the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message.
[0101] The message parsing and processing device provided in one embodiment of the present specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0102] Figure 8 A schematic diagram of a message parsing and processing device provided by an embodiment of the present invention, such as Figure 8 As shown, the device comprises: The message receiving module 802 is configured to receive a message carrying a message link sent by a message sender; A resolution request sending module 804 is configured to generate a link resolution request for the message link and send the request; The message display module 806 is configured to display the message according to the message material downloaded based on the message template; the message template is obtained by link resolution according to the link resolution request.
[0103] The message parsing processing device provided in this embodiment, during the message parsing process, first runs the message receiving module 802 to receive the message carrying the message link sent by the message sender, then runs the parsing request sending module 804 to generate a link parsing request for the message link and sends the request, and finally runs the message display module 806 to display the message according to the message material downloaded based on the message template. This solution implements the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message.
[0104] The message parsing and processing device provided in one embodiment of the present specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0105] Furthermore, an embodiment of the present specification also provides a message parsing processing device, Fig. 9 A schematic diagram of a message parsing and processing device provided in an embodiment of this specification is shown in FIG. Fig. 9 As shown, the device includes: a memory 901, a processor 902, a bus 903 and a communication interface 904. The memory 901, the processor 902 and the communication interface 904 communicate through the bus 903, and the communication interface 904 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.
[0106] Fig. 9 In the embodiment, the memory 901 stores computer executable instructions that can be run on the processor 902. When the computer executable instructions are executed by the processor 902, the following process is implemented: Determine a message template according to the message parameters sent by the message sender, and generate a message link corresponding to the message template; The message link is sent to the message sender; the message sender sends the message carrying the message link to the user terminal; Obtaining a message resolution request carrying the message link sent by the resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The message link is parsed to obtain the message template, and the message template is returned to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0107] The message parsing processing device provided in this embodiment, through the cooperation of the memory 901, the processor 902, the bus 903 and the communication interface 904, first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, and then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the parsing agent according to the message link, the message parsing request carrying the message link sent by the parsing agent is obtained, and finally the message link is parsed to obtain the message template, and the message template is returned to the parsing agent, wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This scheme realizes the scheduling of the parsing agent and performs message parsing through the message parsing platform, realizes the efficient allocation of the parsing amount of different parsing agents, and improves the parsing efficiency of the message.
[0108] The message parsing and processing device provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0109] Furthermore, an embodiment of the present specification also provides a message parsing processing device, Fig.10 A schematic diagram of a message parsing and processing device provided in an embodiment of this specification is shown in FIG. Fig.10 As shown, the device includes: a memory 1001, a processor 1002, a bus 1003 and a communication interface 1004. The memory 1001, the processor 1002 and the communication interface 1004 communicate via the bus 1003, and the communication interface 1004 may include an input and output interface, which includes but is not limited to a keyboard, a mouse, a display, a microphone, a loudspeaker, etc.
[0110] Fig.10 In the embodiment, the memory 1001 stores computer executable instructions that can be run on the processor 1002, and when the computer executable instructions are executed by the processor 1002, the following process is implemented: Receive a message carrying a message link from a message sender; Generate a link resolution request for the message link and send the request; Message display is performed according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
[0111] The message parsing processing device provided in this embodiment first receives a message carrying a message link sent by a message sender through the cooperation of a memory 1001, a processor 1002, a bus 1003 and a communication interface 1004, then generates a link parsing request for the message link and sends the request, and finally displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of parsing agents and performs message parsing through a message parsing platform, realizes the efficient allocation of parsing amounts of different parsing agents, and improves the parsing efficiency of messages.
[0112] The message parsing and processing device provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0113] Furthermore, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: Determine a message template according to the message parameters sent by the message sender, and generate a message link corresponding to the message template; The message link is sent to the message sender; the message sender sends the message carrying the message link to the user terminal; Obtaining a message resolution request carrying the message link sent by the resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The message link is parsed to obtain the message template, and the message template is returned to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0114] The computer-readable storage medium provided in this embodiment first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, and then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the resolution agent according to the message link, it obtains the message resolution request carrying the message link sent by the resolution agent, and finally resolves the message link to obtain the message template, and returns the message template to the resolution agent, wherein the resolution agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of the resolution agent and performs message resolution through the message resolution platform, realizes the efficient allocation of the resolution amount of different resolution agents, and improves the resolution efficiency of the message.
[0115] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0116] The computer-readable storage medium provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0117] Furthermore, another embodiment of the present specification provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, and when the computer-executable instructions are executed by a processor, the following process is implemented: Receive a message carrying a message link from a message sender; Generate a link resolution request for the message link and send the request; Message display is performed according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
[0118] The computer-readable storage medium provided in this embodiment first receives a message carrying a message link sent by a message sender, then generates a link resolution request for the message link and sends the request, and finally displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of the resolution agent and performs message resolution through the message resolution platform, realizes the efficient allocation of the resolution amount of different resolution agents, and improves the resolution efficiency of the message.
[0119] The computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0120] The computer-readable storage medium provided in an embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0121] Furthermore, another embodiment of the present specification also provides a computer program product, which implements the following process when executed by a processor: Determine a message template according to the message parameters sent by the message sender, and generate a message link corresponding to the message template; The message link is sent to the message sender; the message sender sends the message carrying the message link to the user terminal; Obtaining a message resolution request carrying the message link sent by the resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The message link is parsed to obtain the message template, and the message template is returned to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
[0122] The computer product program provided in this embodiment first determines the message template according to the message parameters sent by the message sender, generates a message link corresponding to the message template, and then sends the message link to the message sender, and the message sender sends the message carrying the message link to the user terminal. After the terminal service platform corresponding to the user terminal determines the resolution agent according to the message link, it obtains the message resolution request carrying the message link sent by the resolution agent, and finally resolves the message link to obtain the message template, and returns the message template to the resolution agent, wherein the resolution agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of the resolution agent and performs message resolution through the message resolution platform, realizes the efficient allocation of the resolution amount of different resolution agents, and improves the resolution efficiency of the message.
[0123] The computer program product provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0124] Furthermore, another embodiment of the present specification also provides a computer program product, which implements the following process when executed by a processor: Receive a message carrying a message link from a message sender; Generate a link resolution request for the message link and send the request; Message display is performed according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
[0125] The computer product program provided in this embodiment first receives a message carrying a message link sent by a message sender, then generates a link resolution request for the message link and sends the request, and finally displays the message according to the message material downloaded based on the message template. This solution implements the scheduling of resolution agents and performs message resolution through a message resolution platform, realizes efficient allocation of resolution amounts of different resolution agents, and improves the resolution efficiency of messages.
[0126] The computer program product provided in one embodiment of this specification can implement each process in the aforementioned method embodiment and achieve the same functions and effects, which will not be repeated here.
[0127] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0128] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0129] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0130] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0131] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0132] Memory may include non-permanent storage in a computer-readable storage medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable storage medium.
[0133] Computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0134] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0135] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0136] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A message parsing method, characterized in that: Applied to a message parsing platform, the method includes: Determine a message template according to the message parameters sent by the message sender, and generate a message link corresponding to the message template; The message link is sent to the message sender; the message sender sends the message carrying the message link to the user terminal; Obtaining a message resolution request carrying the message link sent by a resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The message link is parsed to obtain the message template, and the message template is returned to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
2. The message parsing method according to claim 1, characterized in that: The generating a message link corresponding to the message template comprises: Querying a target message parsing policy corresponding to the message template from a message parsing policy library; The message link is generated according to the domain name configured by the target message resolution strategy.
3. The message parsing method according to claim 2, characterized in that: The step of querying a target message parsing strategy corresponding to the message template from a message parsing strategy library includes: Calculating a policy recommendation value for each message parsing policy in the message parsing policy library; Sort the message parsing strategies based on the strategy recommendation values to obtain a message parsing strategy sequence; The message parsing strategy in a preset position in the message parsing strategy sequence is used as the target message parsing strategy.
4. The message parsing method according to claim 3, characterized in that: The calculating of the policy recommendation value of each message parsing policy in the message parsing policy library includes: Calculate the ratio of the current parsing amount of the message parsers specified by each message parsing strategy to the total parsing amount; The policy recommendation value is determined based on the difference between the preset analysis volume ratio of the message analysis agent and the analysis volume ratio, and the number of the message analysis parties.
5. The message parsing method according to claim 1, characterized in that: The message template is created in the following way: Acquire the message material sent by the message sender; wherein the message material includes at least one of the following: text material, picture material, audio and video material, button material; The message material is added to an initial message template to obtain the message template.
6. The message parsing method according to claim 5, characterized in that: After the step of adding the message material to the initial message template to obtain the message template is performed, the method further includes: Determine the target message parsing strategy corresponding to the message template, and send the message template to the message parsing agent specified by the target message parsing strategy; wherein, after receiving the message template, the message parsing agent sends the message template to the terminal service platform for template review; The template review result returned by the terminal service platform is received, and based on the template review result, a secondary review is performed on the message template, and the secondary review result is returned to the message sender.
7. The message parsing method according to claim 2, characterized in that: The message parsing strategy library is created in the following way: Generate a policy collection page based on the policy entry request sent by the service personnel and return it to the service personnel; The message parsing policy submitted by the service personnel based on the policy collection page is obtained, and the message parsing policy is added to the message parsing policy library.
8. The message parsing method according to claim 7, characterized in that: Also includes: If an update request for the message parsing policy is detected, the message parsing policy is updated through a policy editing module configured in the message parsing platform.
9. The message parsing method according to claim 2, characterized in that: The message parsing policy library is configured with a policy element sub-library; Correspondingly, the message parsing strategy in the message parsing strategy library is determined in the following manner: If it is detected that there is a newly added policy element in any policy element sub-library, query the associated policy elements that have an associated relationship with the newly added policy element in the remaining policy element sub-libraries; The message parsing policy is generated based on the newly added policy element and the associated policy element.
10. The message parsing method according to claim 1, characterized in that: After the step of parsing the message link to obtain the message template and returning the message template to the parsing agent is executed, the method further includes: Receiving a parsing result response sent by a terminal service platform corresponding to the user terminal; Based on the parsing result response, the policy recommendation value of the target message parsing policy corresponding to the message template is updated.
11. The message parsing method according to claim 1, characterized in that: The determining of the message template according to the message parameters sent by the message sender includes: Determining a parameter identifier of the message parameter; The message template corresponding to the parameter identifier is selected in a template library.
12. A message parsing method, characterized in that: Applied to a user terminal, the method comprises: Receive a message carrying a message link from a message sender; Generate a link resolution request for the message link and send the request; Message display is performed according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
13. The message parsing method according to claim 12, characterized in that: After the step of displaying the message according to the message material downloaded based on the message template is executed, the method further includes: Sending a parsing result response to the terminal service platform, wherein the parsing result response includes a parsing success result.
14. A message parsing and processing device, characterized in that: Running on a message parsing platform, the device comprises: A message link generation module, configured to determine a message template according to message parameters sent by a message sender, and generate a message link corresponding to the message template; A message link sending module is configured to send the message link to a message sender; the message sender sends a message carrying the message link to a user terminal; A resolution request acquisition module is configured to acquire a message resolution request carrying the message link sent by a resolution agent; the resolution agent is determined by a terminal service platform corresponding to the user terminal according to the message link; The link parsing module is configured to parse the message link to obtain the message template and return the message template to the parsing agent; wherein the parsing agent returns the message template to the terminal service platform, and the terminal service platform sends the message template to the user terminal, and the user terminal displays the message according to the message material downloaded based on the message template.
15. A message parsing and processing device, characterized in that: Running on a user terminal, the device comprises: A message receiving module, configured to receive a message carrying a message link sent by a message sender; A resolution request sending module, configured to generate a link resolution request for the message link and send the request; The message display module is configured to display the message according to the message material downloaded based on the message template; the message template is obtained after link resolution according to the link resolution request.
16. A message parsing and processing device, characterized in that: The device includes a memory and a processor, wherein the memory stores computer executable instructions, and when the computer executable instructions are executed on the processor, the steps of the method described in any one of claims 1 to 13 can be implemented.
17. A computer-readable storage medium having computer-executable instructions stored therein, characterized in that: When the computer executable instructions are executed by a processor, the steps of the method described in any one of claims 1 to 13 can be implemented.
18. A computer program product, characterized in that The computer program product comprises a message parsing processing program, and when the message parsing processing program is executed by a processor, the steps of the method described in any one of claims 1 to 13 can be implemented.
Citation Information
Patent Citations
Message analysis method and device and message analysis platform
CN117201611A
Short message processing method and device, electronic equipment and storage medium
CN117499873A
Method and system for multimedia messaging service
US20070037557A1
Real-time Chat Service File Transfer Across Different Networks
US20230246985A1