Unlock instant, AI-driven research and patent intelligence for your innovation.

Message processing method and device, terminal and computer readable storage medium

A message processing and message technology, applied in the computer field, can solve the problems of high MNS code coupling and low user experience, and achieve the effect of improving user experience

Active Publication Date: 2020-12-25
重庆易宠科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a message processing method, device, terminal and computer-readable storage medium, which are used to solve the problem that the code coupling of MNS is high, and developers need to understand the internal information of MNS. Code logic, poor user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message processing method and device, terminal and computer readable storage medium
  • Message processing method and device, terminal and computer readable storage medium
  • Message processing method and device, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] see figure 1 , an embodiment of the present invention provides a message processing method, including:

[0061] S101: Obtain an original message and generate identification information corresponding to the original message;

[0062] S102: Determine the method and method data type corresponding to the original message according to the identification information;

[0063] S103: Generate a process message according to the original message and the method data type;

[0064] S104: Generate an initial message according to the method corresponding to the identification information, the process message, and the original message.

[0065]It should be noted that the identification information is used to determine the method corresponding to the original message and the method data type corresponding to the original message, and the data type of the process message is the same as the method data type.

[0066] In some embodiments, the message processing method is applied to Ali...

Embodiment 2

[0171] see Figure 4 , an embodiment of the present invention provides a message processing apparatus 400, including:

[0172] The original message acquisition module 401 is used to acquire the original message and generate the identity information corresponding to the original message, and the identity information is used to determine the method corresponding to the original message and the method data type corresponding to the original message;

[0173] The first determination module 402 is used to determine the method and method data type corresponding to the original message according to the identification information;

[0174] The process message generation module 403 is used to generate a process message according to the original message and the method data type, and the data type of the process message is the same as the method data type;

[0175] The initial message generating module 404 is configured to generate the initial message according to the method correspondi...

Embodiment 3

[0183] The message processing apparatus and the message processing method provided by the embodiment of the present invention are exemplarily described below through a specific embodiment.

[0184] see Image 6 , Image 6 It is a schematic structural diagram of a specific message processing device. The message processing device 600 includes a Tag mapping server Mapping 603, a message sender MnsSender 604, a Mock sender MockSender 605, a proxy Proxy 606, a queue proxy sender QueueProxySender 607, and a topic proxy server TopicProxySender 608 , several message receiving consumers Consumer 609 , message dispatcher Dispatcher 610 , message receiving processor MnsController 611 , application layer Service 612 , and message tracking log 613 . When the system is applied to Alibaba Cloud Messaging Service, continue to refer to Image 6 , the system also interacts with the following components in Alibaba Cloud Message Service: Alibaba Cloud Message Service MNS601, MNS SDK 602.

[01...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a message processing method and device, a terminal and a computer readable storage medium, and the method comprises the steps: obtaining an original message; generating identityrecognition information corresponding to the original message according to the original message; determining a method and a method data type corresponding to the original message according to the identity recognition information; converting the original message into a process message according to the method data type, the data type of the process message being the same as the method data type; and generating an initial message according to the identity recognition information, the process message and the method corresponding to the original message. The invention also provides a message processing device, a terminal and a computer readable storage medium. The method and the method data type corresponding to the original message are determined according to the identity recognition information, the original message is automatically processed to generate the initial message meeting the requirement, so that a developer only needs to define the identity recognition information and does notneed to know the internal code logic of the MNS. Thus, the user experience is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a message processing method, device, terminal and computer-readable storage medium. Background technique [0002] Alibaba Cloud Message Notification Service (MNS) is a distributed message service. MNS can help application developers to freely pass data, notify messages on the distributed components of their applications, and build loosely coupled systems. [0003] Although MNS provides a multi-language version of the SDK, the code coupling of MNS is high, requiring developers to understand the internal code logic of MNS, and the user experience is not high. SUMMARY OF THE INVENTION [0004] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a message processing method, device, terminal and computer-readable storage medium, which are used to solve the problem of high code coupling in MNS and require de...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/08
CPCH04L67/10H04L67/51H04L67/56
Inventor 陶银童粲
Owner 重庆易宠科技有限公司