Business requirement abstraction granularization configuration reorganization method and device

By abstracting business requirements rules and events into granular units and storing them in a rules and event pool, and managing them using the Spring container, the coding and release issues caused by new requirements in existing technologies are resolved, achieving rapid response and improved stability.

CN115344238BActive Publication Date: 2025-12-19SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210943323.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-08
Publication Date
2025-12-19
Estimated Expiration
2042-08-08

AI Technical Summary

Technical Problem

In existing technologies, when faced with new business requirements, it is necessary to recode, test, and release new versions, which leads to slow business response speed, waste of human resources, and reduced system stability.

Method used

The basic and peripheral rules of business requirements are abstracted into granular units and stored in a preset rule pool; events are abstracted into granular units and stored in a preset event pool, and managed through the Spring container to realize the combined configuration of rules and events.

Benefits of technology

It enables meeting new requirements without coding or release, improving business response speed, reducing human resource consumption, and enhancing system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115344238B_ABST
    Figure CN115344238B_ABST
Patent Text Reader

Abstract

The application relates to a service demand abstract granulation configuration reorganization method and device, which comprises the following steps: obtaining basic rules and peripheral rules of service demands, and abstracting the basic conditions and peripheral conditions into granules and storing the granules into a preset rule pool; determining events to be executed in the service demands, abstracting the events to be executed into granules, and storing the granules into a preset event pool; determining rules and events required by new demands, obtaining the required rule granules from the rule pool, obtaining the required event granules from the event pool, combining the rule granules and the event granules, and performing operation when operation conditions are met; wherein the rule pool and the event pool adopt spring containers. The application granulates, abstracts and extracts service rules into a rule pool, granulates, abstracts and extracts events to be executed by the service into an event pool, and elements in the rule pool and the event pool can be combined through configuration, so that new demands can be realized without coding and version release.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of software, and particularly relates to a business demand abstract granulation configuration reorganization method and device. BACKGROUND

[0002] System software refers to a system for controlling and coordinating computers and external devices, supporting application software development and operation, and is a collection of various programs without user intervention. The main function is to schedule, monitor and maintain the computer system; responsible for managing various independent hardware in the computer system so that they can work in coordination. System software enables computer users and other software to treat the computer as a whole without needing to consider how each hardware at the bottom works. Software systems often have some commonalities, and with the change of business, a large number of new demands are often put forward. Many demands have certain commonalities and differences. When new demands are encountered, they are often implemented through re-coding, testing and release.

[0003] In the related art, re-coding, testing and release have the following disadvantages:

[0004] (1) Software developers need to schedule, code, test and release when encountering new demands, and the business response speed is slow.

[0005] (2) Repetitive coding and release not only waste a large amount of human resources, but also reduce the stability of the system.

[0006] (3) The frequently changed business demand codes are dispersed to various business modules and cannot be reused. SUMMARY

[0007] Therefore, the purpose of the present application is to overcome the shortcomings of the prior art and provide a business demand abstract granulation configuration reorganization method and device to solve the problems of re-coding, testing and release when encountering new demands in the prior art.

[0008] To achieve the above purpose, the application adopts the following technical scheme: a business demand abstract granulation configuration reorganization method, comprising:

[0009] Obtaining the basic rules and peripheral rules of business demands, abstracting the basic conditions and peripheral conditions into granules, and storing the granules in a preset rule pool;

[0010] Determining events that need to be executed in the business demand, abstracting the events that need to be executed into granules, and storing the granules in a preset event pool;

[0011] acquiring a new requirement, determining a required rule and a required event for the new requirement, acquiring a required rule particle from the rule pool, acquiring a required event particle from the event pool, combining the rule particle and the event particle, and executing when a running condition is met;

[0012] The rule pool and the event pool are spring containers.

[0013] Further, after determining the required rule and the required event for the new requirement, the method further comprises:

[0014] determining whether the required rule is in the rule pool;

[0015] If the required rule is not in the rule pool, the required rule is developed and abstracted into a particle and stored in the rule pool.

[0016] Further, after determining the required rule and the required event for the new requirement, the method further comprises:

[0017] determining whether the required event is in the event pool;

[0018] If the required event is not in the event pool, the required event is developed and abstracted into a particle and stored in the rule pool.

[0019] Further, the acquiring of the basic rule and the peripheral rule of the business requirement comprises:

[0020] acquiring input data and determining the input data as a basic rule;

[0021] acquiring peripheral data associated with the input data and determining the peripheral data as a peripheral rule.

[0022] Further, a judgment type rule is put into the rule pool; the judgment type rule comprises a judgment condition of a scanning network point and a judgment condition of a mobile phone address.

[0023] An execution event is put into the event pool; the execution event comprises a destination identifier execution event.

[0024] Embodiments of the application provide a business requirement abstract particle configuration reorganization device, comprising:

[0025] an acquiring module configured to acquire a basic condition and a peripheral condition of a business requirement, abstract the basic condition and the peripheral condition into particles, and store the particles in a preset rule pool;

[0026] a determining module configured to determine an event required to be executed in the business requirement, abstract the event required to be executed into a particle, and store the particle in a preset event pool;

[0027] A configuration module is configured to acquire a new requirement, determine rules and events required by the new requirement, acquire required rule particles from the rule pool, acquire required event particles from the event pool, combine the rule particles and the event particles, and perform configuration operation when a running condition is met.

[0028] The rule pool and the event pool both use spring containers.

[0029] The embodiment of the application provides a computer device, comprising a memory and a processor, the memory stores a computer program, and the computer program is executed by the processor to make the processor execute the steps of the business requirement abstraction granulation configuration recombination method.

[0030] The embodiment of the application also provides a computer storage medium storing a computer program, and the computer program is executed by the processor to make the processor execute the steps of the business requirement abstraction granulation configuration recombination method.

[0031] The technical scheme of the application can achieve the following beneficial effects:

[0032] The application provides a business requirement abstraction granulation configuration recombination method and device, which has the following advantages:

[0033] 1. The business rules are granulated, abstracted, and extracted into a rule pool, and the events required by the business are granulated, abstracted, and extracted into an event pool.

[0034] 2. The elements in the rule pool and the event pool can be combined by configuration, thereby realizing new requirements without coding and release.

[0035] 3. New rules or events can be reused for other requirements by developing them only once, thereby truly realizing "one development, multiple requirements sharing".

[0036] 4. The new requirements can be completed by configuration recombination, the business can be responded to more quickly, the consumption of human resources is reduced, and the system stability is improved. BRIEF DESCRIPTION OF DRAWINGS

[0037] In order to more clearly illustrate the technical scheme in the embodiments of the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiment or the prior art description. Obviously, the drawings in the following description only some embodiments of the application, and for those skilled in the art, other drawings can be obtained without creative labor on the basis of these drawings.

[0038] Figure 1 The figure is a schematic diagram of the steps of the business requirement abstraction granulation configuration recombination method.

[0039] Figure 2 A flowchart of a reorganization method configured by abstracting and granulating service requirements of the present application;

[0040] Figure 3 A structural diagram of a reorganization device configured by abstracting and granulating service requirements of the present application;

[0041] Figure 4 A hardware environment diagram of a reorganization method configured by abstracting and granulating service requirements of the present application. DETAILED DESCRIPTION

[0042] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be described in detail below. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.

[0043] A specific service requirement abstract granulation reorganization method and device provided in an embodiment of the present application will be described below with reference to the drawings.

[0044] As shown in Figure 1 the service requirement abstract granulation reorganization method provided in the embodiment of the present application includes:

[0045] S101, obtaining a basic rule and a peripheral rule of a service requirement, abstracting both the basic condition and the peripheral condition into a granule, and storing the granule into a preset rule pool;

[0046] S102, determining an event to be executed in the service requirement, abstracting the event to be executed into a granule, and storing the granule into a preset event pool;

[0047] S103, obtaining a new requirement, determining a rule required by the new requirement and an event required by the new requirement, obtaining the required rule granule from the rule pool, obtaining the required event granule from the event pool, combining the rule granule and the event granule, and running when a running condition is met;

[0048] The rule pool and the event pool both use a spring container.

[0049] The working principle of the service requirement abstract granulation reorganization method is as follows: Figure 2It can be understood that the particle in the application refers to splitting the premise condition of business requirement and the execution event to the minimum unit. Then the basic condition and the peripheral condition of the minimum unit are stored in the preset rule pool, and the execution event of the minimum unit is stored in the preset event pool. The rule pool and the event pool are a collection of multiple business objects, and the rules and events are stored in the spring container to form the rule pool and the event pool after being split to the minimum unit. When a new business requirement is obtained, the required rules and the required events of the new requirement are determined, and then the required rules are obtained from the rule pool and the required events are selected from the event pool. The rules and events are fused and configured to achieve the effect of meeting the business requirement.

[0050] It can be understood that, for example, the business requirement is: when the scanning point of express delivery is Shanghai and the address of the recipient contains "university", the item needs to be marked with a "university item" mark.

[0051] The business requirement can be split into three particles, for example: the judgment condition of the scanning point (placed in the rule pool), the judgment condition of the mobile phone address (placed in the rule pool), and the execution event of marking the "university item" (placed in the event pool). Specifically, the application splits complex requirements into the smallest unit, which can be compared to building block particles. With multiple building block particles, various different things can be arbitrarily combined.

[0052] In some embodiments, after determining the required rules and the required events of the new requirement, the method further includes:

[0053] determining whether the required rules are in the rule pool;

[0054] If the required rules are not in the rule pool, the required rules are developed and abstracted into particles and stored in the rule pool.

[0055] In some embodiments, after determining the required rules and the required events of the new requirement, the method further includes:

[0056] determining whether the required events are in the event pool;

[0057] If the required events are not in the event pool, the required events are developed and abstracted into particles and stored in the rule pool.

[0058] Specifically, if part of the rules or events of the new requirement are not in the pool, only the part of the function needs to be developed and then stored, so that the subsequent requirements can also be used.

[0059] In some embodiments, the method of obtaining the basic rules and the peripheral rules of the business requirement includes:

[0060] obtaining input data, and determining the input data as the basic rules;

[0061] acquire peripheral data associated with the input data, and determine the peripheral data as a peripheral rule.

[0062] Specifically, the basic rule can be implemented by the input data, and the peripheral rule needs to be implemented by acquiring peripheral data associated with the input data.

[0063] In some embodiments, a judgment type rule is put into a rule pool; the judgment type rule includes a judgment condition of a scanning network point and a judgment condition of a mobile phone address.

[0064] An execution event is put into an event pool; the execution event includes a destination identification execution event.

[0065] In some embodiments, as shown in the figure, Figure 3 The embodiment of the application provides a service demand abstract granulation configuration reorganization device, which comprises:

[0066] An acquisition module 301 is configured to acquire basic conditions and peripheral conditions of a service demand, abstract the basic conditions and the peripheral conditions into granules, and store the granules into a preset rule pool.

[0067] A determination module 302 is configured to determine events that need to be executed in the service demand, abstract the events that need to be executed into granules, and store the granules into a preset event pool.

[0068] A configuration module 303 is configured to acquire a new demand, determine rules and events required by the new demand, acquire required rule granules from the rule pool, acquire required event granules from the event pool, combine the rule granules and the event granules, and perform configuration and operation when a running condition is met.

[0069] The rule pool and the event pool both adopt spring containers.

[0070] The working principle of the service demand abstract granulation configuration reorganization device provided by the application is that the acquisition module 301 acquires basic conditions and peripheral conditions of a service demand, abstracts the basic conditions and the peripheral conditions into granules, and stores the granules into a preset rule pool; the determination module 302 determines events that need to be executed in the service demand, abstracts the events that need to be executed into granules, and stores the granules into a preset event pool; the configuration module 303 is configured to acquire a new demand, determine rules and events required by the new demand, acquire required rule granules from the rule pool, acquire required event granules from the event pool, combine the rule granules and the event granules, and perform configuration and operation when a running condition is met; and the rule pool and the event pool both adopt spring containers.

[0071] The application provides a computer device, comprising a memory and a processor, and further comprising a network interface, the memory stores a computer program, the memory can comprise a non-permanent memory in a computer readable medium, such as a random access memory (RAM) and / or a non-volatile memory, for example, a read-only memory (ROM) or a flash memory (flash RAM). The computer device stores an operating system, and the memory is an example of a computer readable medium. The computer program is executed by the processor, so that the processor executes a service requirement abstraction granulation configuration reorganization method, Figure 4 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the application, and does not constitute a limitation on the computer device to which the scheme of the application is applied. The specific computer device can comprise more or fewer components than those shown in the figure, or some components can be combined, or have a different component arrangement.

[0072] In one embodiment, the service requirement abstraction granulation configuration reorganization method provided by the application can be realized in the form of a computer program, which can run on a computer device as shown in the figure. Figure 4

[0073] In some embodiments, the computer program is executed by the processor, so that the processor executes the following steps: obtaining a basic rule and a peripheral rule of a service requirement, abstracting the basic condition and the peripheral condition into granules, and storing the granules in a preset rule pool; determining an event to be executed in the service requirement, abstracting the event to be executed into a granule, and storing the granule in a preset event pool; obtaining a new requirement, determining a required rule and a required event of the new requirement, obtaining a required rule granule from the rule pool, obtaining a required event granule from the event pool, combining the rule granule and the event granule, and running when a running condition is met; wherein the rule pool and the event pool both adopt a spring container.

[0074] The application also provides a computer storage medium. Examples of the computer storage medium of the computer include, but are not limited to, a phase change memory (PRAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), other types of random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory or other memory technology, a compact disc read-only memory (CD-ROM), a digital versatile disc (DVD) or other optical storage, a magnetic cassette memory or other magnetic storage device, or any other non-transmission medium that can be used to store information accessible to a computing device.

[0075] ​In some embodiments, the application further provides a computer readable storage medium storing a computer program, when executed by a processor, acquires basic rules and peripheral rules of a service requirement, abstracts the basic rules and the peripheral rules into granules, and stores the granules into a preset rule pool; determines events to be executed in the service requirement, abstracts the events to be executed into granules, and stores the granules into a preset event pool; acquires a new requirement, determines rules and events required by the new requirement, acquires required rule granules from the rule pool, acquires required event granules from the event pool, combines the rule granules and the event granules, and executes when a running condition is met; wherein the rule pool and the event pool both use a spring container.

[0076] In summary, the application provides a service requirement abstract granulation configuration reorganization method and device, which includes acquiring basic rules and peripheral rules of a service requirement, abstracting the basic rules and the peripheral rules into granules, and storing the granules into a preset rule pool; determining events to be executed in the service requirement, abstracting the events to be executed into granules, and storing the granules into a preset event pool; acquiring a new requirement, determining rules and events required by the new requirement, acquiring required rule granules from the rule pool, acquiring required event granules from the event pool, combining the rule granules and the event granules, and executing when a running condition is met; wherein the rule pool and the event pool both use a spring container. The application granulates, abstracts, and extracts service rules into a rule pool, granulates, abstracts, and extracts events to be executed in a service into an event pool, and combines elements in the rule pool and the event pool through configuration, thereby realizing a new requirement without coding and release, and realizing "one development, multiple requirement sharing" and completing a new requirement through configuration reorganization, which can more quickly respond to a service, reduce human resource consumption, and improve system stability.

[0077] It can be understood that the method embodiments provided above correspond to the device embodiments described above, and the specific contents can be mutually referred to, which will not be described herein again.

[0078] Those skilled in the art should understand that embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt a computer program product in the form of one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer usable program codes.

[0079] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps in one or more flow or blocks.

[0080] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps in one or more flow or blocks.

[0081] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flow or blocks Figure 1 means for functionally implementing the steps in one or more flow or blocks.

[0082] The above description is only specific embodiments of the application, but the protection scope of the application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the application, which should be covered by the protection scope of the application. Therefore, the protection scope of the application should be subject to the protection scope of the claims.

Claims

1. A service requirement abstraction granularization configuration reorganization method, characterized by, The method comprises the following steps: obtaining basic rules and peripheral rules of business requirements, including: obtaining input data, determining the input data as basic rules; obtaining peripheral data associated with the input data, and determining the peripheral data as peripheral rules; abstracting the basic rules and the peripheral rules into particles, and storing the particles in a preset rule pool; determining events that need to be executed in the business requirements, abstracting the events into particles, and storing the particles in a preset event pool; obtaining a new requirement, determining required rules and required events of the new requirement, obtaining required rule particles from the rule pool, obtaining required event particles from the event pool, combining the rule particles and the event particles, and performing running when a running condition is met; wherein the rule pool and the event pool both use spring containers.

2. The method of claim 1, wherein, After determining the required rules and the required events of the new requirement, the method further comprises the following steps: judging whether the required rules are in the rule pool; if the required rules are not in the rule pool, developing the required rules and abstracting the required rules into particles, and storing the particles in the rule pool.

3. The method according to claim 1 or 2, characterized in that, After determining the required rules and the required events of the new requirement, the method further comprises the following steps: judging whether the required events are in the event pool; if the required events are not in the event pool, developing the required events and abstracting the required events into particles, and storing the particles in the rule pool.

4. The method of claim 1, wherein: judgment-type rules are put into the rule pool; the judgment-type rules include judgment conditions of scanning network points and judgment conditions of mobile phone addresses; execution events are put into the event pool; the execution events include destination identification execution events.

5. A service requirement abstraction granularization configuration reorganization apparatus characterized by comprising: The method comprises the following steps: an obtaining module is configured to obtain input data, determine the input data as basic rules, obtain peripheral data associated with the input data, and determine the peripheral data as peripheral rules; and abstract the basic rules and the peripheral rules into particles, and store the particles in a preset rule pool; a determining module is configured to determine events that need to be executed in business requirements, abstract the events into particles, and store the particles in a preset event pool; a configuring module is configured to obtain a new requirement, determine required rules and events of the new requirement, obtain required rule particles from the rule pool, obtain required event particles from the event pool, combine the rule particles and the event particles, and perform configuration running when a running condition is met; wherein the rule pool and the event pool both use spring containers.

Citation Information

Patent Citations

  • Business-based deviation reason identification method and device and electronic equipment

    CN113706098A

  • Atomic program configuration method and device

    CN113934418A