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

A method and a device for recording a context request execution process

An execution process and context technology, applied in the computer field, can solve problems such as the inability to record complex business module request context methods, the inability to ensure the accuracy of the sequence of business modules, and the inability to update scenes in time, so as to achieve efficient changes, ensure normal operation, Reduce maintenance costs

Active Publication Date: 2019-04-05
武芮
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of Internet technology, the current website architecture mainly adopts the method of front-end rendering and separation of front-end and back-end, while the data transmission between front-end and back-end is mainly realized through API (Application Programming Interface, application programming interface). Manage the calling process of the business request context, which can provide important references for the work of front-end and back-end development, testing and other personnel, especially for new recruits or personnel who are not familiar with the business. However, the existing API interface tools are not There are certain shortcomings. For example, the shortcomings of the current API context tool based on business modules include: it can only record the request context mode of a single business API, and cannot record the request context mode of complex business modules; it is suitable for scenarios with frequent business changes , the scene cannot be updated in time; it is necessary to maintain the API interfaces of each business module, and the cost of manpower maintenance is too high. For example, when developers add new API interfaces or modify the request parameters of existing API interfaces, etc., they need to Additional personnel will update the interface changed in this part in a timely manner. Failure to update it in time may lead to abnormal calls of functions that depend on this part of the interface, and the accuracy of the interdependence relationship between business modules and the order of execution cannot be guaranteed.

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 method and a device for recording a context request execution process
  • A method and a device for recording a context request execution process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] 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.

[0025] Such as figure 1 As shown, it is a flowchart of a method for recording a context request execution process in an embodiment of the present invention, including:

[0026] 101. Execute each business use case according to the predetermined execution rules;

[0027] 102. When monitoring the execution of any business use case, obtain the context request of the business use case, and obtain the version information of each offline context record text of the b...

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 method and device for recording a context request execution process, and the method comprises the steps: obtaining a context request of a service case, and obtaining version information of each offline context record text of the service case cached in a predetermined memory address; Judging whether the version number of the request in the context requestof the service case is higher than the version number in the version information of any offline context record text of the service case or not; If yes, recording an execution process of the context request; After the context request is successfully executed, generating a first context record text for the service case from an execution process of the context request according to a data format of akey value pair; And updating the version number of the request in the context request of the service case to a predetermined memory address. According to the method and the device, accurate and efficient service change can be realized through the text generated by the context without depending on manual maintenance of manpower.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for recording the execution process of a context request. Background technique [0002] With the development of Internet technology, the current website architecture mainly adopts the method of front-end rendering and separation of front-end and back-end, while the data transmission between front-end and back-end is mainly realized through API (Application Programming Interface, application programming interface). Manage the calling process of the business request context, which can provide important references for the work of front-end and back-end development, testing and other personnel, especially for new recruits or personnel who are not familiar with the business. However, the existing API interface tools are not There are certain shortcomings. For example, the shortcomings of the current API context tool based on business modules include: it can only ...

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): G06F16/23G06F16/2455
Inventor 武芮
Owner 武芮
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