CN114936019B - Component and strategy linkage method, device, equipment, system and storage medium - Google Patents

Component and strategy linkage method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN114936019B
CN114936019B CN202111496635.1A CN202111496635A CN114936019B CN 114936019 B CN114936019 B CN 114936019B CN 202111496635 A CN202111496635 A CN 202111496635A CN 114936019 B CN114936019 B CN 114936019B
Authority
CN
China
Prior art keywords
component
service
target
information
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111496635.1A
Other languages
Chinese (zh)
Other versions
CN114936019A (en
Inventor
厉智
蔡昌俊
艾义
王海
叶红霞
谢良
罗伟庭
黄朝晖
张�杰
马安进
宁穗智
张芃
王潇
李漾
任晴
郭婷婷
梁肖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Guangzhou Metro Group Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Guangzhou Metro Group 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 Tencent Technology Shenzhen Co Ltd, Guangzhou Metro Group Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111496635.1A priority Critical patent/CN114936019B/en
Priority to PCT/CN2022/087204 priority patent/WO2023103247A1/en
Publication of CN114936019A publication Critical patent/CN114936019A/en
Application granted granted Critical
Publication of CN114936019B publication Critical patent/CN114936019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a component and strategy linkage method, device, equipment, system and storage medium. The method comprises the steps of displaying a service strategy editing interface of a rail transit system, wherein the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system. According to the method, the target service corresponding to the target service scene can be rapidly generated through the linkage of the service component and the strategy, and the service generation efficiency is greatly improved.

Description

Component and strategy linkage method, device, equipment, system and storage medium
Technical Field
The present application relates to the field of business processing technologies, and in particular, to a method, an apparatus, a device, a system, and a storage medium for linking components and policies.
Background
With the continuous development of internet technology, the world has entered the internet era, and abundant internet products bring great convenience to people's life.
The method realizes various functions of the Internet product, and is independent of the support of various software services. At present, when new product functions need to be developed, service codes of developers are needed, so that service generation efficiency is quite low.
Disclosure of Invention
The embodiment of the application provides a component and strategy linkage method, device, equipment, system and storage medium.
The first aspect of the application provides a component and a policy linkage method, the method comprising:
displaying a service policy editing interface of a rail transit system, wherein the service policy editing interface comprises a component display area and a policy editing area, and the component display area comprises at least one service component in the rail transit system;
responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component;
Updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area;
and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to a target service scene in the track traffic system.
Accordingly, a second aspect of the present application provides an assembly and policy linkage, the apparatus comprising:
the system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a service strategy editing interface of a rail transit system, the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises at least one service component in the rail transit system;
the second display unit is used for responding to the selection operation of the target business component in the component display area and displaying a component configuration interface of the target business component;
the third display unit is used for updating the target service component according to the configuration information received by the component configuration interface and displaying the updated target service component in the strategy editing area;
and the generating unit is used for carrying out combination processing on the service components in the strategy editing area so as to generate a target service corresponding to the target service scene in the track traffic system.
In some embodiments, the component presentation area includes a business component selection control, and the second display unit includes:
a first display subunit, configured to display a service component list in response to a triggering operation for the service component selection control;
and the second display subunit is used for responding to the selection operation of the target service component in the service component list and displaying the component configuration interface of the target service component.
In some embodiments, the service component list includes a service component status display control, and the component and policy linkage device further includes:
and the third display subunit is used for responding to the triggering operation of the service component state display control and displaying the state information of each service component in the service component list.
In some embodiments, the service component list includes a service component editing control corresponding to each service component, and the component and policy linkage device further includes:
a fourth display subunit, configured to respond to a selection operation for a target service component editing control, and display an editing interface of a service component corresponding to the target service component editing control;
The first updating subunit is used for acquiring the editing operation received by the editing interface and updating the service component corresponding to the editing control of the target service component according to the editing operation.
In some embodiments, the component configuration interface includes a device selection control and an instruction configuration control, the component and policy linkage further comprising:
a fifth display subunit configured to display a candidate device list in response to a trigger operation for the device selection control;
an association subunit, configured to receive a selection operation for a target device in the candidate device list, and associate the target device with the target service component;
a sixth display subunit, configured to display an instruction configuration interface of the target device in response to a trigger operation for the instruction configuration control;
and the receiving subunit is used for receiving the instruction configuration information input in the instruction configuration interface.
In some embodiments, the third display unit includes:
a seventh display subunit, configured to display a target display image of the updated target service component in response to a selection operation for the updated target service component;
A determining subunit, configured to determine, in response to a display position adjustment operation for the target display image, a target position corresponding to the display position adjustment operation on the service policy editing interface;
and an eighth display subunit, configured to display the target display image at the target position.
In some embodiments, the generating unit includes:
a receiving subunit, configured to receive an association operation between display images displayed on the service policy editing interface;
and the combining subunit is used for combining the components corresponding to each display image according to the association operation.
In some embodiments, the first display subunit comprises:
the first acquisition module is used for acquiring component data corresponding to at least one service component from a preset component platform when a trigger instruction for the service component selection control is detected;
the first analysis module is used for analyzing the component data corresponding to the at least one service component to obtain component action information corresponding to each service component;
and the first display module is used for generating and displaying a service component list according to the component action information.
In some embodiments, the parsing module includes:
The first extraction sub-module is used for extracting component description data from the component data, and generating functional information and use scene information of component actions according to the component description data;
the second extraction sub-module is used for extracting component interface data from the component data and generating input parameter information, output parameter information, interface information and triggering condition information of component actions according to the component interface data;
the first generation sub-module is used for generating component action information according to the function information, the use scene information, the input parameter information, the output parameter information, the interface information and the trigger condition information of the component action.
In some embodiments, the first display module includes:
the second generation sub-module is used for generating a component action name according to the component action information;
and the third generation sub-module is used for generating and displaying a service component list based on the component action name.
In some embodiments, the second display subunit comprises:
the second acquisition module is used for acquiring target use scene information corresponding to the target service component when a selection instruction for the target component in the service component list is detected;
The third acquisition module is used for acquiring a target component configuration interface matched with the target usage scene information;
and the second display module is used for displaying the target component configuration interface.
In some embodiments, the third acquisition module includes:
the acquisition sub-module is used for acquiring at least one target component configuration element matched with the target use scene information from a preset component configuration element library;
and the fourth generation sub-module is used for generating a target component configuration interface according to the target component configuration element.
In some embodiments, the first display subunit comprises:
the fourth acquisition module is used for acquiring a service component applied to the track traffic system from a component platform of the track traffic system when a trigger instruction for selecting a control for the service component is detected, wherein the service component is obtained by extracting and packaging functional codes from various track traffic applications of an application platform of the track traffic system by the component platform;
the second analysis module is used for analyzing the code data of the service component to obtain the function definition information of the service component, and abstracting the service component into component actions in a policy platform action library according to the function definition information;
And the third display module is used for generating and displaying a service component list according to the component actions in the policy platform action library.
A third aspect of the present application also provides a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the component and policy linkage method provided in the first aspect of the present application.
A fourth aspect of the present application provides a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps in the components and policy linkage method provided in the first aspect of the present application when the computer program is executed by the processor.
A fifth aspect of the present application provides a component and policy linkage system, where the system includes a component platform and a policy platform, where the component platform is configured to store and manage a service component, feedback status information of the service component to the policy platform in real time, and provide a target service component to the policy platform in response to a call of the policy platform;
the strategy platform is used for displaying a service strategy editing interface of the rail transit system, wherein the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to a target service scene in the track traffic system.
A sixth aspect of the present application provides a computer program product or computer program comprising computer instructions stored in a storage medium. The computer instructions are read from the storage medium by a processor of a computer device, which executes the computer instructions, causing the computer device to perform the steps in the component and policy linkage method provided in the first aspect.
According to the component and the strategy linkage method, the service strategy editing interface of the rail transit system is displayed, wherein the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
Therefore, the components required by service generation are packaged and then displayed on the policy platform, and a user can select, configure and combine the displayed components, so that target service required by service scenes is rapidly generated. The method can also quickly generate the target service required by the service scene without professional writing capability of the service code of the service developer, thereby greatly improving the efficiency of service generation.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic illustration of one scenario of the component and policy linkage method of the present application;
FIG. 2 is a flow diagram of the component and policy linkage method provided herein;
FIG. 3a is a schematic diagram of a business strategy editing interface provided herein;
FIG. 3b is another schematic diagram of a business strategy editing interface provided herein;
FIG. 3c is a schematic diagram of a business component list display interface provided herein;
FIG. 3d is a schematic diagram of a component configuration interface provided herein;
FIG. 3e is another schematic diagram of a business component list display interface provided herein;
FIG. 3f is a further schematic diagram of a business component list display interface provided herein;
FIG. 3g is a schematic diagram of a business component editing interface provided herein;
FIG. 3h is another schematic illustration of the component configuration interface provided herein;
FIG. 3i is yet another schematic diagram of a policy editing interface provided herein;
FIG. 4 is a schematic flow diagram of a further method of component and policy linkage provided herein;
FIG. 5 is a schematic structural view of the assembly and strategy linkage provided herein;
FIG. 6 is a topology of the components and strategy linkage system provided herein;
FIG. 7 is an interactive schematic diagram of a component and policy linkage system provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
The embodiment of the invention provides a component and strategy linkage method, device, equipment, system and storage medium. The component and the strategy linkage method can be used in a component and strategy linkage device. The components and policy linkage may be integrated in a computer device, which may be a terminal or a server. The terminal can be a mobile phone, a tablet computer, a notebook computer, an intelligent television, a wearable intelligent device, a personal computer (PC, personal Computer) and other devices. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), basic cloud computing services such as big data and artificial intelligent platforms, and the like. Wherein the server may be a node in a blockchain.
Referring to fig. 1, a schematic view of a scenario of a component and policy linkage method provided in the present application is shown. The component and the strategy linkage method can be particularly applied to a rail transit system, a service strategy formed by various standard service components is rapidly generated on the strategy platform through linkage of a component platform and the strategy platform in the rail transit system, and then a corresponding component is extracted from the component platform according to the service strategy to generate a target service corresponding to a target scene in the rail transit system. Among them, the rail transit system refers to a type of transportation means or system in which an operating vehicle needs to travel on a specific track, and the most typical rail transit is a railway system composed of a conventional train and a standard railway. With the diversification of rail traffic technology, rail traffic is of more and more types, such as subways, urban rails, light rails, trams, magnetic levitation track systems and the like. As shown in the figure, a computer device a displays a service policy editing interface of a rail transit system, wherein the service policy editing interface comprises a component display area and a policy editing area, and the component display area comprises at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
It should be noted that, the schematic view of the scenario of the component and policy linkage method shown in fig. 1 is only an example, and the component and policy linkage scenario described in the embodiment of the present application is for more clearly describing the technical solution of the present application, and does not constitute a limitation to the technical solution provided in the present application. As one of ordinary skill in the art can know, with the evolution of the service generation scene and the appearance of the new service scene, the technical scheme provided by the application is also applicable to similar technical problems.
The following describes the above-described embodiments in detail.
In related art, in some applications or systems facing users, new services are often generated to meet new user requirements or requirements of new usage scenarios due to user requirements or usage scenario changes. At present, the generation of new business needs to be carried out in a plurality of stages such as requirement proposal, development, test and online, and the business development process depends on manual writing and development of developers, which takes a long time, and results in quite low business generation efficiency.
In order to solve the technical problem of low service generation efficiency, the application provides a component and strategy linkage method so as to improve service generation efficiency.
In order to facilitate understanding of the technical solutions of the present application, the following details of the solutions provided in the present application are described.
Embodiments of the present application will be described in terms of components and policy linkages that may be integrated into a computer device. Wherein the computer device may be a terminal. The terminal can be a mobile phone, a tablet computer, a notebook computer, an intelligent television, a wearable intelligent device, a personal computer (PC, personal Computer), a vehicle-mounted terminal and other devices. As shown in fig. 2, a flow chart of a component and policy linkage method provided in the present application is shown, where the method includes:
step 101, displaying a service strategy editing interface of the rail transit system.
The business and strategy linkage method provided by the application can be applied to a rail transit system. Rail traffic refers to a type of vehicle or transportation system in which an operating vehicle needs to travel on a particular track. The most typical rail traffic is a railway system consisting of conventional trains and standard railroads. With the diversification development of train and railway technologies, rail traffic is of more and more types, and is widely applied to urban public transportation in medium and short distances as well as land transportation in long distances. Common rail transit is a conventional railway (national railway, inter-urban railway and urban railway), a subway, a light rail and a tramcar, and novel rail transit is a magnetic levitation track system, a monorail system (straddle-type track system and suspension-type track system), a passenger automatic shortcut system and the like. The business and strategy linkage method provided by the application can also be applied to an intelligent traffic system. The intelligent transportation system (Intelligent Traffic System, ITS), also called intelligent transportation system (Intelligent Transportation System), is a comprehensive transportation system which uses advanced scientific technology (information technology, computer technology, data communication technology, sensor technology, electronic control technology, automatic control theory, operation study, artificial intelligence, etc.) effectively and comprehensively for transportation, service control and vehicle manufacturing, and enhances the connection among vehicles, roads and users, thereby forming a comprehensive transportation system for guaranteeing safety, improving efficiency, improving environment and saving energy.
In a rail transit system, the scene requirements of a service side are complex and changeable, the traditional service updating and updating process needs to span a plurality of stages such as requirement proposal, development, test and upper limit, and the resource linkage and service linkage among the rail transit systems are very difficult, and service developers are required to have very strong code processing capability. In addition, in the rail transit system, because many service demands have higher requirements on timeliness, if the service generation efficiency cannot meet the timeliness requirements, the required service also changes along with the continuous change of the demand scene, and then the service generated later than the timeliness requirements can lose value. In order to solve the problems, the application provides a component and a strategy linkage method which are used for quickly generating target services required by a service scene in a rail transit system.
In the embodiment of the application, a service policy editing interface can be displayed in a service and policy linkage device, wherein the service policy editing interface comprises a component display area and a policy editing area, and the component display area comprises service components in at least one rail transit system. Specifically, as shown in fig. 3a, a schematic diagram of a business strategy editing interface provided in the present application is shown. As shown, the service policy editing interface 10 includes a component display area 11 and a policy editing area 12, and at least one service component 111 in the rail transit system is included in the component display area 11. The service components can be algorithms, data, flows, general, visual and internet of things functions and the like which are needed in the service system, are packaged as components by standard definition and stored, and form the same-user and reusable platform service components which meet the requirements of different service scenes in the service system. The application layer is then provided with calls by interfacing to the external open components. In the embodiment of the present application, the service component may specifically be a component corresponding to a service used in a rail transit system.
In the embodiment of the application, the service components which are encapsulated and stored and contain the algorithms, data, processes and the like needed in the service system can be displayed on the service policy editing interface in the form of display elements, so that a user can conveniently and intuitively select and combine the service components to generate various service policies.
Step 102, in response to the selection operation of the target business component in the component display area, a component configuration interface of the target business component is displayed.
In this embodiment, the user may select any one or more target service components in the component display area 11. It will be appreciated that because of the limited space in the component display area 11, all business components cannot be displayed in the component display area, at least one business component 111 displayed in the component display area is typically a more common business component. When the service components to be selected by the user are one or more of the above-mentioned commonly used service components, the user can directly select the target service components to be selected in the component display area 11; when the service components that the user needs to select are not in the range of the aforesaid common service components, the user needs to select from other service components. Specifically, as shown in fig. 3b, another schematic diagram of a service policy editing interface provided in the present application, as shown in the drawing, a service component selection control 112 is further included in the component display area 11, and in response to a selection operation on a target service component in the component display area, a component configuration interface of the target service component is displayed, including:
1. Responding to the triggering operation of the selection control for the business components, and displaying a business component list;
2. and displaying a component configuration interface of the target business component in response to the selection operation of the target business component in the business component list.
In this embodiment of the present application, the service component selection control 112 may be displayed in the component display area 11 of the service policy editing interface, and when a user needs to select another service component that is not displayed in the component display area 11, the service component selection control 112 may be clicked or other triggering operations may be used to trigger the service component selection control to respond, so as to display a service component list. The service component list can display all the service components which can be called, and a user can search and select target service components which need to be used in the service component list. As shown in fig. 3c, a schematic diagram of a service component list display interface provided in the present application is shown, where after the user clicks the service component selection control 112, the service component list 20 is displayed.
In some embodiments, in response to a triggering operation for a business component selection control, displaying a list of business components includes:
1.1, when a triggering instruction for a service component selection control is detected, acquiring component data corresponding to at least one service component from a preset component platform;
1.2, analyzing the component data corresponding to at least one service component to obtain component action information corresponding to each service component;
and 1.3, generating a service component list according to the component action information and displaying the service component list.
In this embodiment of the present application, the service component may be managed through a preset component platform. The service component platform stores a large number of service components, and specifically, the service components used by all service scenes in the target track traffic system can be included. Maintenance personnel of the preset component platform can perform operations such as adding service components, deleting service components, modifying service components, adjusting the states of the service components and the like based on the preset component platform. The status of the service component may specifically include, but is not limited to, component on-line, component on-shelf, component off-shelf, and component off-line.
When the triggering instruction for the service component selection control 112 is detected by the component and policy linkage device, connection can be established with the preset component platform, and then component data of all service components stored in the platform are acquired from the preset component platform, wherein the preset component platform includes at least one service component, and specifically, may include at least one service component corresponding to a track traffic field.
After the component data of all the service components on the preset component platform are obtained, the component data corresponding to the service components can be analyzed to obtain component action information corresponding to each service component. The component action information may be specific execution operation corresponding to the service component, or information corresponding to a function that can be implemented by the service component.
In some embodiments, parsing component data corresponding to at least one service component to obtain component action information corresponding to each service component includes:
1.2.1, extracting component description data from the component data, and generating functional information and use scene information of component actions according to the component description data;
1.2.2, extracting component interface data from the component data, and generating input parameter information, output parameter information, interface information and trigger condition information of component action according to the component interface data;
and 1.2.3, generating component action information according to the function information, the use scene information, the input parameter information, the output parameter information, the interface information and the trigger condition information of the component action.
In this embodiment of the present application, component data corresponding to service components is parsed, which may be specifically that component data corresponding to each service component is deeply disassembled. The component data corresponding to the service component generally comprises component description data, component interface data and component limitation data. Component description data is generally data describing basic information of a component, and may include functional data, usage scenario data, and the like of the component in particular. Component interface data generally includes data of input parameters, output parameters, interface data, trigger conditions, and the like of the component. Component restriction data generally includes call restriction data, security authentication data, and the like.
After analyzing the component data corresponding to the service component, component description data corresponding to the service component can be extracted from the analyzed data, and then functional information and usage scenario information corresponding to the component action are generated according to the component description data. Further, component interface data corresponding to the service component can be extracted from the analyzed data, and then input parameter information, output parameter information, interface information and trigger condition information corresponding to the component action are generated according to the component interface data, so that component action information can be generated according to various information corresponding to the component action.
In the business component, various types of information are represented in the form of data or codes, and understanding the data or codes requires a great deal of expertise on the part of the user. And the component data corresponding to the service components are analyzed, and the generated component action information is abstract description of functions, scenes, interfaces, input parameters, output parameters, restrictions and the like of the data or codes, so that a user can conveniently recognize and use the service components without having strong professional knowledge.
After the component action information corresponding to each service component is generated, the service component list 20 may be further generated according to the component action information, and then the service component list 20 is displayed.
In some embodiments, generating and displaying a service component list according to component action information includes:
1.3.1, generating a component action name according to the component action information;
and 1.3.2, generating a service component list based on the component action names and displaying the service component list.
In this embodiment of the present application, a service component list may be generated and displayed according to a component action name corresponding to each service component. Specifically, a component action name corresponding to each service component may be generated according to component action information corresponding to each service component. As described above, the component action information includes description information of the component action, where the description information includes usage scenario information of the component action and functional information that can be implemented by the component action, so in the embodiment of the present application, the usage scenario information corresponding to the component action and the functional information that can be implemented by the component action may be used to generate the component action name. The component action names generated by the method can intuitively display the scenes which can be used by the service components and the functions which can be realized by the service components, thereby being convenient for users to quickly select the service components.
After the service component list is generated and displayed, the user can select a desired target service component in the component list 20. In the embodiment of the application, after the user selects the target service component to be used, a component configuration interface corresponding to the target service component can be displayed, and the user can perform corresponding configuration operation on the target service component on the component configuration interface. As shown in fig. 3d, for a schematic diagram of a component configuration interface corresponding to a service component provided in the present application, in response to a selection instruction for a general component, a component configuration interface 30 corresponding to the general component is displayed, and a user may perform a corresponding configuration operation on the selected general component in the configuration interface 30.
In some embodiments, in response to a triggering operation of the selection control for the business component, displaying a list of business components includes:
1.4, when a trigger instruction for selecting a control for the service component is detected, acquiring the service component applied to the track traffic system from a component platform of the track traffic system, wherein the service component is obtained by extracting functional codes from various track traffic applications of an application platform of the track traffic system by the component platform and packaging the functional codes;
1.5, analyzing the code data of the service component to obtain the function definition information of the service component, and abstracting the service component into component actions in a track traffic system policy platform action library according to the function definition information;
and 1.6, generating a service component list according to the component actions in the policy platform action library and displaying the service component list.
In the embodiment of the application, the service component list can be generated according to component actions in the rail transit system policy platform. Specifically, when a trigger instruction for displaying the business component selection control 112 in the component display area 11 is detected, a business component applied to the rail transit system is acquired from the component platform of the rail transit system. The service component of the track traffic system is a service component which is obtained by extracting common function codes from various track traffic applications of an application platform of the track traffic system by a component platform, and packaging and precipitating the extracted function codes. Further, the code data of the service components can be analyzed to obtain function definition information corresponding to each service component, and then each service component is abstracted into component actions in a policy platform action library in the rail transit system according to the function definition information. When a user clicks a service component to select a control, the component and the strategy linkage device can acquire the component actions from the action library of the strategy platform, and then a component list is generated and displayed according to the component actions.
In some embodiments, in response to a selection operation for a target business component in a list of business components, displaying a component configuration interface for the target business component comprises:
2.1, when a selection instruction for a target component in a service component list is detected, acquiring target use scene information corresponding to the target service component;
2.2, acquiring a target component configuration interface matched with the target use scene information;
and 2.3, displaying a target component configuration interface.
In this embodiment of the present application, different component configuration interfaces may be displayed for different service components. Specifically, before the component configuration interface corresponding to the target service component is displayed, the target usage scenario information corresponding to the target service component selected by the user can be acquired first, then the target component configuration interface corresponding to the target usage scenario information is determined according to the mapping relation between the usage scenario and the configuration interface, and the target component configuration interface is displayed.
The usage scenario of the target service component includes, but is not limited to, manual approval, content approval, and internet of things operation, and the corresponding component configuration interface may be an manual approval configuration interface, a content approval configuration interface, and an internet of things operation configuration interface.
In some embodiments, obtaining a target component configuration interface that matches target usage scenario information includes:
2.2.1, acquiring at least one target component configuration element matched with target use scene information from a preset component configuration element library;
2.2.2, generating a target component configuration interface according to the target component configuration element.
In this embodiment of the present application, the target component configuration interface corresponding to the target usage scenario information may be formed by a plurality of component configuration elements. In particular, a component configuration element library may be maintained, which may store a plurality of component configuration elements. Wherein the component configuration elements may include, but are not limited to: component name, component function, component action content, component action execution object, component action execution time, component association object, and the like. From these individual component configuration elements, the component configuration interfaces required for different component usage scenarios may be combined.
After the target usage scenario information corresponding to the target service component is determined, the target component configuration element matched with the target usage scenario information can be searched in the component configuration element library according to the target usage scenario information. And then, combining the target component configuration elements according to a certain rule to obtain a target component configuration interface matched with the target usage scene information.
In the embodiment of the application, the target component configuration interface corresponding to the target service component is not determined by the mapping relation table of the usage scenario information and the component configuration interface, but the corresponding target component configuration element is determined in the component configuration element library according to the usage scenario information, and the target component configuration elements are combined to generate the target component configuration interface. Therefore, when the component configuration interface needs to be updated, the updating of the component configuration interface corresponding to a plurality of business scenes can be realized only by updating one component configuration element, and the updating efficiency of the component configuration interface can be greatly improved.
In some embodiments, the service component list includes a service component status display control, and the method further includes:
in response to a triggering operation for the business component status display control, status information for each business component is displayed in a business component list.
In the embodiment of the application, the state information of each service component can be further displayed in the displayed service component list, so that the selection of the service components by a user can be further guided, and the condition that some components which are taken off the shelf are selected, so that service functions cannot be realized due to the fact that the service components cannot be used is avoided. Specifically, as shown in fig. 3e, another schematic diagram of a service component list display interface provided in the present application is shown, in which a status display control 21 is further displayed in the service component list, and when a triggering operation of the user for the status display control 21 is detected, component status information corresponding to each service component can be newly displayed on the basis of the service component list shown in fig. 3 c. Specifically, for example, the state of component C is put on shelf, then it is stated that the component can be orchestrated and executed; the status of component B is down, indicating that the component may execute but cannot be orchestrated. Thus, the user can clearly know the state information of each service component on the interface, and select a proper target service component according to the state information of each service component.
In some embodiments, the status information for each business component may be hidden in response to a user re-triggering operation of the status presentation control 21.
In some embodiments, the list of business components containing status information for each business component may also be displayed directly in response to a user clicking on the business component selection control 112.
In some embodiments, the service and policy linkage method provided by the present application further includes:
when detecting that the state information of the service components is changed, acquiring updated state information of each service component from a component platform;
and updating the state information of each service component displayed in the service component list according to the updated state information.
In this embodiment of the present application, the service and policy linkage may further detect, in real time, status information of each service component in the component platform, and when it is detected that there is a change in status information of a service component in the service platform, update status information of each service component may be obtained again from the component platform, and then, according to the update status information, the status information of each service component displayed in the service component list is updated in real time.
In some embodiments, a function of screening based on status information may also be provided, for example, screening out all service components that are on shelf, so as to quickly select a target service component that can be arranged and executed by excluding interference from other service components.
In some embodiments, the service component list includes a service component editing control corresponding to each service component, and the method further includes:
A. responding to the selection operation of the editing control of the target business component, and displaying an editing interface of the business component corresponding to the editing control of the target business component;
B. and acquiring editing operation received by the editing interface, and updating the business component corresponding to the editing control of the target business component according to the editing operation.
In this embodiment, in the illustrated service list interface 20, a service component editing control for editing each service component in the illustrated service component list may also be included. Specifically, as shown in fig. 3f, a further schematic diagram of a service component list display interface provided in the present application is shown. As shown, business component list interface 20 also includes business component editing controls 22 that can edit the displayed business components. As shown in the figure, each business component corresponds to a business component editing control 22, and when a user clicks any target business component editing control, an editing interface of the business component corresponding to the target business component editing control can be displayed. Wherein in some embodiments, the business component editing control may also be presented in the form of "edit" text.
As shown in fig. 3g, in the service component editing interface 40, a user may edit basic information, interface configuration information, and the like of a target service component, and then preview the edited target service component, and perform operations such as testing the edited service component. After receiving the editing operations performed by the user in the service component editing interface 40, the target service component is updated based on these editing operations, so as to obtain a new target service component.
In some embodiments, the component configuration interface includes a device selection control and an instruction configuration control, the method further comprising:
a. responding to the triggering operation of the device selection control, and displaying a candidate device list;
b. receiving a selection operation aiming at target equipment in a candidate equipment list, and associating the target equipment with a target service component;
c. responding to the triggering operation of the command configuration control, and displaying a command configuration interface of the target equipment;
d. and receiving instruction configuration information input in an instruction configuration interface.
In the embodiment of the application, a configuration interface of the internet of things component is also provided, and in the configuration interface, the internet of things relationship and corresponding control instructions among different rail transit devices can be configured. Specifically, as shown in fig. 3h, another schematic diagram of the component configuration interface provided in the present application is shown. In the component configuration interface 30, a device selection control 31 and an instruction configuration control 32 are displayed. When the user clicks on the device selection control 31, a list of candidate devices is displayed, and the user may select one or more target devices in the list of candidate devices, such that the target business component and the target device are associated. Further, the user may continue clicking the command configuration control 32, so as to display a command configuration interface corresponding to the target device, where the user may input specifically configured control commands for the target device, receive the control commands input by the user, and store the control commands in the target service component in an associated manner.
And step 103, updating the target business component according to the configuration information received by the component configuration interface, and displaying the updated target business component in the strategy editing area.
After the user configures the target service component on the component configuration interface, the component and the policy linkage device update the target service component according to the configuration of the target service component by the user. The updated target business component is then displayed on the policy editing area 12 of the business policy editing interface 10.
Specifically, displaying the updated target business component on the policy editing area may include determining a display position of the target business component and how to display the target business component.
In some embodiments, displaying the updated target business component in the policy editing area includes:
1. in response to a selected operation for the updated target business component, displaying a target display image of the updated target business component;
2. responding to the display position adjustment operation aiming at the target display image, and determining the corresponding target position of the display position adjustment operation on the business strategy editing interface;
3. and displaying the target display image at the target position.
In the embodiment of the application, the corresponding target display image of the updated target service component can be generated first. Specifically, the target display image may be determined according to a usage scenario corresponding to the target service component, or may be determined according to an achievable function corresponding to the target service component. Then, the user can adjust the position of the target display image by clicking and dragging the method of the target display image corresponding to the updated target service component. The user can drag the target display image to an arbitrary position in the policy editing area 12 and then display the target display image on the position.
Then, the user may repeat the operations of selecting the target service component, configuring the target service component, and displaying the configured target service component in the policy editing area 12, and display the service components that need to be used in the policy editing area 12 after corresponding configurations. To generate a target service further in accordance with the service components displayed in the policy editing area 12.
In some embodiments, some service logic components can be displayed in the component display area, and the service logic components can be connected with different service components through certain logic. Specifically, the service logic component may be a start component, an end component, a split component, an aggregation component, a delay component, and the like. The user may also display the business logic components in the policy editing area 12 by selecting and dragging an icon.
And 104, carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
When the user adds all the components required for arranging the service into the policy editing area 12 for display, the service components in the policy editing area can be further combined and processed by setting the connection relationship between the components, so as to obtain the service processing policy. Then, further, a target service corresponding to the target service scene in the track traffic system can be generated according to the service processing strategy.
In some embodiments, performing a combination process on business components within a policy editing area includes:
1. receiving an association operation between display images displayed on a business strategy editing interface;
2. and combining the components corresponding to each display image according to the association operation.
In the embodiment of the present application, the combination between service components may be implemented by a method of associating the display images displayed in the policy editing area 12 in the service policy editing interface 10. Specifically, the display image corresponding to each service component can be used as a flow node in the flow chart, and different nodes are connected in series in a mode of adding a directional connecting wire between the nodes, so that a complete flow chart is formed. As shown in fig. 3i, a further schematic diagram of a policy editing interface provided in the present application is provided. As shown, in the policy editing area 12, the components A, B, C and various service logic components are associated by the directional connection lines, so as to form a complete flowchart, and the flowchart corresponds to a specific service processing policy. Further, according to the service processing strategy, the codes and the data which are correspondingly packaged by each component are integrated, so that the target service which is suitable for the target service scene in the track traffic system can be obtained.
As can be seen from the above description, according to the component and the policy linkage method provided in the embodiments of the present application, by displaying a service policy editing interface of a rail transit system, the service policy editing interface includes a component display area and a policy editing area, and the component display area includes at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
Therefore, the components required by service generation are packaged and then displayed on the policy platform, and a user can select, configure and combine the displayed components, so that target service required by service scenes is rapidly generated. The method can also quickly generate the target service required by the service scene without professional writing capability of the service code of the service developer, thereby greatly improving the efficiency of service generation.
The application also provides a component and a strategy linkage method, and the method can be used in computer equipment which can be a terminal. As shown in fig. 4, another flow chart of the component and policy linkage method provided in the present application, the method specifically includes:
in step 201, the computer device obtains component data corresponding to each service component in the component platform corresponding to the rail transit system.
In the embodiment of the application, service resources which can be repeatedly used in various applications in the rail transit system can be defined as standardized components, and the standardized components are uniformly managed by adopting a component platform. And then, a strategy platform and component platform combined mode is adopted to realize the rapid arrangement of various services. The method for linking the component and the strategy is particularly a method for linking a component platform and a strategy platform of a rail transit system so as to rapidly realize rapid arrangement of various application services in the rail transit system.
The component platform can be arranged in a background server, and the strategy platform can be integrated in the computer equipment in a mode of application programs. The strategy platform realizes interaction with the user through the computer equipment, receives an input instruction of the user, and calls a corresponding service component in the component platform based on the input instruction of the user, so as to generate target service required by the user.
The generation of the target service by adopting the component and policy linkage method is described in detail below. Before providing the service arrangement function for the user, the policy platform needs to acquire data related to the service components from the component platform, and specifically, the computer equipment can acquire the component data corresponding to each service component of the rail transit system from the background server.
Step 202, the computer device analyzes the component data corresponding to each service component to obtain component action information corresponding to each service component.
After the computer device obtains the component data corresponding to each service component, the computer device may parse the component data of each service component to obtain description information, application program interface information and limitation information of each service component. Then determining the description information of the service action according to the description information of the service component, wherein the description information of the service action specifically comprises the functions, classification and use scene information of the service action; determining input parameter information, output parameter information, interface information and triggering condition information of a service action according to interface information of a service component; and determining the restriction information of the service action according to the restriction information of the service component, wherein the restriction information of the service action specifically comprises calling restriction and security authentication information.
Step 203, the computer device displays a service policy editing interface of the rail transit system.
In the embodiment of the application, the policy platform can be specifically installed in the computer equipment in the form of a business arrangement application. When a user needs to use a strategy platform to conduct business arrangement to generate a target business corresponding to a target scene in a rail transit system, a business arrangement application can be opened in computer equipment. At this time, the computer device opens the service orchestration application and displays a service policy editing interface of the rail transit system. The user can edit the service strategy on the service strategy editing interface, and then a target service corresponding to the target scene is generated according to the edited service strategy.
The service policy editing interface may include a functional area and an editing area, where a user may select a desired service component and a service logic component that connects service components in series logically. The user can display the selected target service components and the target service logic components in the editing area, so that each target service component selected by the user can be combined in an image to obtain a required service strategy.
In response to the business component selection instruction, the computer device displays a list of business components, step 204.
The computer equipment can display the service component list in the function area for the user to select the target service component, can display the service component selection control in the function area, and can respond to the triggering operation of the service component selection control by the user to display the service component list in another interface.
In this embodiment of the present application, the service component list may be generated from the component action information obtained by the foregoing parsing. Specifically, the action name of each component action may be generated first according to the usage scenario and function of the component action included in the component action information. And then, generating a service component list according to the action name corresponding to each service component and displaying the service component list. Because the service action use scene and the function information can describe the service components use scene and the function very clearly, the component list generated according to the information can enable the user to find the required target service components more clearly and efficiently.
In step 205, the computer device presents the user selected target business component in a policy editing area.
The user can select one or more target business components required by the target business scene from a business component list displayed by the computer equipment. The computer device may then present the user selected target business component in an edit section of the business policy edit page, which may also be referred to as a policy edit section.
After the target service components are displayed in the policy editing area, the user can drag the target service components displayed in the policy editing area to modify the position of each target service component displayed in the policy editing area.
In step 206, the computer device updates the target business component according to the user's configuration operation on the target business component.
Further, the user may perform component configuration for each selected target business component. Specifically, the component configuration interface may display a target component configuration interface matched with the scene information according to the classification, the function and the scene information of the action corresponding to the component. The user can perform targeted configuration on the target business component in the target component configuration interface.
In particular, since business components are standardized reusable resources, they are typically initialized resources. When the service components are required to be used in a specific scene, the service components are required to be taken into account according to the information of the specific use scene, and authentication information is configured, so that the standardized service components can be really applied in the service scene.
The computer equipment can respond to the configuration triggering operation of the user on each target service component, display the configuration interface of each target service component, and then the user can perform the configuration operation on the configuration interface of the target service component. After the configuration is completed, the computer equipment updates each target service component according to the configuration operation of the user on each target service component, and the updated target service component is obtained.
In step 207, the computer device generates a business process policy based on the user's associated operation with the target business component displayed in the policy editing area.
For the updated service components, the user can further adjust the display positions of the updated service components in the policy editing area, and correlate the service components by adopting correlation operation, so that a plurality of target service components are combined into a complete flow chart, and the flow chart corresponds to a service processing policy of the target service scene.
And step 208, the computer equipment generates a target service corresponding to the target scene in the track traffic system according to the service processing strategy.
After the service processing strategy corresponding to the target service scene in the track traffic system is generated, updated service data corresponding to each target service in the service processing strategy can be further obtained, and then the service data are integrated according to the logic relation in the service processing strategy, so that the target service corresponding to the target service scene in the track traffic system is obtained.
After the target service is obtained, the target service may be further tested to determine whether it has the intended function.
As can be seen from the above description, according to the component and the policy linkage method provided in the embodiments of the present application, by displaying a service policy editing interface of a rail transit system, the service policy editing interface includes a component display area and a policy editing area, and the component display area includes at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
Therefore, the components required by service generation are packaged and then displayed on the policy platform, and a user can select, configure and combine the displayed components, so that target service required by service scenes is rapidly generated. The method can also quickly generate the target service required by the service scene without professional writing capability of the service code of the service developer, thereby greatly improving the efficiency of service generation.
To better implement the above method, embodiments of the present application also provide a component and a policy linkage that may be integrated in a terminal.
For example, as shown in fig. 5, a schematic structural diagram of a component and a policy linkage device provided in an embodiment of the present application, where the component and the policy linkage device may include a first display unit 301, a second display unit 302, a third display unit 303, and a generating unit 304, as follows:
a first display unit 301, configured to display a service policy editing interface of the rail transit system, where the service policy editing interface includes a component display area and a policy editing area, and the component display area includes at least one service component in the rail transit system;
a second display unit 302, configured to display a component configuration interface of the target service component in response to a selection operation of the target service component in the component display area;
a third display unit 303, configured to update the target service component according to the configuration information received by the component configuration interface, and display the updated target service component in the policy editing area;
and the generating unit 304 is configured to perform a combination process on the service components in the policy editing area, so as to generate a target service corresponding to the target service scene in the rail transit system.
In some embodiments, the component presentation area includes a business component selection control, and the second display unit includes:
a first display subunit, configured to display a service component list in response to a triggering operation for a service component selection control;
and the second display subunit is used for responding to the selection operation of the target business component in the business component list and displaying the component configuration interface of the target business component.
In some embodiments, the service component list includes a service component status display control, and the component and policy linkage device further includes:
and the third display subunit is used for responding to the triggering operation of the service component state display control and displaying the state information of each service component in the service component list.
In some embodiments, the service component list includes a service component editing control corresponding to each service component, and the component and policy linkage device further includes:
the fourth display subunit is used for responding to the selection operation of the target service component editing control and displaying the editing interface of the service component corresponding to the target service component editing control;
the first updating subunit is used for acquiring the editing operation received by the editing interface and updating the service component corresponding to the editing control of the target service component according to the editing operation.
In some embodiments, the component configuration interface includes a device selection control and an instruction configuration control, the component and policy linkage further comprising:
a fifth display subunit configured to display a candidate device list in response to a trigger operation for the device selection control;
the association subunit is used for receiving the selection operation aiming at the target equipment in the candidate equipment list and associating the target equipment with the target service component;
a sixth display subunit, configured to display an instruction configuration interface of the target device in response to a trigger operation for the instruction configuration control;
and the receiving subunit is used for receiving the instruction configuration information input in the instruction configuration interface.
In some embodiments, the third display unit includes:
a seventh display subunit configured to display a target display image of the updated target service component in response to a selection operation for the updated target service component;
a determining subunit, configured to determine, in response to a display position adjustment operation for the target display image, a target position corresponding to the display position adjustment operation on the service policy editing interface;
and an eighth display subunit for displaying the target display image at the target position.
In some embodiments, the generating unit comprises:
a receiving subunit, configured to receive an association operation between display images displayed on the service policy editing interface;
and the combining subunit is used for combining the components corresponding to each display image according to the association operation.
In some embodiments, the first display subunit comprises:
the first acquisition module is used for acquiring component data corresponding to at least one service component from a preset component platform when a triggering instruction for a service component selection control is detected;
the analysis module is used for analyzing the component data corresponding to at least one service component to obtain component action information corresponding to each service component;
and the first display module is used for generating and displaying a service component list according to the component action information.
In some embodiments, the parsing module includes:
the first extraction sub-module is used for extracting component description data from the component data, and generating functional information and use scene information of component actions according to the component description data;
the second extraction sub-module is used for extracting the component interface data from the component data and generating input parameter information, output parameter information, interface information and triggering condition information of the component action according to the component interface data;
The first generation sub-module is used for generating component action information according to the function information, the use scene information, the input parameter information, the output parameter information, the interface information and the trigger condition information of the component action.
In some embodiments, the first display module includes:
the second generation sub-module is used for generating a component action name according to the component action information;
and the third generation sub-module is used for generating and displaying a service component list based on the component action name.
In some embodiments, the second display subunit comprises:
the second acquisition module is used for acquiring target use scene information corresponding to the target service component when a selection instruction for the target component in the service component list is detected;
the third acquisition module is used for acquiring a target component configuration interface matched with the target using scene information;
and the second display module is used for displaying the target component configuration interface.
In some embodiments, the third acquisition module comprises:
the acquisition sub-module is used for acquiring at least one target component configuration element matched with the target use scene information from a preset component configuration element library;
and the fourth generation sub-module is used for generating a target component configuration interface according to the target component configuration element.
In some embodiments, the first display subunit comprises:
the fourth acquisition module is used for acquiring the service components applied to the track traffic system from the component platform of the track traffic system when the triggering instruction for the service component selection control is detected, and the service components are obtained by extracting and packaging functional codes from various track traffic applications of the application platform of the track traffic system by the component platform;
the second analysis module is used for analyzing the code data of the service component to obtain the function definition information of the service component, and abstracting the service component into component actions in the policy platform action library according to the function definition information;
and the third display module is used for generating and displaying a service component list according to the component actions in the policy platform action library.
In the implementation, each unit may be implemented as an independent entity, or may be implemented as the same entity or several entities in any combination, and the implementation of each unit may be referred to the foregoing method embodiment, which is not described herein again.
As can be seen from the foregoing description, in the component and the policy linkage device provided in the embodiments of the present application, a service policy editing interface of a rail transit system is displayed through the first display unit 301, where the service policy editing interface includes a component display area and a policy editing area, and the component display area includes at least one service component in the rail transit system; in response to a selection operation of the target service component in the component display area, the second display unit 302 displays a component configuration interface of the target service component; the third display unit 303 updates the target service component according to the configuration information received by the component configuration interface, and displays the updated target service component in the policy editing area; the generating unit 304 performs a combination process on the service components in the policy editing area to generate a target service corresponding to the target service scenario in the track traffic system.
Therefore, the components required by service generation are packaged and then displayed on the policy platform, and a user can select, configure and combine the displayed components, so that target service required by service scenes is rapidly generated. The method can also quickly generate the target service required by the service scene without professional writing capability of the service code of the service developer, thereby greatly improving the efficiency of service generation.
The embodiment of the application also provides a component and strategy linkage system, as shown in fig. 6, which is a topological diagram of the component and strategy linkage system provided by the application. The system comprises a component platform 100 and a strategy platform 200, wherein the component platform 100 is used for storing and managing service components, feeding back the state information of the service components to the strategy platform in real time and providing target service components to the strategy platform in response to the invocation of the strategy platform;
the policy platform 200 is configured to display a service policy editing interface of a rail transit system, where the service policy editing interface includes a component display area and a policy editing area, and the component display area includes at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to a target service scene in the track traffic system.
Fig. 7 is an interaction schematic diagram of the component and policy linkage system provided in the embodiment of the present application. As shown, the interaction with policy platform 200 is illustrated throughout the lifecycle of a business component in component platform 100. Specifically, a business component can share the current state of the business component with the policy platform 200 in real time during the whole life cycle of the component platform 100. Specifically, when a service component completes creation, loading and loading on the component platform 100, the service component may be loaded and loaded on the policy platform 200, that is, the service component may be displayed in a component list displayed by the computer device, and the status of the service component is marked as loading. When the status of the service component in the component platform 100 is switched to off-shelf, the information is also shared in real time to the policy platform 200, and the status of the component is displayed in the component list as executable but not programmable.
The embodiment of the application also provides a computer device, which may be a terminal, as shown in fig. 8, and is a schematic structural diagram of the computer device provided in the application. Specifically, the present invention relates to a method for manufacturing a semiconductor device.
The computer device may include one or more processing cores 'processing units 401, one or more storage media's storage units 402, a power module 403, and an input module 404, among other components. Those skilled in the art will appreciate that the computer device structure shown in FIG. 8 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components. Wherein:
The processing unit 401 is a control center of the computer device, connects respective parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the storage unit 402 and calling data stored in the storage unit 402, thereby performing overall detection of the computer device. Optionally, processing unit 401 may include one or more processing cores; preferably, the processing unit 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated in the processing unit 401.
The storage unit 402 may be used to store software programs and modules, and the processing unit 401 executes various functional applications and data processing by running the software programs and modules stored in the storage unit 402. The storage unit 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, and web page access), etc.; the storage data area may store data created according to the use of the computer device, etc. In addition, the storage unit 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory unit 402 may also include a memory controller to provide the processing unit 401 with access to the memory unit 402.
The computer device further comprises a power module 403 for supplying power to the respective components, and preferably, the power module 403 may be logically connected to the processing unit 401 through a power management system, so that functions of managing charging, discharging, and power consumption management are implemented through the power management system. The power module 403 may also include one or more of any components, such as a direct current or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The computer device may also include an input module 404, which input module 404 may be used to receive entered numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processing unit 401 in the computer device loads executable files corresponding to the processes of one or more application programs into the storage unit 402 according to the following instructions, and the processing unit 401 executes the application programs stored in the storage unit 402, so as to implement various functions as follows:
Displaying a service strategy editing interface of the rail transit system, wherein the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
It should be noted that, the computer device provided in the embodiment of the present application and the method in the foregoing embodiment belong to the same concept, and the specific implementation of each operation above may refer to the foregoing embodiment, which is not described herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present invention provide a computer readable storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
displaying a service strategy editing interface of the rail transit system, wherein the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises at least one service component in the rail transit system; responding to the selection operation of the target business component in the component display area, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to the target service scene in the track traffic system.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the instructions stored in the computer readable storage medium may perform the steps in any of the methods provided in the embodiments of the present invention, the beneficial effects that any of the methods provided in the embodiments of the present invention can be achieved are detailed in the previous embodiments, and are not described herein.
Among other things, according to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a storage medium. The computer instructions are read from the storage medium by a processor of a computer device, which executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
The components, the policy linkage method, the device, the equipment, the system and the storage medium provided by the embodiment of the invention are described in detail, and specific examples are applied to illustrate the principle and the implementation of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present invention, the present description should not be construed as limiting the present invention in summary.

Claims (13)

1. A component and policy linkage method, the method comprising:
displaying a service policy editing interface of a rail transit system, wherein the service policy editing interface comprises a component display area and a policy editing area, and the component display area comprises a service component selection control and at least one service component in the rail transit system;
when a triggering instruction for selecting a control for the service component is detected, acquiring the service component applied to the track traffic system from a component platform of the track traffic system, wherein the service component is obtained by extracting and packaging functional codes from various track traffic applications of an application platform of the track traffic system by the component platform;
analyzing the code data of the service component to obtain function definition information of the service component, abstracting the service component into component actions in a track traffic system policy platform action library according to the function definition information to obtain the function information and the use scene information of the component actions;
generating a component action name according to the function information and the use scene information of the component action in the policy platform action library so as to intuitively display the scene used by the service component and the function which can be realized by the service component;
Generating a service component list based on the component action name and displaying the service component list;
responding to the selection operation of the target business component in the business component list, and displaying a component configuration interface of the target business component;
updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area;
and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to a target service scene in the track traffic system.
2. The method of claim 1, wherein the list of business components includes a business component status presentation control, the method further comprising:
and responding to the triggering operation of the service component state display control, and displaying the state information of each service component in the service component list.
3. The method of claim 1, wherein the service component list includes a service component editing control corresponding to each service component, the method further comprising:
responding to the selection operation of a target business component editing control, and displaying an editing interface of a business component corresponding to the target business component editing control;
And acquiring editing operation received by the editing interface, and updating the business component corresponding to the editing control of the target business component according to the editing operation.
4. The method of claim 1, wherein the component configuration interface includes a device selection control and an instruction configuration control, the method further comprising:
responsive to a trigger operation for the device selection control, displaying a list of candidate devices;
receiving a selection operation aiming at target equipment in the candidate equipment list, and associating the target equipment with the target service component;
responding to the triggering operation of the instruction configuration control, and displaying an instruction configuration interface of the target equipment;
and receiving the instruction configuration information input in the instruction configuration interface.
5. The method of claim 1, wherein displaying the updated target business component in the policy editing area comprises:
displaying a target display image of the updated target business component in response to a selected operation for the updated target business component;
responding to a display position adjustment operation aiming at the target display image, and determining a corresponding target position of the display position adjustment operation on the business strategy editing interface;
And displaying the target display image at the target position.
6. The method of claim 5, wherein the combining business components within the policy editing area comprises:
receiving an association operation between display images displayed on the business strategy editing interface;
and combining the components corresponding to each display image according to the association operation.
7. The method of claim 1, wherein the parsing the component data corresponding to the at least one service component to obtain component action information corresponding to each service component includes:
extracting component description data from the component data, and generating functional information and use scene information of component actions according to the component description data;
extracting component interface data from the component data, and generating input parameter information, output parameter information, interface information and trigger condition information of component action according to the component interface data;
generating component action information according to the function information, the use scene information, the input parameter information, the output parameter information, the interface information and the triggering condition information of the component action.
8. The method of claim 7, wherein the displaying the component configuration interface of the target business component in response to the selection operation for the target business component in the business component list comprises:
when a selection instruction for a target service component in the service component list is detected, acquiring target use scene information corresponding to the target service component;
acquiring a target component configuration interface matched with the target usage scene information;
and displaying the target component configuration interface.
9. The method of claim 8, wherein the obtaining a target component configuration interface that matches the target usage scenario information comprises:
acquiring at least one target component configuration element matched with the target use scene information from a preset component configuration element library;
and generating a target component configuration interface according to the target component configuration element.
10. An assembly and policy linkage, the device comprising:
the system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a service strategy editing interface of a rail transit system, the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises a service component selection control and at least one service component in the rail transit system;
The first acquisition module is used for acquiring a service component applied to the track traffic system from a component platform of the track traffic system when a trigger instruction for selecting a control for the service component is detected, wherein the service component is obtained by extracting and packaging functional codes from various track traffic applications of an application platform of the track traffic system by the component platform;
the first analysis module is used for analyzing the code data of the service component to obtain the function definition information of the service component, abstracting the service component into component actions in a track traffic system policy platform action library according to the function definition information to obtain the function information and the use scene information of the component actions;
the second generation sub-module is used for generating a component action name according to the function information and the use scene information of the component action in the strategy platform action library so as to intuitively display the scene used by the service component and the function which can be realized by the service component;
the third generation sub-module is used for generating a service component list based on the component action name and displaying the service component list;
a second display unit, configured to display a component configuration interface of a target service component in the service component list in response to a selection operation for the target service component;
The third display unit is used for updating the target service component according to the configuration information received by the component configuration interface and displaying the updated target service component in the strategy editing area;
and the generating unit is used for carrying out combination processing on the service components in the strategy editing area so as to generate a target service corresponding to the target service scene in the track traffic system.
11. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps in the component and policy linkage method of any one of claims 1 to 9 when the computer program is executed.
12. The component and strategy linkage system is characterized by comprising a component platform and a strategy platform, wherein the component platform is used for storing and managing service components, feeding back the state information of the service components to the strategy platform in real time and providing target service components to the strategy platform in response to the calling of the strategy platform;
the strategy platform is used for displaying a service strategy editing interface of the rail transit system, the service strategy editing interface comprises a component display area and a strategy editing area, and the component display area comprises a service component selection control and at least one service component in the rail transit system; when a triggering instruction for selecting a control for the service component is detected, acquiring the service component applied to the track traffic system from a component platform of the track traffic system, wherein the service component is obtained by extracting and packaging functional codes from various track traffic applications of an application platform of the track traffic system by the component platform; analyzing the code data of the service component to obtain function definition information of the service component, abstracting the service component into component actions in a track traffic system policy platform action library according to the function definition information to obtain the function information and the use scene information of the component actions; generating a component action name according to the function information and the use scene information of the component action in the policy platform action library so as to intuitively display the scene used by the service component and the function which can be realized by the service component; generating a service component list based on the component action name and displaying the service component list; responding to the selection operation of the target business component in the business component list, and displaying a component configuration interface of the target business component; updating the target service component according to the configuration information received by the component configuration interface, and displaying the updated target service component in the strategy editing area; and carrying out combination processing on the service components in the strategy editing area to generate a target service corresponding to a target service scene in the track traffic system.
13. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the assembly and policy linkage method of any of claims 1 to 9.
CN202111496635.1A 2021-12-09 2021-12-09 Component and strategy linkage method, device, equipment, system and storage medium Active CN114936019B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111496635.1A CN114936019B (en) 2021-12-09 2021-12-09 Component and strategy linkage method, device, equipment, system and storage medium
PCT/CN2022/087204 WO2023103247A1 (en) 2021-12-09 2022-04-15 Component and strategy linkage method and apparatus, and device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111496635.1A CN114936019B (en) 2021-12-09 2021-12-09 Component and strategy linkage method, device, equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN114936019A CN114936019A (en) 2022-08-23
CN114936019B true CN114936019B (en) 2024-01-30

Family

ID=82861412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111496635.1A Active CN114936019B (en) 2021-12-09 2021-12-09 Component and strategy linkage method, device, equipment, system and storage medium

Country Status (2)

Country Link
CN (1) CN114936019B (en)
WO (1) WO2023103247A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116594604B (en) * 2023-07-19 2024-02-09 云宏信息科技股份有限公司 Component configuration method based on data linkage, data display method and device
CN116661767B (en) * 2023-07-28 2023-10-27 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium
CN116909582B (en) * 2023-09-13 2024-01-30 云账户技术(天津)有限公司 Visual large-screen service deployment method and device and electronic equipment
CN117235609B (en) * 2023-11-14 2024-03-01 中建科工集团有限公司 Inductive classification method, device, equipment and medium for BIM (building information modeling) components

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111507689A (en) * 2020-04-23 2020-08-07 腾讯科技(深圳)有限公司 Service processing method, device, equipment and computer readable storage medium
WO2020215681A1 (en) * 2019-04-26 2020-10-29 平安科技(深圳)有限公司 Indication information generation method and apparatus, terminal, and storage medium
CN112035110A (en) * 2020-08-28 2020-12-04 腾讯科技(深圳)有限公司 Parameter adjusting method, device, client and storage medium
WO2021008295A1 (en) * 2019-07-15 2021-01-21 腾讯科技(深圳)有限公司 Mini-program production method and apparatus, and terminal and storage medium
CN112333171A (en) * 2020-10-28 2021-02-05 腾讯科技(深圳)有限公司 Service data processing method and device and computer equipment
CN113568612A (en) * 2021-07-05 2021-10-29 金蝶软件(中国)有限公司 Service configuration method, device, computer equipment and storage medium
WO2021217911A1 (en) * 2020-04-27 2021-11-04 平安国际智慧城市科技股份有限公司 Method and apparatus for constructing service website project, and computer device and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030090514A1 (en) * 2001-10-23 2003-05-15 Cole Douglas J. Business process user interface generation system and method
CN110851114A (en) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 Business system development method and device, electronic equipment and storage medium
CN111694615B (en) * 2020-06-16 2024-04-05 北京同邦卓益科技有限公司 Method, device, equipment and storage medium for data configuration

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020215681A1 (en) * 2019-04-26 2020-10-29 平安科技(深圳)有限公司 Indication information generation method and apparatus, terminal, and storage medium
WO2021008295A1 (en) * 2019-07-15 2021-01-21 腾讯科技(深圳)有限公司 Mini-program production method and apparatus, and terminal and storage medium
CN111507689A (en) * 2020-04-23 2020-08-07 腾讯科技(深圳)有限公司 Service processing method, device, equipment and computer readable storage medium
WO2021217911A1 (en) * 2020-04-27 2021-11-04 平安国际智慧城市科技股份有限公司 Method and apparatus for constructing service website project, and computer device and storage medium
CN112035110A (en) * 2020-08-28 2020-12-04 腾讯科技(深圳)有限公司 Parameter adjusting method, device, client and storage medium
CN112333171A (en) * 2020-10-28 2021-02-05 腾讯科技(深圳)有限公司 Service data processing method and device and computer equipment
CN113568612A (en) * 2021-07-05 2021-10-29 金蝶软件(中国)有限公司 Service configuration method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114936019A (en) 2022-08-23
WO2023103247A1 (en) 2023-06-15

Similar Documents

Publication Publication Date Title
CN114936019B (en) Component and strategy linkage method, device, equipment, system and storage medium
CN113034095B (en) Man-machine interaction method and device combining RPA and AI, storage medium and electronic equipment
CN109885624B (en) Data processing method, data processing device, computer equipment and storage medium
CN109669688A (en) Based on visual software development methodology, device, terminal device and storage medium
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
CN113268226A (en) Page data generation method and device, storage medium and equipment
CN109614093B (en) Visual intelligent contract system and intelligent contract processing method
CN112019820A (en) Interface generation method and device
CN112068923B (en) Interface updating method and device
WO2019241027A1 (en) Surfacing application functionality for an object
CN109544665A (en) Generation method, device and the storage medium of animation poster
Radeck et al. Hybrid recommendation of composition knowledge for end user development of mashups
CN112330519A (en) Data processing method and device
US20210312324A1 (en) Systems and methods for integration of human feedback into machine learning based network management tool
CN113535541A (en) Test method, test device, storage medium and computer equipment
CN114830615A (en) Data distribution system and data distribution method
CN114997414B (en) Data processing method, device, electronic equipment and storage medium
US20110041069A1 (en) User interface for aggregating services in a data processing system
CN112755534B (en) Data processing method, device and storage medium
CN115525257A (en) Micro-service construction method and device based on SVG technology
CN115170390A (en) File stylization method, device, equipment and storage medium
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
Gherari et al. A smart mobile cloud environment for modelling and simulation of mobile cloud applications
CN114004553B (en) System, server and client for generating plans in visual mode
Carboni et al. Scripting a smart city: the CityScripts experiment in Santander

Legal Events

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