Business scene extension method and device, computer equipment and readable storage medium

By parsing and operating mapping the target objects and extended scenarios in the business system, the problem of cumbersome scenario expansion processing in the existing technology is solved, and efficient business scenario expansion processing is achieved.

CN119645967APending Publication Date: 2025-03-18KINGDEE SOFTWARE(CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411923105.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In the prior art, the scenario expansion processing of business systems is more cumbersome, resulting in low processing efficiency of business scenario expansion.

Method used

By determining the target object and the target expansion scenario, performing parameter analysis to obtain the scene expansion parameters, performing operation mapping based on preset parameter rules, obtaining the target expansion operation, and expanding the target object according to this operation to obtain the target expansion object.

Benefits of technology

Simplify the scenario expansion processing of business system objects and improve the processing efficiency of business scenario expansion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645967A_ABST
    Figure CN119645967A_ABST
Patent Text Reader

Abstract

The invention relates to a business scene extension method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: determining a target expansion scene for expanding a target object in a business system, wherein the target object is used for describing business data in the business system; performing parameter analysis on the target object and the target extension scene to obtain scene extension parameters; performing operation mapping according to a preset parameter rule based on the scene extension parameter to obtain a target extension operation for the target object; performing object expansion processing on the target object according to the target expansion operation to obtain a target expansion object; and the target extension object is used for describing the business data in the target extension scene. By adopting the method, the processing efficiency of business scene expansion can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a business scenario expansion method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In the business data management of business systems, various objects are often constructed to describe different business data to represent various business contents in the business system, such as constructing different data tables to record different business data. For example, in a human resources system, various data tables such as personnel files, transfer documents, and performance appraisal tables are constructed to carry various data such as personnel information, transfer information, and performance appraisal information.

[0003] With the continuous application and updating of business systems, objects in business systems need to be expanded according to different scenarios to carry business data in different scenarios. However, the current scenario expansion processing for business systems is cumbersome, resulting in low processing efficiency for business scenario expansion. Summary of the invention

[0004] Based on this, it is necessary to provide a business scenario expansion method, device, computer equipment, computer-readable storage medium and computer program product that can improve the efficiency of business scenario expansion processing in response to the above technical problems.

[0005] In a first aspect, the present application provides a business scenario expansion method, comprising:

[0006] Determine a target extension scenario for extending a target object in a business system, where the target object is used to describe business data in the business system;

[0007] Parameters of the target object and the target extended scene are parsed to obtain the scene extended parameters;

[0008] Based on the scene extension parameters, operation mapping is performed according to preset parameter rules to obtain a target extension operation for the target object;

[0009] According to the target extension operation, object extension processing is performed on the target object to obtain a target extension object; the target extension object is used to describe business data in the target extension scenario.

[0010] In a second aspect, the present application also provides a service scenario expansion device, including:

[0011] An extension scenario determination module, used to determine a target extension scenario for extending a target object in a business system, where the target object is used to describe business data in the business system;

[0012] A parameter parsing module is used to perform parameter parsing on a target object and a target extension scene to obtain scene extension parameters;

[0013] An operation mapping module is used to perform operation mapping based on the scene extension parameters according to preset parameter rules to obtain a target extension operation for the target object;

[0014] The object extension module is used to perform object extension processing on the target object according to the target extension operation to obtain the target extension object; the target extension object is used to describe the business data in the target extension scenario.

[0015] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above business scenario expansion method are implemented.

[0016] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above business scenario expansion method are implemented.

[0017] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above business scenario expansion method are implemented.

[0018] The above-mentioned business scenario expansion method, device, computer equipment, computer-readable storage medium and computer program product, when determining that it is necessary to expand the target object in the business system to the target expansion scenario, perform parameter parsing on the target object and the target expansion scenario, perform operation mapping according to preset parameter rules based on the obtained scenario expansion parameters, obtain the target expansion operation for the target object, perform object expansion processing on the target object according to the target expansion operation, and obtain the target expansion object, which can be used to describe the business data in the target expansion scenario. By performing parameter parsing on the target object and the target expansion scenario to obtain the scenario expansion parameters, performing operation mapping according to the parameter rules, and performing object expansion processing on the target object according to the target expansion operation obtained by the operation mapping, the processing of scenario expansion for the objects in the business system is simplified, thereby improving the processing efficiency of business scenario expansion. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 An application environment diagram of a business scenario expansion method in an embodiment;

[0021] Figure 2 A flowchart of a business scenario expansion method in one embodiment;

[0022] Figure 3 A schematic diagram of a process flow of combining scenes in one embodiment;

[0023] Figure 4 A schematic diagram of the structure of a business scenario expansion system in one embodiment;

[0024] Figure 5 A schematic diagram of the structure of a data dictionary model in one embodiment;

[0025] Figure 6 is a schematic diagram of an entity relationship in an embodiment that does not include key fields;

[0026] Figure 7 is a schematic diagram of entity relationships including key fields in one embodiment;

[0027] Figure 8 A schematic diagram of a flow chart of single-scenario expansion processing in an embodiment;

[0028] Fig. 9 It is a structural block diagram of a service scenario expansion device in an embodiment;

[0029] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0031] The business scenario expansion method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the terminal 102 communicates with the server 104 through a network. The data storage system can store data that the server 104 needs to process, and the data storage system can be integrated on the server 104, or placed on the cloud or other network servers.

[0032] The user can trigger the scene extension for the target object in the business system through the terminal 102. The terminal 102 can respond to the trigger operation and send a business scene extension request to the server 104. The business scene extension request can carry the target object set by the user and the corresponding target extension scene. After receiving the business scene extension request sent by the terminal 102, the server 104 can determine the target extension scene that needs to be extended for the target object in the business system based on the business scene extension request. The server 104 can perform parameter parsing for the target object and the target extension scene to obtain the scene extension parameter. The server can perform operation mapping according to the preset parameter rules based on the scene extension parameter, obtain the target extension operation for the target object, and perform object extension processing on the target object according to the target extension operation to obtain the target extension object for describing the business data in the target extension scene. In some embodiments, the server 104 can return the obtained target extension object to the terminal 102 so that it can be visually displayed in the terminal 102, so as to facilitate the user to determine the corresponding scene extension result.

[0033] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.

[0034] In an exemplary embodiment, Figure 2 As shown, a business scenario expansion method is provided, which is applied to Figure 1 The server in the example is used to illustrate, including the following steps 202 to 208. Among them:

[0035] Step 202 : determining a target extension scenario for extending a target object in the business system, where the target object is used to describe business data in the business system.

[0036] Among them, the business system may include systems that provide various business services, such as enterprise management systems, education management systems, financial management systems, ERP (Enterprise Resource Planning) systems and other types of business systems. The target object may be an object used to describe business data in the business system, and the business data may include data of respective types in the business system. The business data is defined through the target object, such as the target object may include a data dictionary, a business process diagram or a data flow diagram, wherein the data dictionary provides all definitions and descriptions used in the business system, such as the data dictionary may define and describe data items, data structures, data flows, data storage, processing logic, etc. of the business data. Business scenario extension refers to extending the target object in the business system to other business scenarios, so that the extended target object can describe the business data in the extended business scenario. For example, the business scenario extension may include an extension of the model, view, and associated functions of the target object, such as for the data dictionary in the ERP system, the extension scenario may include adding fields to the onboarding form, adding an appendix to the personnel model, adding an appendix to the personnel file, adding an appendix to the roster, etc. The target extension scenario is the scenario to which the target object needs to be extended, so that the target object can support the description of the business data in the target extension scenario. The target extension scenario can be configured according to actual needs and can correspond to the user's needs for data description, thereby expanding the application scenario of the target object.

[0037] Exemplarily, the server may determine a target object used to describe business data in a business system, such as a target object that may include data items at different levels in a data dictionary, such as a data dictionary in an ERP system, which may include data items at different levels such as domains, business clouds, business applications, business objects, logical entities, attributes, and attribute relationships. The server may perform business scenario expansion for one or more data items in the data dictionary, and the selected one or more data items may be used as target objects to perform business scenario expansion for the target object, so that the target object may perform data description for the business data in the expanded business scenario. The server may determine a target expansion scenario that needs to be expanded for the target object, and the target expansion scenario may be configured by the user through a terminal and sent by the terminal to the server, so that the server may perform business scenario expansion for the target object based on the target expansion scenario. For example, the target object may include a business object in a business system, specifically a personnel data table, which may include fields such as ID (Identification), work number, name, gender, age, etc. In the target extension scenario, it is necessary to extend the fields of the business object, such as adding fields such as ethnicity, nationality, and contact information. The target extension scenario may include the extension requirements for adding fields such as ethnicity, nationality, and contact information.

[0038] Step 204: parse parameters of the target object and the target extended scene to obtain scene extended parameters.

[0039] Among them, the scene extension parameters are determined according to the respective parameters of the target object and the target extension scene, and are used to determine the extension operation that needs to be triggered for the target business object to achieve the extension of the target object to the target extension scene. Exemplarily, the server can perform parameter parsing on the target object and the target extension scene respectively to obtain the scene extension parameters, thereby determining the extension operation that needs to be performed on the target object based on the scene extension parameters. For example, the server can perform parameter parsing on the target object to obtain the object parameters of the target object, such as various parameters that may include the ID, name, code, object relationship, type, configuration parameters, data fields, etc. of the business object; the server can perform parameter parsing on the target extension scene to obtain the scene parameters of the target extension scene, such as attribute fields and configuration parameters in the target extension scene, and the server can obtain the scene extension parameters based on the object parameters and scene parameters.

[0040] Step 206 , performing operation mapping based on the scene extension parameters according to preset parameter rules to obtain a target extension operation for the target object.

[0041] Among them, the parameter rules are pre-configured according to actual needs, and are used to record the mapping relationship between various scenario extension parameters and corresponding extension operations. The extension operation refers to the definition of the specific implementation method of supporting the extension scenario. One scenario can correspond to multiple operations, such as the extension operation can include the operation processing of generating a table structure, generating an interface, generating a configuration, etc. Different scenario extension parameters can correspond to different extension operations, so that the business scenario extension can be implemented for different objects. The target extension operation is an operation for extending the target object, and the target object can be extended to the target extension scenario through the target extension operation. Optionally, the server can query the pre-set parameter rules, and the server can perform operation mapping based on the scenario extension parameters according to the parameter rules, such as using the parameter rules to determine the extension operation corresponding to the scenario extension parameters, so as to obtain the target extension operation for the target object. For example, the server can determine that the target extension operation for the target object can include various types of operations such as adding fields, adding types, modifying types, and deleting fields. In some embodiments, the server can query based on the mapping relationship between the scenario extension parameters and the parameter rules, so as to determine the target extension operation corresponding to the scenario extension parameters, implement the operation mapping for the scenario extension parameters, and determine the target extension operation that needs to be triggered for the target object.

[0042] Step 208: perform object extension processing on the target object according to the target extension operation to obtain a target extension object; the target extension object is used to describe the business data in the target extension scenario.

[0043] Among them, the target extension object is an object obtained after the business scenario is extended for the target object according to the target extension scenario, and the target extension object can be used to describe the business data in the target extension scenario. Exemplarily, the server can perform object extension processing on the target object according to the target extension operation, such as adding fields, modifying types, deleting fields, etc. on the target object according to the target extension operation to obtain the target extension object. In some embodiments, the server can return the obtained target extension object to the terminal for display at the terminal, such as displaying the target extension object in a visual way at the terminal, specifically, the server can display the ER (Entity-Relationship) diagram corresponding to the target extension object at the terminal.

[0044] In the above-mentioned business scenario expansion method, when it is determined that the target object in the business system needs to be expanded to the target expansion scenario, parameter parsing is performed on the target object and the target expansion scenario, operation mapping is performed according to preset parameter rules based on the obtained scenario expansion parameters, and the target expansion operation for the target object is obtained. According to the target expansion operation, object expansion processing is performed on the target object to obtain the target expansion object, and the target expansion object can be used to describe the business data in the target expansion scenario. By performing parameter parsing on the target object and the target expansion scenario to obtain the scenario expansion parameters, performing operation mapping according to the parameter rules, and performing object expansion processing on the target object according to the target expansion operation obtained by the operation mapping, the processing of scenario expansion for the objects in the business system is simplified, thereby improving the processing efficiency of business scenario expansion.

[0045] In an exemplary embodiment, parameter parsing is performed on a target object and a target extended scene to obtain scene extended parameters, including: determining a preset object data model and object configuration data corresponding to the target object; parsing the object parameters of the target object from the object data model and the object configuration data; and obtaining scene extended parameters based on the object parameters and scene parameters of the target extended scene.

[0046] Among them, the object data model is a data model used to configure the target object, which can be used as the metadata of the target object, and can specifically include a data dictionary, which can include different levels. For example, for the data dictionary in the ERP system, the data dictionary can include data items of different levels such as domain, business cloud, business application, business object, logical entity, attribute, attribute relationship, etc. The object configuration data can include configuration data for the target object, which can specifically include preset data and script data, etc. The preset data can be the processing for initialization or configuration of the use of the target object, and the script data can be used for the SQL (Structured Query Language) script file of the database. Through the object data model and object configuration data, the target object can be used to describe and apply the corresponding business data. The object parameter is a parameter related to the target object, which can be obtained according to the object data model and object configuration data corresponding to the target object. The scenario parameter is a parameter related to the target extension scenario. The scenario parameter can reflect the scenario requirements of the target extension scenario, that is, different extension scenarios can correspond to different scenario parameters. The scenario parameter can specifically include parameters such as the fields to be modified and the fields to be added in the target extension scenario.

[0047] Optionally, the server can determine that the target object corresponds to a preset object data model and object configuration data, such as the server can query the data dictionary of the business system and determine the object data model used to define the target object from the data dictionary. The server can also query the corresponding object configuration data according to the object identifier of the target object. The server can perform parameter parsing on the object data model and the object configuration data to obtain the object parameters of the target object from the object data model and the object configuration data. For example, the server can extract data of various fields from the object data model and the object configuration data, and use the extracted field data as the object parameters of the target object. In some embodiments, the server can determine the scene parameters corresponding to the target extension scene, and obtain the scene extension parameters according to the object parameters and scene parameters of the target object, so as to perform scene extension on the target object through the scene extension parameters.

[0048] In this embodiment, the server determines the object parameters based on the preset object data model corresponding to the target object and the object configuration data, and obtains the scene extension parameters according to the object parameters and the scene parameters of the target extension scene, so that the corresponding extension operation can be accurately determined through the scene extension parameters to perform scene extension on the target object, which is conducive to improving the processing efficiency of business scenario expansion.

[0049] In an exemplary embodiment, operation mapping is performed based on scene extension parameters according to preset parameter rules to obtain a target extension operation for a target object, including: querying candidate extension operations corresponding to the scene extension parameters, and obtaining preset parameter rules corresponding to the target extension scene; according to the parameter rules, filtering the target extension operation for the target object from the candidate extension operations.

[0050] Among them, the candidate extended operations include various extended operations corresponding to the scenario extension parameters, such as various types of operations such as adding and deleting data fields, type modification, configuration modification, and script configuration. From the candidate extended operations, the target extended operations that need to be performed on the target object can be screened out. The parameter rules record the mapping relationship between various scenario extension parameters and corresponding extended operations. Based on the mapping relationship recorded in the parameter rules, the candidate extended operations can be screened to determine the target extended operations for the target object.

[0051] Exemplarily, the server may query based on the scenario extension parameters to obtain the corresponding various candidate extension operations, and the server may screen the various candidate extension operations to determine the target extension operation for the target object from the candidate extension operations. The server may obtain parameter rules preset for the target extension scenario, and the parameter rules may include the mapping relationship between various scenario extension parameters and the required extension operations when the object is extended to the target extension scenario. The server may screen from the candidate extension operations according to the parameter rules to obtain the target extension operation for the target object. In some embodiments, after the server screens the target extension operation from the candidate extension operations according to the parameter rules, the screened target extension operation may be used as the extension operation to be confirmed, and the server may send the extension operation to be confirmed to the terminal, and the user of the terminal may confirm it. The user may edit and update the extension operation to be confirmed sent by the server, and send the updated extension operation to the server, and the server may obtain the target extension operation for the target object based on the updated extension operation.

[0052] In this embodiment, the server can use the preset parameter rules corresponding to the target extension scenario to filter out the target extension operation from the candidate extension operations, which can ensure the accuracy of the target extension operation and is conducive to improving the processing efficiency of the business scenario extension.

[0053] In an exemplary embodiment, object expansion processing is performed on a target object according to a target expansion operation to obtain a target expansion object, including: generating a scenario expansion task based on the target expansion operation; and executing the scenario expansion task when a task execution condition is met to perform object expansion processing on the target object to obtain the target expansion object.

[0054] Among them, the scenario extension task is a task for performing a business scenario on a target object. By executing the scenario extension task, the target object can be extended to the target extension scenario. The scenario extension task can be generated based on the target extension operation, so that the target extension operation on the business object can be triggered by executing the scenario extension task. The task execution condition is used to determine whether to trigger the execution of the scenario extension task. The corresponding scenario extension task can be executed when the task execution condition is met. The task execution condition can be pre-configured according to actual needs, such as including but not limited to at least one of various trigger conditions including reaching a preset time, reaching a preset location, and receiving a task execution instruction. The target extension object is the product obtained after the business scenario is extended for the target object, and can specifically include a target data model and target configuration data, so that the business data in the target extension scenario can be described based on the target data model and the target configuration data.

[0055] Optionally, the server may generate a scenario extension task based on the target extension operation, and when it is determined that the task execution conditions are met, the server triggers the execution of the scenario extension task, thereby performing object extension processing on the target object, such as adding, deleting, and modifying various field data in the target object, editing and updating the configuration data of the target object, and performing configuration updates on the script of the target object, thereby obtaining a target extension object, which includes a target data model and target configuration data. In some embodiments, the target object may include an object data model and object configuration data, and the server may trigger a target extension operation on the object data model and the object configuration data by executing the scenario extension task, thereby updating the object data model and the object configuration data respectively, and obtaining the target data model and the target configuration data, so that the target data model and the target configuration data can be used to describe and apply the business data in the target extension scenario.

[0056] In this embodiment, the server generates a scenario extension task and executes the scenario extension task to perform object extension processing on the target object when the task execution conditions are met, thereby simplifying the processing of scenario extension for objects in the business system and improving the processing efficiency of business scenario expansion.

[0057] In an exemplary embodiment, the target extension object includes a target data model and target configuration data; the business scenario extension method also includes: in response to a preview operation triggered for the target extension object, determining a target display mode of the target extension object based on the target configuration data; and displaying each data field included in the target data model according to the target display mode.

[0058] The target extension object is the product obtained after the business scenario is extended for the target object, which may specifically include the target data model and the target configuration data, so that the business data in the target extension scenario can be described based on the target data model and the target configuration data. The preview operation can be triggered by the user for the target extension object, which is used to trigger the preview of the target extension object. The target display mode is the display mode for previewing the target extension object, which can be determined based on the target configuration data, such as the target display mode can include table, ER diagram, flow chart and other display modes.

[0059] Optionally, when the server detects that the user triggers a preview operation on the target extension object through the terminal, such as when the user performs a preview operation of the type of single-click, double-click, long-press, etc. on the target extension object on the terminal, the server can respond to the preview operation and determine the target display mode of the target extension object based on the target configuration data. For example, the server can determine the display configuration field from the target configuration data, and obtain the target display mode of the target extension object based on the field data corresponding to the display configuration field, such as the target display mode may include an ER diagram display mode. The server can visualize the target extension object according to the target display mode, such as the server can visualize the various data fields included in the target data model according to the target display mode, so that the user can confirm the target extension object after the target object is expanded.

[0060] In this embodiment, the server can respond to the preview operation triggered for the target extension object, determine the target display method of the target extension object based on the target configuration data, and display the various data fields included in the target data model according to the target display method, so that the target extension object can be intuitively displayed in a visual manner, which is conducive to users to confirm the business scenario extension products to ensure the reliability of the business scenario expansion.

[0061] In an exemplary embodiment, Figure 3 As shown, the business scenario expansion method also includes processing of combining scenarios, specifically including steps 302 to 304. Among them:

[0062] Step 302: In response to a scenario combination operation triggered for a target extended object, determine associated objects in the combined business scenario based on the scenario combination operation.

[0063] Among them, the scenario combination operation can be triggered by the user through the terminal for the target extension object to trigger the corresponding update of the objects in the business scenario associated with the target extension object, thereby realizing the full-link scenario extension. Full-link scenario extension means that after an extension scenario is triggered, it will affect a series of subsequent extensions. For example, when adding fields to an entry form, the fields need to be added to objects such as resignation forms, transfer forms, personnel information, salary files, and attendance files at the same time. The combined business scenario can include business scenarios that require further scenario expansion. The combined business scenario can be configured according to actual needs, such as business scenarios in the business system and business scenarios in other business systems. The associated objects can include objects used to describe business data in the combined business scenario. The associated objects and the target extension objects can include matching data fields, such as the same data fields. Therefore, after the target extension object is expanded, the associated objects need to be correspondingly expanded and updated.

[0064] Exemplarily, a user may trigger a scenario combination operation for a target extension object, and the server may respond to the scenario combination operation by parsing the scenario combination operation to determine associated objects in the combined business scenario that need to be correspondingly extended and updated.

[0065] Step 304: perform extension and update on the associated object based on the target extended object to obtain an extended and updated associated object; the extended and updated associated object is used to describe the business data in the combined business scenario.

[0066] Optionally, the server may perform an extended update on the associated object based on the target extended object. Specifically, the server may determine the updated content in the target extended object, and perform an extended update on the associated object according to the updated content. For example, the server may perform an extended update on the data fields and / or configuration data in the associated object, thereby obtaining an extended and updated associated object. The extended and updated associated object can be used to describe the business data in the combined business scenario.

[0067] In this embodiment, the server can respond to the scenario combination operation triggered for the target extension object, and update the associated object based on the target extension object to obtain the expanded and updated associated object used to describe the business data in the combined business scenario, thereby realizing full-chain scenario extension for the target object, simplifying the processing of scenario extension and improving the processing efficiency of business scenario extension.

[0068] The present application also provides an application scenario, which applies the above-mentioned business scenario expansion method. Specifically, the application of the business scenario expansion method in the application scenario is as follows:

[0069] In an enterprise ERP system, ERP products can include various objects for describing business data, such as a data dictionary, so that various business data in the ERP system can be described through the data dictionary. In traditional technology, a data dictionary is a physical table that corresponds to one business object or one metadata corresponds to one business object, and the data dictionary is generally divided into cloud, application, and business object. Moreover, the secondary development (secondary development) expansion of the data dictionary, such as implementing entity creation, field addition, verification addition, etc., is cumbersome, resulting in low secondary development efficiency.

[0070] Specifically, when there is a gap between the physical table level of the data dictionary in traditional technology and the actual entity, it cannot be well presented. When there are a large number of technical fields in the ERP system to solve performance and implementation problems, it is impossible to display multiple views to business users in a friendly manner. Moreover, the relationship between entities in the ERP system is mostly a direct association relationship between the system physical tables, and the relationship between logical entities cannot be truly presented. In addition, there is no classification and distinction between business objects in the ERP system. The code values, business data and system configurations in the ERP system are either incomplete or too messy. After adding fields and entries to a single entity, they cannot be quickly copied to other entities. In addition, for complex expansion scenarios, when a field is expanded once, the field needs to be applied to other pages for display and editing, which cannot be packaged into an independent operation. For cross-domain businesses that are connected in series, there is no explicit display at the system level, and orderly guidance cannot be provided, resulting in low efficiency in the second-open processing of the data dictionary in the ERP system.

[0071] In the business scenario expansion method provided in this application, if Figure 4 As shown in the figure, the ERP system can be divided into a storage layer, a business logic layer, and a display layer from the bottom to the top. The bottom storage layer uses database storage, which can include a business model database and a metadata database; the upper display layer can include business model extension, basic data extension, and data dictionary download and other processing, and supports business model extension full-link cards, business model extension tree-type maintenance entry, data dictionary download and other interface human-machine capabilities; and the middle business logic layer is generally divided into three levels, namely data dictionary model, single scenario extension, and full-link scenario. Single scenario extension can support extended scenario registration, extended scenario management, extended scenario recording, operation registration, task execution log, scenario rule matching, task generation, task execution, and package transmission; the full-link scenario can include modules such as extended scenario cards, extended scenario classification, and extended scenario association relationships.

[0072] The data dictionary model defines the underlying model of the ERP system, which is divided into six levels from L0 to L5, including cloud, application, business object, logical entity, and attribute levels, and is the basis for the rapid expansion of enterprises. Specifically, as shown in Table 1 below, the data items at each level of the data dictionary model are shown.

[0073] Table 1

[0074]

[0075] Among them, business objects may include data fields of business object types, which are used to classify business objects. When expanding business, the templates of extended attributes are determined by business object types, which may include master data, basic information-code values, basic information-policies and systems, documents, business data, etc. For example, in the core human resources business field, the type of business object "personnel files" belongs to "master data", the business object "personnel type" belongs to "basic information-policies and systems", "country" belongs to "basic information-code values", and the business object "regularization form" belongs to "documents"; for another example, fixed salary details, salary calculation results, performance appraisal results, attendance records, etc. all belong to "business data".

[0076] Furthermore, the single-scenario extension definition is divided into four major categories. Based on the characteristics of ERP products, the extension content of the target extension scenario can be divided into model extension, view adjustment, associated functions, and associated models. Each time a scenario extension is performed, different target extension operations can be matched to generate corresponding scenario extension tasks. After the scenario extension task is executed, the corresponding target extension object can be obtained, such as extended products, which can include metadata, preset data, physical table scripts, etc. After the extended product is generated, it supports one-click download, puts it in the code repository, and is packaged and deployed to other environments with CICD (Continuous Integration, Continuous Deployment / Continuous Delivery), or it can be transferred to other environments as a configuration through a cross-environment transfer tool. In addition, the full-chain scenario extension can connect single scenarios in series to form a combined scenario through the guided display of card-style and tab pages.

[0077] In some specific applications, such as Figure 5 As shown, the data dictionary model can include multiple levels of data items, and each level of data items can include their own corresponding data fields. For example, the domain level includes data fields such as ID, code, and name; the cloud level includes data fields such as ID, code, name, domain, and associated business cloud; the application level includes data fields such as ID, code, name, application, and type; the logical entity level includes data fields such as ID, code, name, business object, primary logical entity, upper logical entity, type, and whether there are multiple rows. The logical entity can correspond to the physical table of the entity; the attribute level can include data fields such as ID, code, name, logical entity, physical table, field name, field class, whether it is required, and default value. The attribute can correspond to the label, and the label includes data fields such as code and name.

[0078] The data dictionary model is divided into six levels, namely L0 (domain), L1 (cloud), L2 (application), L3 (business object), L4 (logical entity), and L5 (attribute), with a one-to-many relationship. The data dictionary model is used to support the underlying model of the enterprise. Among them, the business object is the core, defining the people, things, and objects in the enterprise. The definition of the business object adds a type to be divided into master data, documents, and business data, which carry the process data and result data of the enterprise. In addition to the business data of the enterprise, there is also basic data, which is defined as basic data code value, basic data configuration, and basic data policy system according to its characteristics. The logical entity adopts a one-to-many design with the physical table to realize the need to record history and record time series history for certain fields of the unified logical entity for complex business, and the display is a complete combination display. The attribute defines the field relationship of the logical entity and opens up the relationship between the page display field and the physical field of the database. Design the physical table, field identifier, metadata identifier, and metadata field identifier to find the metadata relationship between the physical field and the low-code platform. Attributes have specific labels, and one attribute has multiple labels, such as: administrative organization, business unit, personnel, etc., to label the fields of specific records of enterprise business objects.

[0079] The underlying model based on the data dictionary model can generate the corresponding ER diagram, such as Figure 6 As shown in the figure, the ER diagram may not include key fields, such as personnel, contact information, education background, professional information, employment experience, service years, administrative organization, and position data fields. Figure 7 As shown, the ER diagram can also include key business fields. For example, in addition to data fields such as personnel, contact information, educational background, professional information, work experience, years of service, administrative organization, and position, each data field can also include its own key business fields.

[0080] In some embodiments, the user can select a target extension scenario and configure it according to different requirements to generate the corresponding product to achieve fast second opening, mainly including generating the corresponding task by matching the scenario parameters and operations, and generating the corresponding product by the rules that need to be generated. Figure 8As shown, in the single scenario extension process, the user can trigger the business scenario extension for the target object in the business system, such as triggering the business scenario extension for the business object A in the data dictionary, and the server can perform scenario matching to determine the corresponding target extension scenario. The server can trigger the task generation process, and specifically can perform parameter parsing for the target object and the target extension scenario to obtain the scenario extension parameters. The server can perform an operation query and perform parameter rule mapping according to the preset parameter rules to obtain the target extension operation for the target object. The server can generate a scenario extension task based on the target extension operation, and specifically can generate the main task and task details in sequence, and realize the business scenario extension by executing the task. In the task execution, the scenario extension task can include a metadata generation task and a preset data generation task, and the corresponding generation result records are obtained after execution, such as the target data model and target configuration data of the target extension object can be obtained respectively. The user can trigger preview and download for the target extension object, and the server can adjust the page preview result and support the download of the generated product.

[0081] The business scenario expansion method provided in this application supports the dynamic generation of design state products, and supports cross-environment deployment to achieve the purpose of rapid second opening, and can dynamically generate page fields in the target environment through configuration. Among them, the data dictionary model is divided into L0-L5 levels to cover the underlying model of the enterprise, thereby realizing the rapid expansion capability based on the model. Moreover, it can meet the ability of rapid second opening on site based on the method of dynamically generating development state metadata, table building statements, and preset data, and can preview and quickly download the generated products while configuring. Further, by adopting the method of dynamic assembly tasks to quickly generate, combined with the characteristics of the HR (Human Resources, Human Resources) field, it can quickly generate and expand employee self-service mobile terminals, employee self-service PC (Personal Computer, Personal Computer) terminals, management terminals and other multi-terminal pages, and synchronously process permissions, import and export templates and other related auxiliary items. In addition, task execution is executed in a serial manner, and the status of task execution is saved through the context, and real-time storage is performed for each task. After the task is terminated due to system and program exceptions, the execution state before the exception can be quickly restored from the database to ensure the reliability of generation, and task execution supports asynchronous and parallel execution, and the relationship between processing tasks. ER diagrams can be dynamically generated based on the data dictionary model, and the generated products extended by business scenarios can be downloaded and deployed to other environments through CICD and import.

[0082] The business scenario expansion method provided in this application makes a clear division for the corresponding interfaces and functions of the second opening of the enterprise, including models, views, related functions, and related models. And the scenario adopts the method of general + personalized scenarios, and can combine the characteristics of the platform to make some general scenarios, such as adding fields, adding tables, generating ordinary form pages, list pages, importing and exporting templates, generating permission items, etc. Some specific scenarios can also be expanded in a personalized way. In addition, the fine granularity of a single scene and the fine granularity of an operation define a system operation of a field developer, which facilitates the dynamic assembly between scenarios and operations. Finally, the scenarios with fine granularity of the entire link organization can be formed into a scenario link to achieve the purpose of rapid expansion.

[0083] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0084] Based on the same inventive concept, the embodiment of the present application also provides a business scenario expansion device for implementing the business scenario expansion method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more business scenario expansion device embodiments provided below can refer to the limitations of the business scenario expansion method above, and will not be repeated here.

[0085] In an exemplary embodiment, Fig. 9 As shown, a service scenario expansion device 900 is provided, comprising: an expansion scenario determination module 902, a parameter parsing module 904, an operation mapping module 906 and an object expansion module 908, wherein:

[0086] An extension scenario determination module 902 is used to determine a target extension scenario for extending a target object in a business system, where the target object is used to describe business data in the business system;

[0087] A parameter parsing module 904 is used to perform parameter parsing on a target object and a target extended scene to obtain a scene extended parameter;

[0088] An operation mapping module 906 is used to perform operation mapping according to preset parameter rules based on the scene extension parameters to obtain a target extension operation for the target object;

[0089] The object extension module 908 is used to perform object extension processing on the target object according to the target extension operation to obtain a target extension object; the target extension object is used to describe the business data in the target extension scenario.

[0090] In an exemplary embodiment, the parameter parsing module 904 is also used to determine the preset object data model and object configuration data corresponding to the target object; parse the object parameters of the target object from the object data model and the object configuration data; and obtain the scene extension parameters based on the object parameters and the scene parameters of the target extension scene.

[0091] In an exemplary embodiment, the operation mapping module 906 is further used to query candidate extended operations corresponding to scenario extension parameters and obtain preset parameter rules corresponding to the target extended scenario; according to the parameter rules, the target extended operation for the target object is screened from the candidate extended operations.

[0092] In an exemplary embodiment, the object extension module 908 is further used to generate a scenario extension task based on the target extension operation; when the task execution condition is met, the scenario extension task is executed to perform object extension processing on the target object to obtain the target extension object.

[0093] In an exemplary embodiment, the target extension object includes a target data model and target configuration data; it also includes a preview module for determining a target display mode of the target extension object based on the target configuration data in response to a preview operation triggered for the target extension object; and displaying each data field included in the target data model according to the target display mode.

[0094] In an exemplary embodiment, it also includes a full-chain scenario extension module, which is used to respond to the scenario combination operation triggered for the target extension object, determine the associated objects in the combined business scenario based on the scenario combination operation; based on the target extension object, extend and update the associated objects to obtain the extended and updated associated objects; the extended and updated associated objects are used to describe the business data in the combined business scenario.

[0095] Each module in the above-mentioned business scenario expansion device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0096] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store various data involved in the business scenario expansion method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a business scenario expansion method is implemented.

[0097] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0098] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0099] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0100] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0101] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0102] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0103] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0104] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A business scenario expansion method, characterized in that: The method comprises: Determine a target extension scenario for extending a target object in a business system, where the target object is used to describe business data in the business system; Perform parameter parsing on the target object and the target extended scene to obtain scene extended parameters; Based on the scene extension parameters, operation mapping is performed according to preset parameter rules to obtain a target extension operation for the target object; According to the target extension operation, object extension processing is performed on the target object to obtain a target extension object; the target extension object is used to describe the business data in the target extension scenario.

2. The method according to claim 1, characterized in that: The performing parameter parsing on the target object and the target extended scene to obtain the scene extended parameters includes: Determine that the target object corresponds to a preset object data model and object configuration data; Parsing and obtaining object parameters of the target object from the object data model and the object configuration data; A scene extension parameter is obtained according to the object parameter and the scene parameter of the target extended scene.

3. The method according to claim 1, characterized in that: The step of performing operation mapping based on the scene extension parameter according to a preset parameter rule to obtain a target extension operation for the target object includes: Querying candidate extended operations corresponding to the scenario extension parameters, and obtaining preset parameter rules corresponding to the target extended scenario; According to the parameter rule, a target extension operation for the target object is obtained by screening the candidate extension operations.

4. The method according to claim 1, characterized in that: The performing object expansion processing on the target object according to the target expansion operation to obtain the target expanded object includes: Generate a scenario extension task based on the target extension operation; When the task execution condition is met, the scene extension task is executed to perform object extension processing on the target object to obtain a target extended object.

5. The method according to claim 4, characterized in that The target extension object includes a target data model and target configuration data; the method further includes: In response to a preview operation triggered for the target extended object, determining a target display mode of the target extended object based on the target configuration data; The various data fields included in the target data model are displayed according to the target display mode.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to a scenario combination operation triggered for the target extended object, determining an associated object in a combined business scenario based on the scenario combination operation; The associated object is extended and updated based on the target extended object to obtain an extended and updated associated object; the extended and updated associated object is used to describe the business data in the combined business scenario.

7. A service scenario expansion device, characterized in that: The device comprises: An extension scenario determination module, used to determine a target extension scenario for extending a target object in a business system, wherein the target object is used to describe business data in the business system; A parameter parsing module, used to perform parameter parsing on the target object and the target extended scene to obtain scene extended parameters; An operation mapping module, used to perform operation mapping according to preset parameter rules based on the scenario extension parameters to obtain a target extension operation for the target object; The object extension module is used to perform object extension processing on the target object according to the target extension operation to obtain a target extension object; the target extension object is used to describe the business data in the target extension scenario.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.