CN115658063A - Page information generation method, device, equipment and storage medium - Google Patents

Page information generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN115658063A
CN115658063A CN202211413184.5A CN202211413184A CN115658063A CN 115658063 A CN115658063 A CN 115658063A CN 202211413184 A CN202211413184 A CN 202211413184A CN 115658063 A CN115658063 A CN 115658063A
Authority
CN
China
Prior art keywords
page
information
page information
code file
generating
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
CN202211413184.5A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202211413184.5A priority Critical patent/CN115658063A/en
Publication of CN115658063A publication Critical patent/CN115658063A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a page information generation method, a page information generation device, a page information generation equipment and a page information storage medium, and relates to the technical field of page information. The method comprises the steps of obtaining page elements of page information to be generated, and generating initial page information from the page elements; determining a preset code file according to the initial page information; code information input by a user is obtained, and page information is generated according to the code information and a preset code file. By adopting the technical scheme, the enterprise-level front-end framework platform with consistent user experience can be provided, and the user interactive operation experience can be unified from the perspective of a system user; from the perspective of a system developer, a cross-terminal interface component ecosystem can be constructed, so that the research and development difficulty of the application front-end technology is reduced, the technology model selection of the front-end research and development is unified, and the research and development efficiency of the application is further improved.

Description

Page information generation method, device, equipment and storage medium
Technical Field
The present application relates to the field of page information technologies, and in particular, to a page information generating method, apparatus, device, and storage medium.
Background
With the active introduction of internet technology by banks and the increase of financial transaction business, a great deal of development demand for Web system pages is generated. Most developers are middle-background developers, which have logic programming capability, but have weak front-end development capability. The complaint of the middle and background developers is that when the Web management end of the middle and background system is developed, the heavy front-end page structure and style development is not needed, and the developers can concentrate on logic and data processing. The page visualization construction tool is required to provide a component library which is enough to meet the development of common business requirements, visually combine components in the component library to obtain a basic front-end page, and can support secondary development of the front-end page.
However, the current front-end page structure and style development still requires a developer to operate.
Therefore, a page information generation method is needed, which can provide an enterprise-level front-end framework platform with consistent user experience, and can unify user interactive operation experience from the perspective of a system user; from the perspective of a system developer, a cross-terminal interface component ecosystem can be constructed, so that the research and development difficulty of the application front-end technology is reduced, the technology type selection of the front-end research and development is unified, and the research and development efficiency of the application is further improved.
Disclosure of Invention
The application provides a page information generation method, a page information generation device, page information generation equipment and a page information generation storage medium, which can provide an enterprise-level front-end framework platform with consistent user experience and can unify user interactive operation experience from the perspective of a system user; from the perspective of a system developer, a cross-terminal interface component ecosystem can be constructed, so that the research and development difficulty of the application front-end technology is reduced, the technology model selection of the front-end research and development is unified, and the research and development efficiency of the application is further improved.
In a first aspect, the present application provides a method for generating page information, where the method includes:
acquiring a page element of page information to be generated, and generating initial page information from the page element;
determining a preset code file according to the initial page information;
code information input by a user is obtained, and page information is generated according to the code information and the preset code file.
In one example, the determining a preset code file according to the initial page information includes:
traversing the page elements in the initial page information, and checking the attributes of the page elements;
and if the verification is passed, generating a preset code file.
In one example, the generating page information according to the code information and the preset code file includes:
processing the preset code file according to the code information and a preset tool kit file to obtain a processed code file;
analyzing the processed code file to obtain an analyzed code file;
and generating page information according to the analysis code file.
In one example, the page elements include: page subject information, page layout information, and page component information.
In one example, prior to the generating page information, the method further comprises:
generating preview page information according to the code information and the preset code file; the preview page information is used for generating page information after receiving an instruction message of a user.
In one example, the checking the attribute of the page element includes:
acquiring a data format of the page element;
and checking the attribute of the page element according to the data format.
In a second aspect, the present application provides a page information generating apparatus, including:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring page elements of page information to be generated and generating initial page information from the page elements;
the determining unit is used for determining a preset code file according to the initial page information;
the first generating unit is used for acquiring code information input by a user and generating page information according to the code information and the preset code file.
In one example, the determining unit includes:
the traversal module is used for traversing the page elements in the initial page information and verifying the attributes of the page elements;
and the generating module is used for generating a preset code file if the verification is passed.
In one example, a first generation unit includes:
the processing module is used for processing the preset code file according to the code information and a preset tool kit file to obtain a processed code file;
the analysis module is used for analyzing the processed code file to obtain an analysis code file;
and the generating module is used for generating page information according to the analysis code file.
In one example, the page elements include: page subject information, page layout information, and page component information.
In one example, the apparatus further comprises:
the second generating unit is used for generating preview page information according to the code information and the preset code file; the preview page information is used for generating page information after receiving instruction information of a user.
In one example, the traversal module includes:
the obtaining sub-module is used for obtaining the data format of the page element;
and the checking submodule is used for checking the attribute of the page element according to the data format.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method according to the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, performs the method according to the first aspect.
According to the page information generation method, the page information generation device, the page information generation equipment and the storage medium, page elements of page information to be generated are obtained, and the page elements are generated into initial page information; determining a preset code file according to the initial page information; and acquiring code information input by a user, and generating page information according to the code information and the preset code file. By adopting the technical scheme, the enterprise-level front-end framework platform with consistent user experience can be provided, and the user interactive operation experience can be unified from the perspective of a system user; from the perspective of a system developer, a cross-terminal interface component ecosystem can be constructed, so that the research and development difficulty of the application front-end technology is reduced, the technology model selection of the front-end research and development is unified, and the research and development efficiency of the application is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a page information generating method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a page information generating method according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a page information generating apparatus according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of a page information generating apparatus according to a fourth embodiment of the present application;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The application provides a page information generation method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a page information generating method according to an embodiment of the present application. The first embodiment comprises the following steps:
s101, obtaining page elements of the page information to be generated, and generating initial page information for the page elements.
In this embodiment, the page information to be generated is page information generated based on fact, fact is a front-end framework for constructing an interface, and a declaration paradigm is adopted, so that application can be easily described, and data flow of single response is realized, thereby reducing repeated codes, and interaction with a document object model is maximally reduced through simulation of the document object model.
In this embodiment, the page elements include: page subject information, page layout information, and page component information. In this embodiment, the page theme information includes frequently-used page theme information and blank page theme information, and this way of frequently-used page theme information is mainly directed at a page that has a high frequency of occurrence in a service system and needs to meet a uniform specification, and directly provides a user with a complete page such as a user login page and a form query page, thereby accelerating page construction to the greatest extent. The blank page subject information is a self-defined way for constructing a brand new page. When the page is newly built, the page theme configuration is supported, the page theme configuration comprises a plurality of themes such as specification, conciseness and high-level theme, and each theme has different color system matching so as to meet different development requirements of users.
The page layout information is common layout information, grid layout information, and free layout information, respectively. The common layout information provides a classic dual-winged layout, a two-column left-hand layout, a two-column right-hand layout, and the like. The grid layout information is based on a response type design, and a regular grid array is provided to perform layout and information distribution of the page, so that the webpage is more standard and flexible. The grid system with 24 columns is adopted by default in the grid layout information, and flexible setting is facilitated. Meanwhile, if the page content is simple, the user is also supported to select to use a grid system with 6 columns or 12 columns. By partitioning across the grid, page elements are easier to stack and have consistency across browsers. With the free layout information, each page element can be freely placed at an arbitrary position.
The page component information includes an input component, a presentation component, an interaction component, a diagram component, and a specification component. The input component primarily provides forms, radio boxes, multi-boxes, input boxes, date selection boxes, cascading selection boxes, search boxes, switches, uploads, tree selectors, and the like. The display component mainly provides cards, description lists, pictures, labels, text prompts and the like. The interaction component primarily provides buttons, warning prompts, dialog boxes, notification reminders, loading, and the like. The chart component primarily provides tables, line graphs, bar graphs, pie charts, scatter charts, maps, radar charts, thermodynamic diagrams, funnel diagrams, and the like. The standard component mainly provides a capital amount box, password verification, face recognition, identification, a copyright component and the like.
The initial page information is divided into three columns, the left column displays components in the page component information according to categories, the middle column is a new page dragging construction area, and the right column is a page attribute and component attribute configuration frame. And after the user drags the component to be placed in the new page building area, setting various configuration attributes of the component. All components may set style attributes such as width, height, color, text color, position, margins, etc. The component may also add interaction events such as single click, double click, mouse in, mouse out, etc. Aiming at the chart component, the method supports the user to directly set a data source and a specific data field, and realizes the visual display of data binding.
And S102, determining a preset code file according to the initial page information.
In one example, the preset code file is a json schema, json data format verification is generally performed by using the json schema, and json format verification is performed before the preset code file is used. Among them, the JsonSchema has multiple uses, and one of them is example verification. The authentication process may be interactive or non-interactive. For example, an application may use a json schema to construct a user interface that enables interactive content to generate data information that enables review or verification of a source.
S103, code information input by a user is obtained, and page information is generated according to the code information and a preset code file.
In the embodiment, the code information input by the user is that the user adds or modifies the preset code file according to actual needs, and the advantage of the setting is that the preset code file can be developed for the second time, so that the generated page information better meets the requirements of the current user.
According to the page information generation method, page elements of page information to be generated are obtained, and the page elements are generated into initial page information; determining a preset code file according to the initial page information; code information input by a user is obtained, and page information is generated according to the code information and a preset code file. By adopting the technical scheme, the enterprise-level front-end framework platform with consistent user experience can be provided, and the user interactive operation experience can be unified from the perspective of a system user; from the perspective of a system developer, a cross-terminal interface component ecosystem can be constructed, so that the research and development difficulty of the application front-end technology is reduced, the technology type selection of the front-end research and development is unified, and the research and development efficiency of the application is further improved.
Fig. 2 is a schematic flowchart of a page information generating method according to the second embodiment of the present application. The second embodiment comprises the following steps:
s201, obtaining page elements of the page information to be generated, and generating initial page information for the page elements.
For example, this step may refer to step S101 described above, and is not described again.
S202, traversing page elements in the initial page information, and checking the attributes of the page elements.
In this embodiment, the execution body is a page construction tool, the page construction tool determines the correctness of the attribute of each page element by traversing each page element in the initial page information, and if the configuration file in the attribute meets the preset condition, the attribute of the page element is correct.
In one example, checking attributes of page elements includes:
acquiring a data format of a page element;
and checking the attribute of the page element according to the data format.
In this embodiment, the data format of the page element is json schema, and the attribute of the page element is checked through checking of the json schema. Compared with JavaScript, the TypeScript code adopted by the embodiment is more reliable and easier to reconstruct. The definition of types and the introduction of a compiler can avoid many errors in the code. In addition, the JsonSchema is used for describing the data format, and a more complete data verification and prompt input function is provided. The JavaScript is an interpretive scripting language, is mainly used for adding an interactive behavior to an HTML page, and has been widely applied to Web application development. TypeScript is an open source programming language developed by Microsoft that is a superset of JavaScript to which optional static type and class-based object-oriented programming are added.
And S203, if the verification is passed, generating a preset code file.
For example, this step may refer to step S102 described above, and is not described again.
And S204, acquiring code information input by a user.
For example, this step may refer to step S103 described above, and is not described again.
And S205, processing the preset code file according to the code information and the preset tool kit file to obtain a processed code file.
In this embodiment, the preset toolkit file includes the configuration file of the attribute of the page element and the configuration method, and the preset code file may be processed according to the preset toolkit file and the code information to obtain a processed code file, where the logic code of the processed code file is correct.
And S206, analyzing the processed code file to obtain an analyzed code file.
In this embodiment, the processed code file may be parsed to obtain a parsed code file, where the parsed code file is a page source code. The page source code is the most primitive code, is an uncompiled text file written according to a certain programming language specification, and is a series of human-readable computer language instructions.
And S207, generating page information according to the analysis code file.
In this embodiment, the page information is generated from the analysis code file by the page construction tool, and the page information is visual page information and can be viewed by a user. After the page information is obtained, the page information can be accessed in a browser, the page source code is analyzed through the browser, a document object model tree and a CSS rule tree of the page information are obtained, a rendering tree is constructed according to the document object model tree and the CSS rule tree, the position of a page element is calculated, and the page information is drawn. The CSS rule tree refers to a text file with an extension of ". CSS" that includes CSS code. The CSS rule tree is a file which is used with html language to make a webpage, and mainly has the function of controlling the layout of an html article, namely simply controlling the display appearance of the webpage.
In one example, prior to generating the page information, the method further comprises:
generating preview page information according to the code information and a preset code file; the preview page information is used for generating page information after receiving instruction information of a user.
In this embodiment, after the preview page information is generated, the preview page information may interact with the user, and if the preview page information meets the needs of the user, the user may send an instruction message of the user to the preview page information, so that the preview page information may generate the page information. The ES6 standard is selected for coding the page information, node.js is adopted for server development, and partial graph component information is encapsulated based on Echarts. The ES6 standard is called ecmascript6.0, and is the next version standard of JavaScript, so that the JavaScript language can be used to write a complex large application program. Js is a JavaScript execution environment based on Chrome V8 engine, which uses an event-driven, non-blocking I/O model to make it lightweight and efficient. Echarts is an open source visual library implemented using JavaScript, providing a variety of visual charts that are intuitive, vivid, interactive, and customizable.
According to the page information generation method, the preset code file is processed according to the code information and the preset toolkit file to obtain the processed code file, the processed code file is analyzed to obtain the analyzed code file, and the page information is generated according to the analyzed code file. By adopting the technical scheme, a user-defined mode is provided during page information construction, and the development speed is accelerated and the development cost is reduced to the greatest extent aiming at different development and application scenes.
Fig. 3 is a schematic structural diagram of a page information generating apparatus according to a third embodiment of the present application. Specifically, the apparatus 30 of the third embodiment includes:
an obtaining unit 301, configured to obtain a page element of page information to be generated, and generate initial page information for the page element;
a determining unit 302, configured to determine a preset code file according to the initial page information;
the first generating unit 303 is configured to acquire code information input by a user, and generate page information according to the code information and the preset code file.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 4 is a schematic structural diagram of a page information generating apparatus according to the fourth embodiment of the present application. Specifically, the apparatus 40 according to the fourth embodiment includes:
an obtaining unit 401, configured to obtain a page element of page information to be generated, and generate initial page information for the page element;
a determining unit 402, configured to determine a preset code file according to the initial page information;
a first generating unit 403, configured to obtain code information input by a user, and generate page information according to the code information and the preset code file.
In one example, the determining unit 402 includes:
a traversal module 4021, configured to traverse the page element in the initial page information and check an attribute of the page element;
the generating module 4022 is configured to generate a preset code file if the verification passes.
In one example, the first generating unit 403 includes:
the processing module 4031 is used for processing the preset code file according to the code information and a preset tool kit file to obtain a processed code file;
the analysis module 4032 is used for analyzing the processed code file to obtain an analysis code file;
a generating module 4033, configured to generate page information according to the analysis code file.
In one example, the page elements include: page subject information, page layout information, and page component information.
In one example, the apparatus further comprises:
a second generating unit 404, configured to generate preview page information according to the code information and the preset code file; the preview page information is used for generating page information after receiving instruction information of a user.
In one example, traversal module 4021 includes:
the obtaining sub-module 40211 is configured to obtain a data format of the page element;
the verification sub-module 40212 is configured to verify the attribute of the page element according to the data format.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
FIG. 5 is a block diagram illustrating an electronic device, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like, in accordance with an exemplary embodiment.
The apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communications component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in operating modes, such as call mode, record mode, and voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a page information generating method of the electronic device.
The application also discloses a computer program product comprising a computer program which, when executed by a processor, implements the method as described in the embodiments.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or electronic device.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data electronic device), or that includes a middleware component (e.g., an application electronic device), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include a client and an electronic device. The client and the electronic device are generally remote from each other and typically interact through a communication network. The relationship of client and electronic devices arises by virtue of computer programs running on the respective computers and having a client-electronic device relationship to each other. The electronic device may be a cloud electronic device, which is also called a cloud computing electronic device or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and low service extensibility in a conventional physical host and VPS service ("Virtual Private Server", or "VPS" for short). The electronic device may also be a distributed system of electronic devices or an electronic device incorporating a blockchain. It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A page information generation method is characterized by comprising the following steps:
acquiring a page element of page information to be generated, and generating initial page information from the page element;
determining a preset code file according to the initial page information;
code information input by a user is obtained, and page information is generated according to the code information and the preset code file.
2. The method according to claim 1, wherein determining a preset code file according to the initial page information comprises:
traversing the page elements in the initial page information, and checking the attributes of the page elements;
and if the verification is passed, generating a preset code file.
3. The method according to claim 1 or 2, wherein the generating page information according to the code information and the preset code file comprises:
processing the preset code file according to the code information and a preset tool kit file to obtain a processed code file;
analyzing the processed code file to obtain an analyzed code file;
and generating page information according to the analysis code file.
4. The method of claim 2, wherein the page element comprises: page subject information, page layout information, and page component information.
5. The method of claim 1, wherein prior to said generating page information, the method further comprises:
generating preview page information according to the code information and the preset code file; the preview page information is used for generating page information after receiving instruction information of a user.
6. The method of claim 2, wherein the checking the attribute of the page element comprises:
acquiring a data format of the page element;
and checking the attribute of the page element according to the data format.
7. An apparatus for generating page information, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring page elements of page information to be generated and generating initial page information from the page elements;
the determining unit is used for determining a preset code file according to the initial page information;
the first generating unit is used for acquiring code information input by a user and generating page information according to the code information and the preset code file.
8. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of claims 1-6.
9. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the method of any one of claims 1-6.
10. A computer program product, comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-6.
CN202211413184.5A 2022-11-11 2022-11-11 Page information generation method, device, equipment and storage medium Pending CN115658063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211413184.5A CN115658063A (en) 2022-11-11 2022-11-11 Page information generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211413184.5A CN115658063A (en) 2022-11-11 2022-11-11 Page information generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115658063A true CN115658063A (en) 2023-01-31

Family

ID=85021755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211413184.5A Pending CN115658063A (en) 2022-11-11 2022-11-11 Page information generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115658063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339733A (en) * 2023-03-27 2023-06-27 天衣(北京)科技有限公司 Application page generation method, system, electronic device and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339733A (en) * 2023-03-27 2023-06-27 天衣(北京)科技有限公司 Application page generation method, system, electronic device and medium
CN116339733B (en) * 2023-03-27 2023-11-28 天衣(北京)科技有限公司 Application page generation method, system, electronic device and medium

Similar Documents

Publication Publication Date Title
KR20140144104A (en) Electronic apparatus and Method for providing service thereof
CN112800370B (en) Processing method and device of business document, computer equipment and storage medium
CN108182060A (en) Point methods, mobile terminal and system are buried in a kind of mixing application
CN111324252B (en) Display control method and device in live broadcast platform, storage medium and electronic equipment
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
CN115658063A (en) Page information generation method, device, equipment and storage medium
EP3416070A1 (en) Page display method and device and storage medium
CN113485779A (en) Operation guiding method and device for application program
CN113536755A (en) Method, device, electronic equipment, storage medium and product for generating poster
CN113596555A (en) Video playing method and device and electronic equipment
CN110865864B (en) Interface display method, device and equipment for quick application and storage medium
CN110990006A (en) Form management system and form generation device
CN111443905B (en) Service data processing method, device and system and electronic equipment
CN114298227A (en) Text duplicate removal method, device, equipment and medium
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
CN112989770B (en) Form generation method, device and system, electronic equipment and storage medium
CN115373763B (en) Plug-in loading method and device, electronic equipment and storage medium
CN117234508A (en) Front-end page building method and device, electronic equipment and storage medium
CN114240393A (en) Data processing method, device and equipment based on management system and storage medium
CN114756319A (en) Applet page display method, device and equipment and storage medium
CN117785986A (en) Method for generating chart template, generating visual chart and updating service component
CN117874386A (en) Front-end page dynamic effect display method and device, electronic equipment and storage medium
CN117082056A (en) File sharing method and electronic equipment
CN117891550A (en) Interface display method and device, electronic equipment and storage medium
CN114329088A (en) Directory structure file generation method, device, equipment and storage medium

Legal Events

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