RPC service or message designated consumption method and device, storable medium and terminal

A message and service framework technology, applied in the direction of multi-program devices, inter-program communication, instruments, etc., can solve the problems that RPC consumers cannot specify consumption specific providers, consumption, and service call links cannot be specified, etc., to improve Test efficiency and test convenience, improve work efficiency, simple and efficient technical solutions

Inactive Publication Date: 2019-07-05
青岛迅隆信息科技有限责任公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the shortcomings of the prior art described above, the technical problem to be solved by the present invention is that the test process of the existing business process cannot realize that the service call link cannot be specified, the RPC consumer cannot specify a specific provider for consumption, and the queue message cannot be accessed. Specified Consumer Consumption

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
  • RPC service or message designated consumption method and device, storable medium and terminal
  • RPC service or message designated consumption method and device, storable medium and terminal
  • RPC service or message designated consumption method and device, storable medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] In order to solve the above problems in the prior art, an embodiment of the present invention provides a designated consumption method for RPC services or messages.

[0056] figure 1 It shows a schematic diagram of the steps of the designated consumption method of RPC service or message in the embodiment of the present invention; refer to figure 1 In this embodiment of the present invention, the designated consumption method of RPC service or message includes the following steps.

[0057] Step S101, constructing a routing configuration center to configure combined links according to routing codes and preset requirements.

[0058] Specifically, the routing configuration center is constructed so that the constructed routing configuration center can configure links for specified consumption according to the analyzed routing code and artificially set preset requirements to form a combined link. That is, configure the routing members for the routing codes obtained by parsi...

Embodiment 2

[0090] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention also provides a device for specifying consumption of RPC services or messages.

[0091] Figure 4 It shows a schematic structural diagram of a specified consumer device for RPC services or messages in Embodiment 2 of the present invention; refer to Figure 4 According to the embodiment of the present invention, the designated consumption device of RPC service or message includes a test request sending unit, a proxy unit and a routing code transfer unit connected in sequence.

[0092] The test request sending unit is used to send a test request to the agent unit in a preset manner;

[0093] The proxy unit is used to analyze the received test request to obtain the routing code, and configure the corresponding combined link in the routing configuration center according to the routing code;

[0094] The routing code transfer unit is used to transfer t...

Embodiment 3

[0097] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention also provides a readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the RPC service or message in the first embodiment can be realized. All steps in the specified consumption method of .

[0098] The specific steps of the designated consumption method for RPC services or messages and the beneficial effects obtained by applying the computer-readable storage medium provided by the embodiment of the present invention are the same as those in Embodiment 1, and will not be repeated here.

[0099] It should be noted that the storage medium includes various media capable of storing program codes such as ROM, RAM, magnetic disk or optical disk.

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 an RPC service or message designated consumption method and device, a storable medium and a terminal. The method comprises: sending a test request to an agent unit in a preset mode; the agent unit analyzing the received test request to obtain a routing code, and configuring a corresponding combined link in a routing configuration center according to the routing code; and transmitting the routing code in a service corresponding to the combined link through a preset application performance management mode, the transmission of the routing code in the service corresponding to the combined link being carried out according to a service arrangement relationship in the combined link, so as to realize the specified consumption of the RPC service or the specified consumption of the message queue. According to the invention, the RPC service and the designated consumption function of the message queue are realized by combining the routing code under the condition of no invasion to the business code and complete transparency based on the preset application performance management, the service calling is executed according to the designated calling link, and the test efficiency and the test convenience are greatly improved.

Description

technical field [0001] The technical field of service function testing of the present invention particularly relates to a designated consumption method and device for RPC services or messages, a storage medium and a terminal. Background technique [0002] With the development and growth of the company's business, a complete business process involves many services, and each service may deploy multiple environments at the same time due to version iterations or other requirements, resulting in multiple versions of the same service, and there may be differences between services. There is an association through RPC services or message queues, so that the service calls of the entire business process are presented as a tree structure, and each branch is a possible call link. Therefore, in the testing process, if the tester wants to perform functional testing according to a specific call link, it will become complicated and difficult to implement. [0003] When performing a functio...

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/54
CPCG06F9/546G06F9/547G06F2209/548
Inventor 邹晓栋汤恒杰聂庆刚
Owner 青岛迅隆信息科技有限责任公司
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