CN109582313A - Business interface dynamic construction method, device, computer equipment and storage medium - Google Patents

Business interface dynamic construction method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109582313A
CN109582313A CN201811535089.6A CN201811535089A CN109582313A CN 109582313 A CN109582313 A CN 109582313A CN 201811535089 A CN201811535089 A CN 201811535089A CN 109582313 A CN109582313 A CN 109582313A
Authority
CN
China
Prior art keywords
information
item
configuration
business
event
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
Application number
CN201811535089.6A
Other languages
Chinese (zh)
Other versions
CN109582313B (en
Inventor
叶兆廷
甘茂鹏
陈炼斌
曹建平
钟坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Eshore Technology Co Ltd
Original Assignee
Guangdong Eshore Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Eshore Technology Co Ltd filed Critical Guangdong Eshore Technology Co Ltd
Priority to CN201811535089.6A priority Critical patent/CN109582313B/en
Publication of CN109582313A publication Critical patent/CN109582313A/en
Application granted granted Critical
Publication of CN109582313B publication Critical patent/CN109582313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application involves a kind of business interface dynamic construction method, device, computer equipment and storage mediums, wherein this method comprises: obtaining the request of business interface dynamic construction;It is requested according to business interface dynamic construction, reads service correlation information corresponding with the business and corresponding item of information defines and generates collection of information items;By the collection of information items according to the sequential configuration item of information tree of configuration;Item of information attribute, item of information association and item of information event are read, and corresponding item of information is configured accordingly;Business interface is initialized.The present invention realizes the construction of the business interface framework based on item of information, can only by the relevant configuration of database can finishing service interface dynamic construction, improve the development efficiency of business realizing and reduce subsequent maintenance cost.It in addition, the interface realized through the invention, which has, carries out dynamic construction for specific business scenario, can satisfy the different demands of special scenes, realize business customizing interface.

Description

Business interface dynamic construction method, device, computer equipment and storage medium
Technical field
The present invention relates to computer application technology, more particularly to a kind of business interface dynamic construction method, device, Computer equipment and storage medium.
Background technique
Currently, the business scenario that production system is related to is numerous, if traditional industry is continued to use in the exploitation at service handling interface Business --- the one-to-one mode in interface is developed, and system can become extremely too fat to move and be unfavorable for maintenance and expansion in the future, and this The efficiency of development scheme is extremely low, wastes a large amount of unnecessary manpower and material resources cost.
In the prior art, CN201410812425.2 disclose it is a kind of based on individual character configuration WEB page show method And system, comprising the following steps: obtain the web page access request and user identifier of user;It is obtained according to the user identifier Control configuration information corresponding with the user identifier;The control of the web page is loaded according to the control configuration information.This Outside, also correspondence provides a kind of web page display systems.Above-mentioned web page presentation method and system make the displaying of web page Suitability is higher, and scalability is stronger.The invention is triggered different web pages based on user identifier and constituted, and business is not based on Scene drives, and is not suitable for the practical application of service system;Industry in supporting business system is only not enough to by widget library The complexity of business processing, such as the same control might have otherness in different business.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of business interface realized for specific transactions scene Dynamic construction method, device, computer equipment and storage medium.
A kind of business interface dynamic construction method, which comprises
The request of acquisition business interface dynamic construction;
It is requested according to business interface dynamic construction, reads corresponding with business service correlation information and corresponding Item of information define and generate collection of information items;
By the collection of information items according to the sequential configuration item of information tree of configuration;
Item of information attribute, item of information association and item of information event are read, and corresponding item of information is matched accordingly It sets;
Business interface is initialized.
Business interface dynamic construction is requested in one of the embodiments, further include: the client domain of the business is ordered Single domain and product domain;
Requested described according to business interface dynamic construction, read corresponding with business service correlation information with And after corresponding item of information the step of defining and generating collection of information items further include:
According to client domain, order domain and the corresponding business interface of product domain construction in business Interface Construction request Frame.
In one of the embodiments, it is described by the collection of information items according to the step of the sequential configuration item of information tree of configuration Before rapid further include:
Configuration file is obtained, the configuration file includes: that item of information defines configuration file and business scenario associated configuration text Part;
It includes the mark to item of information, coding, ownership scope and item of information in configuration file that the item of information, which defines, The configuration of input type;
Include in the business scenario associated configuration file and the associated item of information attribute configuration of the business scenario, information Item associated configuration and item of information event configuration.
The item of information attribute configuration includes: in one of the embodiments,
The configuration for the association attributes that the item of information is shown and is operated;
Wherein, configurable data include: maximum value, minimum value, information entry value length, front and back is sewed and specific choosing value model It encloses.
The item of information associated configuration includes: in one of the embodiments,
It include: to be associated with control, item of information between item of information and item of information to the associated configuration between the item of information It is worth and is associated with control with being associated between control and item of information and item of information attribute between information entry value;
Wherein, configurable data includes: source/target service scene identity, source/target information entry value, association type, target Optional type and target can action types.
The item of information event configuration includes: in one of the embodiments,
Configuration to the item of information event includes: initialization event, choosing value variation event, verifying event and submits thing Part, so as to carry out corresponding logical process in different trigger points;
Wherein, configurable data includes: business scenario mark, event type and event functions title.
The reading item of information attribute, item of information association and item of information event in one of the embodiments, and to right The step of item of information answered is configured accordingly include:
Item of information attribute configuration is read, the item of information being related to is rendered according to the item of information attribute configuration;
Read item of information associated configuration, by the associated configuration data being related to injection item of information association control container in, with It is called in subsequent triggers;
Item of information event configuration and event handling unit file are read, the correlation function being related to is registered to specified information In item event.
A kind of business interface dynamic construction device, the business interface dynamic construction device include:
Module is obtained, the acquisition module is for obtaining the request of business interface dynamic construction;
Generation module, the generation module are used to be requested according to business interface dynamic construction, read and the business Corresponding service correlation information and corresponding item of information define and generate collection of information items;
Constructing module, the constructing module are used for the collection of information items according to the sequential configuration item of information tree of configuration;
Configuration module, the configuration module are used to read item of information attribute, item of information association and item of information event, and right Corresponding item of information is configured accordingly;
Initialization module, the initialization module is for initializing business interface.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage The step of computer program, the processor realizes above-mentioned any one method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of above-mentioned any one method is realized when row.
Above-mentioned business interface dynamic construction method, device, computer equipment and storage medium, it is dynamic by obtaining business interface State construction request;Requested according to business interface dynamic construction, read corresponding with business service correlation information and Corresponding item of information defines and generates collection of information items;By the collection of information items according to the sequential configuration item of information tree of configuration; Item of information attribute, item of information association and item of information event are read, and corresponding item of information is configured accordingly;To business Interface is initialized.The present invention realizes the construction of the business interface framework based on item of information, can only pass through database Relevant configuration can finishing service interface dynamic construction, improve the development efficiency of business realizing and reduce subsequent maintenance Cost.In addition, the interface realized through the invention, which has, carries out dynamic construction for specific business scenario, can satisfy The different demands of special scenes realize business customizing interface.
Detailed description of the invention
Fig. 1 is the application scenario diagram of business interface dynamic construction method in one embodiment;
Fig. 2 is the flow diagram of business interface dynamic construction method in one embodiment;
Fig. 3 is the flow diagram of business interface dynamic construction method in another embodiment;
Fig. 4 is flow diagram the step of obtaining configuration file in one embodiment;
Fig. 5 is reading item of information attribute in one embodiment, item of information association and item of information event, and to corresponding letter The flow diagram of the step of step that breath item is configured accordingly;
Fig. 6 is the structural block diagram of business interface dynamic construction device in one embodiment;
Fig. 7 is the structural block diagram of business interface dynamic construction device in another embodiment;
Fig. 8 is the internal structure chart of computer equipment in one embodiment;
Fig. 9 is the schematic diagram that item of information configuration is constituted in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Business interface dynamic construction method provided by the embodiment of the present invention may be used on application environment as shown in Figure 1 In.Computer equipment 110 is connect with database 120.Wherein, the configuration file based on different scenes is stored in database 120, The configuration file needed for obtaining specific transactions in the database 120 of computer equipment 110, reads service correlation information and letter It ceases item definition and generates item of information intersection;Item of information intersection according to configuration sequential configuration item of information tree;Item of information attribute is read, it will The item of information being related to is rendered by configuration;Item of information associated configuration is read, the injection item of information association control of associated configuration data is held Device is called for subsequent triggers;Item of information event configuration and event handling unit (such as: js file) is read, by correlation function It is registered to specified item of information event;Interface initialization operation is finally carried out, write back information item default value, item of information initialize thing Part, relevant association control etc..
In one embodiment, it as shown in Fig. 2, providing a kind of business interface dynamic construction method, applies in this way It is illustrated for application environment in Fig. 1, this method comprises:
Step 202, the request of business interface dynamic construction is obtained;
Step 204, it is requested according to business interface dynamic construction, reads corresponding with business service correlation information and corresponding Item of information define and generate collection of information items;
Step 206, by collection of information items according to the sequential configuration item of information tree of configuration;
Step 208, item of information attribute, item of information association and item of information event are read, and corresponding item of information is carried out Corresponding configuration;
Step 210, business interface is initialized.
Specifically, computer equipment obtains the request of business interface dynamic construction and is requested according to business interface dynamic construction, It reads service correlation information corresponding with business and corresponding item of information defines and generates collection of information items.
Each business scenario needs to configure associated collection of information items, and association while can configure each item of information herein Operational attribute in business scenario.Configurable data includes: whether item of information shows serial number, parent item of information, can operate, select Type (such as: essential, optional, not optional), item of information default value etc..
And item of information defines to be equivalent to and provides a global widget library for assembled interface, all items of information used all must Must first be defined subsequent could be associated use.Definable data include mark, coding, the ownership scope of item of information (such as: client domain, business domains, interface information domain, interface title field etc.), item of information input type (such as: Characters, under Draw choosing value, date type, pop-up type etc.).
Then, by collection of information items according to the sequential configuration item of information tree of configuration.Business information item is service handling information The minimum particle size of decomposition includes the elements such as business information, attribute, event, as the connecting layer of bottom data and showing interface, Data model can be accepted down, up can be used for tissue/processing interface element.Then, item of information attribute, item of information association are read And item of information event, and corresponding item of information is configured accordingly.After the completion of configuration, business interface is carried out initial Change, write back information item default value, item of information initialization event, relevant association control etc..
In the present embodiment, by obtaining the request of business interface dynamic construction;It is requested, is read according to business interface dynamic construction Service correlation information corresponding with business and corresponding item of information is taken to define and generate collection of information items;Collection of information items is pressed According to the sequential configuration item of information tree of configuration;Item of information attribute, item of information association and item of information event are read, and to corresponding letter Breath item is configured accordingly;Business interface is initialized.The present embodiment realizes the business interface box based on item of information The construction of frame, can only by the relevant configuration of database can finishing service interface dynamic construction, improve business reality Existing development efficiency simultaneously reduces subsequent maintenance cost.In addition, the interface realized in through this embodiment is that have for specific Business scenario carry out dynamic construction, can satisfy the different demands of special scenes, realize business customizing interface.
In one embodiment, a kind of business interface dynamic construction method is provided, wherein business interface dynamic construction is asked It asks further include: client domain, order domain and the product domain of business, as shown in figure 3, this method comprises:
Step 302, the request of business interface dynamic construction, business interface dynamic construction request further include: the visitor of business are obtained Family domain, order domain and product domain;
Step 304, it is requested according to business interface dynamic construction, reads corresponding with business service correlation information and corresponding Item of information define and generate collection of information items;
Step 306, according to client domain, order domain and the corresponding business of product domain construction in the request of business Interface Construction Interface framework;
Step 308, by collection of information items according to the sequential configuration item of information tree of configuration;
Step 310, item of information attribute, item of information association and item of information event are read, and corresponding item of information is carried out Corresponding configuration;
Step 312, business interface is initialized.
In the present embodiment, by obtain the client domain of business in the request of business interface dynamic construction, order domain and Product domain, and according to client domain, order domain and the corresponding business interface box of product domain construction in the request of business Interface Construction Frame realizes the service handling interface for reaching complete construction special scenes to different business frameworks is constructed based on different business, And it can realize the complete function that typing information --- data verification -- order is submitted.
In one embodiment, a kind of business interface dynamic construction method is provided, as shown in figure 4, will letter in this method Before the step of ceasing sequential configuration item of information tree of the item set according to configuration further include:
Step 402, configuration file is obtained, configuration file includes: that item of information defines configuration file and is associated with business scenario and matches Set file;
Step 404, it includes the mark to item of information, coding, ownership scope and letter in configuration file that item of information, which defines, Cease the configuration of item input type;
Step 406, include in business scenario associated configuration file and the associated item of information attribute configuration of business scenario, information Item associated configuration and item of information event configuration.
Specifically, with reference to Fig. 9, the configuration of item of information includes following module: item of information defines, business scenario is associated with, Item of information attribute, item of information association and item of information event.It should be understood that above-mentioned configuration information, each business scenario is needed Complete configuration is carried out, the processing for not having reference is configured between each scene.For typical business scenario, system prefabricated molds Plate, after each new business can do related personalized adjustment based on template, i.e., exportable one new business scenario configuration.
In a specific embodiment, item of information attribute configuration includes:
The configuration for the association attributes that item of information is shown and is operated;
Wherein, configurable data include: maximum value, minimum value, information entry value length, front and back is sewed and specific choosing value model It encloses.
Specifically, item of information attribute configuration is shown for configuration information item, operational some association attributes include: that can match Set data include maximum value, minimum value, information entry value length, front and back sew, specific choosing value range etc..
In a specific embodiment, item of information associated configuration includes:
To the associated configuration between item of information include: between item of information and item of information be associated with control, information entry value with Being associated between control and item of information and item of information attribute between information entry value is associated with control;
Wherein, configurable data includes: source/target service scene identity, source/target information entry value, association type, target Optional type and target can action types.
Specifically, item of information associated configuration can configure the association control between item of information, comprising: between item of information and item of information Association control, being associated between control, item of information and item of information attribute between information entry value and information entry value be associated with control Deng;Configurable data includes source business scenario mark, source information entry value, target service scene identity, target information entry value, association The optional type of type, target, target can action types etc..
In a specific embodiment, item of information event configuration includes:
Configuration to item of information event includes: initialization event, choosing value variation event, verifying event and submits event, So as to carry out corresponding logical process in different trigger points;
Wherein, configurable data includes: business scenario mark, event type and event functions title.
Specifically, the configurable item of information event of item of information event configuration includes initialization event, choosing value variation event, tests Card event, submission event etc. can carry out relevant logical process in different trigger points;Configurable data includes business field Scape mark, event type, event functions title etc..
In the present embodiment, it can be achieved that for different business scenarios, carried out according to the configuration to different business scene a After propertyization adjustment, i.e., an exportable new business scenario, to meet personalized business scenario demand.
In one embodiment, a kind of business interface dynamic construction method is provided, as shown in figure 5, reading in this method Item of information attribute, item of information association and item of information event, and the step of being configured accordingly to corresponding item of information includes:
Step 502, item of information attribute configuration is read, the item of information being related to is subjected to wash with watercolours according to the item of information attribute configuration Dye;
Step 504, item of information associated configuration is read, by the associated configuration data being related to injection item of information association control container In, to be called for subsequent triggers;
Step 506, item of information event configuration and event handling unit file are read, the correlation function being related to is registered to finger In fixed item of information event.
Specifically, computer equipment reads item of information attribute first, and the item of information being related to is rendered by configuration;Then it reads Item of information associated configuration calls associated configuration data injection item of information association control container for subsequent triggers;It last reads Item of information event configuration and event handling unit (such as: js file), correlation function is registered to specified item of information event;
In the present embodiment, it can realize that the Interface Construction of service system, configuration information are all constructions based on configuration It is read before interface from database, event handling code javascript file process, so to the construction at item of information interface, repairing The js file that operations only need more new database configuration and web server such as change, without restarting, refreshes interface, that is, visible effect Fruit matches i.e. gained, the development efficiency for accepting interface can be greatly improved, facilitate operation expanding.And it is configured in the present embodiment The interface of realization, not still one webpage of dynamic construction, the page constructed is that have for certain business scenario, and including record Enter the functions such as verification and the submission of information.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 6, providing a kind of business interface dynamic construction device 600, the device packet It includes:
Module 601 is obtained, for obtaining the request of business interface dynamic construction;
Generation module 602 reads service correlation information corresponding with business for requesting according to business interface dynamic construction And corresponding item of information defines and generates collection of information items;
Constructing module 603, for the sequential configuration item of information tree by collection of information items according to configuration;
Configuration module 604, for reading item of information attribute, item of information association and item of information event, and to corresponding letter Breath item is configured accordingly;
Initialization module 605, for being initialized to business interface.
In one embodiment, as shown in fig. 7, providing a kind of business interface dynamic construction device 600, which also wraps It includes:
Frame module 606, for according to client domain, order domain and the product domain construction pair in the request of business Interface Construction The business interface framework answered.
In one embodiment, module 601 is obtained to be also used to:
Configuration file is obtained, configuration file includes: that item of information defines configuration file and business scenario associated configuration file;Letter It includes the mark to item of information, coding, the configuration for belonging to scope and item of information input type in configuration file that breath item, which defines,; Include in business scenario associated configuration file and the associated item of information attribute configuration of business scenario, item of information associated configuration and letter Cease item event configuration.
In one embodiment, item of information attribute configuration includes: the association attributes that item of information is shown and is operated Configuration;Wherein, configurable data include: maximum value, minimum value, information entry value length, front and back is sewed and specific choosing value model It encloses.
In one embodiment, it includes: item of information that item of information associated configuration, which includes: to the associated configuration between item of information, Being associated between control, information entry value and information entry value between item of information is associated with control and item of information and item of information attribute Between association control;Wherein, configurable data includes: source/target service scene identity, source/target information entry value, association class The optional type of type, target and target can action types.
In one embodiment, item of information event configuration include: to the configuration of item of information event include: initialization event, Choosing value variation event, verifying event and submission event, so as to carry out corresponding logical process in different trigger points;Wherein, Configurable data includes: business scenario mark, event type and event functions title.
In one embodiment, configuration module 604 is also used to:
Item of information attribute configuration is read, the item of information being related to is rendered according to item of information attribute configuration;
Read item of information associated configuration, by the associated configuration data being related to injection item of information association control container in, with It is called in subsequent triggers;
Item of information event configuration and event handling unit file are read, the correlation function being related to is registered to specified information In item event.
Specific restriction about business interface dynamic construction device 600 may refer to above for business interface dynamic structure The restriction of method is made, details are not described herein.
In one embodiment, a kind of computer equipment is provided, internal structure chart can be as shown in Figure 8.The calculating Machine equipment includes processor, memory and the network interface connected by system bus.Wherein, the processing of the computer equipment Device is for providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.It should Non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile memories Jie The operation of operating system and computer program in matter provides environment.The network interface of the computer equipment is used for and external end End passes through network connection communication.To realize a kind of business interface dynamic construction method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 8, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor are realized when executing computer program in above each embodiment of the method The step of.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated The step in above each embodiment of the method is realized when machine program is executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of business interface dynamic construction method, which comprises
The request of acquisition business interface dynamic construction;
It is requested according to business interface dynamic construction, reads service correlation information corresponding with the business and corresponding letter Breath item defines and generates collection of information items;
By the collection of information items according to the sequential configuration item of information tree of configuration;
Item of information attribute, item of information association and item of information event are read, and corresponding item of information is configured accordingly;
Business interface is initialized.
2. business interface according to claim 1 dynamic construction method, which is characterized in that business interface dynamic construction Request further include: client domain, order domain and the product domain of the business;
It is requested described according to business interface dynamic construction, reads corresponding with business service correlation information and right After the step of item of information answered defines and generates collection of information items further include:
According to client domain, order domain and the corresponding business interface box of product domain construction in business Interface Construction request Frame.
3. business interface according to claim 1 dynamic construction method, which is characterized in that described by the collection of information items According to configuration sequential configuration item of information tree the step of before further include:
Configuration file is obtained, the configuration file includes: that item of information defines configuration file and business scenario associated configuration file;
It includes the mark to item of information, coding, ownership scope and item of information input in configuration file that the item of information, which defines, The configuration of type;
It include being closed with the associated item of information attribute configuration of the business scenario, item of information in the business scenario associated configuration file Connection configuration and item of information event configuration.
4. business interface according to claim 3 dynamic construction method, which is characterized in that the item of information attribute configuration packet It includes:
The configuration for the association attributes that the item of information is shown and is operated;
Wherein, configurable data include: maximum value, minimum value, information entry value length, front and back is sewed and specific choosing value range.
5. business interface according to claim 3 dynamic construction method, which is characterized in that the item of information associated configuration packet It includes:
To the associated configuration between the item of information include: between item of information and item of information be associated with control, information entry value with Being associated between control and item of information and item of information attribute between information entry value is associated with control;
Wherein, configurable data includes: that source/target service scene identity, source/target information entry value, association type, target are optional Type and target can action types.
6. business interface according to claim 3 dynamic construction method, which is characterized in that the item of information event configuration packet It includes:
Configuration to the item of information event includes: initialization event, choosing value variation event, verifying event and submits event, So as to carry out corresponding logical process in different trigger points;
Wherein, configurable data includes: business scenario mark, event type and event functions title.
7. the business interface dynamic construction method according to any one of claim 3-6, which is characterized in that the reading letter Item attribute, item of information association and item of information event are ceased, and the step of being configured accordingly to corresponding item of information includes:
Item of information attribute configuration is read, the item of information being related to is rendered according to the item of information attribute configuration;
Item of information associated configuration is read, the associated configuration data being related to injection item of information association is controlled in container, after being used for Continuous triggering is called;
Item of information event configuration and event handling unit file are read, the correlation function being related to is registered to specified item of information thing In part.
8. a kind of business interface dynamic construction device, which is characterized in that the business interface dynamic construction device includes:
Module is obtained, the acquisition module is for obtaining the request of business interface dynamic construction;
Generation module, the generation module are used to be requested according to business interface dynamic construction, read corresponding with the business Service correlation information and corresponding item of information define and generate collection of information items;
Constructing module, the constructing module are used for the collection of information items according to the sequential configuration item of information tree of configuration;
Configuration module, the configuration module are used to read item of information attribute, item of information association and item of information event, and to correspondence Item of information configured accordingly;
Initialization module, the initialization module is for initializing business interface.
9. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes any one of claims 1 to 7 institute when executing the computer program The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811535089.6A 2018-12-14 2018-12-14 Business interface dynamic construction method and device, computer equipment and storage medium Active CN109582313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811535089.6A CN109582313B (en) 2018-12-14 2018-12-14 Business interface dynamic construction method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811535089.6A CN109582313B (en) 2018-12-14 2018-12-14 Business interface dynamic construction method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109582313A true CN109582313A (en) 2019-04-05
CN109582313B CN109582313B (en) 2022-02-22

Family

ID=65928644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811535089.6A Active CN109582313B (en) 2018-12-14 2018-12-14 Business interface dynamic construction method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109582313B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464323A (en) * 2019-09-06 2021-03-09 久瓴(江苏)数字智能科技有限公司 Tiger window generation method and device, computer equipment and storage medium
CN112596708A (en) * 2020-12-16 2021-04-02 平安普惠企业管理有限公司 Webpage generating method and device, computer equipment and storage medium
CN112631630A (en) * 2020-12-25 2021-04-09 北京搜房科技发展有限公司 Service configuration updating method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2290530A1 (en) * 2009-08-23 2011-03-02 Bank of America Corporation Widget framework
CN106886418A (en) * 2017-03-27 2017-06-23 湛江市霞山区新软佳科技有限公司 Html interface control is pasted
CN106936871A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 The method and device of showing interface data
CN107729005A (en) * 2017-10-12 2018-02-23 福建富士通信息软件有限公司 A kind of visualization business interface Dynamic Configuration based on H5

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2290530A1 (en) * 2009-08-23 2011-03-02 Bank of America Corporation Widget framework
CN106936871A (en) * 2015-12-30 2017-07-07 阿里巴巴集团控股有限公司 The method and device of showing interface data
CN106886418A (en) * 2017-03-27 2017-06-23 湛江市霞山区新软佳科技有限公司 Html interface control is pasted
CN107729005A (en) * 2017-10-12 2018-02-23 福建富士通信息软件有限公司 A kind of visualization business interface Dynamic Configuration based on H5

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112464323A (en) * 2019-09-06 2021-03-09 久瓴(江苏)数字智能科技有限公司 Tiger window generation method and device, computer equipment and storage medium
CN112464323B (en) * 2019-09-06 2023-01-06 久瓴(江苏)数字智能科技有限公司 Tiger window generation method and device, computer equipment and storage medium
CN112596708A (en) * 2020-12-16 2021-04-02 平安普惠企业管理有限公司 Webpage generating method and device, computer equipment and storage medium
CN112631630A (en) * 2020-12-25 2021-04-09 北京搜房科技发展有限公司 Service configuration updating method and device

Also Published As

Publication number Publication date
CN109582313B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN110765099B (en) Service construction method and device and computer equipment
CN109901834B (en) Document page generation method, device, computer equipment and storage medium
CN112416339A (en) Page development method and device and computer equipment
CN109634654A (en) A kind of page packaging method, device, system, computer equipment and storage medium
CN108920354A (en) Bury a management method, device, computer equipment and storage medium
CN111930370A (en) Visualized page processing method and device, computer equipment and storage medium
CN109254773A (en) Skeleton page generation method, device, equipment and storage medium
CN109582313A (en) Business interface dynamic construction method, device, computer equipment and storage medium
CN112800370B (en) Processing method and device of business document, computer equipment and storage medium
CN111522552B (en) Sub-application generation method and device, computer equipment and storage medium
CN109871500A (en) Page loading method, device, computer equipment and storage medium
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
CN110955418A (en) Code generation method and device, computer equipment and storage medium
CN108255566B (en) Data entry optimization processing method and device, computer equipment and storage medium
CN107451184A (en) Page display method and device, user equipment, storage medium
CN109582890A (en) Page loading method, device, computer equipment and storage medium
CN110413922A (en) Page info display methods, device, computer equipment and storage medium
CN109840083A (en) Web pages component template construction method, device, computer equipment and storage medium
CN108491195A (en) Equipment controls page generation method and system
CN112486828A (en) Test case generation method and device, computer equipment and storage medium
CN105589959A (en) Form processing method and form processing system
CN108418797A (en) Web access method, device, computer equipment and storage medium
CN112464633A (en) Template generation method and device, electronic equipment and storage medium
CN117093316B (en) Cross-platform page rendering system, electronic equipment and storage medium
CN113283228A (en) Document generation method and device, electronic equipment and storage medium

Legal Events

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