CN113778542A - Service configuration table generation method and device - Google Patents

Service configuration table generation method and device Download PDF

Info

Publication number
CN113778542A
CN113778542A CN202010898609.0A CN202010898609A CN113778542A CN 113778542 A CN113778542 A CN 113778542A CN 202010898609 A CN202010898609 A CN 202010898609A CN 113778542 A CN113778542 A CN 113778542A
Authority
CN
China
Prior art keywords
metadata
configuration table
service
target
business
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.)
Pending
Application number
CN202010898609.0A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010898609.0A priority Critical patent/CN113778542A/en
Publication of CN113778542A publication Critical patent/CN113778542A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method and a device for generating a service configuration table, and relates to the technical field of data processing. One embodiment of the method comprises: receiving and presenting a metadata configuration table sent by a server based on a request for creating a target service configuration table, wherein the metadata configuration table is generated based on service metadata; in response to receiving a request for acquiring a related information configuration table of metadata, which is sent by a user based on the metadata configuration table, acquiring the related information configuration table from a server; generating target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user; and generating a target service configuration table according to the metadata configuration table and the target association information, thereby improving the flexibility and efficiency of generating the service configuration table.

Description

Service configuration table generation method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a service configuration table.
Background
With the development of the internet, a great amount of new services are on-line in various service systems every day, and when a new service is created, developers need to develop a set of corresponding background data to perform data maintenance management; the operator or the service personnel inputs specific service data in the management background, wherein the background data is equivalent to a service frame and a template; then, the developer needs to return the service data entered by the operator or service personnel to the front-end caller in an interface form or directly display the service data in some pages.
In the prior art, the background data creation includes the processes of performing service abstraction, model design, creating a database, developing and managing a background, providing an external interface, and the like according to a concrete service scene.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for generating a service configuration table.
According to a first aspect, an embodiment of the present application provides a method for generating a service configuration table, where the method includes: receiving and presenting a metadata configuration table sent by a server based on a request for creating a target service configuration table, wherein the metadata configuration table is generated based on service metadata; in response to receiving a request for acquiring a related information configuration table of metadata, which is sent by a user based on the metadata configuration table, acquiring the related information configuration table from a server; generating target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user; and generating a target service configuration table according to the metadata configuration table and the target association information.
In some embodiments, the association information of the service metadata includes: the method comprises the steps that a business process related to business metadata and a trigger event related to the business metadata are used for triggering the business process, and target related information is generated based on the related information of the business metadata configured in a received related information configuration table by a user, and comprises the following steps: generating target business process information based on business processes which are configured in the received associated information configuration table by the user and are associated with the business metadata; generating target trigger event information based on trigger events which are configured in a received association information configuration table by a user and are associated with service metadata; and generating target associated information according to the target business process information and the target trigger event information.
In some embodiments, generating the target business process information based on the business processes associated with the business metadata configured by the user in the received association information configuration table includes: generating target business process information based on business processes which are configured by a received association information configuration table according to preset business rules and are associated with business metadata, wherein the preset business rules comprise at least one of the following items: parameter passing, logic judgment and exception handling.
In some embodiments, the method further comprises: rendering the target service configuration table to a service configuration interface and presenting the service configuration interface to a user; and constructing the target service based on the service data configured by the user on the service configuration interface.
In some embodiments, the metadata configuration table is generated based on business metadata, including: and generating a metadata configuration table based on the service metadata configured by the user on the service configuration interface.
According to a second aspect, the embodiment of the application provides a service configuration table generation device, which comprises a presentation module, a service configuration table generation module and a service configuration table generation module, wherein the presentation module is configured to receive and present a metadata configuration table sent by a server based on a request for creating a target service configuration table, and the metadata configuration table is generated based on service metadata; the acquisition module is configured to respond to a request sent by a user based on a metadata configuration table for acquiring the associated information configuration table of the metadata, and acquire the associated information configuration table from a server; the first generation module is configured to generate target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user; and the second generation module is configured to generate a target service configuration table according to the metadata configuration table and the target association information.
In some embodiments, the association information of the service metadata includes: a business process associated with the business metadata and a triggering event associated with the business metadata, the triggering event for triggering the business process, and the first generating module further comprising: the first generation unit is configured to generate target business process information based on the business processes which are configured in the received associated information configuration table by the user and are associated with the business metadata; a second generating unit configured to generate target trigger event information based on a trigger event associated with the service metadata, configured by the user in the received association information configuration table; and the third generation unit is configured to generate target associated information according to the target business process information and the target trigger event information.
In some embodiments, the first generating unit is further configured to: generating target business process information based on business processes which are configured by a received association information configuration table according to preset business rules and are associated with business metadata, wherein the preset business rules comprise at least one of the following items: parameter passing, logic judgment and exception handling.
In some embodiments, the apparatus further comprises: the rendering module is configured to render the target service configuration table to a service configuration interface and present the service configuration interface to a user; and the building module is configured to build the target service based on the service data configured by the user on the service configuration interface.
In some embodiments, the metadata configuration table is generated based on business metadata, including: and generating a metadata configuration table based on the service metadata configured by the user on the service configuration interface.
According to a third aspect, embodiments of the present application provide an electronic device, which includes one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the service configuration table generating method as in any embodiment of the first aspect.
According to a fourth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a service configuration table generating method according to any embodiment of the first aspect.
The method comprises the steps that a metadata configuration table sent by a server based on a request for creating a target service configuration table is received and presented, and the metadata configuration table is generated based on service metadata; in response to receiving a request for acquiring a related information configuration table of metadata, which is sent by a user based on the metadata configuration table, acquiring the related information configuration table from a server; generating target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user; and generating a target service configuration table according to the metadata configuration table and the target associated information, thereby realizing flexible and efficient configuration of the service configuration table and better meeting the requirements of current complex service scenes and rapid service change.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for generating a business configuration table according to the present application;
fig. 3 is a schematic diagram of an application scenario of a service configuration table generation method according to the present application;
FIG. 4 is a flow diagram of another embodiment of a business configuration table generation method according to the present application;
FIG. 5 is a schematic diagram of one embodiment of a traffic profile table generation apparatus, according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing a server according to embodiments of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the business configuration table generation methods of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as search applications, question and answer applications, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as a plurality of software or software modules (for example, to provide a service of generating a service configuration table), or as a single software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, for example, receive a request for creating a target service configuration table sent by the terminal devices 101, 102, 103, acquire a metadata configuration table according to a service type of the target service configuration table, receive a request for acquiring a related information configuration table sent by the terminal devices 101, 102, 103, acquire the related information configuration table and send the related information configuration table to the terminal devices 101, 102, 103 so that the terminal devices 101, 102, 103 generate the target service configuration table based on the target related information and the metadata configuration table.
It should be noted that the service configuration table generation method provided in the embodiment of the present application is generally executed by the terminal devices 101, 102, and 103, and accordingly, the service configuration table generation apparatus is generally disposed in the terminal devices 101, 102, and 103.
The server 105 may be hardware or software. When the server 105 is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, for providing the service of generating the service configuration table), or may be implemented as a single software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Fig. 2 shows a flowchart 200 of an embodiment of a service configuration table generation method that can be applied to the present application. The method for generating the service configuration table comprises the following steps:
step 201, receiving and presenting the metadata configuration table sent by the server based on the request for creating the target service configuration table.
In this embodiment, the executing entity (e.g., terminal devices 101, 102, 103 in fig. 1) may first send a request for creating the target service configuration table to the server, and then present the metadata configuration table to the user after receiving the metadata configuration table returned by the server based on the request for creating the target service configuration table.
Here, after receiving the request for creating the target service configuration table, the server may obtain the corresponding metadata configuration table according to the type of the target service.
The target service configuration table is used for representing background data of the target service. Background data is equivalent to a service framework or a template, and as the background data of one type of service is the same, a user often needs to configure the background data according to the service type, so that the user can directly input information of the service to be created based on a pre-configured service template to create a new service. Thus, here, the target service profile table is typically used to characterize background data corresponding to the service type of the target service.
It is noted that the metadata configuration table is generated based on the service metadata. Here, the service metadata is used to indicate metadata for a target service. The service metadata may be metadata in a preset service metadata template corresponding to the target service, or may be metadata configured by the user on the configuration interface, which is not limited in the present application.
Metadata is data that describes data. Generally, metadata is data that describes the structure, characteristics, attributes of a data object. Such as title, name, link, description, etc. The metadata is an abstraction of the service, and when configuring the background data of the service, it is only the template and framework of the service that need to be configured, and no specific content is included, so that it can be described by the metadata, and the metadata for the specific service is the service metadata.
Specifically, the target service is an APP (Application) promotion service, and the basic information of the APP promotion service, such as APP name, APP link, APP description, and the like, included in the service is service metadata.
In some optional modes, the metadata configuration table is generated based on service metadata configured by a user in the service configuration interface.
In this implementation, the user may configure the service metadata at the service configuration interface presented by the execution subject to generate a metadata configuration table and store it in the server.
Here, the service configuration interface may manage the generation of the background and the data pool based on a preset data model. The data model is composed of a plurality of service attributes describing metadata, and specifically may include a display name, a variable name, a value type, a variable type, whether read-only, an optional value, a check rule, a default value, a style, an order, and the like.
A data pool is a collection of metadata that describes a service.
The execution subject can bind the data model with the data pool, and render a personalized management background interface, namely a service configuration interface, by using a rendering engine according to the definition of the data model.
Further, the user can determine which fields are needed according to the data structure attribute of the target service in the service configuration interface, then determine the service metadata, and enter the service metadata into the service configuration interface.
Specifically, for a target business "XXX promotional campaign," a user may determine the fields that need to be used based on the attributes of the data structure for the campaign, and then determine the business metadata, such as campaign name, expiration date, prize type, coupon name, budget, denomination, etc.
It should be noted that, in order to improve the reusability requirement of the data model, the data model has the functions of exporting and importing, and is convenient for users to share with each other, so as to quickly build the requirement of a specific same service scenario.
In the implementation mode, the metadata configuration table is generated based on the service metadata configured by the user on the service configuration interface, so that the flexibility and pertinence of the configuration of the metadata configuration table can be effectively enhanced.
Step 202, in response to receiving a request for acquiring a related information configuration table of metadata sent by a user based on the metadata configuration table, acquiring the related information configuration table from a server.
In this embodiment, since the metadata configuration table can only satisfy the front-end static field display in a simple service scenario, and cannot satisfy the front-end static field display in a complex front-end page interaction scenario, the execution main body may further obtain the association information configuration table from the server in response to receiving a request for obtaining the association information configuration table of the service metadata, where the request is sent by the user based on an operation of the metadata configuration table.
Here, the operation of the user configuring the table based on the metadata may be an action in the prior art or a future development technology, such as clicking, sliding, and the like, which is not limited in this application.
Specifically, the execution subject may obtain the associated information configuration table from the server based on receiving a click operation of a user on a control for obtaining the metadata associated information configuration table in the presented metadata configuration interface.
Here, the association information of the metadata may include a business behavior associated with the metadata, a business process associated with the metadata, a trigger event associated with the metadata, and the like.
Step 203, generating target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user.
In this embodiment, after receiving the association information configuration table sent by the server, the execution main body receives the association information generation target association information of the service metadata configured in the association information configuration table by the user.
And step 204, generating a target service configuration table according to the metadata configuration table and the target association information.
In this embodiment, after generating the target association information, the executing entity may bind the metadata configuration table with the target association information to generate the target service configuration table.
In addition, the execution main body can directly store the target service configuration table in the local after generating the target service configuration table, and when receiving a creation request of the target service, the execution scheduling engine schedules and uses the target service configuration table, or sends the target service configuration table to the server for persistent storage.
In some optional ways, the method further comprises: rendering the target service configuration table to a service configuration interface and presenting the service configuration interface to a user; and constructing the target service based on the service data configured by the user on the service configuration interface.
In this implementation, after the execution subject generates the target service configuration table, the execution subject may render the target service configuration table into a service configuration interface and present the service configuration interface to the user. The user can input corresponding service data in the service configuration interface, and after the user inputs the service data, the target service configuration table and the service data can be combined to construct a target service.
Specifically, the target service is "XX big promotion activity", and the user may fill information corresponding to the service metadata corresponding to the target service in the service configuration interface, for example, the name is "XX big promotion activity", the validity period is "2019-11-11", the budget is "200 RMB", and the like. And after the user inputs the service data, combining the target service configuration table with the service data to construct a target service.
The implementation mode is characterized in that a service configuration interface is rendered by the target service configuration table and presented to the user, and the target service is constructed based on the service data configured on the service configuration interface by the user, so that the operation of constructing the target service by the user is simplified, and the construction efficiency of the target service is improved.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the service configuration table generation method according to the present embodiment.
In the application scenario of fig. 3, the target service is "XX big movement", the execution subject 301 receives and presents a metadata configuration table 302 sent by the server based on a request for creating the target service configuration table, the metadata configuration table is generated based on service metadata, where the service metadata includes three, namely "name" 303, "validity" 304, and "budget" 305; in response to receiving a request sent by a user based on a metadata configuration table to acquire a metadata association information configuration table 306, acquiring the association information configuration table 306 from a server and rendering an association information configuration interface, where the user may specify that service metadata configuring association information is "budget" 307, and the association information includes service behaviors associated with the service metadata and trigger events associated with the service metadata, where the service behaviors specified by the user and associated with the service metadata may be "display formulation parent node element" 308, the trigger events specified by the user and associated with the service metadata may be "click operation on budget" 309, and further, the execution subject generates target association information based on the association information configured by the user for the service metadata; and generating a target service configuration table according to the metadata configuration table and the target association information.
The method for generating the service configuration table provided by the embodiment of the disclosure comprises the steps of receiving and presenting a metadata configuration table sent by a server based on a request for creating a target service configuration table, wherein the metadata configuration table is generated based on service metadata; in response to receiving a request for acquiring a related information configuration table of metadata, which is sent by a user based on the metadata configuration table, acquiring the related information configuration table from a server; generating target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user; and generating a target service configuration table according to the metadata configuration table and the target association information, thereby improving the flexibility and efficiency of the generated target service configuration table.
With further reference to fig. 4, a flow 400 of yet another embodiment of a service configuration table generation method is shown. In this embodiment, the associated information of the service metadata includes a service process associated with the service metadata and a trigger event associated with the service process. The process 400 of the method for generating a service configuration table of this embodiment may include the following steps:
step 401, receiving and presenting the metadata configuration table sent by the server based on the request for creating the target service configuration table.
In this embodiment, details of implementation and technical effects of step 401 may refer to the description of step 201, and are not described herein again.
Step 402, in response to receiving a request for obtaining the associated information configuration table of the metadata, which is sent by a user based on the metadata configuration table, obtaining the associated information configuration table from a server.
In this embodiment, reference may be made to the description of step 202 for details of implementation and technical effects of step 402, which are not described herein again.
Step 403, generating target business process information based on the business process associated with the business metadata configured in the received associated information configuration table by the user.
In this embodiment, after receiving the association information configuration table sent by the server, the execution subject may render it into an association information configuration page and present it to the user. The user can configure the business process associated with the business metadata on the associated information configuration interface. After the user configures the service process associated with the service metadata, the execution main body can generate target service process information according to the associated information configuration table and the service process associated with the service metadata configured by the user.
Here, the business process is used to describe the association relationship between business behaviors. The association information configuration table may include a service behavior set preset by a developer, and a user may schedule service behaviors based on the service metadata and the specific application scenario, for example, each service behavior is sequentially executed to obtain a scheduled service flow associated with the service metadata.
In addition, the associated information configuration table may further include service metadata information associated with the target service process, so as to implement binding between the target service process and the service metadata. Here, the service metadata information may be all fields of the service metadata or may be partial fields of the service metadata, which is not limited in the present application.
Specifically, the target service is promoted by APP, the service metadata associated with the target service process to be configured in the association information configuration table is "title", the user may select a preset number of service behaviors, for example, 2 service behaviors, from a preset service behavior set according to actual needs and specific application scenarios, respectively show pictures corresponding to the titles for the service behavior a1, and the pictures are arranged in parallel by the service behavior a 2. Further, the user arranges the execution sequence of the two business behaviors, such as a1-a2, to obtain the arranged business behaviors, i.e. the business processes associated with the business metadata. And finally, the execution main body can construct target business process information according to the associated information configuration table and the business process associated with the business metadata.
In some optional manners, generating target business process information based on the business processes configured by the user in the received association information configuration table and associated with the business metadata includes: and generating target business process information based on the business process which is configured in the received associated information configuration table according to the preset business rule and is associated with the business metadata by the user.
In this implementation manner, the execution main body may further generate the target business process information according to the business process associated with the business metadata and configured by the user in the received associated information configuration table according to the preset business rule, and the associated information configuration table.
Wherein, the preset business rule comprises at least one item of: parameter passing, logic judgment and exception handling.
Specifically, the target service is promoted by APP, the service metadata associated with the target service process to be configured in the associated information configuration table is "coupon information", the service metadata corresponds to two pull-down options, the number of service behaviors associated with the "coupon connection" and the "coupon identification" and the service metadata is four, the coupon type is obtained for a service behavior B1, the coupon entry value is obtained for a service behavior B2, the coupon identification is verified for a service behavior B3, and the coupon information is verified and prompted by a service behavior B4. The user can edit the business behaviors to obtain an editing result B1-B2, judge whether the business behaviors are the ticket identifications, if so, execute B3, and if not, execute B4. Further, the execution main body generates a target business process according to the arrangement result of the user and the associated information configuration table.
The realization mode generates the target business process information through the business process which is configured on the basis of the received associated information configuration table and is associated with the business metadata, thereby increasing the diversity and the reliability of the generated business process information.
Step 404, generating target trigger event information based on the trigger event associated with the service metadata configured in the received associated information configuration table by the user.
In this embodiment, the associated information configuration table may include a set of trigger events preset by a developer, a user may determine the trigger event associated with the service metadata according to a specific application scenario and an actual requirement, and the execution subject further generates the target associated information according to the trigger event associated with the service metadata and the associated information configuration table determined by the user.
Here, a triggering event associated with business metadata is used to trigger a business process associated with the same business metadata. The triggering event may be an event for triggering the business process in the prior art or in a future development technology, for example, a single-click event on the business metadata, a single-click event on the pull information of the business metadata, and the like, which is not limited in this application.
Specifically, the target service is promoted by APP, the service metadata associated with the trigger event to be configured in the associated information configuration table is "coupon information", which corresponds to two pull-down options, namely "coupon connection" and "coupon identification", respectively, and then the user may configure the trigger event as a click operation of the user on the pull-down option "coupon connection" or "coupon identification" of the service metadata "coupon information". Further, the execution main body generates target trigger event information according to the click operation determined by the user and the associated information configuration table.
It should be noted that, in this embodiment, the associated information configuration table may be a table, the execution subject may render the associated information configuration table into a configuration interface, and the user may configure, in the configuration interface, a service flow associated with the service metadata and a trigger event associated with the same service metadata; the associated information configuration table may also be two tables, which are a service flow configuration table and a trigger event configuration table, respectively, and the execution subject may render the two tables into a service flow configuration interface and a trigger event configuration interface, respectively, and a user may configure service metadata and a service flow associated with the service metadata on the service flow configuration interface, and configure service metadata and a trigger event associated with the service metadata on the trigger event configuration interface, which is not limited in this application.
Step 405, generating target associated information according to the target business process and the target event.
In this embodiment, the executive agent may bind the target business process and the target event to generate the target association information.
Step 406, generating a target service configuration table according to the metadata configuration table and the target association information.
In this embodiment, details of implementation and technical effects of step 406 may refer to the description of step 204, and are not described herein again. In this embodiment, the execution main body generates a target service flow based on a service flow associated with service metadata configured in a received associated information configuration table by a user, generates a target trigger event based on a trigger event associated with the service metadata configured in the received associated information configuration table by the user, generates target associated information according to the target service flow information and the target trigger event information, and further generates a target service configuration table according to the metadata configuration table and the target associated information, thereby implementing flexible configuration of the service flow and the trigger event associated with the service metadata, and enabling the generated target service configuration table to be more diversified to meet the requirements of complex service scenarios and rapid service changes.
With further reference to fig. 5, as an implementation of the method shown in the above diagrams, the present application provides an embodiment of a service configuration table generating apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 1, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 5, the service configuration table generating apparatus 500 of the present embodiment includes: a presentation module 501, an acquisition module 502, a first generation module 503, and a second generation module 504.
The presenting module 501 may be configured to receive and present a metadata configuration table sent by the server based on a request for creating a target service configuration table, where the metadata configuration table is generated based on service metadata.
The obtaining module 502 may be configured to obtain the association information configuration table from the server in response to receiving a request for obtaining the association information configuration table of the metadata sent by the user based on the metadata configuration table.
The first generating module 503 may be configured to generate the target association information based on the association information of the service metadata configured by the user in the received association information configuration table.
The second generating module 504 may be configured to generate a target service configuration table according to the metadata configuration table and the target association information.
In some optional manners of this embodiment, the association information of the service metadata includes: a business process associated with the business metadata and a triggering event associated with the business metadata, the triggering event for triggering the business process, and the first generating module further comprising: the first generation unit is configured to generate target business process information based on the business processes which are configured in the received associated information configuration table by the user and are associated with the business metadata; a second generating unit configured to generate target trigger event information based on a trigger event associated with the service metadata, configured by the user in the received association information configuration table; and the third generation unit is configured to generate target associated information according to the target business process information and the target trigger event information.
In some alternatives of the present embodiment, the first generating unit is further configured to: generating target business process information based on business processes which are configured by a received association information configuration table according to preset business rules and are associated with business metadata, wherein the preset business rules comprise at least one of the following items: parameter passing, logic judgment and exception handling.
In some optional manners of this embodiment, the apparatus further includes: the rendering module is configured to render the target service configuration table to a service configuration interface and present the service configuration interface to a user; and the building module is configured to build the target service based on the service data configured by the user on the service configuration interface.
In some optional manners of this embodiment, the generating the metadata configuration table based on the service metadata includes: and generating a metadata configuration table based on the service metadata configured by the user on the service configuration interface.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 6 is a block diagram of an electronic device according to a method for generating a service configuration table in an embodiment of the present application.
600 is a block diagram of an electronic device according to a method for generating a service configuration table according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 6, the electronic apparatus includes: one or more processors 601, memory 602, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 6, one processor 601 is taken as an example.
The memory 602 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the service configuration table generation method provided by the application. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the business configuration table generation method provided by the present application.
The memory 602, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the service configuration table generating method in the embodiment of the present application (for example, the presenting module 501, the obtaining module 502, the first generating module 503, and the second generating module 504 shown in fig. 5). The processor 601 executes various functional applications and data processing of the server by running non-transitory software programs, instructions and modules stored in the memory 602, that is, implements the service configuration table generating method in the above method embodiment.
The memory 602 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the electronic device generated by the service profile table, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 602 optionally includes memory located remotely from the processor 601, and these remote memories may be connected to the business configuration table generating electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the service configuration table generating method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected by a bus or other means, and fig. 6 illustrates the connection by a bus as an example.
The input device 603 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device for quality monitoring of the live video stream, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or like input device. The output devices 604 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the loss of valuable characteristic information in the operation code sequence is effectively avoided, and the flexibility and the efficiency of generating the service configuration table are improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A method for generating a service configuration table, the method comprising:
receiving and presenting a metadata configuration table sent by a server based on a request for creating a target service configuration table, wherein the metadata configuration table is generated based on service metadata;
in response to receiving a request for acquiring a related information configuration table of metadata, which is sent by a user based on the metadata configuration table, acquiring the related information configuration table from a server;
generating target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user;
and generating a target service configuration table according to the metadata configuration table and the target association information.
2. The method of claim 1, wherein the association information of the service metadata comprises: the method comprises the following steps that a business process related to business metadata and a trigger event related to the business metadata are used for triggering the business process, and target associated information is generated based on the associated information of the business metadata configured in a received associated information configuration table by a user, and comprises the following steps:
generating target business process information based on the business process which is configured in the received associated information configuration table and is associated with the business metadata by the user;
generating target trigger event information based on the trigger event which is configured in the received associated information configuration table by the user and is associated with the service metadata;
and generating target associated information according to the target business process information and the target trigger event information.
3. The method of claim 2, wherein generating target business process information based on the business processes associated with the business metadata configured by the user in the received association information configuration table comprises:
generating target business process information based on business processes which are configured by the association information configuration table and are associated with the business metadata according to preset business rules, wherein the preset business rules comprise at least one of the following items: parameter passing, logic judgment and exception handling.
4. The method of claim 1, further comprising:
rendering the target service configuration table to a service configuration interface and presenting the service configuration interface to a user;
and constructing the target service based on the service data configured by the user on the service configuration interface.
5. The method of claim 1, wherein the metadata configuration table is generated based on business metadata, comprising:
and generating a metadata configuration table based on the service metadata configured by the user on the service configuration interface.
6. An apparatus for generating a service configuration table, the apparatus comprising:
a presentation module configured to receive and present a metadata configuration table sent by a server based on a request to create a target service configuration table, the metadata configuration table generated based on service metadata;
the acquisition module is configured to respond to a request sent by a user based on the metadata configuration table for acquiring the associated information configuration table of the metadata, and acquire the associated information configuration table from a server;
the first generation module is configured to generate target associated information based on the associated information of the service metadata configured in the received associated information configuration table by the user;
and the second generation module is configured to generate a target service configuration table according to the metadata configuration table and the target association information.
7. The apparatus of claim 6, wherein the association information of the service metadata comprises: a business process associated with business metadata and a triggering event associated with business metadata, the triggering event for triggering the business process, and the first generation module further comprising:
a first generating unit configured to generate target business process information based on the business process associated with the business metadata configured in the received associated information configuration table by the user;
a second generating unit configured to generate target trigger event information based on a trigger event associated with the service metadata, configured by the user in the received association information configuration table;
and the third generation unit is configured to generate target associated information according to the target business process information and the target trigger event information.
8. The apparatus of claim 7, wherein the first generating unit is further configured to: generating target business process information based on business processes which are configured by the association information configuration table and are associated with the business metadata according to preset business rules, wherein the preset business rules comprise at least one of the following items: parameter passing, logic judgment and exception handling.
9. The apparatus of claim 6, the apparatus further comprising:
the rendering module is configured to render the target business configuration table into a business configuration interface and present the business configuration interface to a user;
and the building module is configured to build the target service based on the service data configured by the user on the service configuration interface.
10. The apparatus of claim 6, wherein the metadata configuration table is generated based on business metadata, comprising:
and generating a metadata configuration table based on the service metadata configured by the user on the service configuration interface.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory is stored with instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202010898609.0A 2020-08-31 2020-08-31 Service configuration table generation method and device Pending CN113778542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010898609.0A CN113778542A (en) 2020-08-31 2020-08-31 Service configuration table generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010898609.0A CN113778542A (en) 2020-08-31 2020-08-31 Service configuration table generation method and device

Publications (1)

Publication Number Publication Date
CN113778542A true CN113778542A (en) 2021-12-10

Family

ID=78834962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010898609.0A Pending CN113778542A (en) 2020-08-31 2020-08-31 Service configuration table generation method and device

Country Status (1)

Country Link
CN (1) CN113778542A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924782A (en) * 2022-03-31 2022-08-19 北京达佳互联信息技术有限公司 Service update processing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001014962A1 (en) * 1999-08-23 2001-03-01 Asera, Inc. Method and apparatus for providing custom configurable business applications from a standardized set of components
CN103036694A (en) * 2011-09-29 2013-04-10 中兴通讯股份有限公司 Service distribution method and device of distributed network
US20140258983A1 (en) * 2013-03-08 2014-09-11 Oracle International Corporation Model for configuration independent process templates and business catalog
CN104424522A (en) * 2013-08-28 2015-03-18 阿里巴巴集团控股有限公司 Service processing system and configuration method thereof
CN108282371A (en) * 2018-02-09 2018-07-13 烽火通信科技股份有限公司 A kind of net element business configuration method and system
CN109474456A (en) * 2018-09-26 2019-03-15 中国平安人寿保险股份有限公司 Configuration data processing method, device, computer equipment and storage medium
CN109739893A (en) * 2018-12-28 2019-05-10 上海连尚网络科技有限公司 A kind of metadata management method, equipment and computer-readable medium
CN110765099A (en) * 2019-09-06 2020-02-07 阿里巴巴集团控股有限公司 Business construction method and device and computer equipment
CN110782232A (en) * 2019-11-04 2020-02-11 北京明略软件***有限公司 Business process visual configuration method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001014962A1 (en) * 1999-08-23 2001-03-01 Asera, Inc. Method and apparatus for providing custom configurable business applications from a standardized set of components
CN103036694A (en) * 2011-09-29 2013-04-10 中兴通讯股份有限公司 Service distribution method and device of distributed network
US20140258983A1 (en) * 2013-03-08 2014-09-11 Oracle International Corporation Model for configuration independent process templates and business catalog
CN104424522A (en) * 2013-08-28 2015-03-18 阿里巴巴集团控股有限公司 Service processing system and configuration method thereof
CN108282371A (en) * 2018-02-09 2018-07-13 烽火通信科技股份有限公司 A kind of net element business configuration method and system
CN109474456A (en) * 2018-09-26 2019-03-15 中国平安人寿保险股份有限公司 Configuration data processing method, device, computer equipment and storage medium
CN109739893A (en) * 2018-12-28 2019-05-10 上海连尚网络科技有限公司 A kind of metadata management method, equipment and computer-readable medium
CN110765099A (en) * 2019-09-06 2020-02-07 阿里巴巴集团控股有限公司 Business construction method and device and computer equipment
CN110782232A (en) * 2019-11-04 2020-02-11 北京明略软件***有限公司 Business process visual configuration method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
虞海江;马建刚;叶丹;李建峰;: "基于发布订阅模式的数据集成中间件***设计实现", 计算机***应用, no. 11, 15 November 2007 (2007-11-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924782A (en) * 2022-03-31 2022-08-19 北京达佳互联信息技术有限公司 Service update processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111708520B (en) Application construction method and device, electronic equipment and storage medium
US8799796B2 (en) System and method for generating graphical dashboards with drill down navigation
US10296859B1 (en) Workflow discovery through user action monitoring
EP2698750A1 (en) Adaptable business objects
CN107391134B (en) Method and device for automatically generating and dynamically transforming universal mobile application interactive interface
US20110231819A1 (en) Content Availability Determination, Representation And Acquisition System
JP7455252B2 (en) Method and system for segmentation as a service
CN110532159B (en) Data monitoring method, device, equipment and computer readable storage medium
CN111913998B (en) Data processing method, device, equipment and storage medium
CN108170497A (en) A kind of method and device of page rendering
CN111610972B (en) Page generation method, device, equipment and storage medium
CN111666280A (en) Comment ordering method, device, equipment and computer storage medium
CN114254602A (en) Design system and storage medium for custom forms
CN111949272A (en) Compilation optimization method and device for hosted application, electronic device and readable storage medium
CN112561332A (en) Model management method, model management apparatus, electronic device, storage medium, and program product
US9170703B2 (en) Methods and apparatus for adding user-customizable features to application software
CN111178937A (en) User reward method and device of application, electronic equipment and readable storage medium
CN112580907A (en) Task distribution method, device and equipment
CN113778542A (en) Service configuration table generation method and device
CN112528608A (en) Page editing method and device, electronic equipment and storage medium
CN111581518A (en) Information pushing method and device
CN114661274A (en) Method and device for generating intelligent contract
CN116050786A (en) Business process construction method and device, electronic equipment and storage medium
US20110041069A1 (en) User interface for aggregating services in a data processing system
CN111638982B (en) Flow guiding method, flow guiding device and electronic equipment

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