Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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 inconvenient program modification and serious coupling of message forwarding, and achieve simplified process, enhanced accuracy, and increased matching effect

Active Publication Date: 2018-08-31
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 4 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 invention provides a message forwarding method. The method comprises the following steps of creating a message processing class used for receiving and processing a message; creating a message registration function used for registering the message; and creating a message registration class used for registering a message type which can be received by a message forwarding object, calling the corresponding message in the message processing class according to the message type, and forwarding the message according to information of the message registered in the message registration function. Theinvention furthermore relates to a related computer readable storage medium and a related electronic device.

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 Applications(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
Eureka Blog
Learn More
PatSnap group products