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

Service processing method and device based on strategy mode, equipment and storage medium

A service processing and strategy technology, applied in the field of big data, which can solve the problems of low service processing efficiency and redundant code.

Pending Publication Date: 2020-06-05
CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing solution, different services correspond to different data formats, and corresponding codes are required for processing. The codes are lengthy and the service processing efficiency is low.

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
  • Service processing method and device based on strategy mode, equipment and storage medium
  • Service processing method and device based on strategy mode, equipment and storage medium
  • Service processing method and device based on strategy mode, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention provides a service processing method, device, device, and storage medium based on a strategy pattern, which is used to call the corresponding parameter parser for processing when the data format of the service changes, avoiding the generation of a large number of repeated codes, and simplifying the data The processing process improves the processing efficiency of the service.

[0029] In order to enable those skilled in the art to better understand the solutions of the present invention, the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0030] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable u...

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 relates to the technical field of big data, and discloses a service processing method and device based on a strategy mode, equipment, and a storage medium, which are used for calling a corresponding parameter analyzer for processing when a data format of a service is changed, so that a data processing process is simplified. The method comprises the steps of receiving a target serviceinstruction sent by a terminal, the target service instruction being used for obtaining target service data, analyzing the target service instruction and determining a target calling strategy corresponding to the target service instruction, determining a target result processor according to the target calling strategy, the target result processor being used for indexing a target parameter analyzer and the target parameter analyzer being used for providing target service data, judging whether the target result processor finishes registration in a control inversion container or not, and if thetarget result processor finishes registration in the control inversion container, determining a target interface of a target parameter analyzer corresponding to the target result processor, and calling the target interface to access the target parameter analyzer.

Description

technical field [0001] The present invention relates to the technical field of big data, and in particular to a service processing method, device, equipment and storage medium based on a strategy pattern. Background technique [0002] With the promotion of micro-service architecture, more and more companies use micro-services to build their own business platforms, and the calls between different services become more and more frequent. The input and output parameters of interface calls are usually in the data form of json data format to meet the restful style. The content returned by the interface call mainly includes the encoding code and message message representing the call result, as well as the returned data data. However, the format of the returned data defined by different services is different, not only the format is different, the parameter name is also different, and the code representing success is also different. [0003] This brings about a problem. In the proc...

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): G06F8/41
CPCG06F8/427
Inventor 陈笛
Owner CHINA PING AN PROPERTY INSURANCE CO LTD