Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A distributed message call method and device

A distributed, call stack information technology, applied in the field of communication, can solve problems such as thread blocking, inability to take into account system processing performance and business development efficiency, disrupting program logic, etc., to reduce complexity, improve business development efficiency, and ensure processing. performance effect

Inactive Publication Date: 2008-09-10
HUAWEI TECH CO LTD
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] During the research and practice of the existing technology, the inventor found that in the existing technology, for asynchronous calls, the user cannot get the return value immediately after the call, and just call when calling, and the call result needs to be in another place To receive and process, this development method disrupts the program logic to a certain extent, increases the difficulty and cost of development, and reduces the readability and maintainability of the program
For application development, the development efficiency of using synchronous calls is much higher than that of asynchronous methods, but the synchronous calls of traditional distributed systems require threads to be blocked. For large concurrent communication systems, limited thread resources and expensive lock operations Can significantly affect processing performance
To sum up, in the existing method of distributed call message, it is impossible to balance system processing performance and business development efficiency

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
  • A distributed message call method and device
  • A distributed message call method and device
  • A distributed message call method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] refer to figure 1 , is a schematic structural diagram of an embodiment of a distributed processing device in an embodiment of the present invention, the distributed processing device includes: a message calling unit 11 and an information processing unit 12, wherein:

[0033] The message calling unit 31 includes: a message sending unit 111, a message receiving unit 112, an information storage unit 113, and a stack information maintenance unit 114, wherein:

[0034] The message sending unit 111 sends the call request message in an asynchronous manner inside the method body (method);

[0035] A message receiving unit 112, configured to receive a response message to the call request message;

[0036] The information storage unit 113 stores the call stack information and the current state of the method body running;

[0037] The stack information maintenance unit 114, after the message sending unit 111 sends the call request message, saves the call stack information and th...

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 discloses a method and a device for distribution message call. The method of the invention comprises the steps that an asynchronous mode is adopted in the interior of a method body for sending a call request message; a call stack of the call request message is stored; current state is operated and the method body is withdrawn; when a response message of the call request message is received, the stored call stack is reverted; according the reverted call stack, current operation state before withdrawing the method body is reverted and subsequent logic continues to be carried out. The method and the corresponding processing device can synchronously focus on both processing performance of a system and the developing efficiency of businesses.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method and device for distributed invoking messages. Background technique [0002] The soft bus technology provides cross-platform and cross-language component communication capabilities, solves the problem of system distribution and scalability, and is the basis for realizing a distributed message processing platform. At present, there are three influential soft bus specifications in the industry, namely: Common Object Request Broker Architecture (CORBA, CommonObject Request Broker Architecture), Distributed Component Object Model (DCOM, DistributedComponent Object Model) and Java2 Platform Enterprise Edition ( J2EE, Java 2 Platform, Enterprise Edition). Among them, CORBA is a standard object-oriented application system specification formulated by Object Management Government (OMG, Object Management Government). DCOM was proposed by Microsoft Corporation to sup...

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): H04L29/08H04L12/58H04L12/56
CPCG06F9/546
Inventor 申海李战杰丁凯
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products