CN107679937B - Method, system, storage medium and device for customizing service function - Google Patents

Method, system, storage medium and device for customizing service function Download PDF

Info

Publication number
CN107679937B
CN107679937B CN201710839116.8A CN201710839116A CN107679937B CN 107679937 B CN107679937 B CN 107679937B CN 201710839116 A CN201710839116 A CN 201710839116A CN 107679937 B CN107679937 B CN 107679937B
Authority
CN
China
Prior art keywords
service
function
atomic
library
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710839116.8A
Other languages
Chinese (zh)
Other versions
CN107679937A (en
Inventor
曹羽
顾丹铭
吴冲冲
刘广立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201710839116.8A priority Critical patent/CN107679937B/en
Publication of CN107679937A publication Critical patent/CN107679937A/en
Application granted granted Critical
Publication of CN107679937B publication Critical patent/CN107679937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0621Item configuration or customization

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a system, a storage medium and a device for customizing a service function, wherein the method comprises the following steps: receiving a requirement use case or a processing flow of a service function which needs to be customized by a user; dividing a requirement use case or a processing flow according to a single service function; extracting an atomic service from the dynamic service library according to the segmentation result; sending the atomic service to the user; receiving service function customization information fed back by a user; according to the service function customization information, integrating atomic services according to service types and service elements; issuing a service function to a dynamic service library according to the integration result; when the customized service with the same service function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding the user right; extracting an integration result from the dynamic service library according to the user authority; and analyzing the integrated result according to the unique service identifier, and dynamically generating a service function by using the analyzed result. The invention can meet the advantages of flexible requirement, low cost and convenience.

Description

Method, system, storage medium and device for customizing service function
Technical Field
The invention relates to the technical field of internet software system service, in particular to a method, a system, a storage medium and equipment for customizing a service function.
Background
At present, in the process of cross-enterprise information sharing of a supply chain, the internet of things and the like, a common way for how to obtain third-party data information or service functions is to obtain software system services of a third party through the internet, so that information sharing of the supply chain, the internet of things and the like is realized.
There are generally two modes of accessing third party software services: static function services and API (Application Programming Interface) services. For static function services, the main advantage is that the third party has developed and perfected the service functions, and can be directly used by other enterprises, the cost is low, but the flexible change requirements of users are difficult to meet because the functions are relatively fixed. For the API service mode, although the user can flexibly meet the own requirements by combining with the autonomous development, the API service mode has certain requirements on the research and development capability of the user, is complex to implement, and has high cost. Moreover, once the API is adjusted, the user needs to change the developed content accordingly, which is costly.
Disclosure of Invention
The embodiment of the invention provides a method for customizing a service function, which is used for simultaneously meeting the requirements of a user on flexibility, low cost and convenience of the service function. The method for customizing the service function comprises the following steps: receiving a requirement use case or a processing flow of a service function which needs to be customized by a user; dividing the received requirement use case or processing flow according to a single service function; extracting corresponding atomic services from the dynamic service library according to the segmentation result; sending the extracted atomic service to a user; receiving service function customization information fed back by a user according to the atomic service; according to the service function customization information, integrating atomic services according to service types and service elements; according to the integration result, issuing a service function to a dynamic service library; when the customized service with the same service function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding user authority for the registered service; extracting an integration result from the dynamic service library according to the user authority; analyzing the extracted integration result according to the service unique identifier; and dynamically generating a service function by using the analysis result.
In one embodiment, the method further comprises: when the customized service with the same service function as the issued service function exists in the dynamic service library, adding user permission to the customized service with the same service function as the issued service function; and extracting corresponding services from the dynamic service library according to the user authority so as to display the services for the user to select.
In one embodiment, the method further comprises: pre-forming a dynamic service library meeting the service customization requirement;
pre-forming a dynamic service library meeting the service customization requirements, comprising:
reading the use cases in the requirement use case library, and carrying out atom segmentation on the read use cases according to a single service function so as to generate a standardized atom service prototype according to a rule for realizing single service content; carrying out parameterization customization adjustment on the standardized atomic service prototype to generate a standardized atomic service component; constructing a service type catalog according to the standardized atomic service component; the service element is identified for the service type, a service element catalog is formed, and the service type catalog, the service element catalog and the standardized atomic service component are stored in the dynamic service library.
In one embodiment, the method further comprises: and receiving the processing logic sequence of the atomic service and the customization processing of the relevant parameters by the user, and generating service function customization information.
In one embodiment, the method further comprises: and carrying out data calling by using a WEB page or a Web service to acquire a dynamically generated service function.
The embodiment of the invention also provides a system for customizing the service function, so as to meet the requirements of flexible requirements, low cost and convenience of users on the service function. The system for customizing service functions includes:
a service atomization unit to: receiving a requirement use case or a processing flow of a service function which needs to be customized by a user; dividing the received requirement use case or processing flow according to a single service function; extracting corresponding atomic services from the dynamic service library according to the segmentation result;
a service customization unit to: sending the extracted atomic service to a user; receiving service function customization information fed back by a user according to the atomic service;
a service integration unit to: according to the service function customization information, integrating atomic services according to service types and service elements;
a service publishing unit configured to: according to the integration result, issuing a service function to a dynamic service library; when the customized service with the same service function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding user authority for the registered service;
a service providing unit for: extracting an integration result from the dynamic service library according to the user authority; analyzing the extracted integration result according to the service unique identifier; and dynamically generating a service function by using the analysis result.
In one embodiment, the service publishing unit is further configured to: when the customized service with the same service function as the issued service function exists in the dynamic service library, adding user permission to the customized service with the same service function as the issued service function; a service providing unit further configured to: and extracting corresponding services from the dynamic service library according to the user authority so as to display the services for the user to select.
In one embodiment, the system further comprises: an atom library production unit for: pre-forming a dynamic service library meeting the service customization requirement;
the atom library production unit comprises:
an atomic service prototype generation module to: reading the use cases in the requirement use case library, and carrying out atom segmentation on the read use cases according to a single service function so as to generate a standardized atom service prototype according to a rule for realizing single service content;
an atomic service component generation module to: carrying out parameterization customization adjustment on the standardized atomic service prototype to generate a standardized atomic service component;
a service type directory construction module to: constructing a service type catalog according to the standardized atomic service component;
a service element catalog formation module to: the service element is identified for the service type, a service element catalog is formed, and the service type catalog, the service element catalog and the standardized atomic service component are stored in the dynamic service library.
In one embodiment, the system further comprises: a client for: and receiving the processing logic sequence of the atomic service and the customization processing of the relevant parameters by the user, and generating service function customization information.
In one embodiment, the system further comprises: a client for: and carrying out data calling by using a WEB page or a Web service to acquire a dynamically generated service function.
The embodiment of the invention also provides a computer readable storage medium, which is used for simultaneously meeting the requirements of flexible requirements, low cost and convenience of users for service functions. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of customizing service functions of the embodiments described above.
The embodiment of the invention also provides computer equipment to meet the requirements of flexible requirements, low cost and convenience of the user on the service function. The computer device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for customizing service functions of the embodiments described above when executing the program.
In the embodiment of the invention, the service function is dynamically generated according to the requirement use case or the processing flow of the service function customized according to the requirement of the user, the service function can be customized according to different user requirements, and the flexible service customization according to the user requirement can be greatly supported through service atomization, so that the defect of static function service mode solidification in the internet software service can be overcome, and the limitation caused by function solidification is greatly broken through compared with a static function mode or a local customized mode. Moreover, the service function is generated by dividing the requirement case or the processing flow of the service function required to be customized according to a single service function, extracting the corresponding atomic service from the dynamic service library according to the division result, and the service function is divided into atomic-level service units, so that other enterprises can be supported to adopt dynamic atomic service assembly to support the business change of the enterprises, the problem that other enterprises need to carry out system transformation and upgrading due to API change is solved, compared with an API service mode, the API service mode has no research and development capability requirement on users and low use threshold, the service used by the users is packaged by technology, secondary development is not needed, the use is convenient and fast, and the cost is low.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a flow chart illustrating a method for customizing service features according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for customizing service features according to another embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for customizing service features in accordance with another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for pre-forming a dynamic service library meeting the service customization requirements according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a method for customizing service features according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a software use case of the method for customizing service functions according to the embodiment of the present invention;
FIG. 7 is a block diagram of a system for customizing service features in accordance with an embodiment of the present invention;
FIG. 8 is a schematic diagram of an atomic library production unit according to an embodiment of the invention;
FIG. 9 is a block diagram of a system for customizing service features in accordance with an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In order to solve the problems of static function service mode solidification and high API service mode cost in the internet software service, the invention provides a method for customizing a service function. Fig. 1 is a flowchart illustrating a method for customizing service functions according to an embodiment of the present invention. As shown in fig. 1, a method for customizing a service function according to an embodiment of the present invention may include:
step S101: receiving a requirement use case or a processing flow of a service function which needs to be customized by a user;
step S102: dividing the received requirement use case or processing flow according to a single service function;
step S103: extracting corresponding atomic services from the dynamic service library according to the segmentation result;
step S104: sending the extracted atomic service to a user;
step S105: receiving service function customization information fed back by a user according to the atomic service;
step S106: according to the service function customization information, integrating atomic services according to service types and service elements;
step S107: according to the integration result, issuing a service function to a dynamic service library;
step S108: when the customized service with the same service function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding user authority for the registered service;
step S109: extracting an integration result from the dynamic service library according to the user authority;
step S110: analyzing the extracted integration result according to the service unique identifier;
step S111: and dynamically generating a service function by using the analysis result.
In step S101, the user may input a requirement use case of the service function or a processing flow of the service function that needs to be customized at the client. In step S103, the atomic service may refer to a minimum service that cannot be subdivided. In step S105, the service function customizing information may be information such as a processing logic order and related parameters of the atomic service, for example. In the above step S106, the service type is, for example, a type in which loss of credit is performed, loan default, or the like. The service element is, for example, an enterprise certificate or the like. In the above step S106, the service function is saved to the dynamic service library by the release. In step S108, registering the service may include generating a service unique identifier and storing in a service registry. Adding user rights can enable the user to use the customized service according to the rights, and control the scope of the rights which can be used by the user. In the step S110, the extracted integration result may be analyzed at the server side. The steps can be completed at the server side.
The method for customizing the service function of the embodiment of the invention dynamically generates the service function according to the requirement use case or the processing flow of the service function which needs to be customized by the user, and can customize the service function according to different user requirements, thereby overcoming the defect of solidification of a static function service mode in the internet software service. The invention can support flexibly customizing service according to user requirement to a great extent through service atomization, and breaks through limitation brought by function solidification to a great extent compared with a static function mode or a local customization mode. Moreover, the service function is generated by dividing the requirement case or the processing flow of the service function required to be customized according to a single service function, extracting the corresponding atomic service from the dynamic service library according to the division result, and dividing the service function into atomic-level service units, so that other enterprises can be supported to adopt dynamic atomic service assembly to support the business change of the enterprises, and the problem that other enterprises need to perform system transformation and upgrading due to API change in the prior art is solved. Compared with an API service mode, the invention has no requirement on the research and development capability of a user and low use threshold, the service used by the user is packaged by technology and can be directly customized to obtain a service function, and the user does not need secondary development in the whole process.
Fig. 2 is a flow chart illustrating a method for customizing service functions according to another embodiment of the present invention. As shown in fig. 2, the method for customizing service functions shown in fig. 1 may further include:
step S112: when the customized service with the same service function as the issued service function exists in the dynamic service library, adding user permission to the customized service with the same service function as the issued service function;
step S113: and extracting corresponding services from the dynamic service library according to the user authority so as to display the services for the user to select.
The method for customizing the service function adds the user right to the existing customized service, and the user can directly use the existing customized service by using the added user right without issuing the same service function to the dynamic service library, so that the storage space of the dynamic service library can be saved. Corresponding service display is extracted from the dynamic service library for the user to select, so that the user can select the customized service from the displayed services, the information of the customized service function does not need to be repeatedly input, and the use is convenient.
The method for customizing the service function of the embodiment of the invention can also comprise the following steps:
step S114: and pre-forming a dynamic service library meeting the service customization requirement.
Step S114 may be performed at various step positions of the embodiment, for example, may be performed before step S101. FIG. 3 is a flowchart illustrating a method for pre-forming a dynamic service library meeting a service customization requirement according to an embodiment of the present invention. As shown in fig. 3, in the embodiment, the pre-forming a dynamic service library meeting the service customization requirement (step S114) may specifically include:
step S1141: reading the use cases in the requirement use case library, and carrying out atom segmentation on the read use cases according to a single service function so as to generate a standardized atom service prototype according to a rule for realizing single service content;
step S1142: carrying out parameterization customization adjustment on the standardized atomic service prototype to generate a standardized atomic service component;
step S1143: constructing a service type catalog according to the standardized atomic service component;
step S1144: the service element is identified for the service type, a service element catalog is formed, and the service type catalog, the service element catalog and the standardized atomic service component are stored in the dynamic service library.
In step S1141, the use cases in the required use case library may be provided by the user. In step S1142, for example, parameters of the atomic service may be extracted. In step S1143, the service type directory may be a multi-level tree structure, and the specific number of levels is extensible. For example, a certain credit worthiness service can be divided into service types such as a service for verifying the case where credit loss is performed, a service for verifying the case where a worker penalizes, a service for verifying the case where a loan default, etc., according to the rule of a single service content, and the service type directory can be extended. In step S1144, for example, the service for verifying the fact that the loss of credit is performed may be verification by an enterprise organization code, verification by a pin, or the like, and the recognizable service element directory contains an element type (e.g., a certificate type), an element value (e.g., a certificate number), or the like.
The method for customizing the service function of the embodiment of the invention can carry out atomization treatment on all cases in the required case library in advance by forming the dynamic service library meeting the service customization requirement in advance, is convenient for a user to directly extract and use, and can obtain the customized service function more conveniently.
In the embodiment, the dynamic service library can be divided into two-layer data structures and consists of a relational database and a distributed database, so that the guarantee of the dynamic service library can be improved. The relational data can be used for storing basic data, and the distributed data can be used for storing user classification data.
In an embodiment, the method for customizing service functions may further include: and receiving the processing logic sequence of the atomic service and the customization processing of the relevant parameters by the user, and generating service function customization information. Therefore, the service function customization requirements of users can be better met.
In an embodiment, the method for customizing service functions may further include: and carrying out data calling by using a WEB page or a Web service to acquire a dynamically generated service function. The client can use the WEB page or the Web service to call data and acquire required data information or service functions, and the use is convenient.
FIG. 4 is a flowchart illustrating a method for pre-forming a dynamic service library meeting the service customization requirement according to an embodiment of the present invention. As shown in fig. 4, in a specific implementation, the method for pre-forming a dynamic service library (a workflow of an atomic library production unit) meeting the service customization requirement may include:
step 201: reading a requirement example library in user requirements, carrying out atom segmentation according to a single service function aiming at each example, generating a standardized atom service prototype according to the rule of realizing single service content of the atom service, and carrying out parameterization, customization and adjustment on the atom service prototype to produce a standardized atom service component.
Step 202: and constructing a service type directory, wherein the service type directory is in a multi-level tree structure, and the specific number of levels is expandable.
For example, a certain credit worthiness service can be divided into service types such as a service for verifying the case where credit loss is performed, a service for verifying the case where a worker penalizes, a service for verifying the case where a loan default, etc., according to the rule of a single service content, and the service type directory can be extended.
Step 203: a service element catalog of atomic services is formed.
For example, the verify-loss-of-credit-performed-case service may be verify by enterprise organizational code, verify by personal identification card, or the like. The identifiable service element directory contains element types (e.g., credential types), element values (e.g., credential numbers), and the like.
Step 204: and storing the service type directory, the service element directory and the standard atomic service into a dynamic service library.
For example, a service for verifying the case where the loss of credit is performed by an organization code, a service for verifying the case of a loan default by an identification card, a loan default amount range, and the like.
The use cases in the requirement use case library can be repeatedly processed according to the above process through the steps 201 to 204 of circular execution, and finally all the atomization processing of the use cases in the requirement use case library is completed.
Fig. 5 is a flowchart illustrating a method for customizing service functions according to an embodiment of the present invention. As shown in fig. 5, in a specific implementation, the method for customizing service functions may include:
step 301: a service request of a user is received. The client may input a requirement case of the service function to be customized or a processing flow of the service function, and go to execute step 302, or go to execute step 305 if the customized service is directly used.
Step 302: the received demand use case or service function flow is divided according to a single service function, the atomic service related to the demand use case is extracted from the dynamic service library, the atomic service is provided for the user to customize the service, and the step 303 is executed.
Step 303: and performing service assembly according to the atomic service selected by the user, the customized atomic service processing logic sequence and the related parameters to generate an atomic service integration result, and turning to the step 304.
Taking credit worthiness service as an example, if a user needs to detect whether a company has credit loss executed or loan default according to an organization code, selecting an atomic service for verifying the credit loss executed condition according to the organization code and an atomic service for verifying the loan default condition according to the organization code, wherein the integrated result of the atomic services is to provide credit worthiness service according to service types (credit loss executed, loan default), service element types (company certificate) and service element values (organization code).
Step 304: and (3) releasing the customized service to the dynamic service library, if the same customized service exists, adding the user authority to the existing customized service, and if the same customized service does not exist, generating a service unique identifier, registering the new service and adding the user authority, and turning to the step 306.
Step 305: and extracting the service display in the dynamic service library according to the user authority for the user to select, and turning to the step 306.
Step 306: identifying the customized service requested by the user, extracting the atomic service integration result from the dynamic service library according to the service unique identifier for analysis, dynamically generating a service function which can be a WEB page or a WEB service, and going to the execution step 307.
Taking the credit worthiness service as an example, a WEB page with an organization structure code input box is generated.
Step 307: and the user uses the generated WEB page or the Web service to carry out data calling and acquire the required data information or service function.
Taking credit worthiness service as an example, the method generates a collision result by performing the collision of the executed loss credit and the loan default data according to the input organization code.
Step 308: service results are returned, such as whether the organization code hit was executed for loss of credit and a loan default condition.
In the embodiment, the service mode may be determined according to information in the received service request, if the dynamic service library has a service function that needs to be customized, the subsequent step of service access may be performed, and if the dynamic service library does not have a service function that needs to be customized, the subsequent step of service customization may be performed.
The embodiment of the method for obtaining atomic services by partitioning is described by a software case. Fig. 6 is a schematic diagram of a software use case of the method for customizing service functions according to the embodiment of the present invention. As shown in fig. 6, in the software use case for detecting services according to certificate type certificate numbers, the use case is atomically divided according to the rule for realizing single service content, and the use case can be divided into:
the loss of trust is performed to detect the atomic service: detecting whether the execution condition of the lost message is hit according to the certificate type certificate number;
loan default detection atomic service: detecting whether the loan default condition is hit according to the certificate type certificate number;
and (3) carrying out punishment detection atomic service by industry and commerce: and detecting whether the condition of punishment of the industry and commerce is hit according to the certificate type certificate number.
In this embodiment, when the user needs the service function of credit loss and loan default, the integrated result of the credit loss executed detection atomic service and the loan default detection atomic service can be extracted from the dynamic service library to be provided to the user, so that the user requirements can be flexibly met.
Based on the same inventive concept as the method for customizing the service function shown in fig. 1, the embodiment of the present application further provides a device for customizing the service function, as described in the following embodiments. Because the principle of the apparatus for customizing the service function to solve the problem is similar to the method for customizing the service function, the implementation of the apparatus for customizing the service function can refer to the implementation of the method for customizing the service function, and repeated details are not repeated.
Fig. 7 is a schematic structural diagram of a system for customizing service functions according to an embodiment of the present invention. As shown in fig. 7, a system for customizing a service function according to an embodiment of the present invention may include: a service atomization unit 401, a service customization unit 402, a service integration unit 403, a service publishing unit 404, and a service providing unit 405. The units are connected in sequence.
A service atomization unit 401, configured to: receiving a requirement use case or a processing flow of a service function which needs to be customized by a user; dividing the received requirement use case or processing flow according to a single service function; and extracting the corresponding atomic service from the dynamic service library according to the segmentation result.
A service customizing unit 402, configured to: sending the extracted atomic service to a user; and receiving service function customization information fed back by the user according to the atomic service.
A service integration unit 403 for: and according to the service function customization information, integrating the atomic service according to the service type and the service element.
A service publishing unit 404, configured to: according to the integration result, issuing a service function to a dynamic service library; and when the customized service with the same function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding user authority for the registered service.
A service providing unit 405 configured to: extracting an integration result from the dynamic service library according to the user authority; analyzing the extracted integration result according to the service unique identifier; and dynamically generating a service function by using the analysis result.
The system for customizing the service function can customize the service function according to different user requirements, so that the defect of solidification of a static function service mode in the internet software service can be overcome, and other enterprises can be supported to adopt atomic service dynamic assembly to support business change of the enterprises.
In an embodiment, the service publishing unit 404 is further configured to: when the customized service with the same service function as the issued service function exists in the dynamic service library, adding user permission to the customized service with the same service function as the issued service function; the service providing unit 405 is further configured to: and extracting corresponding services from the dynamic service library according to the user authority so as to display the services for the user to select.
FIG. 8 is a schematic diagram of an atomic library production unit according to an embodiment of the invention. As shown in fig. 8, the system for customizing a service function of an embodiment may further include: the atom library production unit 406, the atom library production unit 406 may be connected to the service atomization unit 401, for example. An atomic pool production unit 406 to: and pre-forming a dynamic service library meeting the service customization requirement.
The atom library production unit 406 may include:
an atomic service prototype generation module 4061 configured to: reading the use cases in the requirement use case library, and carrying out atom segmentation on the read use cases according to a single service function so as to generate a standardized atom service prototype according to a rule for realizing single service content;
an atomic service component generation module 4062, configured to: carrying out parameterization customization adjustment on the standardized atomic service prototype to generate a standardized atomic service component;
a service type directory construction module 4063, configured to: constructing a service type catalog according to the standardized atomic service component;
a service element directory forming module 4064 configured to: the service element is identified for the service type, a service element catalog is formed, and the service type catalog, the service element catalog and the standardized atomic service component are stored in the dynamic service library.
In an embodiment, the system for customizing service functions may further include: a client for: and receiving the processing logic sequence of the atomic service and the customization processing of the relevant parameters by the user, and generating service function customization information.
In an embodiment, the system for customizing service functions may further include: a client for: and carrying out data calling by using a WEB page or a Web service to acquire a dynamically generated service function.
Fig. 9 is a schematic structural diagram of a system for customizing service functions according to an embodiment of the present invention. As shown in fig. 9, in a specific implementation, the system of this embodiment may include: an atom library production unit 406, a dynamic service library 407, a service atomization unit 401, a service customization unit 402, a service integration unit 403, a service publishing unit 404, and a service providing unit 405. The connection relationship of the above units can be as shown in fig. 9.
Atom library production unit 406: and reading a requirement case library in the user requirements, and generating the atomic service unit by using the requirement case. And aiming at each requirement case, carrying out atom segmentation according to a single service function, and generating a standardized atomic service prototype according to a rule of realizing single service content of the atomic service. For example, fig. 6 illustrates an example of dividing a software use case of the certificate number detection service by certificate type into atomic service prototypes such as an atomic service executed by losing credit. Further, the atomic service prototype is parameterized, customized and adjusted to produce a standardized atomic service component, specifically, the service is classified by defining a service type directory, and a service element directory is formed by identifying service elements for each service type, and the service type directory, the service element directory, and the standard atomic service are stored in the dynamic service library 407. All the cases in the requirement case library are processed according to the above process repeatedly, and finally, all the atomization processing of the requirement case library is completed, so that the dynamic service library 407 meeting the customizable requirement is formed.
Dynamic service library 407: the method can be divided into two-layer data structure, and is composed of a relational database and a distributed database. The relational data is used for storing basic data, and the distributed data is used for storing user classification data.
The service atomization unit 401: the service atomization unit 401 divides the received demand use case or service function flow according to a single service function, extracts the demand-related atomic service from the dynamic service library 407, provides the demand-related atomic service to the service customization unit 402, and customizes the service function by the service customization unit 402.
The service customizing unit 402: the service atomization unit 401 is used for extracting the atomic service information and then providing the atomic service information to the client for service customization, and the client can perform customization processing on the processing logic sequence and the related parameters of the atomic service; finally, the service function customizing information is delivered to the service integrating unit 403, and is responsible for transmitting the atomic service range and the attribute thereof selected by the customizing service to the service integrating unit 403.
The service integration unit 403: and is configured to perform service assembly on the atomic service according to the service type and the service element according to the received service function customization information, generate an atomic service integration result, and output the atomic service integration result to the service publishing unit 404.
The service publishing unit 404: the atomic service integration result input by the service integration unit 403 generates a unique service identifier, registers a new service, adds a user right, and outputs a customized service release result to the dynamic service library 407.
The service providing unit 405: the system is configured to extract services in the dynamic service library 407 according to the user right, analyze an atomic service integration result according to the unique service identifier, and dynamically generate a service function, which may be, for example, a WEB page or a WEB service, and a client may use the WEB page or the WEB service to perform data call to obtain required data information or a service function.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for customizing service functions of the foregoing embodiments.
The embodiment of the present invention further provides a computer device, as shown in fig. 10, the computer device 500 includes a memory 510, a processor 520, and a computer program stored in the memory and executable on the processor, and when the processor 520 executes the computer program, the steps of the method for customizing the service function according to the foregoing embodiments are implemented.
In summary, compared with the static function service mode and the API service mode of the existing software system service that is obtained through the internet, the method, the system, the storage medium, and the device of the embodiments of the present invention have the following advantages:
(1) service function services are atomized, flexible service customization according to user requirements can be supported to the maximum extent, and compared with a static function mode or a local customization mode, the method greatly breaks through the limitation caused by function solidification and well overcomes the problem of solidification of the static function service mode in the internet software service;
(2) compared with an API service mode, the method has no requirement on the research and development capability of the user and low use threshold, and the service used by the user is packaged by the technology and does not need secondary development. The problem that the cost of an API service mode is high is solved, the service function is divided into atomic-level service units, other enterprises are supported to adopt atomic service dynamic assembly to support the business change of the enterprises, the problem that other enterprises need to be subjected to system transformation and upgrading due to API change in the prior art is solved, and the flexible requirements of other enterprises can be well met while the cost and the convenience are considered.
The method, the system, the memory and the computer equipment of the embodiment of the invention can be mainly divided into three partial processes, wherein one process is a process for atomizing service functions; secondly, a process of forming a customized service function by dynamically combining atomic services; thirdly, the combined atomic service is instantiated into an operable service function module, and the service is provided for the outside. The problem that static function service modes are solidified and API service modes are high in cost in internet software services is solved, service functions are divided into atomic-level service units, other enterprises are supported to adopt atomic service dynamic assembly to support business change, the problem that other enterprises need to be improved and upgraded due to API change in the prior art is solved, and the flexible requirements of other enterprises can be well met while cost and convenience are considered.
In the description herein, reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the various embodiments is provided to schematically illustrate the practice of the invention, and the sequence of steps is not limited and can be suitably adjusted as desired.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may 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 instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may 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 flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method for customizing service functions, comprising:
receiving a requirement use case or a processing flow of a service function which needs to be customized by a user;
dividing the received requirement use case or processing flow according to a single service function;
extracting corresponding atomic services from the dynamic service library according to the segmentation result;
sending the extracted atomic service to a user;
receiving service function customization information fed back by a user according to the atomic service;
according to the service function customization information, integrating atomic services according to service types and service elements;
according to the integration result, issuing a service function to a dynamic service library;
when the customized service with the same service function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding user authority for the registered service;
extracting an integration result from the dynamic service library according to the user authority;
analyzing the extracted integration result according to the service unique identifier;
and dynamically generating a service function by using the analysis result.
2. The method of customizing service functions of claim 1, further comprising:
when the customized service with the same service function as the issued service function exists in the dynamic service library, adding user permission to the customized service with the same service function as the issued service function;
and extracting corresponding services from the dynamic service library according to the user authority so as to display the services for the user to select.
3. The method of customizing service functions of claim 1, further comprising: pre-forming a dynamic service library meeting the service customization requirement;
pre-forming a dynamic service library meeting the service customization requirements, comprising:
reading the use cases in the requirement use case library, and carrying out atom segmentation on the read use cases according to a single service function so as to generate a standardized atom service prototype according to a rule for realizing single service content;
carrying out parameterization customization adjustment on the standardized atomic service prototype to generate a standardized atomic service component;
constructing a service type catalog according to the standardized atomic service component;
and identifying the service elements for the service types, forming a service element catalog, and storing the service type catalog, the service element catalog and the standardized atomic service component into a dynamic service library.
4. A method of customising service functionalities according to any one of claims 1 to 3, further comprising:
and receiving the processing logic sequence of the atomic service and the customization processing of the relevant parameters by the user, and generating service function customization information.
5. A method of customising service functionalities according to any one of claims 1 to 3, further comprising:
and carrying out data calling by using a WEB page or a Web service to acquire a dynamically generated service function.
6. A system for customizing service functions, comprising:
a service atomization unit to: receiving a requirement use case or a processing flow of a service function which needs to be customized by a user; dividing the received requirement use case or processing flow according to a single service function; extracting corresponding atomic services from the dynamic service library according to the segmentation result;
a service customization unit to: sending the extracted atomic service to a user; receiving service function customization information fed back by a user according to the atomic service;
a service integration unit to: according to the service function customization information, integrating atomic services according to service types and service elements;
a service publishing unit configured to: according to the integration result, issuing a service function to a dynamic service library; when the customized service with the same service function as the issued service does not exist in the dynamic service library, generating a service unique identifier according to the integration result to register the service, and adding user authority for the registered service;
a service providing unit for: extracting an integration result from the dynamic service library according to the user authority; analyzing the extracted integration result according to the service unique identifier; and dynamically generating a service function by using the analysis result.
7. The system for customizing service functions of claim 6,
a service publishing unit, further configured to: when the customized service with the same service function as the issued service function exists in the dynamic service library, adding user permission to the customized service with the same service function as the issued service function;
a service providing unit further configured to: and extracting corresponding services from the dynamic service library according to the user authority so as to display the services for the user to select.
8. The system for customizing service functions of claim 6, further comprising:
an atom library production unit for: pre-forming a dynamic service library meeting the service customization requirement;
the atom library production unit comprises:
an atomic service prototype generation module to: reading the use cases in the requirement use case library, and carrying out atom segmentation on the read use cases according to a single service function so as to generate a standardized atom service prototype according to a rule for realizing single service content;
an atomic service component generation module to: carrying out parameterization customization adjustment on the standardized atomic service prototype to generate a standardized atomic service component;
a service type directory construction module to: constructing a service type catalog according to the standardized atomic service component;
a service element catalog formation module to: the service element is identified for the service type, a service element catalog is formed, and the service type catalog, the service element catalog and the standardized atomic service component are stored in the dynamic service library.
9. A system for customizing service functions according to any one of claims 6 to 8, further comprising:
a client for: and receiving the processing logic sequence of the atomic service and the customization processing of the relevant parameters by the user, and generating service function customization information.
10. A system for customizing service functions according to any one of claims 6 to 8, further comprising:
a client for: and carrying out data calling by using a WEB page or a Web service to acquire a dynamically generated service function.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 5 are implemented when the program is executed by the processor.
CN201710839116.8A 2017-09-18 2017-09-18 Method, system, storage medium and device for customizing service function Active CN107679937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710839116.8A CN107679937B (en) 2017-09-18 2017-09-18 Method, system, storage medium and device for customizing service function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710839116.8A CN107679937B (en) 2017-09-18 2017-09-18 Method, system, storage medium and device for customizing service function

Publications (2)

Publication Number Publication Date
CN107679937A CN107679937A (en) 2018-02-09
CN107679937B true CN107679937B (en) 2021-01-01

Family

ID=61136658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710839116.8A Active CN107679937B (en) 2017-09-18 2017-09-18 Method, system, storage medium and device for customizing service function

Country Status (1)

Country Link
CN (1) CN107679937B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109815259B (en) * 2018-11-08 2023-06-06 平安科技(深圳)有限公司 Configuration method, device, equipment and storage medium of service field in gateway
CN111225014B (en) * 2018-11-27 2023-04-11 中兴通讯股份有限公司 Method, device and equipment for generating microservice and storage medium
CN111368158A (en) * 2020-03-31 2020-07-03 中国建设银行股份有限公司 Service searching method and device based on artificial intelligence platform
CN113448645A (en) * 2021-06-24 2021-09-28 树根互联股份有限公司 Service providing method and device, readable storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980475A (en) * 2010-10-18 2011-02-23 北京星网锐捷网络技术有限公司 Web service configuration management method and device
CN103716403A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 SAAS application deployment method and system for PAAS platform under cloud computing environment
CN104270446A (en) * 2014-09-30 2015-01-07 杭州节点科技有限公司 Enterprise management system integration method based on user selection
CN105760991A (en) * 2016-02-04 2016-07-13 北京慧友云商科技有限公司 Workflow engine establishment method of changeable service flow

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8386524B2 (en) * 2010-04-13 2013-02-26 International Business Machines Corporation Generating service specification of a service oriented architecture (SOA) solution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980475A (en) * 2010-10-18 2011-02-23 北京星网锐捷网络技术有限公司 Web service configuration management method and device
CN103716403A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 SAAS application deployment method and system for PAAS platform under cloud computing environment
CN104270446A (en) * 2014-09-30 2015-01-07 杭州节点科技有限公司 Enterprise management system integration method based on user selection
CN105760991A (en) * 2016-02-04 2016-07-13 北京慧友云商科技有限公司 Workflow engine establishment method of changeable service flow

Also Published As

Publication number Publication date
CN107679937A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN107679937B (en) Method, system, storage medium and device for customizing service function
CN108292231B (en) Method and system for generating applications from data
TWI650650B (en) Third party application execution method and system
US11652628B2 (en) Deterministic verification of digital identity documents
EP3945436A1 (en) Methods, apparatuses, and devices for generating digital document of title
US8843836B2 (en) Model driven content development
US11947936B2 (en) User interface common components and scalable integrable reusable isolated user interface
CN107301179A (en) The method and apparatus of data base read-write separation
CN113051354A (en) Online source searching method and device based on dynamic configuration and computer equipment
CN109544348B (en) Asset security screening method, device and computer readable storage medium
Al-Ali et al. Translating bpmn to business rules
CN116226921A (en) Desensitization processing method and device
WO2018206819A1 (en) Data storage method and apparatus
CN115543428A (en) Simulated data generation method and device based on strategy template
US8504506B2 (en) Systems and methods for modeling and analyzing solution requirements and assets
US11726818B1 (en) System for executing tasks in different programming languages
CN111625465B (en) Program generation method, device and system and electronic equipment
CN114237798A (en) Data processing method, device, server and storage medium
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN113849158A (en) JSON-based interface factory system, interface generation method and medium thereof
US20090271439A1 (en) Systems to implement business processes in computing environment
CN113506099A (en) Configuration system, method, computer device and storage medium for reporting service
CN111897883A (en) Entity model construction method and device, electronic equipment and medium
CN110737427A (en) Internet technology architecture, construction method and device thereof, electronic equipment and medium
CN115994194B (en) Method, system, equipment and medium for checking data quality of government affair big data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant