CN112988307A - Configuration method, device, equipment and storage medium of purchasing system - Google Patents
Configuration method, device, equipment and storage medium of purchasing system Download PDFInfo
- Publication number
- CN112988307A CN112988307A CN202110388333.6A CN202110388333A CN112988307A CN 112988307 A CN112988307 A CN 112988307A CN 202110388333 A CN202110388333 A CN 202110388333A CN 112988307 A CN112988307 A CN 112988307A
- Authority
- CN
- China
- Prior art keywords
- configuration
- combined
- objects
- sub
- purchasing system
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Abstract
The application discloses a configuration method, a device, equipment and a storage medium of a purchasing system, which comprise the following steps: determining a combined configuration item comprising a plurality of single configuration items and a corresponding purchasing system application scene; respectively carrying out preliminary configuration on corresponding preset objects to be displayed in a purchasing system interface by using each single configuration item in the combined configuration items to obtain a combined object containing a plurality of configured objects; and determining the arrangement strategy of the plurality of configured objects according to the application scene of the purchasing system, arranging the plurality of configured objects according to the arrangement strategy, and displaying the arranged combined objects through a purchasing system interface. According to the method and the device, the preset objects to be displayed are preliminarily configured by utilizing a plurality of single configuration items in the combined configuration items to obtain the combined objects containing a plurality of configured objects, then the arrangement strategies of the plurality of configured objects are determined according to the application scene of the purchasing system, and the flexible configuration and friendly interface display effect of the combined objects are realized.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a configuration method, a configuration device and a configuration storage medium of a purchasing system.
Background
In the business process of the procurement system, a plurality of business rules can be dynamically realized according to certain configuration capacity, such as the configuration of an organization level, a division level and a system level, so as to dynamically realize different functions of certain business nodes under different dimensionality configurations, and one function point may generate different program logics due to different configurations. However, the configuration capability of many procurement systems is single, and only single-selection, multi-selection, text and switch configuration can be supported, and complicated configuration cannot be performed.
For complex configuration capability, the prior art is generally implemented by a single configuration tiling mode, for example, a complex configuration is composed of several single configurations, which respectively include a switch configuration of rule a and a single-choice configuration of rule B (rule B has 3 options), at this time, the configuration scheme is tiled into a single-choice configuration of 6 options, as single configuration capability, all kinds of configuration rules can be functionally implemented, but after the single configuration tiling is used, the configuration is diversified, and user experience is greatly reduced.
Disclosure of Invention
In view of the above, the present invention provides a configuration method, an apparatus, a device and a storage medium for a purchasing system, which can achieve flexible configuration of a combined object and a friendly interface display effect. The specific scheme is as follows:
a first aspect of the present application provides a method for configuring a purchasing system, including:
determining a combined configuration item comprising a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item;
performing preliminary configuration on corresponding preset objects to be displayed in a purchasing system interface by using each single configuration item in the combined configuration items to obtain a combined object containing a plurality of configured objects;
according to the purchasing system application scene, determining an arrangement strategy of a plurality of configured objects in the combined object, and arranging the plurality of configured objects in the combined object according to the arrangement strategy so as to display the arranged combined object through the purchasing system interface.
Optionally, the performing, by using each single configuration item in the combined configuration items, preliminary configuration on a corresponding preset object to be displayed in the purchasing system interface to obtain a combined object including a plurality of configured objects includes:
acquiring configuration parameters and configuration values corresponding to each single configuration item in the combined configuration items;
and respectively carrying out preliminary configuration on corresponding preset objects to be displayed in the interface of the purchasing system according to the configuration parameters and the configuration values to obtain a combined object containing a plurality of configured objects.
Optionally, the determining an orchestration policy of a plurality of the configured objects in the combined object according to the procurement system application scenario includes:
determining a sub-object and a corresponding linked sub-object from a plurality of configured objects in the combined object according to the procurement system application scene, and determining a linkage value between the sub-object and the corresponding linked sub-object;
determining an orchestration policy for a plurality of the configured objects in the combined object based on the sub-object, the linked sub-object corresponding to the sub-object, the linkage value, and the configuration value.
Optionally, after determining the orchestration policy of the plurality of configured objects in the combined object, the method further includes:
constructing a configuration strategy selector and storing the arrangement strategy to the configuration strategy selector; wherein the configuration policy selector comprises a set of encodings identifying a plurality of the configured objects in the combined object.
Optionally, the arranging the plurality of configured objects in the combined object according to the arranging policy to display the arranged combined object through the purchasing system interface includes:
traversing all the sub-objects to obtain sub-objects to be arranged;
selecting the corresponding arrangement strategy from the configuration strategy selector based on the sub-object to be arranged;
and arranging the sub-objects to be arranged according to the arranging strategy so as to display the arranged combined object through the purchasing system interface.
Optionally, the selecting the corresponding arrangement policy from the configuration policy selector based on the sub-object to be arranged includes:
reading the codes of the configured objects corresponding to the sub-objects to be arranged, and selecting the arranging strategy corresponding to the codes from the configuration strategy selector.
Optionally, the configured object includes a switch, a single selection, a multiple selection, and a text.
A second aspect of the present application provides a configuration device of a purchasing system, including:
the system comprises a determining unit, a processing unit and a processing unit, wherein the determining unit is used for determining a combined configuration item containing a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item;
the preliminary configuration unit is used for carrying out preliminary configuration on corresponding preset objects to be displayed in a purchasing system interface by utilizing each single configuration item in the combined configuration items to obtain a combined object containing a plurality of configured objects;
and the arranging unit is used for determining the arranging strategy of the plurality of configured objects in the combined object according to the application scene of the purchasing system, and arranging the plurality of configured objects in the combined object according to the arranging strategy so as to display the arranged combined object through the interface of the purchasing system.
A third aspect of the application provides an electronic device comprising a processor and a memory; wherein the memory is used for storing a computer program which is loaded and executed by the processor to realize the configuration method of the purchasing system.
A fourth aspect of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are loaded and executed by a processor, the method for configuring the purchasing system is implemented.
In the application, a combined configuration item containing a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item are determined, then each single configuration item in the combined configuration item is used for respectively carrying out preliminary configuration on a corresponding preset object to be displayed in a purchasing system interface to obtain a combined object containing a plurality of configured objects, finally, according to the purchasing system application scene, an arrangement strategy of a plurality of configured objects in the combined object is determined, the configured objects in the combined object are arranged according to the arrangement strategy, and the arranged combined object is displayed through the purchasing system interface. According to the method and the device, the preset objects to be displayed are preliminarily configured by utilizing a plurality of single configuration items in the combined configuration items to obtain the combined objects containing a plurality of configured objects, then the arrangement strategies of the plurality of configured objects are determined according to the application scene of the purchasing system, and the flexible configuration and friendly interface display effect of the combined objects are realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method for configuring a procurement system according to the present application;
FIG. 2 is a schematic diagram of a single configuration provided herein;
FIG. 3 is a schematic view of a combination configuration provided herein;
FIG. 4 is a schematic diagram of a combinational configuration logic provided herein;
FIG. 5 is a schematic diagram illustrating an exemplary implementation of combinational configuration logic provided herein;
FIG. 6 is a flow chart of a method for configuring a purchasing system according to the present application;
FIG. 7 is a diagram illustrating a specific single object display provided by the present application;
FIG. 8 is a diagram of a specific combined object display provided by the present application;
FIG. 9 is a diagram illustrating a specific combination object with linkage relationships according to the present application;
FIG. 10 is a schematic diagram of a rule policy selector provided herein;
FIG. 11 is a schematic view of a specific combination configuration linkage provided herein;
FIG. 12 is a schematic diagram of an exemplary combinatorial configuration orchestration logic implementation provided herein;
FIG. 13 is a schematic diagram of a configuration device of a purchasing system provided in the present application;
fig. 14 is a diagram of a configuration electronic device of a procurement system provided by the application.
Detailed Description
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.
The configuration capability of the existing purchasing system is single, only single selection, multiple selection, text and switch configuration can be supported, and complex configuration cannot be carried out. For complex configuration capacity, the configuration is realized in a single configuration tiling mode, the configuration is various, and the user experience is greatly reduced. In order to overcome the technical defects, the application provides a configuration scheme of a purchasing system, which is characterized in that a plurality of single configuration items in combination configuration items are utilized to carry out preliminary configuration on preset objects to be displayed to obtain a combination object containing a plurality of configured objects, then the arrangement strategies of the plurality of configured objects are determined according to the application scene of the purchasing system, and the flexible configuration and friendly interface display effect of the combination object are realized.
Fig. 1 is a flowchart of a configuration method of a purchasing system according to an embodiment of the present disclosure. Referring to fig. 1, the configuration method of the procurement system includes:
s11: determining a combined configuration item comprising a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item.
In this embodiment, before configuration, a combined configuration item including a plurality of single configuration items and a purchasing system application scenario corresponding to the combined configuration item are determined. The purchasing system, namely the electronic bid-inviting and bidding system, is a software system for realizing bid-inviting and bidding purchasing, and is used for actions of bid-inviting and bid-opening initiated by a purchasing organization mechanism, supplier bidding (including an electronic bid-inviting and bidding client), expert bid evaluation and the like. It is understood that the processing method for dynamically setting the rules in the procurement system is called configuration, wherein the single configuration is based on a plurality of single dimensions, for example, the single-selection configuration or the multiple-selection configuration selects 1 logic from several different logics as the rules, the text configuration is realized by text rules for a certain function rule, and the switch configuration supports the on or off of a certain function logic. That is, the single configuration includes multiple common configuration types such as single-choice, multiple-choice, text, switch, etc., but not limited to text, single-item, multiple-choice, switch, and any manner of dynamically setting program variables may be used as the configuration capability. The configuration code is used to distinguish the functional module corresponding to the code, the configuration parameter indicates a parameter value possessed by a certain type of configuration function, for example, the configuration parameter of the switch only has true and false, the configuration parameter of the single configuration is a plurality of corresponding options, for example, 1 represents the a function, 2 represents the B function, etc., and the configuration value indicates a configuration parameter value used after the final configuration is completed, as shown in fig. 2. The complex configuration can also be called combined configuration, and refers to a configuration capability generated by combining multiple logic rules of several rule types of a single configuration by using the single configuration capability as a basic unit. It should be noted that the single configuration item is used to generate a configured object through configuration, and the configured object in this embodiment may be understood as a rule corresponding to the single configuration item, and the combined configuration item includes a plurality of the single configuration items, and a data structure of the combined configuration item is mainly a single configuration item set.
In addition, in the business process of the procurement system, a plurality of business rules can be dynamically realized according to certain configuration capacity, such as the configuration of an organization level, a division level and a system level, so as to respectively and dynamically realize different functions of certain business nodes which take effect under the configuration of different dimensions, and one function point may carry out different configurations to generate different program logics according to different application scenes of the procurement system, so that the application scenes of the procurement system corresponding to the combined configuration items need to be determined, and different arrangement strategies can be adopted for different application scenes in the subsequent process.
S12: and performing preliminary configuration on corresponding preset objects to be displayed in the purchasing system interface by using each single configuration item in the combined configuration items to obtain a combined object containing a plurality of configured objects.
In this embodiment, after determining the plurality of single configuration items in the combined configuration items, a preliminary configuration may be performed, that is, each single configuration item in the combined configuration items is used to perform a preliminary configuration on a corresponding preset object to be displayed in the purchasing system interface, so as to obtain a combined object including a plurality of configured objects. Since the single configuration item is used to generate a configured object through configuration, that is, a rule corresponding to the single configuration item, the combined object is a set including a plurality of rules corresponding to the single configuration item, as shown in fig. 3. It can be understood that the corresponding preset object to be displayed in the purchasing system interface may be an original object to be displayed without configuration, and the configured object to be displayed in the purchasing system interface is used as a display object. The single configuration item and the configured object are in one-to-one correspondence. The effect of the combined configuration is much better than that of the tiled single configuration, for example, the combined object in fig. 3 includes A, B, C, which are 3 rules, and there are 7 different combinations, and in this case, if the tiled single configuration is used for implementation, it is a configuration with 7 options, and after the combined configuration is used, only 3 single rule configurations are displayed, and multi-dimensional combination is possible.
S13: according to the purchasing system application scene, determining an arrangement strategy of a plurality of configured objects in the combined object, and arranging the plurality of configured objects in the combined object according to the arrangement strategy so as to display the arranged combined object through the purchasing system interface.
In this embodiment, an arrangement policy of the plurality of configured objects in the combined object is determined according to the purchasing system application scenario, and then the plurality of configured objects in the combined object are arranged according to the arrangement policy, so that the arranged combined object is displayed through the purchasing system interface. The combined configuration is more complex than the single arrangement in configuration implementation, and firstly, the order of the function of each single configuration logic is determined, and secondly, the combined configuration is implemented one by one according to the configuration value and the implementation configuration logic corresponding to each single configuration, and fig. 4 is a link diagram for implementing the combined configuration. After all the rules in one combined object are arranged according to a certain sequence, the program is executed according to the rule sequence, thereby achieving the effect of combined configuration capability, which is the arranging process. In summary, a complex configuration item is first created, and a single configuration combination of the complex configuration item is determined. And determining the execution arrangement rule for the single configuration according to the actual use scene of the complex configuration item. When the program is in use, the arrangement rule is pressed to execute each single configuration rule one by one, and if the configuration rule which is not started is met, the next rule is skipped to execute, as shown in fig. 5.
It can be seen that in the present application of the embodiment of the present application, a combined configuration item including a plurality of single configuration items and a purchasing system application scenario corresponding to the combined configuration item are determined, then each single configuration item in the combined configuration item is used to perform preliminary configuration on a corresponding preset object to be displayed in a purchasing system interface, so as to obtain a combined object including a plurality of configured objects, and finally, according to the purchasing system application scenario, an arrangement policy of a plurality of configured objects in the combined object is determined, and a plurality of configured objects in the combined object are arranged according to the arrangement policy, so as to display the arranged combined object through the purchasing system interface. According to the method and the device, the preset objects to be displayed are preliminarily configured by utilizing the single configuration items in the combined configuration items to obtain the combined objects containing the configured objects, then the arrangement strategies of the configured objects are determined according to the application scene of the purchasing system, and the flexible configuration and the friendly interface display effect of the combined objects are achieved.
Fig. 6 is a flowchart of a specific configuration method of the purchasing system according to an embodiment of the present disclosure. Referring to fig. 6, the configuration method of the purchasing system includes:
s21: determining a combined configuration item comprising a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item.
In this embodiment, as to the specific process of step S21, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
S22: and acquiring the configuration parameters and the configuration values corresponding to each single configuration item in the combined configuration items.
S23: and respectively carrying out preliminary configuration on corresponding preset objects to be displayed in the interface of the purchasing system according to the configuration parameters and the configuration values to obtain a combined object containing a plurality of configured objects.
In this embodiment, the configuration parameters and the configuration values corresponding to each single configuration item in the combined configuration items are obtained first, and then the corresponding preset objects to be displayed in the interface of the purchasing system are preliminarily configured according to the configuration parameters and the configuration values, so as to obtain a combined object including a plurality of configured objects. Fig. 7(a) shows the configured object obtained after the preliminary configuration is performed on the corresponding preset object to be displayed in the purchasing system according to the configuration parameter and the configuration value of the single configuration item corresponding to the single selection rule, and fig. 7(b) shows the configured object obtained after the preliminary configuration is performed on the corresponding preset object to be displayed in the purchasing system according to the configuration parameter and the configuration value of the single configuration item corresponding to the text rule. The original rule logic is only configured logically according to a single option, the rule a in fig. 7(a) is configured in a single option mode, the rule B in fig. 7(B) is in a text mode, and after the respective configuration of A, B is performed, the actual rule logic performs program execution according to the correspondingly set configuration in a tiled mode. In this case, if a certain module level configuration involves more rules and is responsible, more configurations like A, B rules are needed to implement the configuration, and the configuration cannot be uniformly configured in one portal. The present application can realize the display effect as shown in fig. 8 through steps S21 to S23.
S24: determining a sub-object and a corresponding linked sub-object from a plurality of configured objects in the combined object according to the procurement system application scene, and determining a linkage value between the sub-object and the corresponding linked sub-object;
s25: determining an orchestration policy for a plurality of the configured objects in the combined object based on the sub-object, the linked sub-object corresponding to the sub-object, the linkage value, and the configuration value.
S26: and traversing all the sub-objects to obtain the sub-objects to be arranged.
S27: and selecting the corresponding arrangement strategy from the configuration strategy selector based on the sub-objects to be arranged, and arranging the sub-objects to be arranged according to the arrangement strategy so as to display the arranged combined object through the purchasing system interface.
In this embodiment, there may be configuration of association relationship in the configuration rule, for example, the logic 2 of the a rule is opened to configure the B rule, or the logic 3 of the a rule is opened, and only numbers and the like can be input in the rule text of the B rule, as shown in fig. 9. In order to realize the functions, firstly, according to the procurement system application scene, a sub-object and a corresponding linked sub-object are determined from a plurality of configured objects in the combined object, an linkage value between the sub-object and the corresponding linked sub-object is determined, and then the arrangement strategy of the plurality of configured objects in the combined object is determined based on the sub-object, the linked sub-object corresponding to the sub-object, the linkage value and the configuration value. In addition, after determining the orchestration policy of a plurality of the configured objects in the combined object, a configuration policy selector may be further constructed and stored to the configuration policy selector, where the configuration policy selector includes a set of codes for identifying a plurality of the configured objects in the combined object, and the codes may be the configuration codes of the configured objects, and the configuration policy selector is shown in fig. 10.
The steps add new sub-objects and combined editing capability on the basis of combined configuration technology. The sub-objects are used as minimum units, and can be combined in a combined configuration, and the logic rules of all the rules are calculated through the logic of the arrangement capacity, and then the logic of the rules which are combined are finally determined through the arrangement of the configuration in the use after the configuration is completed. In the stage of configuration, the program will combine through the sub-objects, and then the program will perform layout linkage according to the association relationship between the sub-objects, as shown in fig. 11, the sub-configuration includes "linkage sub-object" and "linkage value", if the "linked sub-object" is named, the rule will perform linkage according to the linkage value of the linked sub-object, for example, the "linked sub-object" of the B rule is a rule a, and the linkage value is on (assuming that the rule a is a switch configuration), the B rule will display its configuration. The specific program flow is as shown in fig. 12, traversing all the sub-objects to obtain the linkage value corresponding to the currently arranged sub-object, obtaining a target linkage value, then determining whether the target linkage value is in an enabling state, if so, enabling the sub-object corresponding to the target linkage value, if not, not enabling the sub-object corresponding to the target linkage value, finally, determining whether the sub-object to be arranged exists, and if not, ending the arrangement.
In this embodiment, the program traverses the child objects one by one, acquires information of the child objects, and places the information into the rule policy selector, which is a configured editing process. After the arrangement is finished, the program executes the rule logic through the sub-object information in the rule strategy selector. In the configuration execution stage, the program will read the configuration values of all the sub-objects and output the final result in the business logic according to the arrangement logic of the configuration values. The rule strategy selector comprises an input sub-object coding set, is mainly used for selecting a rule strategy and executes corresponding logic.
Therefore, in the embodiment of the application, through a combined configuration mode, complex superposition can be performed on a single configuration, and the execution arrangement sequence of the configuration items can be flexibly controlled. In addition, in the implementation of the complex configuration, causal logic relationships may also be applied to various configurations in the complex configuration according to the logic rules, for example, the a rule is opened, and the B rule cannot be opened. The embodiment of the application is not limited to the combination and arrangement of single configuration, and can also be used for arranging and combining a plurality of complex configurations, so that the use of a user is more in line with the user experience, and more dynamic configuration capabilities with complex logics can be realized in the programming.
Referring to fig. 13, the embodiment of the present application further discloses a configuration device of a purchasing system, which includes:
the determining module 11 is configured to determine a combined configuration item including a plurality of single configuration items and a purchasing system application scenario corresponding to the combined configuration item;
the preliminary configuration module 12 is configured to perform preliminary configuration on a corresponding preset object to be displayed in the purchasing system interface by using each single configuration item in the combined configuration items, so as to obtain a combined object including a plurality of configured objects;
the arranging module 13 is configured to determine an arranging policy of the plurality of configured objects in the combined object according to the purchasing system application scenario, and arrange the plurality of configured objects in the combined object according to the arranging policy, so as to display the arranged combined object through the purchasing system interface.
It can be seen that in the present application of the embodiment of the present application, a combined configuration item including a plurality of single configuration items and a purchasing system application scenario corresponding to the combined configuration item are determined, then each single configuration item in the combined configuration item is used to perform preliminary configuration on a corresponding preset object to be displayed in a purchasing system interface, so as to obtain a combined object including a plurality of configured objects, and finally, according to the purchasing system application scenario, an arrangement policy of a plurality of configured objects in the combined object is determined, and a plurality of configured objects in the combined object are arranged according to the arrangement policy, so as to display the arranged combined object through the purchasing system interface. According to the method and the device, the preset objects to be displayed are preliminarily configured by utilizing the single configuration items in the combined configuration items to obtain the combined objects containing the configured objects, then the arrangement strategies of the configured objects are determined according to the application scene of the purchasing system, and the flexible configuration and the friendly interface display effect of the combined objects are achieved.
In some embodiments, the preliminary configuration module 12 specifically includes:
an obtaining unit, configured to obtain a configuration parameter and a configuration value corresponding to each of the single configuration items in the combined configuration item;
and the preliminary configuration unit is used for respectively carrying out preliminary configuration on corresponding preset objects to be displayed in the purchasing system interface according to the configuration parameters and the configuration values to obtain a combined object containing a plurality of configured objects.
In some embodiments, the orchestration module 13 specifically includes:
the sub-object determining unit is used for determining a sub-object and a corresponding linked sub-object from a plurality of configured objects in the combined object according to the application scene of the purchasing system, and determining a linkage value between the sub-object and the corresponding linked sub-object;
an orchestration policy determining unit configured to determine an orchestration policy of a plurality of the configured objects in the combined object based on the sub-object, the linked sub-object corresponding to the sub-object, the linkage value, and the configuration value;
the storage unit is used for constructing a configuration strategy selector and storing the arrangement strategy to the configuration strategy selector; wherein the configuration policy selector comprises a set of encodings identifying a plurality of the configured objects in the combined object;
the traversal unit is used for traversing all the sub-objects to obtain the sub-objects to be arranged;
the selection unit is used for selecting the corresponding arrangement strategy from the configuration strategy selector based on the sub-object to be arranged;
and the execution unit is used for arranging the sub-objects to be arranged according to the arrangement strategy so as to display the arranged combined object through the purchasing system interface.
Further, the embodiment of the application also provides electronic equipment. FIG. 14 is a block diagram illustrating an electronic device 20 according to an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 14 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein, the memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the configuration method of the procurement system disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the present embodiment may be specifically a server.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon may include an operating system 221, a computer program 222, configuration data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the processor 21 on the massive configuration data 223 in the memory 22, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the method for configuring the procurement system performed by the electronic device 20 disclosed in any of the foregoing embodiments. Data 223 may include configuration data collected by electronic device 20.
Further, an embodiment of the present application further discloses a storage medium, in which a computer program is stored, and when the computer program is loaded and executed by a processor, the steps of the configuration method of the purchasing system disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above detailed description is provided for the configuration method, apparatus, device and storage medium of the purchasing system provided by the present invention, and the principle and implementation of the present invention are explained in this document by applying specific examples, and the description of the above examples is only used to help understanding the method and its core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A method for configuring a procurement system, comprising:
determining a combined configuration item comprising a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item;
performing preliminary configuration on corresponding preset objects to be displayed in a purchasing system interface by using each single configuration item in the combined configuration items to obtain a combined object containing a plurality of configured objects;
according to the purchasing system application scene, determining an arrangement strategy of a plurality of configured objects in the combined object, and arranging the plurality of configured objects in the combined object according to the arrangement strategy so as to display the arranged combined object through the purchasing system interface.
2. The method of configuring a procurement system of claim 1, wherein the step of preliminarily configuring, by using each of the single configuration items in the combined configuration item, a corresponding preset object to be displayed in an interface of the procurement system to obtain a combined object including a plurality of configured objects comprises:
acquiring configuration parameters and configuration values corresponding to each single configuration item in the combined configuration items;
and respectively carrying out preliminary configuration on corresponding preset objects to be displayed in the interface of the purchasing system according to the configuration parameters and the configuration values to obtain a combined object containing a plurality of configured objects.
3. The method for configuring a procurement system of claim 2 characterized by, according to the procurement system application scenario, determining the orchestration strategy for a plurality of the configured objects in the combined object, comprising:
determining a sub-object and a corresponding linked sub-object from a plurality of configured objects in the combined object according to the procurement system application scene, and determining a linkage value between the sub-object and the corresponding linked sub-object;
determining an orchestration policy for a plurality of the configured objects in the combined object based on the sub-object, the linked sub-object corresponding to the sub-object, the linkage value, and the configuration value.
4. The method of configuring a procurement system of claim 3 characterized by, after determining the orchestration strategy for a plurality of the configured objects in the combined object, further comprising:
constructing a configuration strategy selector and storing the arrangement strategy to the configuration strategy selector; wherein the configuration policy selector comprises a set of encodings identifying a plurality of the configured objects in the combined object.
5. The method for configuring a procurement system of claim 4 characterized by, the orchestrating a plurality of the configured objects of the combined objects according to the orchestration policy for display of the orchestrated combined objects through the procurement system interface comprises:
traversing all the sub-objects to obtain sub-objects to be arranged;
selecting the corresponding arrangement strategy from the configuration strategy selector based on the sub-object to be arranged;
and arranging the sub-objects to be arranged according to the arranging strategy so as to display the arranged combined object through the purchasing system interface.
6. The method for configuring purchasing system as recited in claim 5, wherein said selecting corresponding said arranging strategy from said configuration strategy selector based on said sub-object to be arranged includes:
reading the codes of the configured objects corresponding to the sub-objects to be arranged, and selecting the arranging strategy corresponding to the codes from the configuration strategy selector.
7. The method of configuring a procurement system of any of claims 1 to 6 characterized by, the configured object comprises a switch, a single selection, a multiple selection, a text.
8. A device for configuring a procurement system, comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a combined configuration item comprising a plurality of single configuration items and a purchasing system application scene corresponding to the combined configuration item;
the preliminary configuration module is used for carrying out preliminary configuration on corresponding preset objects to be displayed in a purchasing system interface by utilizing each single configuration item in the combined configuration items to obtain a combined object containing a plurality of configured objects;
and the arranging module is used for determining the arranging strategy of the plurality of configured objects in the combined object according to the application scene of the purchasing system, arranging the plurality of configured objects in the combined object according to the arranging strategy and displaying the arranged combined object through the interface of the purchasing system.
9. An electronic device, comprising a processor and a memory; wherein the memory is for storing a computer program that is loaded and executed by the processor to implement the method of configuring a procurement system of any of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions that, when loaded and executed by a processor, implement a method of configuring a procurement system of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110388333.6A CN112988307B (en) | 2021-04-12 | 2021-04-12 | Configuration method, device, equipment and storage medium of purchasing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110388333.6A CN112988307B (en) | 2021-04-12 | 2021-04-12 | Configuration method, device, equipment and storage medium of purchasing system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112988307A true CN112988307A (en) | 2021-06-18 |
CN112988307B CN112988307B (en) | 2023-05-12 |
Family
ID=76337909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110388333.6A Active CN112988307B (en) | 2021-04-12 | 2021-04-12 | Configuration method, device, equipment and storage medium of purchasing system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112988307B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055118A1 (en) * | 2011-08-29 | 2013-02-28 | Salesforce.Com, Inc. | Configuring database objects in multi-tenant systems |
CN107329979A (en) * | 2017-05-31 | 2017-11-07 | 阿里巴巴集团控股有限公司 | A kind of data object methods of exhibiting and device |
CN108255471A (en) * | 2018-01-04 | 2018-07-06 | 阿里巴巴集团控股有限公司 | A kind of system configuration item configuration device based on configuration external member, method and apparatus |
CN108786112A (en) * | 2018-04-26 | 2018-11-13 | 腾讯科技(上海)有限公司 | A kind of application scenarios configuration method, device and storage medium |
US20200034491A1 (en) * | 2018-07-25 | 2020-01-30 | Vmware, Inc. | Utilizing search capabilities for configuring input parameters of a workflow engine |
CN112214390A (en) * | 2019-07-09 | 2021-01-12 | 腾讯科技(深圳)有限公司 | Test case generation method, device, system, equipment and medium |
CN112257000A (en) * | 2020-10-28 | 2021-01-22 | 浙江大搜车软件技术有限公司 | Picture generation method and device, computer equipment and storage medium |
CN112270530A (en) * | 2020-10-30 | 2021-01-26 | 政采云有限公司 | Project configuration method, device and system based on government procurement |
CN112631497A (en) * | 2019-10-09 | 2021-04-09 | 阿里巴巴集团控股有限公司 | Data configuration method, data input method, data configuration device, data input device and electronic equipment |
-
2021
- 2021-04-12 CN CN202110388333.6A patent/CN112988307B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055118A1 (en) * | 2011-08-29 | 2013-02-28 | Salesforce.Com, Inc. | Configuring database objects in multi-tenant systems |
CN107329979A (en) * | 2017-05-31 | 2017-11-07 | 阿里巴巴集团控股有限公司 | A kind of data object methods of exhibiting and device |
CN108255471A (en) * | 2018-01-04 | 2018-07-06 | 阿里巴巴集团控股有限公司 | A kind of system configuration item configuration device based on configuration external member, method and apparatus |
CN108786112A (en) * | 2018-04-26 | 2018-11-13 | 腾讯科技(上海)有限公司 | A kind of application scenarios configuration method, device and storage medium |
US20200034491A1 (en) * | 2018-07-25 | 2020-01-30 | Vmware, Inc. | Utilizing search capabilities for configuring input parameters of a workflow engine |
CN112214390A (en) * | 2019-07-09 | 2021-01-12 | 腾讯科技(深圳)有限公司 | Test case generation method, device, system, equipment and medium |
CN112631497A (en) * | 2019-10-09 | 2021-04-09 | 阿里巴巴集团控股有限公司 | Data configuration method, data input method, data configuration device, data input device and electronic equipment |
CN112257000A (en) * | 2020-10-28 | 2021-01-22 | 浙江大搜车软件技术有限公司 | Picture generation method and device, computer equipment and storage medium |
CN112270530A (en) * | 2020-10-30 | 2021-01-26 | 政采云有限公司 | Project configuration method, device and system based on government procurement |
Also Published As
Publication number | Publication date |
---|---|
CN112988307B (en) | 2023-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111078315B (en) | Microservice arranging and executing method and system, architecture, equipment and storage medium | |
CN110532020B (en) | Data processing method, device and system for micro-service arrangement | |
US9792354B2 (en) | Context aware user interface parts | |
CN100545851C (en) | The remote system administration of utility command row environment | |
WO2017007864A1 (en) | Gesture based sharing of user interface portion | |
CN108279882B (en) | Framework generation method, device, equipment and computer readable medium | |
CN111695827B (en) | Business process management method and device, electronic equipment and storage medium | |
US11042391B2 (en) | Replaying operations on widgets in a graphical user interface | |
KR20150058237A (en) | Method and system for simplified knowledge engineering | |
CN112214210A (en) | Logistics business rule engine and configuration method, device, equipment and storage medium thereof | |
CN105335132A (en) | Method, apparatus and system for user-defined application function | |
CN109144511B (en) | Method and system for automatically generating numerical simulation graphical user interface | |
CN111143039A (en) | Virtual machine scheduling method and device and computer storage medium | |
CN110633959A (en) | Method, device, equipment and medium for creating approval task based on graph structure | |
CN116302708A (en) | Data backup method, device, equipment and storage medium based on load balancing | |
US20210326179A1 (en) | Progress visualization of computational job | |
CN112328225A (en) | Page operation method and operation system thereof | |
CN112306471A (en) | Task scheduling method and device | |
CN112988307B (en) | Configuration method, device, equipment and storage medium of purchasing system | |
CN110362305B (en) | Form component state switching method and device | |
CN112418796B (en) | Sub-process task node activation method and device, electronic equipment and storage medium | |
CN115392501A (en) | Data acquisition method and device, electronic equipment and storage medium | |
CN113760403A (en) | State machine linkage method and device | |
CN113342413B (en) | Method, apparatus, device, medium, and article for processing components | |
CN115222041B (en) | Graph generation method and device for model training, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |