CN116069328A - Processing method and device of flow page, processor and electronic equipment - Google Patents
Processing method and device of flow page, processor and electronic equipment Download PDFInfo
- Publication number
- CN116069328A CN116069328A CN202310146387.0A CN202310146387A CN116069328A CN 116069328 A CN116069328 A CN 116069328A CN 202310146387 A CN202310146387 A CN 202310146387A CN 116069328 A CN116069328 A CN 116069328A
- Authority
- CN
- China
- Prior art keywords
- page
- configuration data
- flow
- configuration
- target
- 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
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/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a processing method and device of a flow page, a processor and electronic equipment. The method comprises the following steps: receiving a page processing requirement input by a user, and judging whether a to-be-processed page in the page processing requirement has a historical version or not; under the condition that a history version exists in the page to be processed, acquiring history configuration data of the history version page; updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, and updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page; and under the condition that the page to be processed does not have a history version, generating second configuration data corresponding to the page to be processed according to page processing requirements, and constructing a second target flow page based on the second configuration data. By the method and the device, the problem of low efficiency in processing the flow page based on the newly added business requirement in the related art is solved.
Description
Technical Field
The present invention relates to the field of processing a flow page, and in particular, to a method, an apparatus, a processor, and an electronic device for processing a flow page.
Background
In the business related application programs of large enterprises, a part of business application programs related to the flow exist, such as business application type application, business approval type application and business audit type application, most of business application of the flow needs to develop a mobile terminal, and when the flow business application operates at the mobile terminal, maintenance needs to be carried out through the following links: demand analysis-summary design-detailed design-code implementation-test acceptance-on-line production-maintenance configuration. For the link of maintenance configuration, the flow service application has inherent configuration logic and validation logic, and in the related technology, most enterprises adopt a maintenance mode of a common software product when maintaining the flow service application, namely, code development is required according to service requirements, and then the operation is carried out again on line, so that the maintenance efficiency of the maintenance mode is low, and the change of the service requirements cannot be responded quickly.
The configuration is also independent when different flow service applications are developed, and the configuration modes are various. Some enterprises can regularly generate the business requirements of the application development of the flow, and the problem of low configuration efficiency exists when the application development is performed by adopting respective customized configuration modes, so that the online production of a new flow page can not be realized rapidly.
Aiming at the problem of low efficiency when processing a flow page based on the newly added business requirement in the related technology, no effective solution is proposed at present.
Disclosure of Invention
The main purpose of the present application is to provide a method, an apparatus, a processor and an electronic device for processing a flow page, so as to solve the problem of low efficiency in processing the flow page based on a new service requirement in the related art.
In order to achieve the above object, according to one aspect of the present application, a method for processing a flow page is provided. The method comprises the following steps: receiving a page processing requirement input by a user, and judging whether a to-be-processed page in the page processing requirement has a historical version or not; under the condition that a history version exists in the page to be processed, acquiring history configuration data of the history version page; updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, and updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page; and under the condition that the page to be processed does not have a history version, generating second configuration data corresponding to the page to be processed according to page processing requirements, and constructing a second target flow page based on the second configuration data.
Optionally, updating the historical configuration data according to the page processing requirement, and obtaining the updated first configuration data includes: obtaining the number of a target configuration flow in the page processing requirement, wherein the target configuration flow at least comprises one of the following steps: a label configuration flow, a module configuration flow and a field configuration flow; determining configuration data to be updated in the historical configuration data based on the number, wherein the configuration data to be updated at least comprises one of the following: the system comprises tag configuration data, module configuration data and field configuration data, wherein the tag configuration data is used for configuring flow nodes of a target flow page, the module configuration data is used for configuring page layout of each flow node, and the field configuration data is used for configuring field types of each page element in the page layout; updating the configuration data to be updated based on the update requirement in the page processing requirement to obtain first configuration data.
Optionally, updating the historical version page based on the first configuration data, and obtaining the first target flow page includes: acquiring effective states of tag configuration data, module configuration data and field configuration data in the first configuration data, wherein the effective states are on or off; when the effective state of the tag configuration data is on, the tag configuration data is controlled to be displayed on the target flow page, and when the effective state is off, the tag configuration data is controlled not to be displayed on the target flow page; the control module configuration data is displayed in the tag when the validation state of the module configuration data is on, and is not displayed in the tag when the validation state of the module configuration data is off; the control field configuration data is displayed on the module when the validation state of the field configuration data is on, and the control field configuration data is not displayed on the module when the validation state of the field configuration data is off.
Optionally, building the second target flow page based on the second configuration data includes: determining a target configuration flow for constructing a second target flow page based on the second configuration data, wherein the target configuration flow comprises at least one of: a label configuration flow, a module configuration flow and a field configuration flow; and executing the target configuration flow according to the preset configuration sequence to obtain a second target flow page.
Optionally, if the target configuration procedure is a tag configuration procedure, executing the target configuration procedure according to the preset configuration sequence includes: acquiring a plurality of process nodes contained in a business process corresponding to a page to be processed; and configuring a label name for each flow node in a multi-stage table, and configuring the flow sequence of each flow node in the multi-stage table, wherein the multi-stage table is a table showing the first configuration data or the second configuration data.
Optionally, if the target configuration flow is a module configuration flow, executing the target configuration flow according to the preset configuration sequence includes: acquiring a group of page elements contained in each flow node to obtain a plurality of groups of page elements; the type of each page element is configured in the flow node, and the location of each page element in the flow node.
Optionally, if the target configuration procedure is a field configuration procedure, executing the target configuration procedure according to the preset configuration sequence includes: acquiring a field type which needs to be input in a business process of each page element; and configuring each page element in the target flow page according to the field type.
In order to achieve the above object, according to another aspect of the present application, there is provided a processing apparatus for a flow page. The device comprises: the receiving unit is used for receiving the page processing requirements input by the user and judging whether the to-be-processed page in the page processing requirements has a historical version or not; the acquisition unit is used for acquiring the history configuration data of the history version page under the condition that the history version exists in the page to be processed; the updating unit is used for updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page; the generating unit is used for generating second configuration data corresponding to the page to be processed according to the page processing requirement under the condition that the history version does not exist in the page to be processed, and constructing a second target flow page based on the second configuration data.
Through the application, the following steps are adopted: receiving a page processing requirement input by a user, and judging whether a to-be-processed page in the page processing requirement has a historical version or not; under the condition that a history version exists in the page to be processed, acquiring history configuration data of the history version page; updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, and updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page; under the condition that the page to be processed does not have a history version, generating second configuration data corresponding to the page to be processed according to page processing requirements, and constructing a second target flow page based on the second configuration data, so that the problem of low efficiency in processing the flow page based on the newly added business requirements in the related technology is solved. The user inputs the page processing requirement, the configuration data is called according to the page processing requirement, the configuration data is modified to realize the construction or update of the flow page, and the bottom code of the flow page does not need to be redeveloped, so that the effect of improving the processing efficiency of the flow page is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application, illustrate and explain the application and are not to be construed as limiting the application. In the drawings:
FIG. 1 is a flow chart of a method of processing a flow page provided in accordance with an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of processing a flow page provided in accordance with an embodiment of the present application;
FIG. 3 is a schematic diagram of a processing device for a flow page provided according to an embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application.
Detailed Description
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the present application described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, 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 should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for presentation, analyzed data, etc.) related to the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
The present invention will be described with reference to preferred implementation steps, and fig. 1 is a flowchart of a method for processing a flow page according to an embodiment of the present application, as shown in fig. 1, where the method includes the following steps:
Step S101, receiving a page processing requirement input by a user, and judging whether a to-be-processed page in the page processing requirement has a history version or not.
Specifically, when the user processes the business process page of the company, the user inputs a page processing requirement according to the business requirement of the company, and the page processing requirement can include updating and adjusting the version of the existing process page, or can include developing a new process page conforming to the business of the company, for example, a page of a business application class, a page of a business approval class, a page of a business audit class, and the like. Judging whether a to-be-processed page in the page processing requirements has a historical version in a processing system of the flow page, namely determining whether the current business requirements develop business related flow pages.
Step S102, in the case that the history version exists in the page to be processed, the history configuration data of the history version page is obtained.
Specifically, if a history version exists in the processing system of the process page in the page to be processed, that is, the business process page of the existing history version needs to be adjusted, the adjustment of the process page is performed by acquiring the history configuration data of the history version page in the processing system of the process page.
Step S103, updating the historical configuration data according to page processing requirements to obtain updated first configuration data, and updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page.
Specifically, the page processing requirements may include requirements for modifying page elements and layout in the historical version page, and the processing system of the process page updates the historical configuration data according to the page processing requirements to obtain first configuration data by calling the historical configuration data from the processing system of the process page, and updates the historical version page based on the first configuration data to obtain the first target process page.
Step S104, generating second configuration data corresponding to the page to be processed according to the page processing requirement under the condition that the page to be processed does not have a history version, and constructing a second target flow page based on the second configuration data.
Specifically, if the page to be processed does not have a history version in the processing system of the process page, that is, a second target process page meeting the business requirement of the company needs to be constructed, generating second configuration data according to the page processing requirement and a preset configuration process, and constructing the second target process page based on the second configuration data.
According to the processing method of the flow page, the page processing requirement input by the user is received, and whether a history version exists on a page to be processed in the page processing requirement is judged; under the condition that a history version exists in the page to be processed, acquiring history configuration data of the history version page; updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, and updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page; under the condition that the page to be processed does not have a history version, generating second configuration data corresponding to the page to be processed according to page processing requirements, and constructing a second target flow page based on the second configuration data, so that the problem of low efficiency in processing the flow page based on the newly added business requirements in the related technology is solved. The user inputs the page processing requirement, the configuration data is called according to the page processing requirement, the configuration data is modified to realize the construction or update of the flow page, and the bottom code of the flow page does not need to be redeveloped, so that the effect of improving the processing efficiency of the flow page is achieved.
Optionally, in the method for processing a flow page provided in the embodiment of the present application, updating the historical configuration data according to a page processing requirement, to obtain updated first configuration data includes: obtaining the number of a target configuration flow in the page processing requirement, wherein the target configuration flow at least comprises one of the following steps: a label configuration flow, a module configuration flow and a field configuration flow; determining configuration data to be updated in the historical configuration data based on the number, wherein the configuration data to be updated at least comprises one of the following: the system comprises tag configuration data, module configuration data and field configuration data, wherein the tag configuration data is used for configuring flow nodes of a target flow page, the module configuration data is used for configuring page layout of each flow node, and the field configuration data is used for configuring field types of each page element in the page layout; updating the configuration data to be updated based on the update requirement in the page processing requirement to obtain first configuration data.
For example, a flow page contains three layers of configuration data: tag configuration data, module configuration data and field configuration data are adjusted for the corresponding configuration data through different configuration flows. When the page processing requirement comprises modification in a certain configuration flow, based on the acquired serial number of the target configuration flow, the configuration data to be updated of the corresponding target configuration flow of the historical version page is called in the processing system of the flow page, the configuration data to be updated is adjusted according to the page processing requirement, for example, a label is added, the label configuration data of the historical version page in the label configuration flow is called, and the label is added in the target flow page by updating the label configuration data. The updating version of the flow page is realized by updating the historical configuration data, so that the efficiency of realizing the business requirement of the company is improved.
Optionally, in the method for processing a flow page provided in the embodiment of the present application, updating the history version page based on the first configuration data, to obtain the first target flow page includes: acquiring effective states of tag configuration data, module configuration data and field configuration data in the first configuration data, wherein the effective states are on or off; when the effective state of the tag configuration data is on, the tag configuration data is controlled to be displayed on the target flow page, and when the effective state is off, the tag configuration data is controlled not to be displayed on the target flow page; the control module configuration data is displayed in the tag when the validation state of the module configuration data is on, and is not displayed in the tag when the validation state of the module configuration data is off; the control field configuration data is displayed on the module when the validation state of the field configuration data is on, and the control field configuration data is not displayed on the module when the validation state of the field configuration data is off.
Specifically, in order to support the requirement of temporarily enabling or temporarily disabling configuration on the service, the effective state of the configuration data includes an on state and an off state, and the effective state of the corresponding configuration data can be controlled for the tag configuration data, the module configuration data and the field configuration data, and only if the configuration data exists in the processing system of the flow page, the effective state of the configuration data can be controlled. Whether the effective state of the tag configuration data is opened or not influences whether the business process page displays the tag, whether the effective state of the module configuration data is opened or not influences whether the module is displayed under the tag corresponding to the business process page, and whether the effective state of the field configuration data is opened or not influences whether the field is displayed under the module corresponding to the business process page. The temporary enabling or disabling of a certain configuration on the business is realized by controlling the effective state of the configuration data.
Optionally, in the processing method of the flow page provided in the embodiment of the present application, building the second target flow page based on the second configuration data includes: determining a target configuration flow for constructing a second target flow page based on the second configuration data, wherein the target configuration flow comprises at least one of: a label configuration flow, a module configuration flow and a field configuration flow; and executing the target configuration flow according to the preset configuration sequence to obtain a second target flow page.
Specifically, the target configuration flow may be configured on the processing system of the flow page through a multi-level table+form, for example, the second target flow page includes three layers of configuration data: the tag configuration data, the module configuration data and the field configuration data can be configured by three levels of tables and forms, wherein the first level of tables and forms are configured by the tag configuration data, the tag configuration flow is executed in the first level of tables and forms, the second level of tables and forms are configured by the module configuration data, the module configuration flow is executed in the second level of tables and forms, the field configuration data is configured in the third level of tables and forms, and the field configuration flow is executed in the third level of tables and forms. More levels of data configuration can be supported through the configuration format of the multi-level table and the form, such as the configuration of adding field patterns on the basis of three levels of four-level configuration data. The preset configuration sequence may be that the tag configuration flow is executed first, then the module configuration flow is executed, and finally the field configuration flow is executed. And constructing a second target flow page by executing the target configuration flow according to the preset configuration sequence.
It should be noted that, when executing the target configuration flow, the tag list may be seen in the first layer of table+form by opening the three layers of table+form, so as to execute the tag configuration flow, when selecting a certain tag in the tag list to view, the second layer of table+form may be opened, the module list may be seen in the second layer of table+form, so as to execute the module configuration flow, when selecting a certain module in the module list to view, the third layer of table+form may be opened, and the field list may be seen in the third layer of table+form, so as to execute the field configuration flow.
Optionally, in the method for processing a flow page provided in the embodiment of the present application, if the target configuration flow is a tag configuration flow, executing the target configuration flow according to a preset configuration sequence includes: acquiring a plurality of process nodes contained in a business process corresponding to a page to be processed; and configuring a label name for each flow node in a multi-stage table, and configuring the flow sequence of each flow node in the multi-stage table, wherein the multi-stage table is a table showing the first configuration data or the second configuration data.
Specifically, a business process may include a plurality of process nodes, for example, a business approval process of company a includes a user uploading data, b user auditing data, c user reviewing data, etc., so that three labels may be set for a process page corresponding to the business process, each label corresponds to a process node, and by configuring a label name of each label, and configuring a process sequence of each process node in a multi-stage table according to a processing sequence of the business process, execution of the label configuration process is achieved. And constructing the second target flow page by executing the tag configuration flow.
Optionally, in the method for processing a flow page provided in the embodiment of the present application, if the target configuration flow is a module configuration flow, executing the target configuration flow according to a preset configuration sequence includes: acquiring a group of page elements contained in each flow node to obtain a plurality of groups of page elements; the type of each page element is configured in the flow node, and the location of each page element in the flow node.
Specifically, a tag may include multiple modules, such as a module that a user uploads x-material, y-material, and z-material under the tag, each module including a set of page elements, by configuring the type of each page element, such as a picture upload element and a file upload element, and configuring the location of each page element within the tag. And constructing the second target flow page by executing the module configuration flow.
Optionally, in the method for processing a flow page provided in the embodiment of the present application, if the target configuration flow is a field configuration flow, executing the target configuration flow according to a preset configuration sequence includes: acquiring a field type which needs to be input in a business process of each page element; and configuring each page element in the target flow page according to the field type.
In particular, one module may contain multiple fields. Each page element has a field type needing to be input, for example, an m element needs to be input by a user for inputting a mobile phone number, an n element needs to be input by the user for inputting a certificate number and the like, and the configuration of each page element in the target flow page is completed according to the field type needing to be input. And constructing the second target flow page by executing the field configuration flow.
According to another embodiment of the present application, an optional method for processing a flow page is provided, and fig. 2 is a flowchart of the optional method for processing a flow page provided according to the embodiment of the present application. As shown in fig. 2, the method includes: entering a configuration control console, judging whether configuration data exists in the configuration control console, loading the existing configuration through a loading component when the configuration data exists, displaying the input configuration through an input component when the configuration data does not exist, controlling the configuration state through a control component, and storing the configuration data through a storage component.
By the optional processing method of the flow page, updating or developing of the flow page can be completed by modifying the configuration data, so that page development cost and fault repair cost are reduced, service requirements are responded quickly, and processing efficiency of the flow page is improved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The embodiment of the application also provides a processing device for the flow page, and the processing device for the flow page can be used for executing the processing method for the flow page. The following describes a processing device for a flow page provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a processing device for a flow page according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
the receiving unit 10 is configured to receive a page processing requirement input by a user, and determine whether a to-be-processed page in the page processing requirement has a history version;
an obtaining unit 20, configured to obtain, in a case where a history version exists in a page to be processed, history configuration data of a history version page;
the updating unit 30 is configured to update the historical configuration data according to the page processing requirement to obtain updated first configuration data, update the historical version page based on the first configuration data to obtain a first target flow page, where the first configuration data is used to adjust page elements and page layout of the historical version page;
the generating unit 40 is configured to generate second configuration data corresponding to the page to be processed according to the page processing requirement, and construct a second target flow page based on the second configuration data, where the history version does not exist in the page to be processed.
According to the processing device for the flow page, provided by the embodiment of the application, the receiving unit 10 is used for receiving the page processing requirement input by the user and judging whether a history version exists in the page to be processed in the page processing requirement; an acquisition unit 20 that acquires history configuration data of a history version page in the case where a history version exists in a page to be processed; the updating unit 30 updates the historical configuration data according to the page processing requirement to obtain updated first configuration data, and updates the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page; the generating unit 40 generates the second configuration data corresponding to the page to be processed according to the page processing requirement under the condition that the history version does not exist in the page to be processed, and constructs the second target flow page based on the second configuration data, so that the problem of low efficiency in the process of processing the flow page based on the newly added service requirement in the related art is solved, the configuration data is called according to the page processing requirement through the input of the page processing requirement of a user, the construction or update of the flow page is realized through the modification of the configuration data, the bottom code of the flow page does not need to be redeveloped, and the effect of improving the processing efficiency of the flow page is further achieved.
Optionally, in the processing apparatus for a flow page provided in the embodiment of the present application, the updating unit 30 includes: the first acquisition module is used for acquiring the number of the target configuration flow in the page processing requirement, wherein the target configuration flow at least comprises one of the following steps: a label configuration flow, a module configuration flow and a field configuration flow; the first determining module is used for determining configuration data to be updated in the historical configuration data based on the number, wherein the configuration data to be updated at least comprises one of the following: the system comprises tag configuration data, module configuration data and field configuration data, wherein the tag configuration data is used for configuring flow nodes of a target flow page, the module configuration data is used for configuring page layout of each flow node, and the field configuration data is used for configuring field types of each page element in the page layout; and the updating module is used for updating the configuration data to be updated based on the updating requirement in the page processing requirement to obtain the first configuration data.
Optionally, in the processing apparatus for a flow page provided in the embodiment of the present application, the updating unit 30 includes: the second acquisition module is used for acquiring the effective states of the tag configuration data, the module configuration data and the field configuration data in the first configuration data, wherein the effective states are opened or closed; the first control module is used for controlling the tag configuration data to be displayed on the target flow page when the effective state of the tag configuration data is on, and controlling the tag configuration data not to be displayed on the target flow page when the effective state is off; the second control module is used for controlling the module configuration data to be displayed in the tag when the effective state of the module configuration data is on, and controlling the module configuration data not to be displayed in the tag when the effective state of the module configuration data is off; and the third control module is used for controlling the field configuration data to be displayed on the module when the effective state of the field configuration data is on, and controlling the field configuration data not to be displayed on the module when the effective state of the field configuration data is off.
Optionally, in the processing apparatus for a flow page provided in the embodiment of the present application, the generating unit 40 includes: the second determining module is configured to determine, based on the second configuration data, a target configuration flow for constructing a second target flow page, where the target configuration flow includes at least one of: a label configuration flow, a module configuration flow and a field configuration flow; and the execution module is used for executing the target configuration flow according to the preset configuration sequence to obtain a second target flow page.
Optionally, in the processing device for a flow page provided in the embodiment of the present application, if the target configuration flow is a tag configuration flow, the execution module includes: the first acquisition sub-module is used for acquiring a plurality of process nodes contained in the business process corresponding to the page to be processed; the first configuration sub-module is used for configuring label names for each flow node in a multi-stage table and configuring the flow sequence of each flow node in the multi-stage table, wherein the multi-stage table is a table showing the first configuration data or the second configuration data.
Optionally, in the processing device for a flow page provided in the embodiment of the present application, if the target configuration flow is a module configuration flow, the executing module includes: the second acquisition submodule is used for acquiring a group of page elements contained in each flow node to obtain a plurality of groups of page elements; a second configuration sub-module, configured to configure a type of each page element in the flow node, and a position of each page element in the flow node.
Optionally, in the processing device for a flow page provided in the embodiment of the present application, if the target configuration flow is a field configuration flow, the execution module includes: the third acquisition sub-module is used for acquiring the field type which needs to be input in the business process of each page element; and the third configuration submodule is used for configuring each page element in the target flow page according to the field type.
The processing device of the flow page includes a processor and a memory, where the receiving unit 10, the acquiring unit 20, the updating unit 30, the generating unit 40, and the like are stored as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the processing efficiency of the flow page is improved by adjusting the kernel parameters.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip.
The embodiment of the invention provides a computer readable storage medium, on which a program is stored, which when executed by a processor, implements a method for processing a flow page.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program runs to execute a processing method of a flow page.
An embodiment of the present invention provides an electronic device, fig. 4 is a schematic diagram of an electronic apparatus provided according to an embodiment of the present application, and as shown in fig. 4, an apparatus 401 includes a processor, a memory, and a program stored on the memory and executable on the processor, where the processor implements the following steps when executing the program: a processing method of a flow page. The device herein may be a server, PC, PAD, cell phone, etc.
The present application also provides a computer program product adapted to perform, when executed on a data processing device, a program initialized with the method steps of: a processing method of a flow page.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, etc., such as Read Only Memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.
Claims (10)
1. The processing method of the flow page is characterized by comprising the following steps:
receiving a page processing requirement input by a user, and judging whether a to-be-processed page in the page processing requirement has a historical version or not;
acquiring historical configuration data of a historical version page under the condition that the historical version exists on the page to be processed;
updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, and updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page;
and under the condition that the history version does not exist in the page to be processed, generating second configuration data corresponding to the page to be processed according to the page processing requirement, and constructing a second target flow page based on the second configuration data.
2. The method of claim 1, wherein updating the historical configuration data according to the page processing requirements, the obtaining updated first configuration data comprises:
obtaining the number of a target configuration flow in the page processing requirement, wherein the target configuration flow at least comprises one of the following steps: a label configuration flow, a module configuration flow and a field configuration flow;
Determining configuration data to be updated in the historical configuration data based on the number, wherein the configuration data to be updated at least comprises one of the following: tag configuration data, module configuration data and field configuration data, wherein the tag configuration data is used for configuring a flow node of the target flow page, the module configuration data is used for configuring a page layout of each flow node, and the field configuration data is used for configuring a field type of each page element in the page layout;
and updating the configuration data to be updated based on the update requirement in the page processing requirement to obtain the first configuration data.
3. The method of claim 2, wherein updating the historical version page based on the first configuration data to obtain a first target flow page comprises:
acquiring effective states of tag configuration data, module configuration data and field configuration data in the first configuration data, wherein the effective states are opened or closed;
controlling the tag configuration data to be displayed on the target flow page when the effective state of the tag configuration data is on, and controlling the tag configuration data not to be displayed on the target flow page when the effective state is off;
Controlling the module configuration data to be displayed in a tag when the effective state of the module configuration data is on, and controlling the module configuration data not to be displayed in the tag when the effective state of the module configuration data is off;
and controlling the field configuration data to be displayed on a module when the effective state of the field configuration data is on, and controlling the field configuration data not to be displayed on the module when the effective state of the field configuration data is off.
4. The method of claim 1, wherein building a second target flow page based on the second configuration data comprises:
determining a target configuration flow for constructing the second target flow page based on the second configuration data, wherein the target configuration flow at least comprises one of the following: a label configuration flow, a module configuration flow and a field configuration flow;
and executing the target configuration flow according to a preset configuration sequence to obtain the second target flow page.
5. The method of claim 4, wherein if the target configuration flow is the tag configuration flow, executing the target configuration flow in a predetermined configuration order comprises:
Acquiring a plurality of process nodes contained in a business process corresponding to the page to be processed;
and configuring a label name for each flow node in a multi-stage table, and configuring the flow sequence of each flow node in the multi-stage table, wherein the multi-stage table is a table showing the first configuration data or the second configuration data.
6. The method of claim 5, wherein if the target configuration flow is the module configuration flow, executing the target configuration flow in a predetermined configuration order comprises:
acquiring a group of page elements contained in each flow node to obtain a plurality of groups of page elements;
the type of each page element is configured in the flow node, and the position of each page element in the flow node.
7. The method of claim 6, wherein if the target configuration procedure is the field configuration procedure, executing the target configuration procedure in a predetermined configuration order comprises:
acquiring a field type which needs to be input in a business process of each page element;
and configuring each page element in the target flow page according to the field type.
8. A processing apparatus for a flow page, comprising:
The receiving unit is used for receiving page processing requirements input by a user and judging whether a to-be-processed page in the page processing requirements has a history version or not;
the acquisition unit is used for acquiring the history configuration data of the history version page under the condition that the history version exists in the page to be processed;
the updating unit is used for updating the historical configuration data according to the page processing requirement to obtain updated first configuration data, updating the historical version page based on the first configuration data to obtain a first target flow page, wherein the first configuration data is used for adjusting page elements and page layout of the historical version page;
the generating unit is used for generating second configuration data corresponding to the page to be processed according to the page processing requirement under the condition that the history version does not exist in the page to be processed, and constructing a second target flow page based on the second configuration data.
9. A processor, characterized in that the processor is configured to run a program, wherein the program runs to perform the processing method of the flow page according to any one of claims 1 to 7.
10. An electronic device comprising one or more processors and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of processing a flow page of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310146387.0A CN116069328A (en) | 2023-02-08 | 2023-02-08 | Processing method and device of flow page, processor and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310146387.0A CN116069328A (en) | 2023-02-08 | 2023-02-08 | Processing method and device of flow page, processor and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116069328A true CN116069328A (en) | 2023-05-05 |
Family
ID=86176769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310146387.0A Pending CN116069328A (en) | 2023-02-08 | 2023-02-08 | Processing method and device of flow page, processor and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116069328A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117216300A (en) * | 2023-10-19 | 2023-12-12 | 深圳般若海科技有限公司 | Picture uploading method and system based on H5 generation by one key |
-
2023
- 2023-02-08 CN CN202310146387.0A patent/CN116069328A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117216300A (en) * | 2023-10-19 | 2023-12-12 | 深圳般若海科技有限公司 | Picture uploading method and system based on H5 generation by one key |
CN117216300B (en) * | 2023-10-19 | 2024-05-10 | 深圳般若海科技有限公司 | Picture uploading method and system based on H5 generation by one key |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111626607B (en) | Workflow personalized setting method and device based on SaaS and storage medium | |
CN108897587B (en) | Pluggable machine learning algorithm operation method and device and readable storage medium | |
CN110162464A (en) | Mcok test method and system, electronic equipment and readable storage medium storing program for executing | |
Kleijnen | Design and analysis of simulation experiments: Tutorial | |
CN116069328A (en) | Processing method and device of flow page, processor and electronic equipment | |
CN115841236A (en) | Business modeling method, device and medium for realizing quick response | |
CN104601486A (en) | Method and device for shunt of network flow | |
CN109388644A (en) | A kind of data-updating method and device | |
Mohamed et al. | SaaS dynamic evolution based on model-driven software product lines | |
CN109977317A (en) | Data query method and device | |
CN107861751A (en) | The amending method and device of configuration file | |
CN109600245B (en) | Automatic configuration method and device for server | |
CN116436964A (en) | Data processing method and device | |
Yavuz et al. | Analysis and solution to the single-level batch production smoothing problem | |
CN112019617A (en) | Data storage method, device and equipment | |
CN110969461A (en) | Method and device for processing public number information, storage medium and processor | |
CN109636324B (en) | Electronic service contract processing method and device | |
CN112749159A (en) | Form generation method and device, electronic equipment and storage medium | |
US11687334B2 (en) | Decentralized management of software configurations | |
CN115022317B (en) | Cloud platform-based application management method and device, electronic equipment and storage medium | |
Van der Bank | A modular framework for the effective development of web-based applications | |
CN111783403B (en) | Document providing method, device and medium | |
CN113741902B (en) | Template-based SaaS code generation method and system | |
US12079596B1 (en) | Code builder | |
CN118860527A (en) | Service request processing method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |