CN112926008B - Method, device, electronic equipment and storage medium for generating form page - Google Patents
Method, device, electronic equipment and storage medium for generating form page Download PDFInfo
- Publication number
- CN112926008B CN112926008B CN202110215747.9A CN202110215747A CN112926008B CN 112926008 B CN112926008 B CN 112926008B CN 202110215747 A CN202110215747 A CN 202110215747A CN 112926008 B CN112926008 B CN 112926008B
- Authority
- CN
- China
- Prior art keywords
- page
- component
- target
- components
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域Technical field
本公开涉及人工智能技术领域,进一步涉及云计算技术领域,尤其涉及一种生成表单页面的方法、装置、电子设备和存储介质。The present disclosure relates to the field of artificial intelligence technology, further relates to the field of cloud computing technology, and in particular, to a method, device, electronic device and storage medium for generating a form page.
背景技术Background technique
如今,云计算技术快速发展,可以通过云计算产品来提供的服务越来越多。用户在购买云计算产品时,需要向服务提供方提供与云计算产品有关的信息。通常,服务提供方可以向用户展示一表单页面,用户通过填写表单页面来提供此类信息。需要针对每个云计算产品生成专门的表单页面,随着云计算产品数量的增多,对表单页面的生成与管理变得困难。Today, cloud computing technology is developing rapidly, and more and more services can be provided through cloud computing products. When users purchase cloud computing products, they need to provide information related to cloud computing products to the service provider. Typically, the service provider can present a form page to the user, and the user provides such information by filling in the form page. A dedicated form page needs to be generated for each cloud computing product. As the number of cloud computing products increases, the generation and management of form pages becomes difficult.
发明内容Contents of the invention
本公开提供了一种用于生成表单页面的方法、装置、电子设备以及存储介质。The present disclosure provides a method, device, electronic device and storage medium for generating a form page.
根据本公开的一方面,提供了一种生成表单页面的方法,包括:According to one aspect of the present disclosure, a method for generating a form page is provided, including:
获取用于生成表单页面的多个页面组件;Get multiple page components used to generate form pages;
基于待生成的目标表单页面所包含的类型信息、文本信息和布局信息,对所述多个页面组件中的至少一个目标页面组件进行调用;以及Based on the type information, text information and layout information contained in the target form page to be generated, calling at least one target page component among the plurality of page components; and
根据对所述多个页面组件中的至少一个目标页面组件的调用结果,生成所述目标表单页面。The target form page is generated according to the result of calling at least one target page component among the plurality of page components.
根据本公开的另一方面,提供了一种生成表单页面的装置,包括:According to another aspect of the present disclosure, a device for generating a form page is provided, including:
获取模块,配置为获取用于生成表单页面的多个页面组件;Obtain module, configured to obtain multiple page components used to generate form pages;
调用模块,配置为基于待生成的目标表单页面所包含的类型信息、文本信息和布局信息,对所述多个页面组件中的至少一个目标页面组件进行调用;以及a calling module configured to call at least one target page component among the plurality of page components based on the type information, text information and layout information contained in the target form page to be generated; and
生成模块,配置为根据对所述多个页面组件中的至少一个目标页面组件的调用结果,生成所述目标表单页面。A generating module configured to generate the target form page according to the result of calling at least one target page component among the plurality of page components.
根据本公开的另一方面,提供了一种电子设备,包括:According to another aspect of the present disclosure, an electronic device is provided, including:
至少一个处理器;以及at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above method.
根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行上述方法。根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现上述方法。According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to perform the above method. According to another aspect of the present disclosure, a computer program product is provided, including a computer program that implements the above method when executed by a processor.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.
附图说明Description of the drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. in:
图1是根据本公开实施例的生成表单页面的方法的流程图;Figure 1 is a flow chart of a method for generating a form page according to an embodiment of the present disclosure;
图2是根据本公开实施例的获取多个页面组件的示意图;Figure 2 is a schematic diagram of obtaining multiple page components according to an embodiment of the present disclosure;
图3A和图3B是根据本公开实施例的调用函数的示例;3A and 3B are examples of calling functions according to embodiments of the present disclosure;
图4是根据本公开实施例的确定目标表单页面所包含的信息的示意图;Figure 4 is a schematic diagram of information contained in a target form page according to an embodiment of the present disclosure;
图5是根据本公开实施例的JSON结构的示例;Figure 5 is an example of a JSON structure according to an embodiment of the present disclosure;
图6是根据本公开实施例的调用目标页面组件的示意图;Figure 6 is a schematic diagram of calling a target page component according to an embodiment of the present disclosure;
图7A和图7B是根据本公开实施例的生成的目标表单页面的示例;7A and 7B are examples of generated target form pages according to embodiments of the present disclosure;
图8是根据本公开实施例的生成表单页面的装置的框图;以及Figure 8 is a block diagram of a device for generating a form page according to an embodiment of the present disclosure; and
图9是用来实现本公开实施例的生成表单页面的方法的电子设备的框图。FIG. 9 is a block diagram of an electronic device used to implement a method for generating a form page according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the present disclosure are included to facilitate understanding and should be considered to be exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
在云计算产品中,需要用户在购买产品或相关服务前完善与产品有关的购买信息,不同类型的云计算产品需要完善的购买信息不同。例如,如果用户购买的是提供门户网站的相关服务,则用户需要提供网站的域名、FTP(File Transfer Protocol,文件传输协议)名称等信息。作为云计算产品的服务提供方,需要在云计算产品发布时确定用户需要完善哪些购买信息,根据这些需要完善的信息生成表单页面,并向用户展示生成的表单页面。用户在表单页面中填写相应的信息来完成云计算产品的订购流程。In cloud computing products, users are required to complete product-related purchase information before purchasing products or related services. Different types of cloud computing products require different purchase information. For example, if the user purchases services related to providing a portal website, the user needs to provide the website's domain name, FTP (File Transfer Protocol, File Transfer Protocol) name and other information. As a service provider of cloud computing products, it is necessary to determine what purchase information users need to complete when the cloud computing product is released, generate a form page based on the information that needs to be completed, and display the generated form page to the user. Users fill in the corresponding information in the form page to complete the ordering process of cloud computing products.
生成表单页面的方式包括动态和静态两种。静态生成方式即针对每个具体的云计算产品,根据需要用户来完善的信息创建静态表单页面。事先存储创建好的表单页面,在需要向用户展示时,直接调用整个静态表单页面即可。这种方式实现技术比较简单,但随着云计算产品数量的增多,创建静态表单页面的工作量增大,并且静态表单页面的维护成本增加。There are two ways to generate form pages: dynamic and static. The static generation method is to create a static form page for each specific cloud computing product based on the information that needs to be completed by the user. Store the created form page in advance, and when it needs to be displayed to the user, just call the entire static form page directly. The implementation technology of this method is relatively simple, but as the number of cloud computing products increases, the workload of creating static form pages increases, and the maintenance cost of static form pages increases.
在云计算产品的技术栈中,一般会引入多个组件库,利用组件库可以动态生成表单页面。通过借助于第三方依赖库来调用组件库中的组件,并利用组件动态生成表单页面。动态生成方式不需要针对每个云计算产品单独生成表单页面,可以避免大量重复的工作,有助于降低生成静态表单页面的工作量,并降低维护表单页面的成本。然而,随着云计算产品业务线的重构升级,旧业务线的技术栈将被新业务线的技术栈取代,需要对基于旧业务线的技术栈的依赖库进行改造,而改造成本往往较高。In the technology stack of cloud computing products, multiple component libraries are generally introduced, and form pages can be dynamically generated using component libraries. By using third-party dependency libraries to call components in the component library, and using components to dynamically generate form pages. The dynamic generation method does not require separate form pages for each cloud computing product, which can avoid a lot of repeated work, help reduce the workload of generating static form pages, and reduce the cost of maintaining form pages. However, with the reconstruction and upgrading of cloud computing product business lines, the technology stack of the old business line will be replaced by the technology stack of the new business line. It is necessary to transform the dependency library based on the technology stack of the old business line, and the transformation cost is often relatively high. high.
本公开实施例提供了一种无需借助第三方依赖库、动态生成表单页面的方法。图1是根据本公开实施例的生成表单页面的方法100的流程图。如图1所示,该生成表单页面的方法100包括以下步骤:Embodiments of the present disclosure provide a method for dynamically generating form pages without resorting to third-party dependent libraries. FIG. 1 is a flow chart of a method 100 for generating a form page according to an embodiment of the present disclosure. As shown in Figure 1, the method 100 of generating a form page includes the following steps:
在步骤S110中,获取用于生成表单页面的多个页面组件。In step S110, multiple page components used to generate the form page are obtained.
在步骤S120中,基于待生成的目标表单页面所包含的类型信息、文本信息和布局信息,对多个页面组件中的至少一个目标页面组件进行调用。In step S120, at least one target page component among the plurality of page components is called based on the type information, text information and layout information contained in the target form page to be generated.
在步骤S130中,根据对多个页面组件中的至少一个目标页面组件的调用结果,生成目标表单页面。In step S130, a target form page is generated according to the result of calling at least one target page component among the plurality of page components.
在本公开的实施例中,为了使用当前业务技术栈中包括的组件库,可以将引入到当前业务中的技术栈所包括的组件库中的各个组件导出,并构建组件集合存储各个组件。这样,在需要使用组件库中的组件时,不再需要借助于第三方依赖库来调用组件,可以直接从组件集合中获取到相应组件。In embodiments of the present disclosure, in order to use the component library included in the current business technology stack, each component in the component library included in the technology stack introduced into the current business can be exported, and a component collection can be constructed to store each component. In this way, when you need to use a component in the component library, you no longer need to rely on a third-party dependency library to call the component. You can directly obtain the corresponding component from the component collection.
在本公开的实施例中,目标表单页面意指针对某个特定的云计算产品确定的、向用户展示需要由用户完善的产品购买信息的表单页面。可以确定目标表单页面所包含的各种信息,例如类型信息、文本信息和布局信息等。根据实施例,可以根据目标表单页面所需页面组件的类型确定目标表单页面的类型信息,根据所需页面组件在目标表单页面上呈现的文本内容确定目标表单页面的文本信息,以及根据所需页面组件在目标表单页面上的位置确定目标表单页面的布局信息。In the embodiment of the present disclosure, the target form page means a form page determined for a specific cloud computing product that displays product purchase information that needs to be completed by the user to the user. Various information contained in the target form page can be determined, such as type information, text information, layout information, etc. According to an embodiment, the type information of the target form page can be determined according to the type of the page component required by the target form page, the text information of the target form page can be determined according to the text content presented by the required page component on the target form page, and according to the required page The component's position on the target form page determines the layout information for the target form page.
在本公开的实施例中,目标页面组件意指生成目标表单页面所需的页面组件,可以是一种类型的页面组件,也可以是多种类型的页面组件。调用目标页面组件的过程即生成表单页面的过程。因此,根据本公开的实施例,可以动态地生成目标表单页面。相对于表单页面的静态生成方法,可以避免表单页面元素的重复生成过程,同时可以降低表单页面的维护成本。In the embodiment of the present disclosure, the target page component means the page component required to generate the target form page, which may be one type of page component or multiple types of page components. The process of calling the target page component is the process of generating the form page. Therefore, according to embodiments of the present disclosure, the target form page can be dynamically generated. Compared with the static generation method of form pages, the repeated generation process of form page elements can be avoided, and the maintenance cost of form pages can be reduced.
此外,根据本公开的实施例,在新业务线的技术栈取代旧业务线的技术栈的情况下,同样可以通过导出新技术栈中的组件库中的各个组件,并通过对目标页面组件进行调用来动态生成目标表单页面。由于无需借助于第三方依赖库来使用组件库,因此,可以克服对基于旧业务线的技术栈的依赖库进行改造的改造成本高的问题,更适用于需要频繁升级的云计算产品。In addition, according to embodiments of the present disclosure, when the technology stack of the new business line replaces the technology stack of the old business line, each component in the component library in the new technology stack can also be exported and the target page components can be modified. Called to dynamically generate the target form page. Since there is no need to resort to third-party dependency libraries to use component libraries, it can overcome the high cost of modifying dependency libraries based on old business line technology stacks, and is more suitable for cloud computing products that require frequent upgrades.
在本公开的实施例中,获取用于生成表单页面的多个页面组件可以包括:从引入到当前业务中的技术栈所包括的组件库中导出多个页面组件,针对多个页面组件中的每个页面组件生成调用函数,以及将页面组件和页面组件的调用函数一一对应地存储在组件集合中。In an embodiment of the present disclosure, obtaining multiple page components used to generate the form page may include: exporting multiple page components from a component library included in the technology stack introduced into the current business, targeting the multiple page components. Each page component generates a calling function, and stores the page component and the calling function of the page component in a one-to-one correspondence in the component collection.
图2是根据本公开实施例的获取多个页面组件的示意图。如图2所示,当前业务的技术栈21包括两个组件库211和212,在组件库211和212中可以各自包括多个用于生成表单页面的多个页面组件。本公开实施例对技术栈中所包括的组件库的数量,以及每个组件库中所包括的组件的数量均不作限定。分别从组件库211和212中导出其各自包括的所有页面组件,该过程如图2中230所示。针对导出的每个页面组件,生成调用函数。并将页面组件和生成的调用函数一一对应地存储在组件集合22中。如图2所示,对于组件集合中的每个元素220,是页面组件和调用函数共同构成的。在具体的实施例中,组件集合22可以是全局数组结构,将由页面组件和调用函数共同构成的一组数据作为一个数组元素进行存储。Figure 2 is a schematic diagram of obtaining multiple page components according to an embodiment of the present disclosure. As shown in Figure 2, the current business technology stack 21 includes two component libraries 211 and 212. The component libraries 211 and 212 may each include multiple page components for generating form pages. The embodiments of the present disclosure do not limit the number of component libraries included in the technology stack, nor the number of components included in each component library. All page components included in each of them are exported from component libraries 211 and 212 respectively, and this process is shown as 230 in Figure 2 . For each exported page component, a calling function is generated. And the page components and the generated calling functions are stored in the component collection 22 in one-to-one correspondence. As shown in Figure 2, for each element 220 in the component collection, it is composed of page components and calling functions. In a specific embodiment, the component collection 22 may be a global array structure, and a set of data composed of page components and calling functions is stored as an array element.
根据实施例,还可以在组件集合22中存储页面组件的其他的属性信息。例如,可以对每个页面组件重新命名,以便在从组件集合22中选取页面组件时,能够更方便的进行查找。According to embodiments, other attribute information of the page components may also be stored in the component collection 22 . For example, each page component can be renamed so that it can be more easily found when selecting the page component from the component collection 22 .
通过将技术栈所包括的组件库中的组件导出,并与所生成的调用函数一起存储在组件集合中,可以在不借助第三方依赖库的情况下,对组件库中的页面组件进行调用,可以更好的适应业务线的重构升级。By exporting the components in the component library included in the technology stack and storing them in the component collection together with the generated calling functions, the page components in the component library can be called without resorting to third-party dependent libraries. It can better adapt to the reconstruction and upgrade of business lines.
根据实施例,页面组件是用于在表单页面上生成例如输入框之类的结构的一段代码段,调用函数是用于调用页面组件,以将页面组件对应的代码段添加的表单页面的HTML文件的一段代码段。According to the embodiment, the page component is a code segment used to generate a structure such as an input box on the form page, and the calling function is used to call the page component to add the code segment corresponding to the page component to the HTML file of the form page. a piece of code.
图3A和图3B是根据本公开实施例的调用函数的示例。如图3A和图3B所示,调用函数完成如下过程:首先获取到组件集合中的每一个页面组件配置中的Component,然后加载页面组件。接下来,在“tagName”与Component的值之间做一次映射。例如,如图3A所示,将“Calendar”映射为“ui-form-calendar”。如图3B所示,将“BoxGroup”映射为“ui-form-boxgroup”。进一步地,在本公开的实施例中,定义了“builder”函数,该函数执行页面组件的调用过程。如图3A和图3B所示,在“builder”函数中,在“<”和“/>”中传递与页面组件有关的参数。3A and 3B are examples of calling functions according to embodiments of the present disclosure. As shown in Figure 3A and Figure 3B, the calling function completes the following process: first obtain the Component in each page component configuration in the component collection, and then load the page component. Next, do a mapping between "tagName" and the value of Component. For example, as shown in Figure 3A, "Calendar" is mapped to "ui-form-calendar". As shown in Figure 3B, map "BoxGroup" to "ui-form-boxgroup". Further, in the embodiment of the present disclosure, a "builder" function is defined, which performs the calling process of the page component. As shown in Figure 3A and Figure 3B, in the "builder" function, parameters related to the page component are passed in "<" and "/>".
在本公开的实施例中,在获取到组件集合中的每一个页面组件的配置之后,并不直接使用Component,即使用“Calendar”或“BoxGroup”来进行函数调用,而是使用重新定义的“builder”函数来对不同的页面组件进行调用。从图3A和图3B所示的调用函数示例中可以看出,虽然两个调用函数中是针对不同的页面组件(分别为“Calendar”和“BoxGroup”)进行调用,但由于使用了“builder”函数,使得调用函数代码的编写更加规范和统一,有利于在增加新页面组件时,简化调用函数的生成过程。In the embodiment of the present disclosure, after obtaining the configuration of each page component in the component collection, Component is not used directly, that is, "Calendar" or "BoxGroup" is used to make function calls, but the redefined " builder" function to call different page components. It can be seen from the calling function examples shown in Figure 3A and Figure 3B that although the two calling functions are called for different page components ("Calendar" and "BoxGroup" respectively), due to the use of "builder" Functions make the writing of function-calling codes more standardized and unified, which helps simplify the generation process of calling functions when adding new page components.
图4是根据本公开实施例的确定目标表单页面所包含的信息的示意图。如图4所示,目标表单页面41是针对某个具体的云计算产品确定的、向用户展示需要由用户完善的产品购买信息的表单页面。在目标表单页面41中包括多条产品信息。例如,如图4所示,一个产品信息411可以是与域名有关的信息,该产品信息具有文本“绑定域名”,用于向用户指示需要填写的信息的类型。产品信息411包括用于用户输入的输入框部分,用户可以在输入框中设置域名。另一个产品信息412可以是与FTP用户有关的信息,该产品信息具有文本“FTP用户名”,同样地,产品信息412也包括用于用户输入的输入框部分,用户可以在输入框中设置FTP用户名。产品信息411和412中的输入框部分均可以由页面组件生成。FIG. 4 is a schematic diagram of determining information contained in a target form page according to an embodiment of the present disclosure. As shown in Figure 4, the target form page 41 is a form page determined for a specific cloud computing product and showing the user product purchase information that needs to be completed by the user. Multiple pieces of product information are included in the target form page 41. For example, as shown in Figure 4, a piece of product information 411 may be information related to a domain name, and the product information has the text "bind domain name" to indicate to the user the type of information that needs to be filled in. The product information 411 includes an input box portion for user input, in which the user can set a domain name. Another product information 412 may be information related to the FTP user, and the product information has the text "FTP username". Similarly, the product information 412 also includes an input box part for user input, and the user can set FTP in the input box. username. The input box parts in product information 411 and 412 can both be generated by page components.
如图4所示,目标表单页面41所包含的信息可以大致分为三类。第一类信息针对在目标表单页面41上生成的页面组件,主要为不同页面组件的类型信息4111。例如,组件的类型可以是文本(text)、邮件(email)、文本域(textArea)、选择(select)、广播(radio)或复选框(checkBox)等。第二类信息针对在目标表单页面41呈现的文本内容,主要是文本信息4112。例如,“绑定域名”和“FTP用户名”均属于文本信息。此外,在一些其他的实施例中,一些用于向用户说明的提示信息也属于文本信息。例如,“请按照年-月-日的格式填写日期”。第三类信息针对页面组件放置在目标表单页面41的位置,主要是布局信息4113。例如,产品信息411和412各自的页面组件在目标表单页面41上的坐标、页面组件的长和宽等信息,根据这些信息,可以将页面组件正确地放置在目标表单页面41上的期望的位置。As shown in Figure 4, the information contained in the target form page 41 can be roughly divided into three categories. The first type of information is aimed at page components generated on the target form page 41, and is mainly type information 4111 of different page components. For example, the type of component can be text, email, textArea, select, radio or checkBox, etc. The second type of information is aimed at the text content presented on the target form page 41, mainly text information 4112. For example, "bind domain name" and "FTP username" are both text information. In addition, in some other embodiments, some prompt information used to explain to the user also belongs to text information. For example, "Please fill in the date in the format of year-month-day." The third type of information is aimed at the position where page components are placed on the target form page 41, mainly layout information 4113. For example, the coordinates of the respective page components of the product information 411 and 412 on the target form page 41, the length and width of the page components, and other information. Based on this information, the page components can be correctly placed at the desired position on the target form page 41. .
在本公开的实施例中,在确定了上述类型信息4111、文本信息4112和布局信息4113之后,可以将这些信息存储在预设的数据结构中,这样,就可以将期望的目标表单页面41表示为数据。根据实施例,可以将类型信息4111、文本信息4112和布局信息4113存储在JSON(JavaScript Object Notation)结构中。JSON结构是一种轻量级的数据交换格式。易于阅读和编写,并且易于计算设备解析和生成。In the embodiment of the present disclosure, after the above-mentioned type information 4111, text information 4112 and layout information 4113 are determined, these information can be stored in a preset data structure, so that the desired target form page 41 can be represented for data. According to an embodiment, type information 4111, text information 4112, and layout information 4113 may be stored in a JSON (JavaScript Object Notation) structure. The JSON structure is a lightweight data exchange format. Easy to read and write, and easy for computing devices to parse and generate.
图5是根据本公开实施例的JSON结构的示例。如图5所示,字段“type”对应的是类型信息。在JSON结构中,没有定义上述页面组件的类型,因此,可以通过在字段“type”的值与页面组件的类型之间建立转换关系,来将字段“type”的值转换为页面组件的类型。例如,常见的字段“type”的值包括例如字符串(string)、数组(array)、选择(select)、日历(calendar)、数字(number)和布尔类型(boolean)等。字段“type”的值与页面组件的类型之间的转换关系可以根据实际情况指定。例如,对于字段值“string”,一般指定为text类型的页面组件。根据实施例,除“type”以外的一个或多个字段可以分别用于存储文本信息和布局信息。如图5所示,字段“title”对应的是文本信息,字段值“绑定域名”表示将在目标表单页面上显示的文本。字段“description”对应的也是文本信息,字段值“请按域名格式正确填写,如test.baidu.com”可以在特定条件下在目标表单页面上显示。字段“maxLength”对应的是布局信息,字段值“20”可以限定页面组件,即输入框的最大长度。Figure 5 is an example of a JSON structure according to an embodiment of the present disclosure. As shown in Figure 5, the field "type" corresponds to type information. In the JSON structure, the type of the above page component is not defined. Therefore, the value of the field "type" can be converted to the type of the page component by establishing a conversion relationship between the value of the field "type" and the type of the page component. For example, common field "type" values include string, array, select, calendar, number, boolean, etc. The conversion relationship between the value of the field "type" and the type of the page component can be specified according to the actual situation. For example, the field value "string" is generally specified as a text type page component. According to embodiments, one or more fields other than "type" may be used to store text information and layout information respectively. As shown in Figure 5, the field "title" corresponds to text information, and the field value "bind domain name" represents the text that will be displayed on the target form page. The field "description" also corresponds to text information. The field value "Please fill in the domain name format correctly, such as test.baidu.com" can be displayed on the target form page under certain conditions. The field "maxLength" corresponds to the layout information, and the field value "20" can limit the page component, that is, the maximum length of the input box.
在一些实施例中,还可以在JSON结构中存储与目标表单页面有关的其他信息。例如,针对该页面组件的填写规则。如图5所示,字段“required”对应的是针对该页面组件的填写规则,字段值“true”表示该页面组件对应的输入框不能为空。字段“default”对应的也是针对该页面组件的填写规则,字段值为空,给出的是该页面组件的默认值,被设置为空。In some embodiments, other information related to the target form page may also be stored in the JSON structure. For example, the filling rules for the page components. As shown in Figure 5, the field "required" corresponds to the filling rules for the page component, and the field value "true" indicates that the input box corresponding to the page component cannot be empty. The field "default" also corresponds to the filling rule for the page component. The field value is empty, and the default value of the page component is given, which is set to empty.
在本公开的实施例中,基于待生成的目标表单页面所包含的类型信息、文本信息和布局信息,对多个页面组件中的至少一个目标页面组件进行调用可以包括:基于类型信息,从组件集合中确定至少一个目标页面组件,并从组件集合中获取该至少一个目标页面组件的调用函数,将文本信息和布局信息作为参数传递给目标页面组件的调用函数,以及执行调用函数以对至少一个目标页面组件进行调用。In an embodiment of the present disclosure, based on the type information, text information and layout information contained in the target form page to be generated, calling at least one target page component among the plurality of page components may include: based on the type information, from the component Determine at least one target page component in the collection, obtain the calling function of the at least one target page component from the component collection, pass text information and layout information as parameters to the calling function of the target page component, and execute the calling function to call at least one The target page component is called.
图6是根据本公开实施例的调用目标页面组件的示意图。如图6所示,JSON结构61中存储的是目标表单页面所包含的各种信息,数组62中存储的是用于生成目标表单页面的多个页面组件。首先,遍历JSON结构中的数据对象,找到字段“type”,字段“type”的值为“string”。根据JSON结构字段值与页面组件的类型之间的转换关系,将“string”修改为“text”,如图6中的步骤①所示。然后,根据“text”在数组62中进行查询,找到存储“text”页面组件的数组元素,如图6中的步骤②所示。然后,从找到的数组元素中读取与“text”页面组件一起存储的调用函数63,如图6中的步骤③所示。然后,将JSON结构61中的其他属性值作为参数630传递给“builder”函数,如图6中的步骤④所示。在JSON结构中可以存储多个数据对象,在图6中仅示出了一个示例。遍历JSON结构,执行上述过程,可以得到针对目标表单页面上的所有组件的调用函数。接下来,可以根据调用结果来生成目标表单页面。Figure 6 is a schematic diagram of calling a target page component according to an embodiment of the present disclosure. As shown in Figure 6, the JSON structure 61 stores various information contained in the target form page, and the array 62 stores multiple page components used to generate the target form page. First, traverse the data object in the JSON structure and find the field "type". The value of the field "type" is "string". According to the conversion relationship between the JSON structure field value and the type of the page component, modify "string" to "text", as shown in step ① in Figure 6. Then, query in array 62 based on "text" to find the array element that stores the "text" page component, as shown in step ② in Figure 6. Then, the calling function 63 stored with the "text" page component is read from the found array element, as shown in step ③ in Figure 6 . Then, other attribute values in the JSON structure 61 are passed to the "builder" function as parameters 630, as shown in step ④ in Figure 6 . Multiple data objects can be stored in a JSON structure, only one example is shown in Figure 6. Traverse the JSON structure and perform the above process to get the calling functions for all components on the target form page. Next, the target form page can be generated based on the call results.
根据实施例,根据对多个页面组件中的至少一个目标页面组件的调用结果,生成目标表单页面可以包括:根据对多个页面组件中的至少一个目标页面组件的调用结果,生成目标表单页面的HTML源文件,以及对HTML源文件进行解析,以生成目标表单页面。对页面组件进行调用的结果是在目标表单页面的HTML源文件中放置对应的页面组件生成代码。可以使用诸如浏览器之类的应用来对HTML源文件进行解析,最终生成向用户展示的目标表单页面。According to an embodiment, generating the target form page according to the calling result of at least one target page component among the plurality of page components may include: generating the target form page according to the calling result of at least one target page component among the plurality of page components. HTML source files, and parsing the HTML source files to generate target form pages. The result of calling the page component is to place the corresponding page component generation code in the HTML source file of the target form page. An application such as a browser can be used to parse the HTML source file and finally generate the target form page displayed to the user.
图7A和图7B是根据本公开实施例的生成的目标表单页面的示例。如图7A所示,示出了所生成的目标表单页面的一部分。在该部分目标表单页面中放置有两个页面组件,分别是对应于“绑定域名”的输入框和对应于“FTP用户名”的输入框。在标题“绑定域名”的前面显示有一个“*”,这可以由JSON结构中的“required”字段的值定义,表示“绑定域名”是必须填写的信息。在两个页面组件的一侧分别显示有带方框的问号标记,这是针对页面组件的提示信息。如图7A所示,可以通过该带方框的问号标记获取到针对页面组件的填写提示信息。7A and 7B are examples of generated target form pages according to embodiments of the present disclosure. As shown in Figure 7A, a portion of the generated target form page is shown. There are two page components placed in this part of the target form page, namely the input box corresponding to the "bind domain name" and the input box corresponding to the "FTP user name". There is an "*" displayed in front of the title "Bind Domain Name", which can be defined by the value of the "required" field in the JSON structure, indicating that "Bind Domain Name" is information that must be filled in. A question mark with a box is displayed on one side of the two page components, which is a prompt message for the page components. As shown in Figure 7A, the prompt information for filling in the page components can be obtained through the question mark with a box.
如图7B所示,同样示出了所生成的目标表单页面的一部分。该部分目标表单页面所包含的文本信息和页面组件均与图7A相同,不同的是两个页面组件在目标表单页面上的相互位置关系。在图7A中,对应于“绑定域名”的输入框和对应于“FTP用户名”的输入框位于相同的行中,在图7B中,对应于“绑定域名”的输入框和对应于“FTP用户名”的输入框位于不同的行中。这是由JSON结构中的与布局信息有关的字段的值定义的。As shown in Figure 7B, a portion of the generated target form page is also shown. The text information and page components contained in this part of the target form page are the same as those in Figure 7A. The difference is the mutual positional relationship between the two page components on the target form page. In Figure 7A, the input box corresponding to "Bind domain name" and the input box corresponding to "FTP user name" are located in the same row. In Figure 7B, the input box corresponding to "Bind domain name" and the input box corresponding to "FTP user name" are located in the same row. The input box for "FTP Username" is on a different line. This is defined by the values of fields in the JSON structure related to layout information.
根据本公开的实施例,可以基于JSON结构动态地生成任意期望形式的表单页面,无需借助于第三方依赖库。在设计表单页面时,仅根据期望的表单页面的形式来构建JSON结构即可,操作简单。在从旧有的技术栈中使用新的技术栈进行重构时,新的重构过程不再需要引入外部的库来支撑,可以通过在新的技术栈中覆盖来实现,因此,特别适用于业务线的升级和扩展。According to embodiments of the present disclosure, form pages in any desired form can be dynamically generated based on the JSON structure without resorting to third-party dependent libraries. When designing a form page, just build the JSON structure according to the desired form page, and the operation is simple. When refactoring from an old technology stack using a new technology stack, the new refactoring process no longer needs to introduce external libraries for support. It can be implemented by covering it in the new technology stack. Therefore, it is especially suitable for Business line upgrades and expansions.
根据本公开的实施例,本公开还提供了一种生成表单页面的装置、一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, the present disclosure also provides an apparatus for generating a form page, an electronic device, a readable storage medium, and a computer program product.
图8是根据本公开实施例的生成表单页面的装置800的框图。如图8所示,该生成表单页面的装置800包括获取模块810、调用模块820和生成模块830。FIG. 8 is a block diagram of an apparatus 800 for generating a form page according to an embodiment of the present disclosure. As shown in FIG. 8 , the device 800 for generating a form page includes an acquisition module 810 , a calling module 820 and a generation module 830 .
根据实施例,获取模块810被配置为获取用于生成表单页面的多个页面组件。调用模块820被配置为基于待生成的目标表单页面所包含的类型信息、文本信息和布局信息,对多个页面组件中的至少一个目标页面组件进行调用。生成模块830被配置为根据对多个页面组件中的至少一个目标页面组件的调用结果,生成目标表单页面。According to an embodiment, the obtaining module 810 is configured to obtain a plurality of page components for generating the form page. The calling module 820 is configured to call at least one target page component among the plurality of page components based on the type information, text information and layout information contained in the target form page to be generated. The generating module 830 is configured to generate a target form page according to a result of calling at least one target page component among the plurality of page components.
以上各功能模块的具体操作可以参考前述实施例中的生成表单页面的方法100的操作步骤来获取,此处不再赘述。The specific operations of each of the above functional modules can be obtained by referring to the operating steps of the method 100 for generating a form page in the previous embodiment, and will not be described again here.
图9示出了可以用来实施本公开的实施例的示例电子设备900的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Figure 9 shows a schematic block diagram of an example electronic device 900 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to refer to various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图9所示,设备900包括计算单元901,其可以根据存储在只读存储器(ROM)902中的计算机程序或者从存储单元908加载到随机访问存储器(RAM)903中的计算机程序,来执行各种适当的动作和处理。在RAM 903中,还可存储设备900操作所需的各种程序和数据。计算单元901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in FIG. 9 , the device 900 includes a computing unit 901 that can execute according to a computer program stored in a read-only memory (ROM) 902 or loaded from a storage unit 908 into a random access memory (RAM) 903 Various appropriate actions and treatments. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. Computing unit 901, ROM 902 and RAM 903 are connected to each other via bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
设备900中的多个部件连接至I/O接口905,包括:输入单元909,例如键盘、鼠标等;输出单元909,例如各种类型的显示器、扬声器等;存储单元908,例如磁盘、光盘等;以及通信单元909,例如网卡、调制解调器、无线通信收发机等。通信单元909允许设备900通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the device 900 are connected to the I/O interface 905, including: an input unit 909, such as a keyboard, a mouse, etc.; an output unit 909, such as various types of displays, speakers, etc.; a storage unit 908, such as a magnetic disk, optical disk, etc. ; and communication unit 909, such as a network card, modem, wireless communication transceiver, etc. The communication unit 909 allows the device 900 to exchange information/data with other devices through computer networks such as the Internet and/or various telecommunications networks.
计算单元901可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元901的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元901执行上文所描述的各个方法和处理,例如生成表单页面的方法。例如,在一些实施例中,生成表单页面的方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元908。在一些实施例中,计算机程序的部分或者全部可以经由ROM 902和/或通信单元909而被载入和/或安装到设备900上。当计算机程序加载到RAM 903并由计算单元901执行时,可以执行上文描述的生成表单页面的方法的一个或多个步骤。备选地,在其他实施例中,计算单元901可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行本公开的生成表单页面的方法。Computing unit 901 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processing processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 901 performs various methods and processes described above, such as the method of generating a form page. For example, in some embodiments, the method of generating a form page may be implemented as a computer software program that is tangibly embodied in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 900 via ROM 902 and/or communication unit 909 . When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the method of generating a form page described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the method of generating a form page of the present disclosure in any other suitable manner (eg, by means of firmware).
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip implemented in a system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or a combination thereof. These various embodiments may include implementation in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor The processor, which may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure 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 device, such that the program codes, when executed by the processor or controller, cause the functions specified in the flowcharts and/or block diagrams/ The operation is implemented. 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 server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may 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. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。Computer systems may include clients and servers. Clients and servers are generally remote from each other and typically interact over a communications network. The relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that various forms of the process shown above may be used, with steps reordered, added or deleted. For example, each step described in the present disclosure can be executed in parallel, sequentially, or in a different order. As long as the desired results of the technical solution disclosed in the present disclosure can be achieved, there is no limitation here.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the scope of the present disclosure. It will be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions are possible depending on design requirements and other factors. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this disclosure shall be included in the protection scope of this disclosure.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110215747.9A CN112926008B (en) | 2021-02-26 | 2021-02-26 | Method, device, electronic equipment and storage medium for generating form page |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110215747.9A CN112926008B (en) | 2021-02-26 | 2021-02-26 | Method, device, electronic equipment and storage medium for generating form page |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112926008A CN112926008A (en) | 2021-06-08 |
| CN112926008B true CN112926008B (en) | 2023-12-01 |
Family
ID=76172145
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110215747.9A Active CN112926008B (en) | 2021-02-26 | 2021-02-26 | Method, device, electronic equipment and storage medium for generating form page |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112926008B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113434134B (en) * | 2021-06-21 | 2024-04-16 | 北京达佳互联信息技术有限公司 | Component processing method and device, electronic equipment and storage medium |
| CN115525847A (en) * | 2021-11-26 | 2022-12-27 | 北京字跳网络技术有限公司 | Page view generation method, device, electronic device and storage medium |
| CN114281497A (en) * | 2021-12-20 | 2022-04-05 | 北京百度网讯科技有限公司 | Data configuration method and device, electronic equipment and storage medium |
| CN114328055B (en) * | 2021-12-29 | 2025-06-10 | 北京百度网讯科技有限公司 | Data processing method, system, device, electronic device and storage medium |
| CN114356291A (en) * | 2022-01-13 | 2022-04-15 | 中国电信股份有限公司 | Method, device, equipment and medium for generating form based on configuration file |
| CN115206475A (en) * | 2022-07-07 | 2022-10-18 | 上海太美数字科技有限公司 | Form generation method and device, electronic equipment and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108733375A (en) * | 2018-05-29 | 2018-11-02 | 厦门白山耘科技有限公司 | Web front-end configuration melts forwarding method, device, storage medium and computer equipment |
| CN111522549A (en) * | 2020-03-31 | 2020-08-11 | 中国工商银行股份有限公司 | Page generation method and device, electronic equipment and storage medium |
| CN111610972A (en) * | 2020-05-22 | 2020-09-01 | 北京百度网讯科技有限公司 | Page generation method, device, device and storage medium |
| CN111625741A (en) * | 2020-04-30 | 2020-09-04 | 贝壳技术有限公司 | Page data interaction method and device, storage medium and electronic equipment |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7434163B2 (en) * | 2002-05-31 | 2008-10-07 | Sap Aktiengesellschaft | Document structures for delta handling in server pages |
| JP6433339B2 (en) * | 2015-03-02 | 2018-12-05 | キヤノン株式会社 | Information processing system, server device, control method, and program |
-
2021
- 2021-02-26 CN CN202110215747.9A patent/CN112926008B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108733375A (en) * | 2018-05-29 | 2018-11-02 | 厦门白山耘科技有限公司 | Web front-end configuration melts forwarding method, device, storage medium and computer equipment |
| CN111522549A (en) * | 2020-03-31 | 2020-08-11 | 中国工商银行股份有限公司 | Page generation method and device, electronic equipment and storage medium |
| CN111625741A (en) * | 2020-04-30 | 2020-09-04 | 贝壳技术有限公司 | Page data interaction method and device, storage medium and electronic equipment |
| CN111610972A (en) * | 2020-05-22 | 2020-09-01 | 北京百度网讯科技有限公司 | Page generation method, device, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112926008A (en) | 2021-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112926008B (en) | Method, device, electronic equipment and storage medium for generating form page | |
| CN113032244B (en) | Interface test method, device, computer system and computer readable storage medium | |
| CN110109983B (en) | Method and device for operating Redis database | |
| CN112015468B (en) | Interface document processing method and device, electronic equipment and storage medium | |
| CN111125064B (en) | Method and device for generating database schema definition statement | |
| CN113641700A (en) | Data processing method and device based on Spring boot frame | |
| CN108255837A (en) | A kind of SQL resolvers and method | |
| CN111078230A (en) | Code generation method and device | |
| CN112486482A (en) | Page display method and device | |
| CN113626223A (en) | Interface calling method and device | |
| CN113642295B (en) | Page typesetting method, device and computer program product | |
| CN118519660A (en) | Code updating method, code generating method, task processing method and code interpreter based on large model | |
| CN110647316A (en) | Method and device for generating universal business object, computer equipment and storage medium | |
| CN114816393A (en) | Information generation method, apparatus, device, and storage medium | |
| CN116028028B (en) | Request function generation method, device, equipment and storage medium | |
| CN113138760B (en) | Page generation method and device, electronic equipment and medium | |
| CN115509522A (en) | Interface arranging method and system for low-code scene and electronic equipment | |
| CN112817990B (en) | Data processing methods, devices, electronic equipment and readable storage media | |
| CN116302218B (en) | Method, device, equipment and storage medium for adding function information | |
| CN113778401B (en) | A method and device for generating a page | |
| CN112883695B (en) | Method, device, equipment and medium for generating report template and displaying data report | |
| CN111444161A (en) | Data processing method and device, electronic equipment and storage medium | |
| CN116431108B (en) | Object type processing methods, devices, electronic equipment and storage media | |
| CN113961242A (en) | Method and device for converting layout file, electronic equipment and storage medium | |
| CN117076813B (en) | Front-end browser rendering method, device, electronic device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |