Message forwarding method, computer readable storage medium and electronic device

A message forwarding and message technology, which is applied in computing, program control design, software engineering design, etc., can solve the problems of serious message forwarding coupling and inconvenient program modification, and achieve the effect of enhancing accuracy, simplifying the process, and increasing matching

Active Publication Date: 2021-04-27
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this will bring a problem. Dynamic method analysis needs to set a proxy in the message forwarding class. The coupling between different message forwarding will be very serious, and each time a new message is added, a lot of operations are required, which is very inconvenient for program modification.

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 forwarding method, computer readable storage medium and electronic device
  • Message forwarding method, computer readable storage medium and electronic device
  • Message forwarding method, computer readable storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0029] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. Unless otherwise defined, the technical terms or scientific terms used in the present invention shall have the usual meanings understood by those skilled in the art to ...

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 present invention provides a message forwarding method, which includes the following steps: creating a message processing class for receiving and processing messages; creating a message registration function for registering messages; and creating a message registration class for The message forwarding object can register the message type that can be received, and call the corresponding message in the message processing class according to the message type, and then forward the message according to the information registered in the message registration function. The invention also relates to related computer-readable storage media and related electronic devices.

Description

technical field [0001] The present invention relates to the field of Internet mobile terminal application development, in particular to a message forwarding method, related computer-readable storage media and electronic equipment. Background technique [0002] In the field of mobile application development, due to business needs, it is often necessary to forward messages sent by the server. Message forwarding is divided into two stages. In the first stage, the class to which the receiver belongs is first consulted to see if it can dynamically add methods to process the current message. This is called "dynamic method analysis"; the second stage involves "complete message forwarding mechanism ", if the runtime system has finished executing the first phase, then the receiver can no longer respond to the message by dynamically adding methods. At this time, the runtime system will request the receiver to handle the method call related to the message by other means. This is subd...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54G06F8/30
CPCG06F8/315G06F9/546
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products