Unlock instant, AI-driven research and patent intelligence for your innovation.

Data interaction method based on Protobuf protocol dynamic analysis

A data interaction and data technology, applied in the direction of structured data retrieval, electronic digital data processing, database management system, etc., can solve the problems of manpower consumption, achieve the effect of improving test efficiency, saving labor cost and time cost

Pending Publication Date: 2021-12-03
唯品会(广州)软件有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, for the application scenario of interface data interaction of the PB data protocol, for each data of a Protobuf protocol file, it is necessary to manually develop and implement a Protobuf protocol code file, and then convert the plaintext data into new Protobuf protocol data and return it to the interface The requester, and redeploy the tool application service, this process requires a lot of repetitive work and consumes a lot of manpower

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
  • Data interaction method based on Protobuf protocol dynamic analysis
  • Data interaction method based on Protobuf protocol dynamic analysis
  • Data interaction method based on Protobuf protocol dynamic analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0043] Protobuf (referred to as PB) is an efficient data transmission format. When reading and writing data, it is necessary to serialize and deserialize the protocol code file after the Protobuf protocol is parsed. In the application service development and testing process, for the application scenarios of interface data interaction of PB data protocol, a reliable and efficient interface mock tool is required, which is convenient for developers and testers 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 data interaction method based on the protobuf protocol dynamic analysis. The method comprises the steps of when a tester configures analog interface data on a front-end page, inputting matching rule data and pre-agreed protobuf protocol file description content, after a rear end receives the analog interface data, monitoring and intercepting interface request service, matching the interface request service and the matching rule data in the analog interface data, dynamically analyzing the matching rule data through the Protobuf protocol file description content after the matching succeeds, and returning a binary array type message obtained after the analysis to an interface requester in the interface request service as service response data. In the process, interface data interaction can be carried out without repeated work of testers, so that the test efficiency is effectively improved, and the labor cost and the time cost are saved.

Description

technical field [0001] The invention relates to the technical field of development and testing, in particular to a data interaction method, device, storage medium and computer equipment based on the dynamic analysis of the Protobuf protocol. Background technique [0002] Protobuf (referred to as PB) is an efficient data transmission format. When reading and writing data, it is necessary to serialize and deserialize the protocol code file after the Protobuf protocol is parsed. In the application service development and testing process, for the application scenarios of interface data interaction of PB data protocol, a reliable and efficient interface mock tool is required, which is convenient for developers and testers to quickly perform interface data simulation of different PB protocol data in plain text conversion, in order to deal with Different test scenarios to ensure application service quality. [0003] At present, for the application scenario of interface data intera...

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): G06F16/25G06F16/2455G06F16/16H04L29/06H04L29/08
CPCG06F16/252G06F16/24564G06F16/16H04L69/22H04L67/06
Inventor 胡梦
Owner 唯品会(广州)软件有限公司