Factory-class-based interface message processing method and apparatus, equipment and storage medium

A message processing and factory technology, applied in the field of data processing, can solve problems such as poor code readability, and achieve the effects of high code readability, reduced test burden, and easy modification.

Pending Publication Date: 2019-09-06
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, it is necessary to process the customer data corresponding to multiple breakpoint scenarios in one class, which causes frequent modification of code logic and poor code readability, and provides an interface message processing method based on factory classes, Devices, equipment and storage media

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
  • Factory-class-based interface message processing method and apparatus, equipment and storage medium
  • Factory-class-based interface message processing method and apparatus, equipment and storage medium
  • Factory-class-based interface message processing method and apparatus, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0040] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof.

[0041] figure 1 It is a flow chart of the factory class-based interface mess...

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 data processing, in particular to a factory-class-based interface message processing method and apparatus, equipment and a storage medium. The factory-class-based interface message processing method comprises the steps: receiving interface messages transmitted by different breakpoint scenes through interfaces, obtaining basic information and specificinformation in the interface messages, and obtaining scene types from the specific information; calling a preset factory class, and analyzing the basic information through a parent class in the factory class to obtain basic data; and mapping a corresponding processing class in the factory class through the scene type, and analyzing the specific information through the processing class to obtain personalized data. According to the invention, the basic information of the interface message in the breakpoint scene is used as a common part, and the specific information is processed by the processing class corresponding to each breakpoint scene, and universal and personalized codes are separated, so that modification, addition and maintenance of personalized codes are facilitated, and the codereadability is high.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a factory class-based interface message processing method, device, equipment and storage medium. Background technique [0002] At present, one of the main business functions of the telemarketing retail system is to undertake the interface messages of different breakpoint scenarios transmitted from the upstream system through the interface. These interface messages are all customer data. [0003] In the existing implementation scheme, all customer data of breakpoint scenarios are put in one class for processing. Every time a breakpoint scenario is added, the code logic in this class must be modified. The readability of the code is very poor, and the code coupling is extremely low. And every time the code is modified, the code change may affect customers of all breakpoint scenarios. Data processing, so all breakpoint scenarios must be tested again, which increases ...

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/20
CPCG06F8/24
Inventor 黄泽浩章锦涛
Owner PING AN TECH (SHENZHEN) 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