CN114911479A - Interface generation method, device, equipment and storage medium based on configuration - Google Patents

Interface generation method, device, equipment and storage medium based on configuration Download PDF

Info

Publication number
CN114911479A
CN114911479A CN202210593971.6A CN202210593971A CN114911479A CN 114911479 A CN114911479 A CN 114911479A CN 202210593971 A CN202210593971 A CN 202210593971A CN 114911479 A CN114911479 A CN 114911479A
Authority
CN
China
Prior art keywords
interface
configuration
elements
service data
generation method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210593971.6A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202210593971.6A priority Critical patent/CN114911479A/en
Publication of CN114911479A publication Critical patent/CN114911479A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to research and development management, and discloses a configuration-based interface generation method, which comprises the following steps: acquiring a historical interface to be referred, and identifying a plurality of interface elements in the historical interface to be referred; performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements; respectively carrying out configuration processing on a plurality of standard reference elements to obtain an element configuration module; and receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface. In addition, the invention also relates to a block chain technology, and the standard reference element can be stored in a node of the block chain. The invention also provides an interface generating device based on configuration, electronic equipment and a storage medium. The invention can improve the efficiency of interface generation.

Description

Interface generation method, device, equipment and storage medium based on configuration
Technical Field
The present invention relates to the field of research and development management, and in particular, to a configuration-based interface generation method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of services, system functions are lost due to the flow of people, various functions of a service system are urgently required to be displayed through an interface of a rear-end management system, and the requirement of a front-end interface developer for the increase of service functions is increased, so that an interface generation method needs to be provided.
The existing interface generation method usually generates a single add-delete check or interface drag function through an associated database, the method is only suitable for simple single-table service development, the drag function is limited to a front-end specific technical framework, and therefore the efficiency of interface generation is low, and therefore a more efficient interface generation method is urgently needed to be provided.
Disclosure of Invention
The invention provides a configuration-based interface generation method and device, an electronic device and a storage medium, and aims to improve the efficiency of interface generation.
In order to achieve the above object, the present invention provides a configuration-based interface generation method, including:
acquiring a historical interface to be referred, and identifying a plurality of interface elements in the historical interface to be referred;
performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements;
respectively carrying out configuration processing on a plurality of standard reference elements to obtain an element configuration module;
and receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
Optionally, the identifying a plurality of interface elements in the historical interface to be referred to includes:
identifying a universal socket corresponding to a plurality of interface element positioning plug-ins, wherein interface calling information is configured in the universal socket;
and reading the element class name of the interface element and the interface element in the historical interface to be referred through the universal socket.
Optionally, before the identifying of the universal socket corresponding to the multiple interface element positioning plug-in, the method further includes:
acquiring various interface element positioning plug-ins corresponding to various interface generating frames;
and generating a universal interface according to the interface information of the positioning plug-in of the various interface elements.
Optionally, the performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements includes:
acquiring the element quantity of a plurality of interface elements, generating corresponding digital codes for the plurality of interface elements according to the element quantity, and displaying the corresponding digital codes at the positions of the interface elements;
analyzing the interface function request to obtain an analysis function text, extracting a function keyword in the analysis function text, and searching in a preset code reference table to obtain a target digital code corresponding to the function keyword;
and determining corresponding interface elements according to the target digital codes, and taking the corresponding interface elements as standard reference elements.
Optionally, the generating corresponding digital codes for the plurality of interface elements according to the number of the elements includes:
comparing the number of elements with a preset reference threshold;
when the number of the elements is smaller than or equal to the reference threshold value, digitally coding the interface elements by adopting a preset first coding rule to obtain digital codes corresponding to the interface elements;
and when the number of the elements is larger than the reference threshold value, digitally coding the interface elements by adopting a preset second coding rule to obtain digital codes corresponding to the interface elements.
Optionally, the configuring the plurality of standard reference elements respectively to obtain an element configuration module includes:
identifying a first element, a second element and a third element of the plurality of standard reference elements respectively;
performing element addition processing on the first element to obtain a first configuration element;
carrying out element modification processing on the second element based on a preset modification rule to obtain a second configuration element;
performing authority configuration processing on the third element to obtain a third configuration element;
and integrating the first configuration element, the second configuration element and the third configuration element to obtain an element configuration module.
Optionally, the interface display of the service data based on the element configuration module to obtain a service data interface includes:
performing data cleaning on the service data to obtain standard data;
and performing data configuration on the standard data based on the element configuration module to obtain a service data interface.
In order to solve the above problem, the present invention further provides a configuration-based interface generation apparatus, including:
the element identification module is used for acquiring a historical interface to be referred to and identifying a plurality of interface elements in the historical interface to be referred to;
the element screening module is used for carrying out element screening on the interface elements according to the received interface function request to obtain a plurality of standard reference elements;
the configuration module is used for respectively performing configuration processing on the plurality of standard reference elements to obtain an element configuration module;
and the interface display module is used for receiving the service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the configuration-based interface generation method described above.
In order to solve the above problem, the present invention further provides a storage medium, in which at least one computer program is stored, and the at least one computer program is executed by a processor in an electronic device to implement the configuration-based interface generation method described above.
In the embodiment of the invention, a plurality of interface elements in a historical interface to be referred to are identified, and element screening is carried out on the plurality of interface elements according to a received interface function request to obtain a plurality of standard reference elements, the standard reference elements can be used as a data base for subsequent configuration, the plurality of standard reference elements are respectively configured to obtain an element configuration module, the element configuration module can be used as a reference module for generating an efficient interface, service data in a preset aggregation platform is received, and the service data is subjected to interface display based on the element configuration module to obtain a service data interface. The efficiency of interface generation is improved. Therefore, the interface generation method, the interface generation device, the electronic equipment and the storage medium based on configuration can solve the problem of low efficiency of interface generation.
Drawings
Fig. 1 is a schematic flowchart of a configuration-based interface generation method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 3 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 4 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 5 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 4;
FIG. 6 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 7 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 8 is a functional block diagram of a configuration-based interface generation apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device for implementing the configuration-based interface generation method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides an interface generation method based on configuration. The execution subject of the configuration-based interface generation method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the configuration-based interface generation method may be executed by software or hardware installed in the terminal device or the server device, and the software may be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Fig. 1 is a schematic flow chart of a configuration-based interface generation method according to an embodiment of the present invention. In this embodiment, the configuration-based interface generating method includes the following steps S1-S4:
s1, acquiring the historical interface to be referred to, and identifying a plurality of interface elements in the historical interface to be referred to.
In the embodiment of the present invention, the history interface to be referred refers to a management interface in a backend management system, where the history interface to be referred includes a plurality of interface elements with different functions, each interface element has a different function, and the interface elements may be icons and cursors, menus, toolbars, status bars, or interactive objects.
Because one historical interface to be referred to often contains more than one interface element, a plurality of interface elements in the historical interface to be referred to need to be identified, and the plurality of interface elements are taken as references, so that element disassembly is convenient to perform subsequently.
Specifically, referring to fig. 2, the identifying a plurality of interface elements in the history interface to be referred to includes the following steps S11-S12:
s11, identifying a universal socket corresponding to the various interface element positioning plug-ins, wherein the universal socket is configured with interface calling information;
s12, reading the element class name of the interface element and the interface element in the history interface to be referred through the universal socket.
In detail, the interface element positioning plug-in is used for positioning the interface element in the interface, and the general interface is configured with interface calling information for instructing calling of interfaces of the interface element positioning plug-in. The universal interface is a unified external interface and is used for reading interface elements in the interfaces generated by different interface generation frames. The generic interface may be an interface that has been generated or that is generated temporarily from a variety of interface elements to locate the plug-in. By reading the interface calling information in the universal interface, the interface of each interface element positioning plug-in can be called, and then the interface elements read by the universal interface can be sent to the corresponding interface element positioning plug-ins so as to be positioned by the corresponding interface element positioning plug-ins.
Further, referring to fig. 3, before the universal socket corresponding to the multiple interface element positioning plug-ins is identified, the method further includes the following steps S101 to S102:
s101, acquiring various interface element positioning plug-ins corresponding to various interface generation frames;
and S102, generating a universal interface according to the interface information of the positioning plug-in of the various interface elements.
In detail, the universal interface is an interface generated according to interface information of a plurality of interface element positioning plugins corresponding to a plurality of interface generation frames, so that the interface of each interface element positioning plugin can be called through the universal interface.
For example, assume that UILocator is an interface element locator of an interface generated for a UI build framework for element locating an interface element of a UI interface. The UILocator may perform element positioning on interfaces generated by various classes of UI building frameworks. Such as the IE interface, the Sap interface, the Chrome interface, etc. The UILocator sets up a unified external interface, i.e., a universal interface. After the interface element can be read through the interface of the UILocator, the positioning information of the interface element is acquired by the interface element positioning plug-in IELocator, SapLocator or ChromeLocator.
And S2, performing element screening on the interface elements according to the received interface function request to obtain a plurality of standard reference elements.
In the embodiment of the present invention, the interface function request refers to a requirement of what operation needs to be performed on an interface, for example, an interface function is newly added, an interface function is modified, and the like. Because the interface elements required by different interface functions are different, one or more interface elements need to be screened from the plurality of interface elements for subsequent configuration processing.
Specifically, referring to fig. 4, the performing element filtering on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements includes the following steps S21-S23:
s21, acquiring the number of the interface elements, generating corresponding digital codes for the interface elements according to the number of the interface elements, and displaying the corresponding digital codes at the positions of the interface elements;
s22, analyzing the interface function request to obtain an analysis function text, extracting function keywords in the analysis function text, and searching in a preset code reference table to obtain a target digital code corresponding to the function keywords;
and S23, determining the corresponding interface element according to the target digital code, and taking the corresponding interface element as a standard reference element.
In detail, the interface element may be a series of elements that can satisfy the interaction requirement of the user, included in a software or system interface that can satisfy the interaction requirement, such as: windows, dialog boxes, menus, scroll bars or icons, etc.
Further, referring to fig. 5, the generating corresponding digital codes for a plurality of interface elements according to the number of the elements includes the following steps S201 to S203:
s201, comparing the element number with a preset reference threshold;
s202, when the number of the elements is smaller than or equal to the reference threshold value, digitally coding the interface elements by adopting a preset first coding rule to obtain digital codes corresponding to the interface elements;
and S203, when the number of the elements is larger than the reference threshold value, digitally encoding the interface elements by adopting a preset second encoding rule to obtain digital codes corresponding to the interface elements.
In detail, the reference threshold may be set according to different requirements, for example: when the reference threshold is set to 10, namely when the number of the interface elements is less than or equal to 10, encoding each interface element according to an encoding rule (namely a first encoding rule) of 0-9; when the number of elements is greater than 10, each interface element can be encoded according to the encoding rule of 00-99 (i.e. the second encoding rule) (00, 01, 02 … … 99).
And S3, respectively carrying out configuration processing on the plurality of standard reference elements to obtain an element configuration module.
In the embodiment of the invention, the element configuration module is obtained by configuring the standard reference element, wherein the element configuration module can improve the research and development efficiency and is used as a basic configuration module for subsequent use.
Specifically, referring to fig. 6, the configuring the plurality of standard reference elements to obtain an element configuration module includes the following steps S31 to S35:
s31, respectively identifying a first element, a second element and a third element in the plurality of standard reference elements;
s32, performing element adding processing on the first element to obtain a first configuration element;
s33, carrying out element modification processing on the second element based on a preset modification rule to obtain a second configuration element;
s34, performing authority configuration processing on the third element to obtain a third configuration element;
s35, integrating the first configuration element, the second configuration element and the third configuration element to obtain an element configuration module.
In detail, in this scheme, the first element is a menu, the second element is a header, and the third element is a permission. The element adding processing on the first element refers to adding a new menu processing, generally, adding a submenu below a main menu, for example, the main menu is a system management, financial management, system monitoring and system tool, and a plurality of submenus such as a payment record, cost information, a refund list, a historical payment record and the like can be added under the main menu financial management. And performing element modification processing on the second element based on a preset modification rule refers to selecting an insertion option, an editing option and a list option in a header and filling in the header such as a field column name, a field description and a physical type. For example, the field column name is Id, the field description is null, the physical type is Int (11), the Java type is Long, the Java attribute is Id, and so on. The permission configuration processing of the third element refers to selection of permission opening, and in the scheme, the permission of the financial management department is only directed at a non-mortgage product department, but not directed at a non-mortgage engine configurator, a non-mortgage stock auditor a non-mortgage stock configurator and the like.
S4, receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
In the embodiment of the present invention, the preset aggregation platform refers to a service platform that provides a data source when data selection is performed, and all data sources can obtain data from the service platform.
Specifically, referring to fig. 7, the interface displaying the service data based on the element configuration module to obtain a service data interface includes the following steps S41-S42:
s41, performing data cleaning on the service data to obtain standard data;
and S42, performing data configuration on the standard data based on the element configuration module to obtain a service data interface.
In detail, the data cleansing includes, but is not limited to, data deletion, data verification, and the like, in order to ensure the accuracy of standard data while avoiding data redundancy.
In the embodiment of the invention, a plurality of interface elements in a historical interface to be referred to are identified, and element screening is carried out on the plurality of interface elements according to a received interface function request to obtain a plurality of standard reference elements, the standard reference elements can be used as a data base for subsequent configuration, the plurality of standard reference elements are respectively configured to obtain an element configuration module, the element configuration module can be used as a reference module for generating an efficient interface, service data in a preset aggregation platform is received, and the service data is subjected to interface display based on the element configuration module to obtain a service data interface. The efficiency of interface generation is improved. Therefore, the interface generation method based on configuration can solve the problem of low efficiency of interface generation.
Fig. 8 is a functional block diagram of an interface generating apparatus based on configuration according to an embodiment of the present invention.
The configuration-based interface generating apparatus 100 according to the present invention may be installed in an electronic device. According to the implemented functions, the configuration-based interface generating apparatus 100 may include an element identifying module 101, an element filtering module 102, a configuration module 103, and an interface displaying module 104. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the element identification module 101 is configured to obtain a historical interface to be referred to, and identify a plurality of interface elements in the historical interface to be referred to;
the element screening module 102 is configured to perform element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements;
the configuration module 103 is configured to perform configuration processing on the plurality of standard reference elements respectively to obtain an element configuration module;
the interface display module 104 is configured to receive service data in a preset aggregation platform, and perform interface display on the service data based on the element configuration module to obtain a service data interface.
In detail, the configuration-based interface generating apparatus 100 includes the following modules:
the method comprises the steps of firstly, obtaining a historical interface to be referred to, and identifying a plurality of interface elements in the historical interface to be referred to.
In the embodiment of the present invention, the history interface to be referred refers to a management interface in a backend management system, where the history interface to be referred includes a plurality of interface elements with different functions, each interface element has a different function, and the interface elements may be icons and cursors, menus, toolbars, status bars, or interactive objects.
Because one historical interface to be referred to often contains more than one interface element, a plurality of interface elements in the historical interface to be referred to need to be identified, and the plurality of interface elements are taken as references, so that element disassembly is convenient to perform subsequently.
Specifically, the identifying a plurality of interface elements in the historical interface to be referred to includes:
identifying a universal socket corresponding to a plurality of interface element positioning plug-ins, wherein interface calling information is configured in the universal socket;
and reading the element class name of the interface element and the interface element in the historical interface to be referred through the universal socket.
In detail, the interface element positioning plug-in is used for positioning the interface element in the interface, and the general interface is configured with interface calling information for instructing calling of interfaces of the interface element positioning plug-in. The universal interface is a unified external interface and is used for reading interface elements in the interfaces generated by different interface generation frames. The generic interface may be an interface that has been generated or that is generated temporarily from a variety of interface elements to locate the plug-in. By reading the interface calling information in the universal interface, the interface of each interface element positioning plug-in can be called, and then the interface elements read by the universal interface can be sent to the corresponding interface element positioning plug-ins so as to be positioned by the corresponding interface element positioning plug-ins.
Further, before the universal socket corresponding to the plurality of interface element positioning plug-ins is identified, the method further includes:
acquiring various interface element positioning plug-ins corresponding to various interface generating frames;
and generating a universal interface according to the interface information of the positioning plug-in of the various interface elements.
In detail, the universal interface is an interface generated according to interface information of a plurality of interface element positioning plugins corresponding to a plurality of interface generation frames, so that the interface of each interface element positioning plugin can be called through the universal interface.
For example, assume that UILocator is an interface element locator of an interface generated for a UI build framework for element locating an interface element of a UI interface. The UILocator may perform element positioning on interfaces generated by various classes of UI building frameworks. Such as the IE interface, the Sap interface, the Chrome interface, etc. The UILocator sets up a unified external interface, i.e., a universal interface. After the interface element can be read through the interface of the UILocator, the positioning information of the interface element is acquired by the interface element positioning plug-in IELocator, SapLocator or ChromeLocator.
And secondly, performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements.
In the embodiment of the present invention, the interface function request refers to a requirement of what operation needs to be performed on an interface, for example, an interface function is newly added, an interface function is modified, and the like. Because the interface elements required by different interface functions are different, one or more interface elements need to be screened from the plurality of interface elements for subsequent configuration processing.
Specifically, the performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements includes:
acquiring the element quantity of a plurality of interface elements, generating corresponding digital codes for the plurality of interface elements according to the element quantity, and displaying the corresponding digital codes at the positions of the interface elements;
analyzing the interface function request to obtain an analysis function text, extracting a function keyword in the analysis function text, and searching in a preset code reference table to obtain a target digital code corresponding to the function keyword;
and determining corresponding interface elements according to the target digital codes, and taking the corresponding interface elements as standard reference elements.
In detail, the interface element may be a series of elements that can satisfy the interaction requirement and are included in a software or system interface that can satisfy the interaction requirement, such as: windows, dialog boxes, menus, scroll bars or icons, etc.
Further, the generating corresponding digital codes for the plurality of interface elements according to the number of the elements includes:
comparing the number of elements with a preset reference threshold;
when the number of the elements is smaller than or equal to the reference threshold value, digitally coding the interface elements by adopting a preset first coding rule to obtain digital codes corresponding to the interface elements;
and when the number of the elements is larger than the reference threshold value, digitally coding the interface elements by adopting a preset second coding rule to obtain digital codes corresponding to the interface elements.
In detail, the reference threshold may be set according to different requirements, for example: when the reference threshold is set to 10, namely when the number of the interface elements is less than or equal to 10, encoding each interface element according to an encoding rule (namely a first encoding rule) of 0-9; when the number of elements is greater than 10, each interface element can be encoded according to the encoding rule of 00-99 (i.e. the second encoding rule) (00, 01, 02 … … 99).
And step three, respectively carrying out configuration processing on the plurality of standard reference elements to obtain an element configuration module.
In the embodiment of the invention, the element configuration module is obtained by configuring the standard reference element, wherein the element configuration module can improve the research and development efficiency and is used as a basic configuration module for subsequent use.
Specifically, the configuring the plurality of standard reference elements respectively to obtain an element configuration module includes:
identifying a first element, a second element and a third element of the plurality of standard reference elements respectively;
performing element addition processing on the first element to obtain a first configuration element;
carrying out element modification processing on the second element based on a preset modification rule to obtain a second configuration element;
performing authority configuration processing on the third element to obtain a third configuration element;
and integrating the first configuration element, the second configuration element and the third configuration element to obtain an element configuration module.
In detail, in this scheme, the first element is a menu, the second element is a header, and the third element is a permission. The element adding processing on the first element refers to adding a new menu processing, generally, adding a submenu below a main menu, for example, the main menu is a system management, financial management, system monitoring and system tool, and a plurality of submenus such as a payment record, cost information, a refund list, a historical payment record and the like can be added under the main menu financial management. And performing element modification processing on the second element based on a preset modification rule refers to selecting an insertion option, an editing option and a list option in a header and filling in the header such as a field column name, a field description and a physical type. For example, the field column name is Id, the field description is null, the physical type is Int (11), the Java type is Long, the Java attribute is Id, and so on. The permission configuration processing of the third element refers to selection of permission opening, and in the scheme, the permission of the financial management department is only directed at a non-mortgage product department, but not directed at a non-mortgage engine configurator, a non-mortgage stock auditor a non-mortgage stock configurator and the like.
And step four, receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
In the embodiment of the present invention, the preset aggregation platform refers to a service platform that provides a data source when data selection is performed, and all data sources can obtain data from the service platform.
Specifically, the interface display of the service data based on the element configuration module to obtain a service data interface includes:
performing data cleaning on the service data to obtain standard data;
and performing data configuration on the standard data based on the element configuration module to obtain a service data interface.
In detail, the data cleansing includes, but is not limited to, data deletion, data verification, and the like, in order to ensure the accuracy of standard data while avoiding data redundancy.
In the embodiment of the invention, a plurality of interface elements in a historical interface to be referred to are identified, and element screening is carried out on the plurality of interface elements according to a received interface function request to obtain a plurality of standard reference elements, the standard reference elements can be used as a data base for subsequent configuration, the plurality of standard reference elements are respectively configured to obtain an element configuration module, the element configuration module can be used as a reference module for generating an efficient interface, service data in a preset aggregation platform is received, and the service data is subjected to interface display based on the element configuration module to obtain a service data interface. The efficiency of interface generation is improved. Therefore, the interface generation device based on configuration provided by the invention can solve the problem of low efficiency of interface generation.
Fig. 9 is a schematic structural diagram of an electronic device for implementing a configuration-based interface generation method according to an embodiment of the present invention.
The electronic device 1 may include a processor 10, a memory 11, a communication bus 12, and a communication interface 13, and may further include a computer program, such as a configuration-based interface generation program, stored in the memory 11 and executable on the processor 10.
In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, a combination of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (for example, executing a configuration-based interface generation program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The memory 11 includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used to store not only application software installed in the electronic device and various types of data, such as codes of a configured interface generation program, but also data that has been output or is to be output temporarily.
The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
The communication interface 13 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
Fig. 9 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 9 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management and the like are realized through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The configuration-based interface generation program stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, can realize:
acquiring a historical interface to be referred, and identifying a plurality of interface elements in the historical interface to be referred;
performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements;
respectively carrying out configuration processing on a plurality of standard reference elements to obtain an element configuration module;
and receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiment corresponding to the drawing, and is not repeated here.
Further, the integrated modules/units of the electronic device 1 may be stored in a storage medium if they are implemented in the form of software functional units and sold or used as separate products. The storage medium may be volatile or nonvolatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, a recording medium, a usb-disk, a removable hard disk, a magnetic diskette, an optical disk, a computer Memory, a Read-Only Memory (ROM).
The present invention also provides a storage medium, which is readable and stores a computer program that, when executed by a processor of an electronic device, can implement:
acquiring a historical interface to be referred, and identifying a plurality of interface elements in the historical interface to be referred;
performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements;
respectively carrying out configuration processing on a plurality of standard reference elements to obtain an element configuration module;
and receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. A configuration-based interface generation method, comprising:
acquiring a historical interface to be referred, and identifying a plurality of interface elements in the historical interface to be referred;
performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements;
respectively carrying out configuration processing on a plurality of standard reference elements to obtain an element configuration module;
and receiving service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
2. The configuration-based interface generation method of claim 1, wherein the identifying a plurality of interface elements in the historical interface to be referenced comprises:
identifying a universal socket corresponding to a plurality of interface element positioning plug-ins, wherein interface calling information is configured in the universal socket;
and reading the element class name of the interface element and the interface element in the historical interface to be referred through the universal socket.
3. The configuration-based interface generation method of claim 2, wherein prior to identifying the universal socket to which the plurality of interface element location plug-ins correspond, the method further comprises:
acquiring various interface element positioning plug-ins corresponding to various interface generating frames;
and generating a universal interface according to the interface information of the positioning plug-in of the various interface elements.
4. The configuration-based interface generation method according to claim 1, wherein the performing element screening on the plurality of interface elements according to the received interface function request to obtain a plurality of standard reference elements comprises:
acquiring the element quantity of a plurality of interface elements, generating corresponding digital codes for the plurality of interface elements according to the element quantity, and displaying the corresponding digital codes at the positions of the interface elements;
analyzing the interface function request to obtain an analysis function text, extracting a function keyword in the analysis function text, and searching in a preset code reference table to obtain a target digital code corresponding to the function keyword;
and determining corresponding interface elements according to the target digital codes, and taking the corresponding interface elements as standard reference elements.
5. The configuration-based interface generation method of claim 4, wherein generating corresponding digital codes for a plurality of the interface elements according to the number of elements comprises:
comparing the number of elements with a preset reference threshold;
when the number of the elements is smaller than or equal to the reference threshold value, digitally coding the interface elements by adopting a preset first coding rule to obtain digital codes corresponding to the interface elements;
and when the number of the elements is larger than the reference threshold value, digitally coding the interface elements by adopting a preset second coding rule to obtain digital codes corresponding to the interface elements.
6. The configuration-based interface generation method according to claim 1, wherein the performing the configuration processing on the plurality of standard reference elements to obtain an element configuration module comprises:
identifying a first element, a second element and a third element of the plurality of standard reference elements respectively;
performing element addition processing on the first element to obtain a first configuration element;
carrying out element modification processing on the second element based on a preset modification rule to obtain a second configuration element;
performing authority configuration processing on the third element to obtain a third configuration element;
and integrating the first configuration element, the second configuration element and the third configuration element to obtain an element configuration module.
7. The configuration-based interface generation method according to any one of claims 1 to 6, wherein the interface presentation of the business data based on the element configuration module to obtain a business data interface includes:
performing data cleaning on the service data to obtain standard data;
and performing data configuration on the standard data based on the element configuration module to obtain a service data interface.
8. An apparatus for generating an interface based on configuration, the apparatus comprising:
the element identification module is used for acquiring a historical interface to be referred to and identifying a plurality of interface elements in the historical interface to be referred to;
the element screening module is used for carrying out element screening on the interface elements according to the received interface function request to obtain a plurality of standard reference elements;
the configuration module is used for respectively performing configuration processing on the plurality of standard reference elements to obtain an element configuration module;
and the interface display module is used for receiving the service data in a preset aggregation platform, and performing interface display on the service data based on the element configuration module to obtain a service data interface.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the configuration-based interface generation method of any one of claims 1 to 7.
10. A storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the configuration-based interface generation method according to any one of claims 1 to 7.
CN202210593971.6A 2022-05-27 2022-05-27 Interface generation method, device, equipment and storage medium based on configuration Pending CN114911479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210593971.6A CN114911479A (en) 2022-05-27 2022-05-27 Interface generation method, device, equipment and storage medium based on configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210593971.6A CN114911479A (en) 2022-05-27 2022-05-27 Interface generation method, device, equipment and storage medium based on configuration

Publications (1)

Publication Number Publication Date
CN114911479A true CN114911479A (en) 2022-08-16

Family

ID=82768472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210593971.6A Pending CN114911479A (en) 2022-05-27 2022-05-27 Interface generation method, device, equipment and storage medium based on configuration

Country Status (1)

Country Link
CN (1) CN114911479A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328483A (en) * 2022-08-22 2022-11-11 北京达佳互联信息技术有限公司 Method and device for managing service function entrance, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328483A (en) * 2022-08-22 2022-11-11 北京达佳互联信息技术有限公司 Method and device for managing service function entrance, electronic equipment and storage medium
CN115328483B (en) * 2022-08-22 2024-03-19 北京达佳互联信息技术有限公司 Management method and device for business function entry, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
CN113806434A (en) Big data processing method, device, equipment and medium
CN113434542B (en) Data relationship identification method and device, electronic equipment and storage medium
CN114398194A (en) Data collection method and device, electronic equipment and readable storage medium
CN113468175A (en) Data compression method and device, electronic equipment and storage medium
CN114911479A (en) Interface generation method, device, equipment and storage medium based on configuration
CN112580079A (en) Authority configuration method and device, electronic equipment and readable storage medium
CN111985194A (en) Data storage method and device, electronic equipment and storage medium
CN113434397B (en) Task system testing method and device, electronic equipment and storage medium
CN114896164A (en) Interface optimization method and device, electronic equipment and storage medium
CN114547696A (en) File desensitization method and device, electronic equipment and storage medium
CN113469649A (en) Project progress analysis method and device, electronic equipment and storage medium
CN115220740A (en) Database environment deployment method and device, electronic equipment and storage medium
CN114897624A (en) Policy data merging method, device, equipment and storage medium
CN114398282A (en) Test script generation method, device, equipment and storage medium
CN114461531A (en) Platform adaptability test method, device, equipment and storage medium of test case
CN114510400A (en) Task execution method and device, electronic equipment and storage medium
CN114385155A (en) vue project visualization tool generation method, device, equipment and storage medium
CN114185776A (en) Big data point burying method, device, equipment and medium for application program
CN112328656A (en) Service query method, device, equipment and storage medium based on middle platform architecture
CN112686759A (en) Account checking monitoring method, device, equipment and medium
CN112667244A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN113064797B (en) Front-end monitoring method and device, electronic equipment and storage medium
CN113434365B (en) Data characteristic monitoring method and device, electronic equipment and storage medium
CN113434359B (en) Data traceability system construction method and device, electronic device and readable 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