CN115373659A - Business system construction method and device, electronic equipment and storage medium - Google Patents
Business system construction method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115373659A CN115373659A CN202211006980.7A CN202211006980A CN115373659A CN 115373659 A CN115373659 A CN 115373659A CN 202211006980 A CN202211006980 A CN 202211006980A CN 115373659 A CN115373659 A CN 115373659A
- Authority
- CN
- China
- Prior art keywords
- component
- target
- script
- business
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010276 construction Methods 0.000 title claims abstract description 45
- 238000013515 script Methods 0.000 claims abstract description 123
- 238000009877 rendering Methods 0.000 claims abstract description 33
- 238000000034 method Methods 0.000 claims abstract description 26
- 230000004044 response Effects 0.000 claims abstract description 5
- 230000006870 function Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000011161 development Methods 0.000 abstract description 12
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a business system construction method, a business system construction device, electronic equipment and a storage medium. The method comprises the following steps: in response to a selected operation for a business component, determining a target business component corresponding to the selected operation; determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script; and obtaining a service system based on the target service page. The technical scheme of the embodiment of the invention not only realizes the quick and effective construction of the service system, but also can reduce the development cost of the service system.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for constructing a business system, an electronic device, and a storage medium.
Background
For the construction of business systems, in the related art, developers are usually required to write program codes manually to develop the business systems. Once the development requirements of the business system change, the developer needs to rewrite the program code according to the changed development requirements. Therefore, the existing business system construction method has the problems of high development cost and low business system construction efficiency.
Disclosure of Invention
The invention provides a business system construction method, a business system construction device, electronic equipment and a storage medium, so that a business system can be quickly and effectively constructed, and the development cost of the business system can be reduced.
According to an aspect of the present invention, there is provided a business system construction method, including:
in response to a selected operation aiming at a business component, determining a target business component corresponding to the selected operation;
determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script;
and obtaining a service system based on the target service page.
Optionally, the method further comprises:
acquiring at least one service requirement;
for each business demand, determining a meta-component adapted to the business demand, determining a data source corresponding to the business demand, and generating a business component based on the meta-component and the data source.
Optionally, the determining a data source corresponding to the service requirement includes:
receiving database connection information or data acquisition interface information input aiming at the service requirement, and determining a data source corresponding to the service requirement based on the database connection information or the data acquisition interface information.
Optionally, the generating a business component based on the meta-component and the data source includes:
and binding the data source to the meta-component to obtain a service component.
Optionally, the determining a target script corresponding to the target business component includes:
and matching the component script corresponding to the target service component in each predefined component script, and taking the matched component script as the target script corresponding to the target service component.
Optionally, the matching, in each predefined component script, a component script corresponding to the target service component, and taking the matched component script as a target script corresponding to the target service component includes:
determining a component script name of each predefined component script, and determining component configuration information of the target service component, wherein the component configuration information comprises a configuration script name;
and matching the component script name corresponding to the configuration script name in each component script name, determining the component script corresponding to the matched component script name, and taking the component script as the target script corresponding to the target service component.
Optionally, the rendering the target business component to a target business page by executing the target script includes:
and loading the target script, transmitting the target script to an entry parameter of a page rendering function, and rendering the target service component to a target service page by calling the page rendering function after the parameter transmission is finished.
According to another aspect of the present invention, a business system construction apparatus is provided. The device comprises:
the component determination module is used for responding to a selected operation aiming at the business component and determining a target business component corresponding to the selected operation;
the component rendering module is used for determining a target script corresponding to the target service component and rendering the target service component to a target service page by executing the target script;
and the system obtaining module is used for obtaining a service system based on the target service page.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a business system construction method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the business system construction method according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the target business component corresponding to the selected operation is determined by responding to the selected operation aiming at the business component. And determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script. And obtaining a service system based on the target service page. The technical scheme of the embodiment of the invention solves the problems of higher development cost and lower construction efficiency of the service system in the conventional service system construction method, realizes quick and effective construction of the service system and reduces the development cost of the service system.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a business system construction method according to an embodiment of the present invention;
fig. 2 is an architecture diagram applicable to a business system construction method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service system construction apparatus according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is understood that, before the technical solutions disclosed in the embodiments of the present disclosure are used, the user should be informed of the type, the use range, the use scene, etc. of the personal information related to the present disclosure in a proper manner according to the relevant laws and regulations and obtain the authorization of the user.
For example, in response to receiving an active request from a user, a prompt message is sent to the user to explicitly prompt the user that the requested operation to be performed would require the acquisition and use of personal information to the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the disclosed technical solution, according to the prompt information.
As an optional but non-limiting implementation manner, in response to receiving an active request from the user, the manner of sending the prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in a text manner in the pop-up window. In addition, a selection control for providing personal information to the electronic device by the user's selection of "agreeing" or "disagreeing" can be carried in the pop-up window.
It is understood that the above notification and user authorization process is only illustrative and is not intended to limit the implementation of the present disclosure, and other ways of satisfying the relevant laws and regulations may be applied to the implementation of the present disclosure.
It will be appreciated that the data involved in the subject technology, including but not limited to the data itself, the acquisition or use of the data, should comply with the requirements of the corresponding laws and regulations and related regulations.
Example one
Fig. 1 is a flowchart of a business system construction method according to an embodiment of the present invention, where the business system construction method is applicable to a scenario of constructing a business system, and the business system construction method may be executed by a business system construction apparatus, where the business system construction apparatus may be implemented in a form of hardware and/or software, and the business system construction apparatus may be configured in an electronic device such as a computer or a server. As shown in fig. 1, the method of the present embodiment includes:
and S110, responding to the selected operation aiming at the business component, and determining the target business component corresponding to the selected operation.
Wherein, the service component can be a component with service processing function. In the embodiment of the present invention, the number of the service components included in the service system to be constructed may be one, two, or more than two. Business components can be used to build business systems. Business components may include, but are not limited to, the following: a base component, a view container component, a picture component, a form component, and navigation. In the embodiment of the present invention, the method further includes: the system construction page comprises a component configuration area, and the business components can be visually displayed in the component configuration area in a list form, so that a user can conveniently select a target business component from all the business components in the component configuration area. The selected operation may include at least one of a drag operation, a click operation, or a slide operation. The target business component is a business component that is selected based on the selected operation. The number of target business components may be one, two, or more than two.
Specifically, responding to a selected operation for a business component may be understood as receiving a user selected operation for a business component, in other words, receiving a selected operation that acts on a business component. Receiving the selected action for the business component can include: selected operations are received that act on business components in a preset component library. Upon receiving a selected operation for a business component, the selected business component can be determined. And the selected business component can be taken as a target business component.
In an embodiment of the present invention, the method further comprises: acquiring at least one service requirement; for each business requirement, determining a meta-component adapted to the business requirement, determining a data source corresponding to the business requirement, and generating a business component based on the meta-component and the data source.
The service requirement may include a functional requirement of the service system. In the embodiment of the present invention, there are various ways to obtain the service requirement, which are not specifically limited herein, for example, the service requirement uploaded by the user may be received; or, the requirement configuration information input by the user may be received, and further, the service requirement may be generated based on the requirement configuration information. The meta-components may be packaged finished raw components provided by a front end framework (e.g., VUE front end framework). A data source may be understood as a source of data that meets business requirements.
Specifically, one or more business requirements are obtained. After the service requirements are obtained, the tuple elements corresponding to each service requirement can be determined according to the corresponding relation between the service requirements and the tuple elements. And each business requirement can be analyzed. And determining the data to be processed corresponding to each service requirement. And then, a database where the data to be processed is located can be determined, that is, a data source corresponding to the service requirement can be determined. After determining the meta-components and data sources corresponding to the business requirements, business components corresponding to the business requirements can be generated based on the meta-components and the data sources.
Optionally, the determining a data source corresponding to the service requirement includes: receiving database connection information or data acquisition interface information input aiming at the service requirement, and determining a data source corresponding to the service requirement based on the database connection information or the data acquisition interface information.
The database connection information may be understood as connection information for connecting the database. Alternatively, the database connection information may include, but is not limited to, the following: the database connection address, the class name of the database driver class, the database name of the initial connection database, the user name of the login database, and the password of the login database to inquire the database execution statement of the database business logic. It should be noted that, in the embodiment of the present invention, the advantage of configuring the data source of the service requirement by receiving the database connection information is that once the service logic changes, the configured database connection information is modified, thereby reducing the difficulty in acquiring the data source.
The data acquisition interface information may be understood as interface information for acquiring data. Optionally, the data obtaining interface information may include the following information: an interface address of the data get request, an interface type (e.g., get type or post type) of the data get request, an interface parameter field and a parameter value of the data get request, and data get request header configuration information, etc. It should be noted that, in the embodiment of the present invention, the advantage of configuring the data source based on the data acquisition interface information is that once the interface for acquiring data changes, the interface or the interface parameter information is replaced again, so as to avoid the difficulty in configuring the data source.
Optionally, the generating a business component based on the meta-component and the data source includes: and binding the data source to the meta-component to obtain a service component. Specifically, database connection information or data acquisition interface information of the data source is configured on the meta-component. And further, the configured tuple elements can be obtained, namely the service elements can be obtained.
S120, determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script.
Wherein the target script can be understood as the development code of the target business component. The target script may include, but is not limited to, javaScript scripts and Cascading Style Sheets (CSS) scripts. In practical applications, the target script corresponding to each target business component can be separately stored in a folder. The target business page can be understood as a business page to be constructed. The number of target service pages in the service system can be one, two or more than two.
Specifically, after the target business component is determined, a script related to the target business component may be determined, that is, the target script may be determined. The target script may then be loaded. After the target script is loaded, the target script may be executed. After the target script is executed, the target service component can be rendered to the initial page, and then the rendered page can be obtained and used as the target service page. It is to be understood that the initial page may be understood as a blank page for building the business system.
Optionally, the determining a target script corresponding to the target business component includes: and matching the component script corresponding to the target service component in each predefined component script, and taking the matched component script as the target script corresponding to the target service component. Wherein a component script can be understood as program code developed for a business component.
Optionally, the matching, in each predefined component script, a component script corresponding to the target service component, and taking the matched component script as a target script corresponding to the target service component includes: determining a component script name of each predefined component script, and determining component configuration information of the target service component, wherein the component configuration information comprises a configuration script name; and matching the component script name corresponding to the configuration script name in each component script name, determining the component script corresponding to the matched component script name, and taking the component script as the target script corresponding to the target service component.
In an embodiment of the present invention, the component script name of the component script may include a JS script name and a CSS script name of the component. The script name of the component js script can be: prefix components + component page custom tab +. Js. The script name for the component style css may be: component page custom tab +. Css.
In the embodiment of the present invention, determining the component configuration information of the target service component may include acquiring a component object of the target service component, and analyzing the component object, so as to determine the component configuration information of the target service component. Optionally, before obtaining the component object of the target business component, the method further includes: and carrying out abstract processing on the service assembly to obtain an assembly object of the service assembly.
Exemplary code for a component object may be, for example:
{
id:"1123123132123",
name: "basic xxx component",
type:'table',
tag:'table-base',
staticConfig:{
},
dynamicConfig:{
},
among them, 1123123132123 may be represented as tuple component id, table may be represented as component type of the tuple, table-base may represent tag of the tuple, and stateconfig may be used to configure static configuration of the tuple, save attributes, styles of the component, and the like. The dynamic config can be used for saving the data loading mode of the component, binding data source information, function processing and the like.
Optionally, the rendering the target service component to a target service page by executing the target script includes: and loading the target script, transmitting the target script to an entry parameter of a page rendering function, and rendering the target service assembly to a target service page by calling the page rendering function after the parameter transmission is finished.
Wherein, the page rendering function can be a render function of the VUE. The render function can be used to introduce targeted business components in blank pages for automated page content filling and for automated rendering of the filled content. Passing the target script to the entry parameter of the page rendering function may be understood as passing the target script as an actual parameter to a form parameter of the page rendering function.
And S130, obtaining a service system based on the target service page.
In one embodiment, after a target business page is obtained, a business system may be generated based on the target business page.
In another embodiment, referring to fig. 2, after obtaining a plurality of target service pages, each target service page may be combined. Thereby a business system (visualization application) is available.
According to the technical scheme of the embodiment of the invention, the target business component corresponding to the selected operation is determined by responding to the selected operation aiming at the business component. And determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script. And obtaining a service system based on the target service page. The technical scheme of the embodiment of the invention solves the technical problems that the existing business system construction method has high development cost and low business system construction efficiency, realizes quick and effective construction of the business system and reduces the development cost of the business system.
Example two
Fig. 3 is a schematic structural diagram of a service system construction apparatus according to a second embodiment of the present invention. As shown in fig. 3, the apparatus includes: a component determination module 310, a component rendering module 320, and a system derivation module 330. Wherein,
the component determining module 310 is used for responding to a selected operation aiming at a business component and determining a target business component corresponding to the selected operation;
a component rendering module 320, configured to determine a target script corresponding to the target service component, and render the target service component to a target service page by executing the target script;
a system obtaining module 330, configured to obtain a service system based on the target service page.
According to the technical scheme of the embodiment of the invention, the target business component corresponding to the selected operation is determined by responding to the selected operation aiming at the business component. And determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script. And obtaining a service system based on the target service page. The technical scheme of the embodiment of the invention solves the technical problems that the existing business system construction method has high development cost and low business system construction efficiency, realizes quick and effective construction of the business system and reduces the development cost of the business system.
Optionally, the apparatus further comprises: a business component generation module; the service component generation module is used for acquiring at least one service requirement; for each business demand, determining a meta-component adapted to the business demand, determining a data source corresponding to the business demand, and generating a business component based on the meta-component and the data source.
Optionally, the service component generating module is configured to receive database connection information (e.g., jdbc connection in fig. 2) or data acquisition interface information (e.g., api in fig. 2) input for the service requirement, and determine a data source corresponding to the service requirement based on the database connection information or the data acquisition interface information.
Optionally, the service component generating module is configured to bind the data source to the meta-component to obtain a service component.
The component rendering module 320 is configured to match a component script corresponding to the target service component in each predefined component script, and use the matched component script as a target script corresponding to the target service component.
A component rendering module 320, configured to determine a component script name of each predefined component script, and determine component configuration information of the target service component, where the component configuration information includes a configuration script name; and matching the component script name corresponding to the configuration script name in each component script name, determining the component script corresponding to the matched component script name, and taking the component script as the target script corresponding to the target service component.
The system obtaining module 330 is configured to load the target script, transfer the target script to an entry parameter of a page rendering function, and render the target service component to a target service page by calling the page rendering function after the parameter transfer is completed.
The business system construction device provided by the embodiment of the invention can execute the business system construction method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, each unit and module included in the service system construction apparatus are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the present invention.
EXAMPLE III
FIG. 4 shows a schematic block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 11 performs the various methods and processes described above, such as business system construction methods.
In some embodiments, the business system construction method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the business system construction method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the business system construction method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A business system construction method is characterized by comprising the following steps:
in response to a selected operation for a business component, determining a target business component corresponding to the selected operation;
determining a target script corresponding to the target service component, and rendering the target service component to a target service page by executing the target script;
and obtaining a service system based on the target service page.
2. The method of claim 1, further comprising:
acquiring at least one service requirement;
for each business demand, determining a meta-component adapted to the business demand, determining a data source corresponding to the business demand, and generating a business component based on the meta-component and the data source.
3. The method of claim 2, wherein the determining the data source corresponding to the service requirement comprises:
receiving database connection information or data acquisition interface information input aiming at the service requirement, and determining a data source corresponding to the service requirement based on the database connection information or the data acquisition interface information.
4. The method of claim 2, wherein generating the business component based on the meta-component and the data source comprises:
and binding the data source to the meta-component to obtain a service component.
5. The method of claim 1, wherein the determining a target script corresponding to the target business component comprises:
and matching the component script corresponding to the target service component in each predefined component script, and taking the matched component script as the target script corresponding to the target service component.
6. The method according to claim 5, wherein the matching the component script corresponding to the target business component in each predefined component script and using the matched component script as the target script corresponding to the target business component comprises:
determining a component script name of each predefined component script, and determining component configuration information of the target service component, wherein the component configuration information comprises a configuration script name;
and matching the component script name corresponding to the configuration script name in each component script name, determining the component script corresponding to the matched component script name, and taking the component script as the target script corresponding to the target service component.
7. The method of claim 1, wherein the rendering the target business component to a target business page by executing the target script comprises:
and loading the target script, transmitting the target script to an entry parameter of a page rendering function, and rendering the target service component to a target service page by calling the page rendering function after the parameter transmission is finished.
8. A business system construction apparatus, comprising:
the system comprises a component determination module, a service component selection module and a service component selection module, wherein the component determination module is used for responding to a selected operation aiming at a service component and determining a target service component corresponding to the selected operation;
the component rendering module is used for determining a target script corresponding to the target service component and rendering the target service component to a target service page by executing the target script;
and the system obtaining module is used for obtaining a service system based on the target service page.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the business system construction method of any one of claims 1-7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions for causing a processor to implement the business system construction method of any one of claims 1-7 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211006980.7A CN115373659A (en) | 2022-08-22 | 2022-08-22 | Business system construction method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211006980.7A CN115373659A (en) | 2022-08-22 | 2022-08-22 | Business system construction method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115373659A true CN115373659A (en) | 2022-11-22 |
Family
ID=84067870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211006980.7A Pending CN115373659A (en) | 2022-08-22 | 2022-08-22 | Business system construction method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115373659A (en) |
-
2022
- 2022-08-22 CN CN202211006980.7A patent/CN115373659A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108287708B (en) | Data processing method and device, server and computer readable storage medium | |
CN113722124B (en) | Content processing method, device, equipment and storage medium of cloud mobile phone | |
CN115309470B (en) | Method, device, equipment and storage medium for loading widget | |
CN113392346A (en) | Path processing method and device for resource file, electronic equipment and storage medium | |
WO2017143747A1 (en) | Network request method and system for network terminal | |
CN113254043A (en) | Web front-end project processing method and device, electronic equipment and storage medium | |
CN114218890A (en) | Page rendering method and device, electronic equipment and storage medium | |
CN114389969A (en) | Client test method and device, electronic equipment and storage medium | |
EP3407186B1 (en) | Interface refresh synchronization method and apparatus, terminal, and storage medium | |
CN113342450A (en) | Page processing method and device, electronic equipment and computer readable medium | |
US20140297736A1 (en) | Data interchange system | |
CN113378346A (en) | Method and device for model simulation | |
CN114138397B (en) | Page display method and device, electronic equipment and storage medium | |
CN115309730A (en) | Data auditing method and device, electronic equipment and storage medium | |
CN115469866A (en) | Page rendering method and device of applet, electronic device and storage medium | |
CN115373659A (en) | Business system construction method and device, electronic equipment and storage medium | |
CN114741294A (en) | Page debugging method, device, equipment and storage medium | |
CN113849164A (en) | Data processing method and device, electronic equipment and memory | |
CN114138358A (en) | Application program starting optimization method, device, equipment and storage medium | |
CN113448578A (en) | Page data processing method, processing system, electronic device and readable storage medium | |
CN112861504A (en) | Text interaction method, device, equipment, storage medium and program product | |
CN113656041A (en) | Data processing method, device, equipment and storage medium | |
CN113342413B (en) | Method, apparatus, device, medium, and article for processing components | |
CN115600029A (en) | Method, device, system, equipment and storage medium for displaying webpage | |
CN115455029A (en) | Battery replacement data acquisition method and device, electronic equipment and storage medium |
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 |