Method and device for expanding public service logic of domain entity

A public business, entity technology, applied in the direction of version control, instrumentation, software maintenance/management, etc., can solve the problems of repeated development, strong business logic dispersion, increase the extra workload of developers, etc., to achieve the effect of easy management

Pending Publication Date: 2020-11-24
SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a method and device for expanding the public business logic of domain entities to solve the problem of strong dispersion of business logic in domain-driven design development, which easily leads to repeated development and increases the extra workload of developers

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
  • Method and device for expanding public service logic of domain entity
  • Method and device for expanding public service logic of domain entity
  • Method and device for expanding public service logic of domain entity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0031] figure 1 The flow chart of the method for expanding the public business logic of domain entities provided by the embodiment of this application specifically includes the following steps:

[0032] S101: Determine the interface standard of the preset version.

[0033] In the embodiment of the present application, the server may determine the in...

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 discloses a method and a device for expanding public service logic of a domain entity, which are used for solving the problems that in domain-driven design and development, the service logic is high in dispersity, repeated development is easily caused, and the extra workload of developers is increased. The method comprises the following steps: determining an interface standard of a preset version; wherein the version represents public service logic of the entity, and the interface standard comprises version metadata information, a version metadata operation interface and an entity metadata version operation interface; calling the version metadata operation interface to obtain version information; and calling the entity metadata version operation interface according to the acquired version information, and determining to add or remove a version corresponding to the version information from a to-be-operated entity.

Description

technical field [0001] The present application relates to the technical field of software development, in particular to a method and device for extending the common business logic of domain entities. Background technique [0002] In domain-driven design development, entities in various domains often have similar business logic. For example, in an enterprise resource planning (Enterprise Resource Planning, ERP) system, the relevant business logic of the material in the procurement process needs to be consistent with the relevant business logic of the material in the receiving process. [0003] At present, in the process of software development, developers generally need to set the business logic of entities in various fields separately. Moreover, when modifying the business logic of an entity, it is also necessary to modify the business logic of the associated entity. [0004] However, in the process of modifying the similar business logic of entities separately, due to the...

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/30G06F8/71
CPCG06F8/313G06F8/71
Inventor 解其亮焦学瑞舒鹏飞魏忠法刘建涛徐同明
Owner SHANDONG INSPUR GENESOFT INFORMATION TECH 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