Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
It should be noted that although functional block division is performed in a device diagram and a logic sequence is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the block division in the device, or in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
First, several nouns involved in the present application are parsed:
Artificial intelligence (ARTIFICIAL INTELLIGENCE, AI), a new technical science that explores, develops, simulates, extends and expands the theory, method, technology and application of human intelligence, is a branch of computer science that attempts to understand the essence of intelligence and produces a new intelligent machine that reacts in a similar way to human intelligence, including robotics, language recognition, image recognition, natural language processing, and expert systems. Artificial intelligence can simulate the information process of consciousness and thinking of people. Artificial intelligence is also a theory, method, technique, and application system that utilizes a digital computer or digital computer-controlled machine to simulate, extend, and expand human intelligence, sense the environment, acquire knowledge, and use knowledge to obtain optimal results.
Natural language processing (natural language processing, NLP) NLP is a branch of artificial intelligence, which is a interdisciplinary of computer science and linguistics, and is often referred to as computational linguistics, where NLP is processed, understood, and applied in human language (e.g., chinese, english, etc.). Natural language processing includes parsing, semantic analysis, chapter understanding, and the like. Natural language processing is commonly used in the technical fields of machine translation, handwriting and print character recognition, voice recognition and text-to-speech conversion, information intent recognition, information extraction and filtering, text classification and clustering, public opinion analysis and opinion mining, and the like, and relates to data mining, machine learning, knowledge acquisition, knowledge engineering, artificial intelligence research, linguistic research related to language calculation, and the like.
Information extraction (Information Extraction, NER) extracts the fact information of the specified type of entity, relationship, event, etc. from the natural language text and forms a text processing technique for structured data output. Information extraction is a technique for extracting specific information from text data. Text data is made up of specific units, such as sentences, paragraphs, chapters, and text information is made up of small specific units, such as words, phrases, sentences, paragraphs, or a combination of these specific units. The noun phrase, the name of a person, the name of a place, etc. in the extracted text data are all text information extraction, and of course, the information extracted by the text information extraction technology can be various types of information.
And (3) configuring, namely highly packaging a large number of mature and practical application components and modules, and internally arranging various mature application systems and development tools such as a workflow management system, an electronic form management system, an information portal system, a unified user management system, a message management system, a knowledge management system and the like with strong functions.
User Interface (User Interface) functional components that the User sees and interacts with, such as address bars, return, forward buttons, etc.
Page rendering refers to the basic operation of a page rendering engine, namely simply starting from the Url of a webpage, and outputting a visualized result according to various resources of the webpage corresponding to the Url.
Rendering engine is responsible for parsing the content requested by the user (e.g., HTML or XML, which the rendering engine would parse, along with the associated CSS, and then return the parsed content).
The UI back end (UI backend) is responsible for drawing browser components such as prompt boxes, and the bottom layer of the UI back end uses a user interface of an operating system.
At present, aiming at different service demands, a developer is often required to perform form configuration on each service demand, and the form configuration efficiency is affected, so how to improve the form configuration efficiency becomes a technical problem to be solved urgently.
Based on the above, the embodiment of the application provides a form configuration method, a page generation method, a form configuration device, a page generation device, electronic equipment and a storage medium, aiming at improving the efficiency of form configuration.
The form configuration method, the form configuration device, the electronic device and the storage medium provided by the embodiment of the application are specifically described through the following embodiments, and the form configuration method in the embodiment of the application is described first.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Wherein artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) is the theory, method, technique, and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend, and expand human intelligence, sense the environment, acquire knowledge, and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and other directions.
The embodiment of the application provides a form configuration method, which relates to the technical field of artificial intelligence. The form configuration method provided by the embodiment of the application can be applied to the terminal, can be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal may be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., the server may be configured as an independent physical server, may be configured as a server cluster or a distributed system formed by a plurality of physical servers, and may be configured as a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligent platforms, and the software may be an application for implementing a form configuration method, but is not limited to the above form.
The application is operational with numerous general purpose or special purpose computer system environments or configurations. Such as a personal computer, a server computer, a hand-held or portable device, a tablet device, a multiprocessor system, a microprocessor-based system, a set top box, a programmable consumer electronics, a network PC, a minicomputer, a mainframe computer, a distributed computing environment that includes any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Fig. 1 is an optional flowchart of a form configuration method provided in an embodiment of the present application, which is applied to a server, where the method in fig. 1 may include, but is not limited to, steps S101 to S106.
Step S101, a form configuration instruction is obtained;
Step S102, at least two components to be configured of a form to be configured are obtained based on a form configuration instruction, wherein each component to be configured has a component category, and each component to be configured comprises at least two component parameters;
Step S103, carrying out component combination processing on at least two components to be configured to obtain a target component group;
Step S104, extracting key information from the target assembly group to obtain key data of the target assembly group;
Step S105, performing identification generation on the target component group based on the current timestamp acquired in advance to obtain the form number of the target component group;
And S106, configuring the form to be configured according to the key data and the form number to obtain the target form.
In the steps S101 to S106 shown in the embodiment of the application, at least two components to be configured of a form to be configured are obtained by obtaining the form configuration instruction and based on the form configuration instruction, wherein each component to be configured has a component class, and each component to be configured comprises at least two component parameters, so that the components to be configured corresponding to the form to be configured can be better determined from a large number of configuration components. Further, the assembly combination processing is carried out on at least two assemblies to be configured to obtain the target assembly group, the assemblies to be configured can be combined randomly more conveniently to form a plurality of target assembly groups, the configuration diversity is improved, and the subsequently generated target forms can meet the requirements of different service scenes. The key information of the target component group is extracted to obtain the key data of the target component group, so that the key configuration information of the target component group can be extracted more conveniently, the data volume is reduced, and the storability and calling efficiency of the configuration information of the target component group are improved. Further, the target component groups are generated by identification based on the current timestamp obtained in advance, and the form numbers of the target component groups are obtained. And finally, directly configuring the form to be configured according to the key data and the form number to obtain a target form, so that the form configuration efficiency can be improved well.
In step S101 of some embodiments, a form configuration instruction may be directly acquired through a server, where the form configuration instruction may be issued by a relevant configurator operating on an operation platform, or may also be acquired through other script programs or the like, where the form configuration instruction is used to instruct the server to perform form configuration according to a preset candidate configuration component.
Referring to fig. 2, in some embodiments, step S102 may include, but is not limited to, steps S201 to S202:
step S201, analyzing the contents of the form configuration instruction to obtain a search field;
step S202, component screening is carried out on preset candidate configuration components according to the search field, and components to be configured are obtained.
In step S201 of some embodiments, the form configuration instruction may be parsed according to a common instruction parsing tool or instruction parsing function, to obtain a search field contained in the form configuration instruction, where the search field includes key attribute contents of different candidate configuration components, for example, the candidate configuration components include an input box, a general selector, a date selector, a data dimension selector, a report selector, and an architecture level selector. Default values and custom extensions, etc., search fields include data dimensions, dates, inputs, reports/tables, levels, etc.
In step S202 of some embodiments, component screening is performed on the candidate configuration components according to the search field of the current form configuration instruction, consistency between the search field and the attribute content or component name of each candidate configuration component is compared, and if the attribute content or component name of the candidate configuration component contains the search field, the candidate configuration component is used as the component to be configured. For example, when the search field is a date and a dimension, the components to be configured obtained through component screening are a date selector and a data dimension selector, wherein each component to be configured has a component category, and each component to be configured comprises at least two component parameters. For example, the date selector includes a component category of a date class or a time class, the date selector includes component parameters of year, month, day, week, quarter, etc., the data dimension selector includes a component category of a time dimension, a marketing channel dimension, a region expansion dimension, etc., and the data dimension selector includes component parameters of a primary mechanism, a secondary mechanism, a tertiary mechanism, etc.
It should be noted that the candidate configuration components include an input box, a general selector, a date selector, a data dimension selector, a report selector, and an architecture level selector. Default values, custom extension components, etc.
The input box is used to provide an operator (e.g., a user or a worker, etc.) with a typing operation.
The general selector refers to a conventional selector including a plurality of preset options, for example, whether the preset options include yes or no, and the options therein can be configured by configuring the general selector.
The date selector can support single selection, including selection of X years, X months, X weeks, and X quarters, while the date selector can also support range selection, including time range, date range (day, month), and so forth, i.e., component parameters of the date selector include year, month, day, quarter, time range, date range, and so forth.
The data dimension selector comprises a data dimension corresponding to a hierarchy dimension of the enterprise, and the marketing channel dimension comprises a battlefield, a secondary organization, a tertiary organization, a business district, a business department, a business group and the like. The regional expansion dimension includes war zones, secondary institutions, tertiary institutions, exhibition sections, exhibition facilities, and the like.
The report selector comprises various reports, the reports are generated report information, wherein after the server side generates the reports through development, unique identifiers corresponding to each report can be generated, and the report identifiers can be used as options of the report selector, namely the report selector is a special universal selector, and the report selector is used for storing the report identifiers.
The architecture hierarchy component comprises an architecture hierarchy which is divided into two parts, wherein the marketing channel hierarchy comprises a battlefield, a secondary mechanism, a tertiary mechanism, a business district, a business department, a business group and an agent, and the regional expansion channel hierarchy comprises a battlefield, a secondary mechanism and a tertiary mechanism, a exhibition industry district, an exhibition industry department, exhibition classes, an exhibition industry district and an agent.
The default value refers to a default parameter that does not require a user to make a selection and does not require an operation, and is a preset parameter of the candidate component.
The custom extension component is a special component, and allows the custom of a certain configuration component in a target component group of visual configuration through the form of supplementary codes, so that code adjustment can be performed.
Through the steps S201 to S202, the preset candidate configuration components can be conveniently screened according to actual requirements, the components to be configured obtained through screening are used for form configuration, the diversity of form configuration is embodied, personalized configuration of the forms can be realized, the reusability of the candidate configuration components can be improved, the candidate configuration components can be used for different service scenes, and the applicability of form configuration is improved.
Referring to fig. 3, in some embodiments, the component parameters include candidate report data, and step S103 may include, but is not limited to, steps S301 to S304:
step S301, obtaining reference report information;
step S302, generating a report identifier of each candidate report data based on the reference report information;
Step S303, constructing a mapping relation between every two components to be configured based on the report identification and the candidate report data;
and step S304, carrying out combination processing on the components to be configured according to the mapping relation to obtain a target component group.
In step S301 of some embodiments, report development may be performed through a development code preset in the server to obtain reference report information, where the reference report information includes reports of different types, for example, in the insurance field, a report type included in the reference report information includes a dangerous seed list, an insurance amount list, and so on.
In step S302 of some embodiments, when the server performs report development to generate the reference report information, a character string is added to each reference report information, where the character string is the identification information of the reference report information, so that the report identifier of each candidate report data in the report selector can be conveniently determined based on the reference report information and the corresponding identification information thereof.
In step S303 of some embodiments, report content in candidate report data is extracted, and key fields of the report content are extracted to obtain report key fields, and components to be configured including report key fields with the same or similar word senses are selected for association based on report identifiers and the report key fields, so as to obtain a mapping relationship between every two components to be configured.
In step S304 of some embodiments, components to be configured having a mapping relationship may be categorized into one group, and component combination of the components to be configured is implemented, thereby obtaining multiple target component groups.
The components to be configured can be more conveniently combined randomly through the steps S301 to S304 to form a plurality of target component groups, so that the configuration diversity is improved, and the subsequently generated target forms can meet the requirements of different service scenes.
In step S104 of some embodiments, key information extraction may be performed on the target component group through a preset code program to obtain key data of the target component group, where the process of key information extraction may be understood as performing logic extraction on selection logic of the target component group to obtain key data of the target component group, where configuration information of each configuration component in the target component group is stored in the key data. For example, each item information and corresponding numerical value of the common selector, the report item corresponding to the report selector, the date configuration corresponding to the date selector (X years, X months, X days, etc.), and the data after the date is selected is processed in the form of YYYY-DD-MM (2022-06-30) or YYYY-DD (2022-06), etc. By the method, key configuration information of the target component group can be conveniently extracted, logic which is relatively high in repeatability and complicated in configuration component of an opening form in the traditional technology is extracted and displayed in a key data configuration mode, the data quantity can be effectively reduced, the form configuration process is more intelligent and convenient, and the storability and calling efficiency of the configuration information of the target component group are improved.
Referring to fig. 4, in some embodiments, step S105 may include, but is not limited to, steps S401 to S403:
Step S401, obtaining a target physical address;
step S402, generating a target random number based on a preset function and a current time stamp;
step S403, generating a form number of the target component group based on the target random number and the target physical address, wherein the form number is unique.
In step S401 of some embodiments, the target physical address may be the current native MAC address of the server. The target physical address may be obtained by inputting an address query instruction or the like.
In some embodiments, in step S402, the current time is obtained by a timer or other timing tool, and then converted into a current time stamp by a time stamp conversion tool, where the current time stamp is a character sequence, the preset function is a rand () function, and the random number is an integer ranging from 0 to 30000. Without adding any settings, the current timestamp obtained each time can generate a target random number, and the generated target random numbers are different.
In step S403 of some embodiments, a logical operation is performed on the target random number and the target physical address to obtain a form number of the target component group, where the logical operation may be a division operation or a product operation between the target physical address and the target random number. In the process of generating the form numbers, the local MAC address of the server is introduced, so that the form numbers have uniqueness, and the function of the form numbers is to identify the JSON files configured by the current target component group, so that each JSON file has an independent number, and an independent target form corresponds to the JSON file configured by the target component group.
Through the steps S401 to S403, the unique form number corresponding to each target component group can be obtained relatively conveniently, so that a usable target component group can be generated quickly by depending on a box of form numbers, and the target component group is a form search condition combination, so that the reusability of the target component group can be improved.
In step S106 of some embodiments, the key data and the form number may be integrated to generate form configuration information, and then the form to be configured is configured according to the generated form configuration information, so as to obtain the target form.
In addition, in some embodiments, the server may also cache the template data of the target form through the Redis, so as to speed up the access speed of the form data. For example, the method adopts a front-end and back-end separated deployment mode, adopts a VUE technology at the web end, and is deployed on a target cloud service platform. The cached template data is generated by loading the Redis after the project is started and initialized, the template data is landed in the target database, the template data in the Redis is synchronously updated when the template corresponding to the target form is operated, and the cached template data comprises form configuration information, personalized button configuration information, custom parameters and the like.
It should be noted that, the front-end and back-end separate deployment is a deployment mode in the front-end and back-end separate development mode, which means that the front-end developed code deployment and the service-end code deployment are separated, and after the front-end developed code is written, the code is compiled and packaged into a file accessible by a browser, for example Html, js, css. The server side of the embodiment of the application also compiles the code data and deploys the code data on the server after the code corresponding to the form configuration information of the target form is compiled, so that the server is operated, and the server side can conveniently process the request sent by the target client side.
The form configuration method provided by the embodiment of the application has the advantages that the form configuration instruction is obtained, and at least two components to be configured of the form to be configured are obtained based on the form configuration instruction, wherein each component to be configured has one component category, and each component to be configured comprises at least two component parameters, so that the components to be configured corresponding to the form to be configured can be better determined from a large number of configuration components. Further, the assembly combination processing is carried out on at least two assemblies to be configured to obtain the target assembly group, the assemblies to be configured can be combined randomly more conveniently to form a plurality of target assembly groups, the configuration diversity is improved, and the subsequently generated target forms can meet the requirements of different service scenes. The key information of the target component group is extracted to obtain the key data of the target component group, so that the key configuration information of the target component group can be extracted more conveniently, the data volume is reduced, and the storability and calling efficiency of the configuration information of the target component group are improved. Further, the target component groups are generated by identification based on the current timestamp obtained in advance, and the form numbers of the target component groups are obtained. And finally, directly configuring the form to be configured according to the key data and the form number to obtain a target form, so that the form configuration efficiency can be improved well.
By the form configuration method provided by the embodiment of the application, most of development and application do not need special codes in the software development process, and only corresponding components or modules are selected for configuration according to project requirements, so that the software development efficiency is better improved, the difficulty of the software development and application is reduced, the application can be deployed immediately, and the debugging period of the application development is greatly shortened.
Fig. 5 is an optional flowchart of a page generating method provided in an embodiment of the present application, which is applied to a client, and the method in fig. 5 may include, but is not limited to, steps S501 to S505.
Step S501, obtaining an operation instruction of a target object;
Step S502, analyzing the content of the operation instruction to obtain target code parameters, wherein the target code parameters comprise the form numbers of the target forms;
step S503, the form number is sent to the server side, and form configuration information fed back by the server side according to the form number is received;
step S504, rendering the form configuration information to obtain target page data;
in step S505, a target page is generated based on the target page data, and the target page is used for being displayed to the target object.
In step S501 of some embodiments, the operation instruction of the target object may be directly acquired through the script program, where the target object is a user, a staff member, or other related personnel. The operation instruction can be issued by the target object through the mode of keyboard and mouse input or voice input and the like, and the form configuration instruction is used for calling the form configuration information generated by the server side to display a form page.
In step S502 of some embodiments, the content of the operation instruction may be parsed according to a common instruction parsing tool or instruction parsing function, so as to obtain an object code parameter corresponding to the operation instruction, where the object code parameter includes a form number of the object form, and the form number may be a number, a letter, or a character string. The form numbers of the target forms are all unique.
In step S503 of some embodiments, the form numbers are sent to the server side in a signal stream or a data stream by means of wireless communication or wired communication, and the server side can query form configuration information of the corresponding target form according to the form numbers, where the form configuration information is in JSON form. Further, the client receives form configuration information of the target form queried by the server according to the form number, so as to call a target component group corresponding to the target form through the form configuration information, and the target component group is subjected to visualization processing.
Referring to fig. 6, in some embodiments, step S504 further includes, but is not limited to, steps S601 to S603:
Step S601, performing information rendering on the form configuration information to obtain a target component group corresponding to the form configuration information;
Step S602, generating a target form based on the target component group;
step S603, performing visualization processing on the target form to obtain target page data.
In step S601 of some embodiments, the client renders the form configuration information into a corresponding target component group, at which point the target object can see multiple configuration components in the target component group on the target page, which configuration components combine to form the target component group.
In step S602 of some embodiments, a source code template file for generating a page is invoked according to an operation instruction, where the source code template includes at least one of a frame structure file, a layout file, and a logic processing file, where the frame structure file includes HTML parameters, the layout file includes CSS parameters, and the logic processing file includes JS parameters. The HTML parameters are the configuration structures, such as the shape of the structures, in the page, the CSS parameters are the attributes, such as the size or color, of the structures, and the CSS parameters are the logical processing, such as the sequential arrangement among the tables, of the structures in the page.
It should be noted that, each file included in the source code template file is only a page template capable of obtaining a page, and parameter values such as a size, a color, a frame and the like of a specific structure in the page need to be determined based on a target component group, and the source code template file required by the page in this embodiment stores constituent parameters of each structure, so that a plane basic template of the page can be constructed according to the source code template file, so that constituent parameter values of each structure can be effectively filled.
Further, the target component group and the source code template file are subjected to joint compiling processing to obtain form content data, wherein the form content data comprise frame parameters, component selection parameters, layout parameters and the like of the form, and therefore the target form is generated according to the form content data.
In step S603 of some embodiments, form content data in the target form is converted into an image form by computer graphics and a common image processing technology, so as to obtain target page data, so that the target object can perform operation interaction on a target page generated based on the target page data.
Through the steps S601 to S603, the target component group included in the target form can be determined relatively conveniently according to the form configuration information, and the target form is constructed according to the target component group and the source code template file, so that the target page data is generated according to the target form, and the page generation speed and the page generation accuracy can be effectively improved.
In step S505 of some embodiments, a target page is generated on a display interface of the client based on target page data, where the target page includes a plurality of configuration components of the target form, and the target page is presented to the target object, so that the target object can perform content filling on the components on the target page in a typing manner, thereby querying the required data.
The page generation method comprises the steps of obtaining an operation instruction of a target object, carrying out content analysis on the operation instruction to obtain target code parameters, wherein the target code parameters comprise a form number of the target form, sending the form number to a server side, receiving form configuration information fed back by the server side according to the form number, carrying out rendering processing on the form configuration information to obtain target page data, generating a target page based on the target page data, and displaying the target page to the target object, so that page generation efficiency is improved.
Referring to fig. 7, the embodiment of the present application further provides a form configuration device, which may implement the form configuration method, where the device includes:
a configuration instruction acquisition module 701, configured to acquire a form configuration instruction;
The component obtaining module 702 is configured to obtain at least two components to be configured of a form to be configured based on the form configuration instruction, where each component to be configured has a component class, and each component to be configured includes at least two component parameters;
the component combination module 703 is configured to perform component combination processing on at least two components to be configured to obtain a target component group;
the information extraction module 704 is configured to extract key information from the target component group, so as to obtain key data of the target component group;
The identifier generating module 705 is configured to generate an identifier of the target component group based on a current timestamp acquired in advance, so as to obtain a form number of the target component group;
the form configuration module 706 is configured to configure a form to be configured according to the key data and the form number, so as to obtain a target form.
In some embodiments, the component acquisition module 702 includes:
the content analysis unit is used for carrying out content analysis on the form configuration instruction to obtain a search field;
And the component screening unit is used for screening the components of the preset candidate configuration components according to the search field to obtain the components to be configured.
In some embodiments, the component parameters include candidate report data, and the component combining module 703 includes:
the information acquisition unit is used for acquiring the reference report information;
the identification generating unit is used for generating a report identification of each candidate report data based on the reference report information;
the relation construction unit is used for constructing a mapping relation between every two components to be configured based on the report identification and the candidate report data;
And the combining unit is used for combining the components to be configured according to the mapping relation to obtain a target component group.
In some embodiments, the identity generation module 705 includes:
An address acquisition unit configured to acquire a target physical address;
the random number generation unit is used for generating a target random number based on a preset function and a current time stamp;
and the number generating unit is used for generating a form number of the target component group based on the target random number and the target physical address, wherein the form number is unique.
The specific implementation of the form configuration device is basically the same as the specific embodiment of the form configuration method, and is not described herein.
Referring to fig. 8, an embodiment of the present application further provides a page generating device, which may implement the above page generating method, where the device includes:
an operation instruction acquisition module 801, configured to acquire an operation instruction of a target object;
the content parsing module 802 is configured to parse the content of the operation instruction to obtain a target code parameter, where the target code parameter includes a form number of the target form;
the information processing module 803 is configured to send the form number to the server, and receive form configuration information fed back by the server according to the form number;
the rendering module 804 is configured to perform rendering processing on the form configuration information to obtain target page data;
The page generating module 805 is configured to generate a target page based on the target page data, where the target page is used for being displayed to the target object.
In some embodiments, rendering module 804 includes:
the rendering unit is used for performing information rendering on the form configuration information to obtain a target component group corresponding to the form configuration information;
a form generation unit configured to generate a target form based on the target component group;
And the visualization unit is used for performing visualization processing on the target form to obtain target page data.
The specific implementation of the page generating apparatus is substantially the same as the specific embodiment of the page generating method described above, and will not be described herein.
The embodiment of the application also provides electronic equipment, which comprises a memory, a processor, a program stored on the memory and capable of running on the processor and a data bus for realizing connection communication between the processor and the memory, wherein the program is executed by the processor to realize the form configuration method or the page generation method. The electronic equipment can be any intelligent terminal including a tablet personal computer, a vehicle-mounted computer and the like.
Referring to fig. 9, fig. 9 illustrates a hardware structure of an electronic device according to another embodiment, the electronic device includes:
The processor 901 may be implemented by a general purpose CPU (central processing unit), a microprocessor, an application specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), or one or more integrated circuits, etc. for executing related programs, so as to implement the technical solution provided by the embodiments of the present application;
The memory 902 may be implemented in the form of read-only memory (ReadOnlyMemory, ROM), static storage, dynamic storage, or random access memory (RandomAccessMemory, RAM), among others. The memory 902 may store an operating system and other application programs, and when the technical solutions provided in the embodiments of the present disclosure are implemented by software or firmware, relevant program codes are stored in the memory 902, and the processor 901 invokes a form configuration method or a page generation method for executing the embodiments of the present disclosure;
an input/output interface 903 for inputting and outputting information;
The communication interface 904 is configured to implement communication interaction between the device and other devices, and may implement communication in a wired manner (e.g. USB, network cable, etc.), or may implement communication in a wireless manner (e.g. mobile network, WIFI, bluetooth, etc.);
a bus 905 that transfers information between the various components of the device (e.g., the processor 901, the memory 902, the input/output interface 903, and the communication interface 904);
Wherein the processor 901, the memory 902, the input/output interface 903 and the communication interface 904 are communicatively coupled to each other within the device via a bus 905.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to realize the form configuration method or the page generation method.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The form configuration method, the page generation method, the form configuration device, the electronic equipment and the computer readable storage medium provided by the embodiment of the application acquire at least two components to be configured of the form by acquiring the form configuration instruction and based on the form configuration instruction, wherein each component to be configured has one component category, and each component to be configured comprises at least two component parameters, and the mode can better determine the components to be configured corresponding to the form to be configured from a large number of configuration components. Further, the assembly combination processing is carried out on at least two assemblies to be configured to obtain the target assembly group, the assemblies to be configured can be combined randomly more conveniently to form a plurality of target assembly groups, the configuration diversity is improved, and the subsequently generated target forms can meet the requirements of different service scenes. The key information of the target component group is extracted to obtain the key data of the target component group, so that the key configuration information of the target component group can be extracted more conveniently, the data volume is reduced, and the storability and calling efficiency of the configuration information of the target component group are improved. Further, the target component groups are generated by identification based on the current timestamp obtained in advance, and the form numbers of the target component groups are obtained. And finally, directly configuring the form to be configured according to the key data and the form number to obtain a target form, so that the form configuration efficiency can be improved well.
The embodiments described in the embodiments of the present application are for more clearly describing the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application, and those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
It will be appreciated by those skilled in the art that the solutions shown in fig. 1-6 are not limiting on the embodiments of the application and may include more or fewer steps than shown, or certain steps may be combined, or different steps.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like in the description of the application and in the above figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" is used to describe an association relationship of an associated object, and indicates that three relationships may exist, for example, "a and/or B" may indicate that only a exists, only B exists, and three cases of a and B exist simultaneously, where a and B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one of a, b or c may represent a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is merely a logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including multiple instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. The storage medium includes various media capable of storing programs, such as a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk, or an optical disk.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and are not thereby limiting the scope of the claims of the embodiments of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the embodiments of the present application shall fall within the scope of the claims of the embodiments of the present application.