Remote procedure call implementation method and device, equipment and storage medium

A remote procedure call and implementation method technology, applied in the field of devices, remote procedure call implementation methods, equipment and storage media, can solve the problems of low development efficiency of large-scale online games, poor code readability and maintainability, and reduce coding Complexity and debugging difficulty, improving development efficiency, and reducing maintenance costs

Pending Publication Date: 2021-02-05
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a remote procedure call implementation method, device, device, and storage medium to solve the problem of low development efficiency of large-scale online games caused by the RPC method in the existing large-scale online game server architecture, and the readability and readability of the code. Poor maintenance issues

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
  • Remote procedure call implementation method and device, equipment and storage medium
  • Remote procedure call implementation method and device, equipment and storage medium
  • Remote procedure call implementation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0042] First of all, the terms "first", "second" and the like involved in the embodiments of the present invention are only used for description purposes, and should not be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. In the descriptions of the following embodiments, "plurality" means two or more, unless otherwise...

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 embodiment of the invention provides a remote procedure call implementation method and device, equipment and a storage medium, and the method comprises the steps: enabling a logic coroutine to actively give way to scheduling by adopting a coroutine scheduling mechanism when an RPC is called, automatically waking up and continuing to execute business logic after an RPC call result is obtained,replacing an asynchronous RPC with a synchronous RPC, and enabling the asynchronous RPC to be used as an asynchronous RPC. According to the invention, the asynchronous implementation of the RPC bottomlayer can be ignored when a developer writes the code, and the business logic is written by using the writing method of the synchronous RPC, so that the consistency of thinking and the readability and maintainability of the code are ensured, the coding complexity and debugging difficulty are greatly reduced, the development efficiency is improved, and the maintenance cost is reduced.

Description

technical field [0001] Embodiments of the present invention relate to the field of network technologies, and in particular, to a method, device, device and storage medium for implementing remote procedure calls. Background technique [0002] The core business logic of many large-scale online games is implemented by the lpc language. Since lpc is a single-process and single-thread structure, it cannot perform calculations with a particularly high amount of calculations, and the business logic of large-scale online games is more auxiliary. Therefore, the server architecture of large-scale online games not only includes The LPC server engine used to realize the core business logic also includes a gateway (gate) and ancillary nodes (for example, nodes of stateless services implemented in python language). The gate gateway acts as an intermediary between the client and the slave nodes and the lpc server engine. Python has a very rich official and third-party library, and a pytho...

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): G06F9/54
CPCG06F9/547Y02D10/00
Inventor 杨尚明
Owner NETEASE (HANGZHOU) NETWORK 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